/******* CSS Reset *******/

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; }


body {
	background: url(images/bg.jpg) repeat;
	font-family: Abel, sans-serif;
	color: #666;
}

header {
	background:#fff;
	padding:10px 15px 10px 0;
}
header h1 {
    font-size: 50px;
}
header h2 {
    font-size: 30px;
}
.container {
	position: relative;
	max-width: 950px;
	margin: 0 auto;
	padding: 0 15px;
}


#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;
}

footer section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 20px;
}
p {
	margin-bottom: 1em;
}

article {
	padding: 0 15px;
}


/***** Top Styles *****/

#top p {
	font-size:18px;
	line-height:1.3em;
}

.highlight {
	color:#e00101;
}

/* Default stacked layout */
#top .container {
	display: block;
}

@media screen and (min-width: 501px) {
	#top .container {
		display: flex;
		gap: 20px;
	}
	#top article {
		flex: 1;
	}
}


/***** 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;
}

#middle .group-wrapper {
	display: block;
}

#middle .group-wrapper article {
	width: 1;
}

@media screen and (min-width: 500px) {
	#middle .group-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
	}

	
}

@media screen and (min-width: 700px) {
	#middle .group-wrapper article {
		flex: 1 1 33.33% !important;
	}
}


/***** 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;
    max-width: 500px;
}

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;
}

#ticket h3 {
	transform: rotate(-90deg);	
	color: #e00101;
	position: absolute;
	bottom: 16px;
	left: -3px;
	font-size: 18px;
}

#ticket:hover {
	background: #afe0f5;
}



@media (max-width: 1000px) {

footer section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 20px;
}

	#ticket {
		width: 160px;
	}

	#ticket h2 {
		font-size: 16px;
		width: 130px;
	}

	#ticket h3 {
		font-size: 16px;
		bottom: 10px;
	}

	#logo h1 {
		font-size: 26px;
	}

	#logo h2 {
		font-size: 20px;
		left: 120px;
	}
}

@media (max-width: 700px) {
	header, #top, #middle, footer {
		padding: 20px 10px;
	}

	article {
		padding: 0 10px;
	}

	#ticket {
		width: 140px;
		padding: 10px;
	}

	#ticket h2 {
		font-size: 14px;
		width: 110px;
	}

	#ticket h3 {
		font-size: 14px;
		bottom: 8px;
	}

	#logo img {
		width: 100px;
	}

	#logo h1 {
		font-size: 24px;
	}

	#logo h2 {
		font-size: 18px;
		left: 110px;
	}
}

@media (max-width: 500px) {
	#ticket {
		position: static;
		margin: 10px auto;
		text-align: center;
	}

	#ticket h3 {
		position: static;
		transform: none;
		display: block;
		margin-top: 5px;
	}

	.row {
		display: block;
	}

	.row article {
		margin-bottom: 20px;
	}

	#logo {
		text-align: center;
	}

	#logo h1, #logo h2 {
		position: static;
		display: block;
	}
}
