/******* Bill's CSS Resets *******/

p, ul, ol, h1, h2, h3, blockquote {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4 {
	font-weight: normal;
}

nav ul, nav ol {
	list-style-type: none;
}

* { box-sizing: border-box; }

/******* Basic Page Settings *******/

body {
	background: url(images/bg.jpg) repeat;
	font-family: Abel, sans-serif;
	color: #666;
}

header {
	background:#fff;
	padding:10px 15px 10px 0;
}

.container {
	position: relative;
}

#top {
	background: #e1e1e1;
	margin-bottom: 50px;
	padding: 30px 0;
}

#middle {
	background: #707070;
	margin-bottom: 50px;
	padding: 30px 0;
}

footer {
	background: #e1e1e1;
	margin-bottom: 150px;
	padding: 30px 0;
}

p {
	margin-bottom: 1em;
}

article {
	padding: 0 15px;
}

/***** Top Styles *****/

#top p {
	font-size:18px;
	line-height:1.3em;
}

.highlight {
	color:#e00101;
}

/***** Middle Styles *****/

#middle h2 {
	color: #afe0f5;
	font-size: 24px;
	padding: 0 0 30px 15px;
}

#middle h3 {
	color: #f6fb6c;
	font-size: 24px;
	margin-bottom: .3em;
}

#middle p {
	color: #e3e3e3;
	line-height: 1.5em
}

/***** Footer Styles *****/

.row {
	margin-bottom: 20px;
}

footer h3 {
	font-size: 24px;
	color: #e00101;
	margin-bottom: .2em;
}

footer h4 {
	font-size: 16px;
	color: #e00101;
	margin-bottom: 1em;
}

footer p{
	line-height:1.2em;
}

a {
	color:#5d9bb6;
	text-decoration:none;
}

/***** Header Styles *****/

#logo {
	position: relative;
	margin-bottom: 20px;
}
	
#logo img {
	width: 120px;
}
	
#logo h1 {
	font-size: 30px;
	color: #000;
	position: absolute;
	top: 45px;
	left: 40px;
}
	
#logo h2 {
	font-size: 24px;
	top: 50px;
	left: 125px;
	color: #e00101;
	position: absolute;
}

#ticket {
	position: absolute;
	top: 85px;
	right: 0;
	width: 190px;
	display: block;
	background: #ebebeb;
	border-radius: 10px;
	color: #666;
	text-decoration: none;
	padding: 15px 15px;
}

#ticket h2 {
    font-size: 18px;
    width: 150px;
    text-align: right;
    margin-right: 38px;
}

#ticket h3 {
	transform: rotate(-90deg);	
	color: #e00101;
	position: absolute;
	bottom: 16px;
	left: -3px;
	font-size: 18px;
}

#ticket:hover {
	background: #afe0f5;
}

/* === Mobile Styles for Screens 480px and Below === */
@media screen and (max-width: 480px) {
    
    /* Basic Layout */
    .container {
        padding: 0 10px;
    }

    body {
        background-size: cover;
    }

    /* Header */
    header {
        padding: 20px 10px;
        text-align: center;
    }

    #logo {
        position: static;
        text-align: center;
    }

    #logo img {
        width: 80px;
        margin: 0 auto;
    }

    #logo h1 {
        position: static;
        font-size: 26px;
        color: #000;
    }

    #logo h2 {
        position: static;
        font-size: 18px;
        color: #e00101;
    }

    #ticket {
        position: static;
        display: inline-block;
        margin-top: 10px;
        width: auto;
        padding: 8px 12px;
        font-size: 14px;
        text-align: center;
        background: #f3f3f3;
    }

    #ticket h2 {
        font-size: 14px;
        text-align: center;
        margin: 0;
    }

    #ticket h3 {
        transform: none;
        position: static;
        font-size: 12px;
        margin-top: 5px;
        color: #e00101;
    }

    /* Section Layouts */
    #top, #middle, footer {
        padding: 20px 0;
        text-align: left;
    }

    #top p, #middle p, footer p {
        font-size: 14px;
        line-height: 1.5em;
    }

    .highlight {
        font-weight: bold;
        color: #e00101;
    }

    #middle h2 {
        font-size: 18px;
        padding: 0 0 15px;
        text-align: center;
    }

    #middle h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    /* Footer Articles and Rows */
    .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    footer h3 {
        font-size: 16px;
        margin-bottom: 0.4em;
    }

    footer h4 {
        font-size: 14px;
    }

    footer section article {
        margin-bottom: 20px;
    }

    footer img {
        width: 60px;
        height: auto;
        display: block;
        margin: 10px auto;
    }

    a {
        font-size: 14px;
    }
	
	.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

}

@media screen and (max-width: 768px) {
    /* Adjust header */
    #logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #logo img {
        width: 80px;
    }

    #logo h1 {
        position: static;
        font-size: 24px;
    }

    #logo h2 {
        position: static;
        font-size: 18px;
        color: #e00101;
    }

    #ticket {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 160px;
        padding: 15px;
    }

    #ticket h2 {
    font-size: 16px;
    text-align: right;
    margin-right: -126px;
    }

    #ticket h3 {
    font-size: 16px;
    bottom: 12px;
    left: -12px;
    margin-right: 2px;
    }

    /* Two-column top section */
    #top .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    #top article {
        padding: 0 10px;
    }

    /* Featured groups remain stacked */
    #middle .container > article {
        margin-bottom: 30px;
    }

    
    footer .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
        align-items: start;
    }

    .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Right-side "produced by" section */
    footer section:last-of-type {
        padding: 0 10px;
    }

    footer section:last-of-type img {
        max-width: 300px;
        margin: 0 auto 10px auto;
        display: block;
    }

    footer section:last-of-type article {
        text-align: center;
        font-size: 14px;
    }
}

@media screen and (min-width: 960px) {
  body {
    font-size: 18px;
    max-width: 960px;
    margin: 0 auto;
  }

  #ticket {
    position: absolute;
    top: 30px;
    right: 30px;
  }

  #ticket button {
    font-size: 18px;
    padding: 14px 28px;
  }

  .info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    gap: 40px;
    background-color: #f9f9f9;
  }

  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    flex: 2;
  }

  .info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .info-item p {
    font-size: 16px;
    line-height: 1.5;
  }

  .rock-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .rock-container img {
    width: 90px;
    margin-bottom: 10px;
  }

  .rock-container p {
    font-size: 14px;
    line-height: 1.4;
  }
	
footer .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 30px;
        align-items: start;
    }
}
