/* CSS Document for Screens */

@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Rokkitt:wght@500&display=swap');

/* Fonts
font-family: 'Montserrat', sans-serif;
font-family: 'Rokkitt', serif;
*/

/* Colours
Background: #111b27
Red: #dd2126;
Font color: #252525;

*/

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    background: url('img/background_home_blue.jpg') no-repeat center;
    background-size: cover;
    background-position: top;
    height: 100vh;
}

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */
}


h1 {
    font-family: 'Rokkitt', serif;
    margin: 0 0 1em 0;
    font-size: 3em;
    font-weight: 500;
    color: #fff;
}

h2 {
    font-family: 'Rokkitt', serif;
    margin: 0 0 .6em 0;
    font-size: 3.2em;
    font-weight: 500;
    color: #fff;
    line-height: .8em;
}

h3 {
    margin: 0 0 .6em 0;
    font-size: 1.5em;
    font-weight: 400;
    color: #fff;
}



/* LINKS --------------------------------------------------------------------------------- */

a {
    color: #9e0000;
    text-decoration: none;
}

a:hover {
    color: #dd2126;
    text-decoration: underline;
}


/* NAV 
--------------------------------------------------------------------------------- */

nav {
    background: #000000;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    height: 60px;
    z-index: 2;
}

nav a {
    color: #fff;
    
}

nav a:hover {
    color: #e9e9e9;
    text-decoration: none;
}



@media only screen and (max-width: 745px) {
    #nav-list button {display: block;}
    .nav-buttons {display: none;}
    .sticky {position: relative !important;}
}
@media only screen and (min-width: 746px) {
    #nav-list button {display: none;}
    .nav-buttons {display: block;}
}

#nav-list button {
    padding: .25rem .5rem;
    background: transparent url(img/hamburger.svg) center center no-repeat;
    background-size: 2rem 2rem;
    border: none;
    width: 3.75rem;
    height: 3.75rem;
}

#nav-list button:hover {
    background:#fff url(img/hamburger-black.svg) center center no-repeat;
    background-size: 2rem 2rem;
}

.mobile-nav-menu {
    display: none;
    background-color: #871415;    
    color: #fff;
    padding: 0;
}

.mobile-nav-menu ul {list-style: none; margin: 0; padding: 0;}
.mobile-nav-menu ul li {padding: 0; margin: 0;}
.mobile-nav-menu ul li:hover, 
.mobile-nav-menu ul li:focus {background-color: #9e0000; }

.mobile-nav-menu ul a {
    display: block;
    color: #fff;
    font-size: 1.25em;
    line-height: 1.65em;
    width: fit-content;
    padding: .5rem 1rem;
}
.mobile-nav-menu ul a:hover,
.mobile-nav-menu ul a:focus,
.mobile-nav-menu ul a:active {text-decoration: none;}

.mobile-nav-menu.show-menu {display: block;}

#nav-list button img {width: 1.5rem; height: 1.5rem;}

.nav-buttons {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    
}


.nav-buttons li {
    display: inline-block;
    margin: 0;
    color: #fff;
    font-size: 1.3em;
    padding: 20px;
    
}

.nav-buttons li:hover {
    background-color: #dd2126;
    box-shadow: 0 3px 0 0 #ffffff;
    transition: 0.5s;
}


.sticky {
    position: sticky;
    top: 0;
    width: 100%;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
  }

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

.headerlogo img {
    width: 30%;
    margin-left: 5%;
    margin-top: 1%;
    margin-bottom: 5rem;
}


/* HERO AREA
-------------------------------------------------------------------*/
.hero-container {
    display: grid;
}

.herotext {
    margin: 8% 5% 0 30%;
}

.esports {
    font-size: 5.5rem;
    line-height: 5rem;
}

.premier {
    padding-left: 70px;
}

.racing-team {
    padding-left: 120px;
}

.heroimage {
    display: block;
    margin: auto;
}


.hero-blurb {
    padding: 0 2rem 6rem 2rem;
    text-align: center;
    margin-top: -10rem;
    margin-bottom: 100px;

    p {
        font-size: .8rem;
        color: #e9e9e9;
        line-height: 1rem;
    }
}

@media screen and (min-width:641px) {
    .hero-container {
    grid-template-columns: 40% 60%;
    }
}

@media screen and (max-width:1530px) {
    .herotext {
        margin-left: 20%;
    }
    .hero-blurb {
        padding: 0 0 0 13.5%;
        text-align: left;
    }   
    .hero-blurb p {
        font-size: .8rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width:1300px) {
    .herotext {
        margin-left: 10%;
    }
    .hero-blurb {
        padding: 0 0 0 9%;
        text-align: left;
        p { font-size: .8rem; }
    } 
    .premier {
        padding-left: 55px;
    }
    
    .racing-team {
        padding-left: 55px;
    }
}

@media screen and (max-width:1150px) {
        .herotext {
        margin-left: 10%;
        margin-top: 0;
    }
    .hero-blurb p {
        line-height: 1.2rem;
    }
}

@media screen and (max-width:970px) {
    .hero-container {
        margin-top: -3rem;
    }
    .esports {
        font-size: 4rem;
        line-height: 3rem;
    }
    .premier {
        font-size: 2rem;
        padding-left: 35px;
    }
    .racing-team {
        font-size: 2rem;
        padding-left: 35px;
    }
    .hero-blurb {
        padding: 0 0 0 8%;
        text-align: left;
        margin-top: -5rem;
        p { 
            font-size: .7rem; 
            line-height: 1rem;
        }
    }  
}

@media screen and (max-width:640px) {
    .headerlogo img {
        width: 40%;
        margin-left: 5%;
        margin-top: 4%;
        margin-bottom: 5rem;
    }
    
    .hero-container {
    grid-template-rows: 40% 60%;
    }
    .herotext {
        font-size: 4.2vw;
        text-align: center;
        padding-left: 0;
        margin: 2rem 0 1rem 0;
    }
    .esports {
        font-size: 3rem;
        line-height: 0;
    }
    .premier {
        font-size: 2.2rem;
        line-height: 1em;
    }
    .racing-team {
        font-size: 2.2rem;
    }
    
    .heroimage {
        padding: 0 20px 0 30px;
        margin-top: -2rem;
    }

    .hero-blurb {
        text-align: center;
        margin-top: -2.5rem;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
    } 
}

/* NEWS SECTION
-------------------------------------------------------------------*/
.news-container {
    background-color: #000000;
    padding-top: 40px;
    padding-bottom: 60px;
    
}

.news-section {
    display: grid; 
    grid-template-columns: 
    repeat(auto-fit, minmax(550px, 1fr)); 
    grid-gap: 40px 40px; 
    width: 100%;
    background-color: #000000; 
    padding: 20px 60px;
}

.news-section article {
    background-color: #ffffff;
    border-radius: 10px 10px 0 0;
}

.news-container h2 {
    margin-top: 60px;
    padding-left: 8%;
}

.news-section h3 {
    color: #000000;
}

.news-section div {
    padding: 20px 40px;
}

.news-section img {
    border-radius: 10px 10px 0 0;
}


@media screen and (max-width:640px) {
    .news-section {
    padding: 0;
    grid-template-columns: 
    repeat(auto-fit, minmax(320px, 1fr)); 
    }

    .news-section img {
        border-radius: 0;
    }
}

/* THE TEAM
-------------------------------------------------------------------*/
.team-container {
    grid-gap: 40px 40px; 
    background-color: #ffffff;
    padding-left: 8%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.team-container article {
    padding-top: 60px;
    padding-right: 3rem;
    h2 { color: #000000; }
}

.our-drivers {
    display: flex; 
}

.our-drivers div {
    z-index: 1;
}

.our-drivers h3{
    color: #000000;
}

.team-container aside{
    background-color: #d4d4d4;
    border-radius: 10px;
    padding: 60px 60px 60px 100px;
    margin-top: 8%;
    margin-bottom: 20%;
    margin-right: 15%;
    margin-left: -10rem;
}

@media screen and (min-width:1101px) {
    .team-container {
        display: grid; 
        grid-template-columns: auto 50%;
    }
}

@media screen and (max-width:1100px) {
    .team-container {
    display: grid; 
    }
    .team-container aside{
        margin-right: 0;
    }
}

@media screen and (max-width:640px) {
    .team-container {
        grid-gap: 5px 5px; 
        padding: 0;
        margin: 40px 0 0 0;
        width: 100%;
    }
    .team-container article {
        padding: 60px 40px 0 40px;
        margin: 0;
    }
    .team-container aside{
        padding: 60px 40px 20px 8rem;
        margin-top: 8%;
        margin-bottom: 20%;
        margin-right: 0;
        margin-left: -10rem;
    }
    .our-drivers div {
        margin-top: 3rem;
    }
}

@media screen and (max-width:582px) {
    .team-container aside{
        border-radius: 0px;
    }
}

/* CURRENT SERIES
-------------------------------------------------------------------*/

.series-container {
    background-color: #111b27;
    padding-top: 40px;
    padding-left: 5%;
    padding-bottom: 5rem;
    h2 { 
        padding: 60px 40px 20px 60px;
    }
}

.series-container article {
    background-color: #d4d4d4;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 11px 11px 10px 10px;
    h3 {
        color: #000;
        padding-top: 1rem;
    }
}

.series-container img {
    border-radius: 10px 10px 0 0;
}

@media screen and (min-width:751px) {
    .series-container div {
    display: grid; 
    grid-template-columns: 45% 45%;
    grid-gap: 0px 60px;
    margin-left: 60px;
    margin-right: 60px;
    }
}

@media screen and (max-width:750px) {
    .series-container {
        padding-left: 0;
    }
    
    .series-container div {
    display: grid; 
    grid-template-rows: 45% 45%;
    grid-gap: 40px 60px;
    margin-left: 0px;
    margin-right: 0px;
    }
    .series-container img {
        border-radius: 0;
    }
    .series-container article {
        border-radius: 0;
    }
}

/* SPONSORS
-------------------------------------------------------------------*/
.sponsors-container {
    background-color: #d4d4d4;
    padding-top: 40px;
    padding-left: 5%;
    padding-bottom: 5rem;
    h2 { 
        padding: 60px 40px 20px 60px;
        color: #000;
    }
}

.our-sponsors {
    width: 90%;
    padding: 20px 40px 20px 60px;
}

.our-sponsors article {
    background-color: #ffffff;
    border-radius: 10px 10px 0 0;
    padding: 40px;
}

.our-sponsors img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.our-sponsors h4 {
    text-align: center;
    padding-top: 20px;
}

.dsc_logo {
    padding-top: 40px;
}

@media screen and (min-width:751px) {
    .our-sponsors {
    display: grid; 
    grid-template-columns: 50% 50%;
    grid-gap: 40px 40px;
    }
}

@media screen and (max-width:750px) {
    .our-sponsors {
        display: grid; 
        grid-gap: 20px 20px;
    }
    .our-sponsors article {
        border-radius: 10px 10px;
    }
}

@media screen and (max-width:640px) {  
    .our-sponsors {
    padding: 20px 30px 20px 0;
    width: 100%;
    }
    .sponsors-container h2 {
        padding: 60px 40px 20px 30px;
        line-height: 3rem;
    }
}

/* CONTACT US
-------------------------------------------------------------------------- */

.contact-container {
    padding-top: 40px;
    padding-left: 5%;
    padding-bottom: 40px;
    background: url('img/bg_images/daytona_caddie_closeup.jpg') no-repeat center;
    background-size: cover;
    background-position: center;

    h2 {
        color: #000000;
        opacity: 1;
        line-height: 1.25em;
    }
    p {
        opacity: 1;
    }
}

.contact-container article {
    background-color: #d4d4d4;
    opacity: 0.9;
    margin-right: 50%;
    margin-left: 60px;
    border-radius: 10px;
}

label
{
    display:block;
    margin-top:20px;
    letter-spacing:2px;
}
form
{
    margin: 5px 0px 5px 0px;
}

.contact-container article {
    padding: 2rem 1.5rem;
}

@media screen and (max-width:1200px) {
    .contact-container article {
        margin-right: 100px;
        margin-left: 60px;
        border-radius: 10px;
    }
}

@media screen and (max-width:700px) {
    .contact-container article {
        margin-right: 0px;
        margin-left: 0px;
        border-radius: 0px;
    }
    .contact-container {
        padding-left: 0;
    }
}


/* Styles the text boxes */
input, textarea, file {
    width: 100%;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
	background-color:#fff;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border:1px solid #dedede;
	padding:10px;
	margin-top:3px;
	color:#000;
}

	input:focus, textarea:focus {
		border:1px solid #97d6eb;
	}

/* Styles the text area boxes (message field) */
textarea
{
	height: 213px;
}


/* Styles the submit button */
#submit {
	/* background:url(images/submit.png); */
	width:127px;
	height:48px;
	text-align: center;
	/* text-indent:-9999px; */
	border:none;
	margin-top:20px;
	cursor:pointer;
	background-color: #e5e5e5;
	font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Styles the submit hover */
#submit:hover {
	color:#fff;
	background-color: #3951a1;
	opacity:0.9;
}

/* Styles the cancel button*/
#cancel {
	/* background:url(images/cancel.png); */
	width:127px;
	height:48px;
	text-align: center;
	/* text-indent:-9999px; */
	border:none;
	margin-top:20px;
	cursor:pointer;
	font-family: 'Lato';
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Styles the cancel hover */
#cancel:hover {
	color:#fff;
	background-color: #dd2126;
	opacity:0.9;
}



/* FOOTER
-------------------------------------------------------------------*/
footer {
    background: #000000;
    display:flex;
    justify-content: space-between;
    padding: 0 30px;
}

footer p {
    color: #d4d4d4;
}

.socials {
    list-style-type: none;
    padding: 0;
}

.socials li {
    display: inline-block;
    margin-left: 10px;
}

/* Animated blue-purple gradient background for the main page container */
.main-content {
    position: relative;
    z-index: 0;
    min-height: 100vh;
    overflow: hidden;
}

.main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(270deg, #0d161f, #141e2a, #34435e, #233043);
    background-size: 800% 800%;
    filter: blur(40px);
    opacity: 0.95;
    transform: translateZ(0);
    animation: gradientShift 18s ease infinite;
}

/* Subtle secondary animated layer to add depth */
.main-content::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(120deg, rgba(124,58,237,0.18), rgba(14,165,233,0.12)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06' /></svg>");
    background-size: 400% 400%, 200% 200%;
    background-repeat: no-repeat, repeat;
    background-position: 0% 0%, 0 0;
    mix-blend-mode: overlay;
    animation: gradientShift 50s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.socials img {
    width: 32px;
}

.socials img:hover {
    opacity: 0.5;
}