p, ul, ol, h1, h2, h3, blockquote {
	margin: 0;
	padding: 0;
	font-weight: normal;
}
nav ul, nav ol {
	list-style-type: none;
}

@font-face {font-family:"D3 Globalism";src:url("fonts/D3Globalism.woff") format("woff");font-weight:normal;font-style:normal;}

body {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 16px;
	color:#231F20;
	background-color: #CCC;
	position: relative;
}

#container {
	max-width: 1030px;
	margin: auto;

}



#skybg {
	position: absolute;
	top: -15px;
	z-index: -2;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	left: 0;
	right: 0;
	overflow: hidden;
}

#skybg img {
	width: 100vw;
	min-width: 1030px;
}

#rectangle {
	position: absolute;
	bottom: 2700px;
	left: 0px;
	width: 100%;
	height: 2000px;
	background: linear-gradient(180deg, rgba(204, 204, 204, 0) 0%, #CCC 30%);
	z-index: -2;
}
section {
	position: relative;
	border-radius: 20px;
	border: 1px solid #DF182A;
	margin: 15px;
	
	margin-bottom: 30px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	flex-shrink: 0;

}

.sticker {
	display: none;
	width: 0px;
}

/*********** Typography **********/

h1, h2 {
	font-family: "D3 Globalism";
	color: #DF182A;
}

h1 {
	line-height: 120%
}

h2 {
	font-size: 32px;
	
}

.headingsA h3 {
	padding-top: 10px;
}

.headingsB h3 {
	padding-bottom: 10px;
}

h3 {
	font-family: "Nunito";
	font-size: 20px;
	letter-spacing: 1.4px;
}

a {
	text-decoration: none;
	color: #CCC;
}

p {
	line-height: 160%;
	color: #231F20;
	font-family: Verdana;
	font-size: 16px;
}

nav ul li {
    font-family: "Nunito";
}


/******* Navigation Styles ********/

#navigation {
	position: relative;
	width: 100%;
}

#mobilenav h2 {
	text-align: right;
	line-height: 50px;
	color: #DF182A;
	font-size: 40px;
}

#bignav{
	display: none;
}

#mobilenav {
	margin-left: auto;
	text-align: right;
}

#mainnav {
	display: none;
	width: 100%;
	height: 398px;
	position: absolute;
	left: 0;
	top: 50px;
	text-align: center;
	background-color: #b9b9b9f0;
	z-index: 1;
	border-radius: 20px;
	border: #DF182A solid 1px;
}

#mainnav ul {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 35px;
}

#mainnav ul li a {
	color: #231F20;
	letter-spacing: 1.12px;
	font-size: 40px;
	line-height: 80px;
	width: 100%;
}

/******** Header styles ******/

header section {
	height: 450px;
}

#cornerILE {
	position: absolute;
	width: 46px;
	top: 20px;
	left: 20px;
	border-radius: 0px;
}

#headertext {
	position: relative;
	margin: auto;
	margin-top: 70px;
}

header h1 {
	color: #DF182A;
	text-align: center;
	font-size: 34px;
	line-height: 100%;
}

header h2 {
	text-align: center;
	font-size: 16px;
	color: #231F20;
}

.cta {
	font-family: "D3 Globalism";
	font-size: 13px;
	background-color: #DF182A;
	width: 183px;
	height: 32px;
	border-radius: 9.916px;
	color: #CCC;
	text-align: center;
	line-height: 32px;
	margin: auto;
	padding-top: 0px;
}

header .cta {
	margin-top: 10px;
	margin-bottom: 40px;
}



h2 span {
	display: block;
}

.cta a:visited {
	color: #CCC;
}

#headertext img {
	position: absolute;
	width: 200px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	bottom: -12px;
	text-align: center;
	z-index: -1;

}

/* ATTEND SECTION */

#attendboxes {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
}


.box {
	border-radius: 20px;
	background: #B9B9B9;
	display: flex;
	flex-direction: row;
	padding: 20px 40px;
	justify-content: center;
	align-items: center;
	width: 100%;
 box-sizing: border-box;
}

.box p {
	font-family: "D3 Globalism";
	font-size: 50px;
	color: #DF182A;
	padding-top: 0px;
	margin-right: 15px;
}

.box:first-of-type p {
	margin-right: 30px;
}

.columnbox {
	flex-direction: column;
}

/* KEYNOTE SECTION */

section img {
	border-radius: 20px;
}

#drevil {
	width: 100%
}


/* AGENDA SECTION */

.agendaitem p {
    padding-bottom: 24px;
} 

/* GALLERY SECTION */

#galleryofevil {
	display: flex;
	flex-direction: row;
	width: 100%;
	overflow-x: auto;
	gap: 15px;
	height: 272px;
}

.galleryitem {
	background-color: #161616;
	border-radius: 20px;
	position: relative;
    border: #df182900 solid 1px;
	height: 250px;
}

.galleryitem img {
	height: 250px;
    transition: all 0.3s;
}


.galleryitem:hover {
	border: #DF182A solid 1px;
    
}

.galleryitem:hover img {
	opacity: 30%;
}

.itemp {
	position: absolute;
	color: #CCC;
	z-index: 1;
	top: 0px;
	padding: 10px;
}

.itemp p {
	color: #CCC;
	display: none;
    transition: all 0.3s;
}

.galleryitem:hover p {
	display: block;

}

/* IMAGE SECTION */

section#fullimg {
	padding: 0px;

}

img#evilmeeting {
	width: 100%;
}

/* LAST SECTION */

#last h2 {
	text-align: center;
	width: 100%;
}

/* FOOTER */
footer {
	background-color: #B9B9B9;
	width: 100%;
	text-align: center;
	height: 300px;
}

footer p{
	padding-top: 40px;
	padding-bottom: 20px;
}

.fa {
	padding: 10px;
	font-size: 40px;
	width: 40px;
	text-align: center;
	text-decoration: none;
	background: #B9B9B9;
	color: #DF182A;
}

footer img {
	width: 300px;
	padding-top: 20px;
}

@media only screen and (min-width:1030px) {
	h2 {
		font-size: 40px;
		line-height: 50px;
	}
	
	header h1 {
		font-size: 102px;
	}

	header h2 {
		font-size: 24px;
		line-height: 27px;
	}

	header section {
		height: 740px;
	}

	h3 {
		font-size: 32px;
	}

	#headertext {
		margin-top: 70px;
	}

	#headertext img {
		width: 460px;
		bottom: -50px;
	}

	.cta {
		width: 330px;
		font-size: 24px;
		height: 58px;
		line-height: 58px;
	}

	header .cta {
		margin-top: 0px;
		margin-bottom: 0px;
	}

	h2 span {
		display: block;
	}

	header h2 span {
		display: inline;
	}

	.R {
		margin-left: auto;
		text-align: right;
	}

	section {
		padding: 40px;
		gap: 40px;
		margin-bottom: 80px;
	}

	.twothirds {
		width: 620px;
	}

	#attendboxes {
		flex-direction: row;
		gap: 20px;
	}

	.box {
		width: 150px;
		flex-direction: column;
		padding: 40px;
		height: 232px;
		
	}

	.box p {
		margin-right: 0px;
		font-size: 90px;
	}

	.box:first-of-type p {
		margin-right: 0px;
	}

	.box:last-of-type {
		width: 410px;
	}

	.box h3 {
		position: relative;
		top: -20px;
		
	}

	#keynote {
		display: flex;
		flex-direction: row-reverse;
	}

	#keynote div {
		flex: 100%;
		gap: 20px;
	}

	#spacing {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	#agenda {
		display: flex;
		flex-direction: column;
		gap: 20px;
		
	}


	.agendaitem {
		display: flex;
		flex-direction: row;
		gap: 50px;
	}

	.agendaitem h2 {
		padding-left: 24px;
	}

	.agendaitem:nth-of-type(2) h2 {
		padding-left: 0px;
	}

    /* Nav */
    #cornerILE {
        display: none;
    }

    #mobilenav, #mainnav {
		display: none
	}
	
    #navigation {
        position: relative;
        margin: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

    #bignav {
        display: block;
		position: relative;
		top: -20px;

    }

    #bignav ul {
        display: flex;
        flex-direction: row;
        width: auto;
        gap: 50px;
        line-height: 60px;
        justify-content: center;
        height: 60px;

    }

	#bignav a {
		color: #231F20;
		letter-spacing: 1.12px;
	}

    #bignav img {
        height: 60px;
        border-radius: 0px;
        padding: 0px;
    }

	/* Sticker */

	.sticker {
		display: block;
		position: absolute;
		width: 130px;
	}

	#smiley {
		left: -40px;
		rotate: -15deg;
	}

	#star1 {
		right: -65px;
		top: 220px;
		rotate: 15deg;
	}

	#miniglobe {
		top: -50px;
		left: 100px;
		rotate: 5deg;
	}

	#star2 {
		left: -40px;
		rotate: -10deg;
	}

	#star3 {
		right: -50px;
		top: 80px;
		rotate: 20deg;
	}

}



/* Add Nav
Add stickers 



