/* --------------- */
/* --- GENERAL --- */
/* --------------- */
* {
    margin: 0;
    padding: 0;
}

html,
body,
section {
    height: 100%;

}

.oswald {
    font-family: "Kanit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    color: white;
    font-family: "Kanit", sans-serif;
    background-color: white;
}


/* ---------------------- */
/* --- COMMON CLASSES --- */
/* ---------------------- */

/* Widths */
header,
section.section_outer,
div.section_inner {
    width: 100%;
}

/* Main div classes */
section.section_outer,
div.section_inner {
    height: 100%;
    min-height: 950px;
}

div.section_inner {
    background: center center / cover no-repeat;
}

/* Container with centered content */
div.center_content {
    display: flex;
    justify-content: center;
    /* Horizontally center item */
    align-items: center;
    /* Vertically center item */
}

/* Section headers */
h1 {
    font-family: "Kiona-SemiBold", sans-serif;
    display: inline-block;
    text-transform: uppercase;
}

/* Social icons */
i.small_icon,
i.medium_icon,
i.large_icon {
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
}

i.small_icon {
    width: 37px;
    height: 29px;
    margin-right: 6px;
    padding-top: 8px;
    color: white;
    font-size: 20px;
    background-color: #00000084;
}

i.medium_icon {
    width: 52px;
    height: 44px;
    margin: 0px 10px;
    padding-top: 10px;
    color: white;
    font-size: 34px;
    background-color: #000b99;
}

i.large_icon {
    width: 80px;
    height: 70px;
    margin: 0px 20px;
    padding-top: 10px;
    color: rgb(0, 0, 0);
    font-size: 60px;
    background-color: white;
}

/* div.email_phone_container */
div.email_phone_container>div {
    display: flex;
    align-items: center;
    width: max-content;
}

div.email_phone_container> :first-child {
    margin-bottom: 20px;
}

div.email_phone_container span {
    font-size: 26px;
}

a.phone_call {
    display: inline-block;
    color: white;
    text-decoration: none;
}

/* Modal background */
div.modal_background {
    /* .center_content */
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 4;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
}

@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

/* Animations */
body {
    overflow-x: hidden;
}

.a-left,
.a-right,
.a-up {
    position: relative;
    transition: 1s;
}

.a-left {
    left: 2000px;
}

.a-right {
    left: -2000px;
}

.a-up {
    top: 50px;
    opacity: 0;
}

.a-delay {
    transition-delay: 0.5s;
}

.a-reset {
    top: 0px !important;
    left: 0px !important;
    opacity: 1 !important;
}


/* -------------- */
/* --- HEADER --- */
/* -------------- */

/* Header background and navigation */
header {
    position: absolute;
    height: 150px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    z-index: 2;
}

header>img {
    width: 300px;
    margin-left: 20px;
}

nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

a#nav_toggle {
    display: none;
}

a.header_text {
    padding: 32px 14px;
    font-size: 20px;
    font-weight: bold;
    color: #ffda00;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}

a.header_text:hover {
    color: #ffda00 !important;
}

a#covid {
    color: #ffda00;
}

a.header_icon {
    padding: 0px 8px;
}

a.header_icon:last-child {
    margin-right: 20px;
}

a.header_icon>i.small_icon:hover {
    background-color: #ffda00 !important;
}


/* --------------- */
/* --- SECTION --- */
/* --------------- */

/* Side navigation */
div#nav_dot_container {
    position: fixed;
    top: calc(50% - 170px);
    /* Offset "top: 50%;" by half of height */
    right: 20px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    z-index: 3;
}

a.nav_dot {
    width: 45px;
    height: 45px;
    background: #ffffff center center / auto no-repeat;
    background-image: none;
    border-radius: 50%;
    transition: 0.3s;
}


/* JavaScript-controlled .selected_dot */
a.nav_dot:hover,
.selected_dot {
    background-color: white !important;
    box-shadow: 0px 0px 10px black;
}

.selected_dot {
    width: 55px !important;
    height: 55px !important;
}

a#nav_home {
    background-image: url("https://eliteentrentals.com/images/navigation/home.png") !important;

}

a#nav_events {
    background-image: url("https://eliteentrentals.com/images/navigation/events.png") !important;

}

a#nav_games {
    background-image: url("https://eliteentrentals.com/images/navigation/games.png") !important;

}

a#nav_ycq {
    background-image: url("https://eliteentrentals.com/images/navigation/crown.png") !important;

}

a#nav_gallery {
    background-image: url("https://eliteentrentals.com/images/navigation/gallery.png") !important;

}

a#nav_contact {
    background-image: url("https://eliteentrentals.com/images/navigation/contact.png") !important;

}

/* Home */
section#home,
div#home_inner {
    min-height: 750px;
}

div#home_inner {
    display: grid;
    grid-template-rows: 82% 18%;
    overflow: hidden;
    /* Contain child element's shadow */
}

div#home_top {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

/* === HEADING STYLE #3 === */
.three h1 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;

}

.three h1:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 55px;
    background-color: #ffda00;
}

.three h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 1px;
    width: 95%;
    max-width: 255px;
    background-color: #ffda00;
}

div.home_item {
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: center center/cover no-repeat;
    opacity: 0;
    transition: 1s;
}



/* Just styling the content of the div, the *magic* in the previous rules */
.video-container .caption {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

div#home_1_desktop>div {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;

}

div#home_1_desktop {
    background-image: url("");
}

div#home_1_desktop video {
    position: absolute;
    bottom: 0px; 
    left: -0%; 
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;

}

div#home_2 {
    background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/home-bg.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

div#home_3 {
    background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-tent-main-bg.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

div#home_4 {
    background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-megazone-lasertag-03-1920x1280.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

div#home_5 {
    background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-yard-card-bg.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}

.displayed_home_item {
    opacity: 1 !important;
}

div.home_item_inner {
    display: grid;
    grid-template-columns: 10px auto;
    grid-template-rows: auto auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    width: 55%;
    margin-left: 5%;
    overflow-x: hidden;
}

div.home_item_inner>h1 {
    grid-column: 1/3;
    font-family: "Kiona-Bold", sans-serif;
    font-size: 24px;
}

div.home_item_inner>h1>span {
    font-size: 30px;
    font-style: italic;
    text-transform: uppercase;
}

div.home_item_inner>div {
    background-color: #ffda00;
    z-index: 1;
}

div.home_item_inner>p {
    padding: 8px 0px;
    font-size: 18px;
}

div#home_dots {
    position: absolute;
    display: flex;
    align-items: center;
    height: 20px;
    margin-bottom: 12px;
}

div.home_dot {
    width: 12px;
    height: 12px;
    margin: 0px 3px;
    background-color: black;
    border: 1px solid black;
    border-radius: 50%;
    transition: 1s;
    cursor: pointer;
}

.selected_home_dot {
    width: 17px !important;
    height: 17px !important;
    background-color: white !important;
}

div#home_bottom {
    display: grid;
    grid-template-columns: 40% 60%;
    background: url("https://eliteentrentals.com/images/backgrounds/EER_Assets_21.webp") center / 100% 100% no-repeat, linear-gradient(#000b99, #1593fc);
    box-shadow: 0px 2px 10px black;
    overflow: hidden;
}

div#home_bottom_left {
    display: flex;
    align-items: center;
    padding-left: 5%;
    background: rgba(0, 0, 0, 0.637);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 11, 153, 0.3);
    border-top-right-radius: 8% 50%;
    border-bottom-right-radius: 8% 50%;


}

div#home_bottom_right {
    /* .center_content */
    flex-direction: column;
}

div#home_bottom_right>span {
    text-transform: uppercase;
    text-shadow: 1px 1px 6px black;
}

div#home_bottom_right>span:first-child {
    font-size: 22px;
}

div#home_bottom_right>span:last-child {
    font-size: 40px;
    font-weight: bold;
}

/* Events */
div#events_inner {
    /* .center_content */
    background-image: url('https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/EER_Assets_65.webp');
 
    overflow: hidden;
    /* Contain div#events_graphic's background if its min-height is larger than the screen height */

}

div#events_inner_mobile {
    display: none;
}

div#events_graphic {
    display: flex;
    justify-content: center;
    width: 1670px;
    min-width: 1670px;
    min-height: 1000px;
    margin: 0px auto;
    background: #3a3a3a9e url("https://f005.backblazeb2.com/file/Elite-Entertainment-Rentals/Assets/bg/EEntRental_Flowchart_New_Asset.png") center center / auto no-repeat;
    border-top-left-radius: 30% 100%;
    border-top-right-radius: 30% 100%;
    border-bottom-left-radius: 30% 100%;
    border-bottom-right-radius: 30% 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

div#events_grid {
    display: grid;
    grid-template-columns: 550px 450px;
    grid-column-gap: 200px;
}

div#events_left> :nth-child(1) {
    /* Private */
    margin-top: 80px;
}

div#events_left> :nth-child(2) {
    /* Corporate */
    margin-top: 148px;
}

div#events_left> :nth-child(3) {
    /* Charity */
    margin-top: 120px;
}

div#events_right>h1 {
    /* Events title */
    margin: 60px 0px 0px 120px;
    font-size: 100px;
    color: #fefefe;
}

div#events_right> :nth-child(2) {
    /* School */
    margin-top: 72px;
}

div#events_right> :nth-child(3) {
    /* Church */
    margin-top: 146px;
}

span.event_main,
span.event_sub {
    display: block;
    color: whitesmoke;
}

span.event_main {
    margin-bottom: 40px;
    font-family: "Oswald";
    font-size: 40px;
    text-transform: uppercase;
}

span.event_sub {
    margin-bottom: 15px;
    font-size: 18px;
}
/* Games */
section#servicestop,
div#servicestop_inner {
    min-height: 1000px;
}

section#servicestop {
    background-color: #ffda00;
}


/* Games */
section#servicestop,
div#games_inner {
    min-height: 1000px;
}

section#games {
    background-color: #ffda00;
}

div#games_inner {
    display: grid;
    grid-template-rows: 20% 80%;
    background-image: url('https://eliteentrentals.com/images/backgrounds/games-bg-purple.webp');
    background-position: top;
}

div#games_top {
    display: flex;
    align-content: center;
    flex-direction: column;
    margin-top: 10px;
    margin-left: 3%;
}

div#games_top>h1 {
    font-size: 80px;
}

div#games_top>p {
    margin-left: 6px;
}

div#circles_lists {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#games_middle {
    width: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

div.game_circle {
    width: 200px;
    height: 200px;
    text-align: center;
    color: white;
    background-color: #000000d2;
    border-radius: 100%;
    cursor: pointer;
    transition: color 0.3s, background-color 0.3s;
}

div.game_circle:hover,
.game_circle_selected {
    color: #000000d2 !important;
    background-color: white !important;
}

span.rating_main,
span.rating_sub {
    display: block;
    text-transform: uppercase;
}

span.rating_main {
    margin-top: 20px;
    font-size: 45px;
    font-weight: bold;
}

span.rating_sub {
    font-size: 14px;
}

div#games_bottom {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    height: 80%;
    margin: -90px auto 0px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #000000d8 0%, #000b99 100%);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

div#games_bottom>div {
    min-width: 110px;
    margin: 20px 15px;
    overflow: hidden;
}

.full_width {
    width: 100%;
}

div#games_bottom>div:first-child {
    margin-left: 30px;
}

div#games_bottom>div:last-child {
    margin-right: 30px;
}

div#games_bottom h2 {
    font-size: 32px;
}

div.horizontal_bar {
    width: 50px;
    margin: 10px 0px 16px;
    border: 1px solid white;
}

div.console_games_list {
    display: flex;
    flex-direction: column;
}

.console_games_list_multi {
    flex-wrap: wrap;
    height: 80%;
}

div.console_games_list>p {
    margin-bottom: 11px;
    cursor: pointer;
}

span.bullet {
    display: none;
}

/* Games modal */
div#games_modal {
    display: none;
}

div#games_description {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 80% 20%;
    width: 60%;
    height: 80%;
    background-color: white;
    animation-name: zoom;
    animation-duration: 0.5s;
}

div#art {
    background: #333333 center center/contain no-repeat;
}

div#description {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 16px;
    color: black;
    box-sizing: border-box;
}

div#description>h1 {
    order: 2;
    padding: 12px;
    font-size: 30px;
}

div#description>p {
    order: 3;
    padding: 12px 24px;
    font-size: 18px;
    text-align: justify;
    line-height: 1.5;
}

i#close_games_modal {
    align-self: flex-end;
    order: 1;
    margin-bottom: -40px;
    padding: 8px 12px;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0px 0px 4px black;
    transition: 0.3s;
    cursor: pointer;
}

i#close_games_modal:hover {
    color: white;
    background-color: #ff9406;
}

div#bottom {
    grid-column: 1/3;
}

div#meta {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(#1593fc, #000b99);
}

div#meta img {
    max-width: 64px;
}

div.meta_column {
    /* .center_content */
    flex-direction: column;
}

div.meta_column>div {
    display: flex;
}

div#more_info {
    display: none;
}

/* Laser tag */
section#laser_tag {
	background-color: #4789bf;
}

div#laser_inner {
	box-sizing: border-box;
	display: grid;
	grid-template-rows: auto 2fr auto;
	gap: 20px;
	padding: 40px 100px;
	background-image: url('images/backgrounds/contact_blue.png');
}

div#laser_top {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 700px;
	gap: 1rem;
	margin: 0 auto;
}

div#laser_top > div {
	display: flex;
	align-items: center;
}

div#laser_top > div > h1 {
	margin: 0 -16px;
	font-size: 80px;
	text-align: center;
}

div#laser_top > div > img {
	width: 120px;
}

div#laser_top > p {
	font-size: 1.3rem;
	text-align: center;
}

div#laser_mid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 25px;
}

div.laser_mid_item {
	display: grid;
	grid-template-rows: auto 1fr;
	background-color: white;
	border-radius: 12px;
	box-shadow: 3px 3px 6px -2px #333;
	overflow: hidden;
}

div.laser_mid_item > img {
	width: 100%;
	height: 310px;
	object-fit: cover;
}

div.laser_mid_item > div {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 40px;
	color: black;
	font-size: 1.15rem;
}

div#laser_bot {
	text-align: center;
}

/* Gallery */
section#gallery {
    background-color: #070c27;
}

div#gallery_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/EER_Assets_66.webp");
    background-size: cover;

}

div#gallery_inner>h1 {
    margin: 30px 20px;
    font-size: 80px;
}

div#gallery_image_container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

div#gallery_image_container>div,
div#gallery_image_container img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
}

div#gallery_image_container>div {
    margin: 16px 20px;
    background-color: white;
}

div#gallery_image_container img {
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
}

div#gallery_image_container img:hover {
    opacity: 0.7;
}

/* Gallery modal styles */
div#gallery_modal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    min-width: 700px;
    height: 80%;
    animation-name: zoom;
    animation-duration: 0.5s;
}

div#gallery_modal>i {
    transition: 0.3s;
    cursor: pointer;
}

i#left_arrow,
i#right_arrow {
    padding: 20px;
    font-size: 40px;
}

i#left_arrow:hover,
i#right_arrow:hover {
    color: #ff9406;
}

div#gallery_modal_image {
    width: 100%;
    height: 100%;
    background-color: #333333;
}

div#gallery_modal_image>img {
    max-width: 100%;
    max-height: 100%;
}

i#close_gallery_modal {
    align-self: flex-start;
    margin: 10px 10px 0px -50px;
    padding: 8px 12px;
    font-size: 24px;
    background-color: #ffda00;
    border-radius: 50%;
    box-shadow: 0px 0px 4px black;
}

i#close_gallery_modal:hover {
    color: #ffda00;
    background-color: white;
}

/* Contact */
section#contact {
    background-color: #000000;
}

div#contact_inner {
    display: grid;
    grid-template-columns: 50% 50%;
    background-image: url('https://eliteentrentals.com/images/backgrounds/EER_Assets_28.webp');
    overflow: hidden;
    /* Contain child element's shadow */
}

div#contact_left,
div#contact_form {
    /* .center_content */
    height: inherit;
    flex-direction: column;
}

/* Contact info */
div#contact_left {
    /* .center_content */
    align-content: space-between;
}

div#contact_left>h1 {
    margin-bottom: 40px;
    font-size: 60px;
    text-transform: uppercase;
}

div#contact_left>h1:nth-child(3) {
    /* FOLLOW US */
    margin-top: 60px;
    padding-top: 60px;
    border-top: 5px solid #ffda00;
}

div#contact_left>div>a>i:hover {
    color: white;
    background-color: #000b99;
}

/* Contact form */
div#contact_right {
    /* .center_content */
    background-color: #000a9963;
    box-shadow: -5px 0px 40px black;
}

div#contact_form img {
    width: 250px;
    margin-left: -40px;
    margin-right: 30px;
    padding-right: 30px;
    border-right: 5px solid #ffda00;
}

div#contact_form h1 {
    /* Contact Us */
    font-size: 50px;
    color: #ffffff;
}

div#contact_form>span {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

form {
    font-size: 0px;
    /* "Hide" whitespaces between inline-block elements */
}

input#first_name,
input#last_name,
input#email,
input#phone,
input#address,
input#city,
select#state,
input#zip,
input#date,
textarea#comments,
input#submit {
    margin-bottom: 28px;
    padding: 10px 18px;
    font-size: 18px;
    border: 1px solid gray;
    border-radius: 12px;
    box-sizing: border-box;
}

input#first_name,
input#last_name,
input#email {
    height: 44px;
    /* So the height doesn't change when increasing the border */
}

.missing_input {
    border: 2px solid red !important;
}

input#email,
input#phone,
input#address,
input#date,
textarea#comments {
    display: block;
    width: 600px;
}

input#first_name,
input#last_name {
    display: inline-block;
    width: 285px;
}

input#city,
select#state,
input#zip {
    display: inline-block;
    width: 180px;
}

input#first_name,
input#city,
select#state {
    margin-right: 30px;
}

textarea#comments {
    height: 200px;
}

span#required {
    font-size: 18px;
    color: #ffda00;
}

input#submit {
    float: right;
    margin-bottom: 0px;
    color: white;
    background-color: #ffda00;
    border: 0px;
    transition: 0.3s;
}

input#submit:hover {
    cursor: pointer;
    background-color: #ff9406;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 200px;
    background: rgba(0, 0, 0, 0.907);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);

}

div#footer_container {
    display: grid;
    grid-template-columns: 40% 2px 35% 2px auto;
    width: 100%;
    height: 150px;
}

div#footer_left,
div#footer_middle,
div#footer_right {
    /* .center_content */
    flex-direction: column;
}

div#footer_left>img {
    width: 90%;
    max-width: 300px;
    /* Prevents pushing the span out of the parent div */
    margin-bottom: 8px;
}

div#footer_left>span {
    font-size: 14px;
    text-transform: uppercase;
}

div.vertical_bar {
    height: 60px;
    margin-top: 40px;
    border: 1px solid #ffda00;
}

span.footer_heading {
    margin-top: -10px;
    margin-bottom: 10px;
    font-family: "Oswald";
    font-size: 30px;
}

div#footer_middle div.email_phone_container> :first-child {
    margin-bottom: 10px;
}

div#footer_middle div.email_phone_container span {
    font-size: 20px;
}

i.medium_icon:hover {
    background-color: #ff9406;
}

footer>p {
    font-size: 11px;
}

/* Image modal */
div#popup_modal>img {
    max-width: 90%;
    max-height: 80%;
    animation-name: zoom;
    animation-duration: 0.5s;
}

img#covid_mobile {
    display: none;
}

/* -------------------------- */
/* --- RESPONSIVE CHANGES --- */
/* -------------------------- */

/* --- < 1900px --- */
@media only screen and (max-width: 1900px) {
    div#gallery_image_container>div:nth-child(n+33) {
        display: none;
    }
}

/* --- < 1700px --- */
@media only screen and (max-width: 1700px) {
    div#gallery_image_container>div:nth-child(n+29) {
        display: none;
    }
}

/* --- < 1500px --- */
@media only screen and (max-width: 1500px) {

    /* Gallery */
    div#gallery_image_container>div,
    div#gallery_image_container img {
        width: 120px;
        height: 120px;
    }

    div#gallery_image_container>div {
        margin: 8px 10px;
    }
}

/* --- < 1400px --- */
@media only screen and (max-width: 1400px) {

    section.section_outer,
    div.section_inner {
        min-height: 1800px;
        /* 950px default */
    }

    /* Home */
    div#home_bottom {
        grid-template-columns: 50% 50%;
    }

    div.email_phone_container span {
        font-size: 24px;
    }

    div#home_bottom_right {
        padding: 0px 20px;
        text-align: center;
    }

    div#home_bottom_right>span:first-child {
        font-size: 20px;
    }

    div#home_bottom_right>span:last-child {
        font-size: 36px;
        font-weight: bold;
    }

    /* Events */
    section#events,
    div#events_inner {
        min-height: 950px;
    }

    div#events_grid {
        grid-template-columns: 350px 350px;
    }

    div#events_left> :nth-child(1) {
        margin-top: 90px;
    }

    div#events_right>h1 {
        margin-left: 0px;
        font-size: 80px;
    }

    div#events_right> :nth-child(2) {
        margin-top: 106px;
    }

    span.event_main {
        margin-bottom: 20px;
    }

    /* Games */
    div#games_top>h1 {
        font-size: 60px;
    }

    div.game_circle {
        width: 150px;
        height: 150px;
    }

    span.rating_main {
        margin-top: 16px;
        font-size: 40px;
    }

    div#games_bottom {
        margin-top: -60px;
        height: 82%;
    }

    /* ycq tag */
    section#ycq_tag {
        height: 100%;
    }

    div.ycq_mid_item>div {
        padding: 20px;
    }

    /* Contact */
    div#contact_inner {
        grid-template-columns: 100%;
        grid-template-rows: 100%;
    }

    div#contact_left {
        display: none;
    }

    div#contact_right {
        background-color: transparent;
    }

    div#contact_form {
        padding: 50px 100px;
        background-color: #00000025;
        border-radius: 20px;
        box-shadow: 0px 0px 20px #000b99;
    }

    div#contact_form img {
        margin-right: 20px;
        padding-right: 20px;
    }

    div#contact_form>span {
        margin-top: 20px;
    }

    input#first_name,
    input#last_name,
    input#email,
    input#phone,
    input#address,
    input#city,
    select#state,
    input#zip,
    input#date,
    textarea#comments,
    input#submit {
        margin-bottom: 20px;
        padding: 8px 16px;
        font-size: 16px;
    }

    input#first_name,
    input#last_name,
    input#email {
        height: 37px;
        /* So the height doesn't change when increasing the border */
    }

    textarea#comments {
        height: 150px;
    }

    /* Footer */
    div#footer_container {
        grid-template-columns: 35% 2px 40% 2px auto;
    }

    div#footer_left>span {
        font-size: 12px;
    }
}

/* --- < 1200px --- */
@media only screen and (max-width: 1200px) {

    /* Home */
    span#flexible {
        display: none;
    }

    /* Games */
    section#games,
    div#games_inner {
        min-height: 800px;
    }

    div.game_circle {
        width: 100px;
        height: 100px;
    }

    span.rating_main {
        margin-top: 6px;
        font-size: 22px;
    }

    span.rating_sub {
        font-size: 12px;
    }

    div#games_bottom {
        flex-direction: column;
        height: 85%;
        margin-top: -36px;
    }

    div#games_bottom>div {
        max-width: 100%;
        margin: 0px 30px;
        display: grid;
        grid-template-columns: 90px 30px auto;
    }

    div#games_bottom h2 {
        font-size: 28px;
    }

    div.horizontal_bar {
        width: 0px;
        margin: 0px auto;
        /* Center in the 30px grid cell for pseudo-padding */
    }

    div.console_games_list {
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        height: 100%;
    }

    div.console_games_list>p {
        margin-bottom: 0px;
    }

    span.bullet {
        display: inline-block;
        padding: 0px 8px;
    }

    span.bullet:last-child {
        display: none;
    }

    /* ycq tag */
    div#ycq_top>div>img {
        width: 90px;
    }

    div#ycq_top>div>h1 {
        font-size: 60px;
    }

    div#ycq_top>p {
        font-size: 1.15rem;
    }

    div#ycq_mid {
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
    }

    div.ycq_mid_item>img {
        height: 200px;
    }

    div.ycq_mid_item>div {
        font-size: 1rem;
    }
}

/* --- < 1100px --- */
@media only screen and (max-width: 1100px) {

    /* Header navigation */
    nav {
        align-self: flex-start;
        align-items: flex-start;
        flex-direction: column;
        z-index: 4;
    }

    a#nav_toggle,
    a.nav_item {
        width: 225px;
        text-align: center;
    }

    a#nav_toggle {
        display: block;
        padding: 30px 0px;
        font-size: 25px;
        color: #ffda00;
        transition: 0.3s;
    }

    a#nav_toggle:hover {
        color: #fefefe;
    }

    a#nav_toggle>i {
        padding-left: 60px;
        transition: 0.3s;
    }

    a.nav_item {
        padding: 0px;
        font-size: 0px;
    }

    a.header_icon {
        display: none;
    }

    /* Javascript-controlled styles for header nav in this screen size */
    .solid_background {
        /* From https://css.glass */
        background: rgba(0, 0, 0, 0.47);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(0, 0, 0, 0.3);
    }

    .centered_bars {
        padding: 0px !important;
    }

    .show_item {
        /* From https://css.glass */
        background: rgba(0, 0, 0, 0.47);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(0, 0, 0, 0.3);
    }

    /* Gallery */
    div#gallery_image_container>div:nth-child(n+25) {
        display: none;
    }
}

/* --- < 1000px --- */
@media only screen and (max-width: 1000px) {

    /* Common classes */
    div.email_phone_container span {
        font-size: 20px;
    }

    .a-left,
    .a-right,
    .a-up {
        top: 0px;
        left: 0px;
        opacity: 1;
    }

    /* Home */
    div#home_bottom {
        grid-template-columns: 60% 40%;
    }

    div#home_bottom_right>span:first-child {
        font-size: 18px;
    }

    div#home_bottom_right>span:last-child {
        font-size: 30px;
        font-weight: bold;
    }

    /* Events */
    div#events_grid {
        grid-template-columns: 200px 200px;
    }

    div#events_left> :nth-child(1) {
        margin-top: 103px;
    }

    div#events_right>h1 {
        margin-top: 35px;
        margin-left: -76px;
        font-size: 60px;
    }

    div#events_right> :nth-child(2) {
        margin-top: 164px;
    }

    div#events_right> :nth-child(3) {
        margin-top: 132px;
    }

    span.event_main {
        font-size: 30px;
    }

    span.event_sub {
        font-size: 14px;
    }

    /* Games modal */
    div#games_description {
        grid-template-columns: 100%;
        width: 80%;
        animation: none;
    }

    div#description {
        display: none;
        background-color: rgba(255, 255, 255, 0.8);
    }

    i#close_games_modal {
        position: absolute;
        top: 12%;
        right: 12%;
        color: #ffda00;
        background-color: white;
    }

    div#description>h1 {
        margin-top: 20px;
        font-size: 22px;
    }

    div#description>p {
        padding: 0px;
        font-size: 14px;
        text-align: center;
    }

    div#bottom {
        display: grid;
        grid-template-columns: 80% 20%;
    }

    div#meta img {
        max-width: 32px;
    }

    div.meta_column {
        font-size: 12px;
        text-align: center;
    }

    div.meta_column>p {
        max-width: 60px;
    }

    div#more_info {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(#ffda00, #7c2a00);
        cursor: pointer;
    }

    div#more_info>i {
        font-size: 40px;
    }

    /* Gallery */
    div#gallery_inner>h1 {
        margin: 15px 0px;
        font-size: 60px;
        text-align: center;
    }

    div#gallery_image_container>div:nth-child(n+21) {
        display: none;
    }

    /* Footer */
    div#footer_container {
        grid-template-columns: 30% 2px 43% 2px auto;
    }

    div#footer_left>span {
        font-size: 10px;
        text-align: center;
        padding: 0px 4px;
    }

    div#footer_middle div.email_phone_container span {
        font-size: 16px;
    }
}

/* --- < 700px --- */
@media only screen and (max-width: 700px) {

    section.section_outer,
    div.section_inner {
        min-height: 800px;
    }

    /* Header */
    header>img {
        width: calc(100% - 200px);
        /* Left margin 20 + nav 180 */
        max-width: 300px;
    }

    a#nav_toggle,
    a.nav_item {
        width: 180px;
    }

    .show_item {
        font-size: 22px !important;
        padding: 20px 0px !important;
    }

    /* Nav dots */
    div#nav_dot_container {
        display: none;
    }

    /* Home */
    div#home_1_desktop {
 
    }

    div#home_1_mobile {
        display: flex;
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-ad-gaming-trailer-04.jpg")
    }

    div#home_2 {
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-ad0-gaming0-trailer-elizabeth-city-nc.jpg")
    }

    div#home_3 {
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-tent-main-bg.jpg")
    }

    div#home_4 {
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-megazone-lasertag-03-1920x1280.jpg")
    }

    div#home_5 {
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/eer-yard-card-bg.jpg")
    }

    div.home_item_inner {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        width: 100%;
    }

    div.home_item_inner>h1 {
        font-size: 22px;
    }

    div.home_item_inner>h1>span {
        font-size: 32px;
    }

    div.home_item_inner>p {
        font-size: px;
    }

    div#home_bottom {
        grid-template-columns: 100%;
    }

    div#home_bottom_left {
        padding-left: 0px;
        justify-content: center;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    div.email_phone_container>div {
        justify-content: center;
    }

    div#home_bottom_right {
        display: none;
    }

    /* Events */
    section#events,
    div#events_inner_mobile {
        height: 550px;
        min-height: 0px;
        background-image: url("https://elite-entertainment-rentals.s3.us-east-005.backblazeb2.com/Assets/bg/EER_Assets_65.webp");

    }

    div#events_inner {
        display: none;
    }

    div#events_inner_mobile {
        display: grid;
        grid-template-rows: 250px 200px;

    }

    div#events_circles {
        width: 350px;
        margin: 0px auto;
        display: flex;
        justify-content: space-evenly;
        align-content: center;
        flex-wrap: wrap;
    }

    div.event_circle {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.613) no-repeat center;
        border-radius: 30px;
        box-sizing: border-box;
        cursor: pointer;
        transition: 0.3s;
    }

    .event_circle_selected {
        box-shadow: 0px 0px 10px #000b99;
    }

    div#event_circle_private {
        background-image: url('https://eliteentrentals.com/images/events/private.png');
        background-size: 100%;
    }

    div#event_circle_school {
        background-image: url("https://eliteentrentals.com/images/events/school.png");
        background-size: 100%;
    }

    div#event_circle_corporate {
        background-image: url("https://eliteentrentals.com/images/events/corporate.png");
        background-size: 100%;
    }

    div#event_circle_church {
        background-image: url("https://eliteentrentals.com/images/events/church.png");
        background-size: 100%;
    }

    div#event_circle_charity {
        background-image: url("https://eliteentrentals.com/images/events/charity.png");
        background-size: 100%;
    }

    article#events_details {
        margin: 0px 75px;
        color: whitesmoke;
    }

    span.event_main,
    span.event_sub {
        text-align: center;
    }

    /* Games */
    section#games,
    div#games_inner {
        height: 800px;
    }

    div#games_inner {
        grid-template-rows: 15px auto;
    }

    div#games_top {
        margin-top: 0px;
        justify-content: space-evenly;
    }

    div#games_top>h1 {
        font-size: 45px;
    }

    div#games_middle {
        width: 350px;
        margin-top: 120px;
        justify-content: center;
        flex-wrap: wrap;
    }

    div#game_circle_e>span.rating_main,
    div#game_circle_e10>span.rating_main,
    div#game_circle_t>span.rating_main {
        margin-top: 20px;
    }

    div#game_circle_m,
    div#game_circle_vr {
        margin-top: -10px;
    }

    div#games_bottom {
        height: 72%;
    }

    div#games_bottom>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0px 15px;
    }

    div#games_bottom>div:first-child {
        margin-left: 15px;
    }

    div#games_bottom>div:last-child {
        margin-right: 15px;
    }

    div#games_bottom h2 {
        margin-bottom: 4px;
        font-size: 18px;
        text-decoration: underline;
    }

    div.horizontal_bar {
        display: none;
    }

    div.console_games_list {
        justify-content: center;
    }

    div.console_games_list>p {
        font-size: 12px;
        text-align: center;
    }

    span.bullet {
        margin-top: -2px;
        padding: 0px 4px;
    }

    /* ycq tag */
    div#ycq_inner {
        padding: 20px 40px;
    }

    div#ycq_top {
        gap: 0.5rem;
    }

    div#ycq_top>div>img {
        width: 75px;
    }

    div#ycq_top>div>h1 {
        font-size: 34px;
    }

    /* Gallery */
    section#gallery,
    div#gallery_inner {
        height: 850px;
        min-height: 0px;
        /* Override others */
    }

    div#gallery_image_container {
        width: 348px;
        justify-content: start;
    }

    div#gallery_image_container>div,
    div#gallery_image_container img {
        width: 100px;
        height: 100px;
    }

    div#gallery_image_container>div {
        margin: 8px;
    }

    div#gallery_image_container>div:nth-child(n+13) {
        display: none;
    }

    /* Gallery modal styles */
    div#gallery_modal {
        width: 100%;
        min-width: 0px;
    }

    i#left_arrow,
    i#right_arrow {
        padding: 12px;
    }

    /* Contact */

    section#contact {
        min-height: 850px;
    }

    div#contact_form {
        padding: 15px 25px;
        border-radius: 10px;
    }

    div#contact_form>div:first-child {
        /* .center_content */
        flex-direction: column;
    }

    div#contact_form img {
        margin-left: 0px;
        margin-right: 0px;
        padding-right: 0px;
        border-right: none;
    }

    div#contact_form h1,
    div#contact_form>span {
        text-align: center;
    }

    div#contact_form h1 {
        font-size: 40px;
    }

    div#contact_form>span {
        width: 300px;
    }

    input#first_name,
    input#last_name,
    input#email,
    input#phone,
    input#address,
    input#city,
    select#state,
    input#zip,
    input#date,
    textarea#comments,
    input#submit {
        margin-bottom: 8px;
        border-radius: 6px;
    }

    input#email,
    input#phone,
    input#address,
    input#date,
    textarea#comments,
    input#submit {
        width: 300px;
    }

    input#first_name,
    input#last_name {
        width: 146px;
    }

    input#city,
    input#zip {
        width: 95px;
    }

    select#state {
        width: 94px;
    }

    input#first_name,
    input#city,
    select#state {
        margin-right: 8px;
    }

    textarea#comments {
        height: 100px;
    }


    span#required {
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        text-align: center;
    }

    /* Footer */
    footer {
        height: 480px;
    }

    div#footer_container {
        height: 370px;
        grid-template-rows: 40% 30% auto;
        grid-template-columns: 100%;
    }

    div.vertical_bar {
        display: none;
    }

    div#footer_left>img {
        width: 90%;
        max-width: 300px;
        margin-bottom: 0px;
    }

    div#footer_middle {
        border: none;
    }

    span.footer_heading,
    div#footer_middle div.email_phone_container>i {
        display: none;
    }

    /* Popup modal images */
    img#covid_desktop {
        display: none
    }

    img#covid_mobile {
        display: block
    }
}


/* Services Section 

  
section#servicesmain,
div#servicesmain_inner {
    min-height: 500px;
}

section#servicesmain {
    background-image: url('https://eliteentrentals.com/images/backgrounds/games-bg-purple.webp');
    background-repeat: no-repeat;
    background-size: cover;
}*/


