/* Table of Contents */
/* 1. Pre page Loader */
/* 2. Imports */
/* 3. Universal */
/* 4. Navbar */
/* 5. Side Navbar */




/* Imports */
@import url('fonts.css');

/* Universal */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    max-width: 100vw;

    overflow-x: hidden;
}



body a {
    color: #fff;
    text-decoration: none;
}

body a:hover {
    color: #fff;
    text-decoration: none;
}

#preloader {
    position: fixed;
    min-width: 100vw;
    min-height: 100vh;
    background-color: #111111;
    z-index: 999;
}

#preloader .container {
    max-width: 200px;
    max-height: 200px;
    margin-top: calc(50vh - 150px);
    color: #f0f0f0;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
}

.font-1 {
    font-size: 1em;
}

.font-1_1 {
    font-size: 1.1em;
}

.font-1_2 {
    font-size: 1.2em;
}

.font-1_3 {
    font-size: 1.3em;
}

.font-1_4 {
    font-size: 1.4em;
}
.font-1_5 {
    font-size: 1.1em;				/*to make responsive sponsors page, changed it as the screen changes*/
}

.mh-100vh {
    min-height: 100vh;
}

.section-heading .below {
    position: relative;
    <!---display: inline-block;-->
    margin: 10px auto;
}

.section-heading .below::before,
.section-heading .below::after {
    content: '';
    position: absolute;
    margin-left: -15px;
    min-width: 30px;
    min-height: 2px;
    background: black;
}

.section-heading .below img {
    width: 30px;
    position: relative;
    top: -15px;
    margin: 0 20px;
}

.b-red {
    border: red 2px solid;
}

.font-rw {
    font-family: 'Raleway', sans-serif;
}

.font-vk {
    font-family: 'Vollkorn', serif;
}

.font-ow {
    font-family: 'Oswald', sans-serif;
}

.font-eh {
    font-family: 'EliteHacker', sans-serif;
}

.font-np {
    font-family: 'NewPressEroded', sans-serif;
}

.font-white {
    color: #f0f0f0;
}

.font-black {
    color: #111111;
}

.font-blue {
    color: #18dcff;
}

.font-red {
    color: #ff4d4d;
}

.font-green {
    color: #32ff7e;
}

.font-navyblue {
    color: #005695;
}

/* Navbar */
#navbar {
    margin: 0;
    position: fixed;
    z-index: 100;
    width: 100%;
    vertical-align: middle;
    padding: 20px 60px;
    color: white;
}

#navbar .navToggle {
    display: none;
}

#navbar .nav-row {
    margin: 0;
    width: 100%;
    padding: 10px 60px;
}

#navbar .logo-wrapper {
    width: 30%;
    float: left;
}

#navbar .logo-wrapper img {
    max-height: 50px;
}

#navbar .menu-wrapper {
    width: 70%;
    float: right;
    text-align: right;
    padding: 8px 0px;
}

#navbar .menu .active {
    background-color: #ff4d4d;
}

#navbar .menu li {
    padding: 2px 8px;
    display: inline-block;
}

#navbar .menu li:hover {
    background-color: #ff4d4d;
}

#nav-row-xs {
    display: none;
    max-width: 0px;
}

.dropdown {
    max-height : 200px !important;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-top: 4px #ff4d4d solid;
    background-color: white;
    position: absolute;
    overflow: hidden;
    transition: all 300ms ease-in-out !important;
    max-height: 0px;
    box-sizing: border-box !important;
    text-align: left !important;
    padding: 2px 7px;
    opacity: 0;
    margin-top: 5px;
    margin-left: -8px;
}

.dropdown li {
    margin-left: 0px;
    display: block !important;
    padding: 10px 20px;

}
.dropdown li a {
    color: #222;
}
.dropdown li:hover {
    color: #ff4d4d;
    background-color: white !important;
}

.li-seperator {
    margin: 0;
    padding: 0;
}

.dt1:hover .dc1 {
    height : 200px !important;
    max-height: 125px !important;
    opacity: 100;
}

.min-height-100 {
    min-height: 100vh;
}

.bg-dark {
    background-color: #444 !important;
    color: #ddd !important;
}

.border-bot-red {
    border-bottom: #ff4d4d 2px dashed;
}

.hr-red {
    background-color: #ff4d4d;
}

.w-45 {
    width: 45%;
}

/*Side Navbar*/
#mySidenav a {

  display:block;
  position: fixed;
  
  
  transition: 0.3s;
  padding: -5px;
 height:;
  
  text-decoration: none;
  font-size: 20px;
  color: black;
  border-radius: 0 5px 5px 0;
}

#mySidenav a:hover {
  left:0;
}

#mySidenav .formulasaeelectric {
left: -117px;
  top: 200px;

 background-color:white;
	width: 238px;
}

#mySidenav .formulasaecombustion {
left: -90px;
  top: 260px;
<!--background-color: #ff4d4d;-->
width: 211px;

 background-color: white;
}

#mySidenav .baja1 {
left: -35px;
  top: 320px;

 background-color: white;
width: 156px;
}

#mySidenav .shelleco1 {
left: -65px;
  top: 380px;
 background-color: white;
width: 186px;
}
#mySidenav .Efficycle1 {
left: -70px;
  top: 440px;
 background-color:white;
width: 191px;
}
/*Right Side navbar*/
#mySidenav1 a {

  display:block;
  position: absolute;
  left: 93%;
  
  padding: 12px;
  width: 50px;
  text-decoration: none;
  font-size: 20px;
  color: black;
  border-radius: 0 0 0 0;
}



#mySidenav1 .formula13 {
  top: 145%;
 background-color:red;
}

#mySidenav1 .formula16 {
  top: 154%;
 background-color:yellow;
}

#mySidenav1 .formula18 {
  top: 163%;
 background-color:green;
  
}
#mySidenav1 .baja15 {
  top: 277%;
 background-color:red;
}
#mySidenav1 .baja16 {
  top: 286%;
 background-color:yellow;
}
#mySidenav1 .baja19 {
  top: 295%;
 background-color:green;
}
#mySidenav2 a {
  display:block;
  position: absolute;
  left: 89%;
  
  padding: 12px;
  width: 100px;
  text-decoration: none;
  font-size: 20px;
  color: black;
  border-radius: 0 0 0 0;
}
#mySidenav2 .efficycle {
  top: 503%;
  background-color: yellow;
}



/* Home */
#home {
    background-image: url("../assets/bg1.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100vw auto;
    background-position: 0px -100px;
    min-height: 100vh;
    background-color:transparent;
}

#home .container {
    min-height: 100vh;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    max-width: 100%;
}

#home .title {
    padding-top: 200px;
    padding-left: 10vw;
}

#home .title .title-main {
    border-left: #ff4d4d 8px dashed;
}

#home .title .social-list a {
    font-size: 30px;
    color: #f0f0f0;
}

#home .title .social-list a:hover {
    font-size: 35px;
    color: #ff4d4d;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

#home .title-main {
    font-family: Oswald, sans-serif;
    font-size: 100px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    display: block;
    background: none; /* Remove background */
    -webkit-text-fill-color: initial; /* Reset text fill color to normal */
    -webkit-background-clip: unset; /* Reset background clip */
    -moz-background-clip: unset; /* Reset background clip for Firefox */
    background-clip: unset; /* Reset background clip */
}


#home h1 {
    font-size: 90px;
    font-weight: 600;
}

#home h1:hover {
    color: #ff4d4d;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

#home .font-eh {
    font-size: 90px;
    font-weight: 400;
    font-stretch: extra-expanded;
    font-kerning: auto;
}

footer {
    background: #222;
    color: #ddd;
}

.contact-form {
    margin: 0;
    padding: 0;
}

.form-input {
    border: #111 1px solid;
    padding: 2px 5px;
}

.form-input:active,
.form-input:focus {
    border: #ff4d4d 1px solid;
}

footer {
    background: #222;
    color: #ddd;
}

.contact-form {
    margin: 0;
    padding: 0;
}

.form-input {
    border: #111 1px solid;
    padding: 2px 5px;
}

.form-input:active,
.form-input:focus {
    border: #ff4d4d 1px solid;
}
/* Sponsors */
.spon-table {
    margin: 0 auto;
}
.spon-table th {
    padding: 5px 10px;
    background-color: #ff4d4d;
    color: white;
}
.spon-table td {
    padding: 5px 10px;
}
.spon-table td:first-child {
    background-color: #ff4d4d36;
}

/* Members */
.member img {
    width:200px;
	
    box-sizing: content-box; 
    border-radius : 5px 5px 5px 5px;	
    <!--border: black 3px solid;-->
    <!---box-shadow: 3px 3px #eb4646;-->
	
}
.member:hover img {
   opacity: .3;
  
}
.member middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 40%;
  left: 38%;

  
}
.member:hover middle {
   opacity:1;
  
}

.member h3 {
    margin: 10px auto;
}
/* Gallery */
.g-pic {
    text-align: center;
    margin-bottom: 25px;
    padding: 0;
}
.g-pic img {
    max-width: 90%;
    border: 2px black solid;
    <!--box-shadow: 2px 2px 5px #111;-->
    border-radius: 1px;
    margin: 0;
}
.g-pic img:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* main title section */
#main-section {
    text-align: center;
    background: url("../assets/pic1.jpg");
    background-size: 100vw;
    background-position: 0 -300px;
    background-attachment: fixed;
    height: 30vh;
    width: 100w;
}

#main-section .title-wrapper {
    height: 30vh;
    overflow: hidden;
    position: relative;
    text-align: center;
}

#main-section .title {
    padding: 0;
    margin: 0 auto;
    width: 100vw;
    font-weight: 700;
    position: absolute;
    font-size: 6em;
    bottom: -0.28em;
    text-align: center;
    color: #ddd;
    text-shadow: 2px 2px 8px #222;
}

/* Timeline */
.timeline {
    padding: 0px 5%;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
}

.timeline-item>div {
    flex: 1;
    padding: 20px 40px;
}

.timeline-item>div:last-child {
    text-align: left;
    padding-bottom: 40px !important;
}

.timeline-item:nth-child(odd)>div:first-child {
    text-align: right;
    position: relative;
}

.timeline-item:nth-child(odd)>div:first-child::after {
    right: -11px;
}

.timeline-item:nth-child(odd)>div:last-child {
    text-align: left;
    border-left: 2px solid #e0e0e0;
}

.timeline-item:nth-child(odd) .timeline-content>h2 {
    text-align: left !important;
}

.timeline-item:nth-child(odd) .timeline-date>div {
    margin-right: 0px;
}

.timeline-item:nth-child(even)>div:first-child {
    order: 2;
    text-align: left;
    position: relative;
}

.timeline-item:nth-child(even)>div:first-child::after {
    left: -1px;
}

.timeline-item:nth-child(even)>div:last-child {
    order: 1;
    text-align: right;
    border-right: 2px solid #e0e0e0;
}

.timeline-item:nth-child(even) .timeline-date>div {
    margin-left: 0px;
}

.timeline-item:nth-child(even) .timeline-content>h2 {
    text-align: right !important;
}

.timeline-item>div:first-child::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff4d4d;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px #ff4d4d7a;
}

.timeline-item .timeline-date>div {
    background-color: #ff4d4d;
    box-shadow: 0 0 0 4px #ff4d4d7a;
    border-radius: 50px;
    color: #ffffff;
    text-align: center;
    max-width: max-content;
    margin: auto;
    padding: 10px 20px;
}

.timeline-item .timeline-content .fa-icon {
    font-size: 80px;
}

.timeline-item .timeline-content>h2 {
    margin: 0px;
    font-size: 1.5em;
    font-weight: bold;
    color: #ff4d4d;
}

.timeline-item:not(:last-child) .timeline-content>.fa-icon {
    margin-bottom: 70px;
}

@media (max-width: 767px) {
    .timeline-item {
        flex-direction: column;
        border-left: 2px solid #e0e0e0;
    }

    .timeline-item>div {
        border-width: 0px !important;
        text-align: left !important;
        order: unset !important;
    }

    .timeline-item>div::after {
        left: 0% !important;
    }

    .timeline-item:nth-child(odd) .timeline-content>h2 {
        text-align: left !important;
    }

    .timeline-item:nth-child(even) .timeline-content>h2 {
        text-align: left !important;
    }
}


/* Resonsive Media Queries */
@media (max-width: 980px) {
    #nav-row-xs {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 15px 5px 2px 15px;
    }

    #nav-row-xs .logo-wrapper {
        width: 80%;
        float: left;
        padding: 10px 10px;
    }

    #nav-row-xs .logo-wrapper img {
        max-height: 30px;
    }

    #nav-row-xs .toggle-btn {
        font-size: 25px;
        width: 20%;
        float: right;
        padding-top: 0px;
    }

    #nav-row-xs .toggle-btn button {
        padding: 2px 5px;
	    color : #ff4d4d;
        border: none;
        background: none;
    }

    #nav-row-xs .toggle-btn button:hover {
        color: #ff4d4d;
    }

    #navbar {
        margin: 0;
        min-width: 240px;
        max-width: 250px;
        background-color: rgba(17, 17, 17, 0.9);
        min-height: 100vh;
        position: fixed;
        top: 0;
        right: -250px;
        z-index: 900;
        transition: all 300ms ease-in-out !important;
        color: white;
        padding: 0px 0px;
    }

    #navbar .nav-row {
        padding: 10px 20px;
    }

    #navbar .navToggle {
        font-weight: bold;
        display: block;

    }

    #navbar .navToggle button {
        background: none;
        border: #ff4d4d 2px solid;
        background-color: #ff4d4d;
        color: #111111;
    }

    #navbar .navToggle button:hover {
        background: none;
        color: #ff4d4d;
    }

    #navbar .menu {
        padding-left: 0;
    }

    #navbar .menu li {
        display: block;
    }

    #navbar .logo-wrapper {
        width: 100%;
        float: none;
        text-align: center;
    }

    #navbar .menu-wrapper {
        width: 100%;
        float: none;
        text-align: left;
    }

    .dropdown {
        box-shadow: none;
        padding-left: 10px;
        position: relative;
        overflow: hidden;
        transition: all 300ms ease-in-out;
        max-height: 0px;
        list-style: disc;
        background-color: rgba(0, 0, 0, 0.0);
    }

    .dropdown li {
        display: block;
        padding: 1px 20px;
    }

     #home {
        display: flex;
        justify-content: center;
        background-image: url("../assets/bg_ph.png");
        background-size: cover;
        background-position: center center;
        /* background-position: calc(2vw - 0.41 * calc(100vh * calc(2048/1356))) 0px; */
    }


    #home .title {
        margin: 0 auto; /* Centers the element horizontally */
        padding-top: 100px;
        text-align: center; 
        /* padding-left: 80px; */
    }

    #home .title .title-main {
        border-left: #ff4d4d 8px dashed;
    }

    #home .title-main h1 {
        color: #ff4d4d;
        font-size: 5rem;
    }

    #main-section {
        background-size: auto 500px;
        background-position: 0px 0;

    }

    #main-section .title {
        font-size: 3.8em;
        bottom: -0.28em;
        
    }	
     #mySidenav {
	display:none;
    }

    #mySidenav1 {
	display:none;
    }
    #mySidenav2 {
	display : none;
    }
    .font-1_5 {
        font-size : 0.8em;
    }

}
@media (max-width: 450px) {
    #main-section {
        background-position: -250px -220px;
    }
    #mySidenav {
	display:none;
    }
    .formulasaeelectric{
	display:none;
    }
    #mySidenav1 {
	display:none;
    }
    #mySidenav2 {
	display : none;
    }
    .font-1_5 {
        font-size : 0.8em;
    }


}
@media (min-width: 1920px) {
#mySidenav {
	display:none;
    }
#mySidenav1  {
display:none;
}
#mySidenav2  {
display:none;
}
}
 