:root {
    --primary: white;
    --secondary: rgb(230, 61, 61);
    --primaryFont: black;
    --secondaryFont: rgb(32, 54, 194);

}

body {
    background-color: var(--primary);
    color: var(--primaryFont);
    max-width: 1200px;
    margin: 0 auto;
}
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#gallery img {
    padding: 20px;
    width: 150px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

header>div {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 800;
}

header>div>img {
    width: 60px;
}
#imgModal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    width: 100vw;
    display: none;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow: scroll;
}
#imgModalClose {
    margin: 20px;
}
#modalImg {
    max-width: 100vw;
}
#logo {
    height: 75px;
    width: 80px;
}
#nav>a {
    color: var(--secondaryFont);
    text-decoration: none;
    padding: 10px;
    font-size: 1.2rem;
    margin: 3px;
}

#nav>a:hover {
    color: var(--secondary);
    font-weight: bold;
}
#navToggle {
    color: var(--primaryFont);
}
#message {
    border: 1px solid #ced4da;
}
#mobileNav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: white;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}
#mobileNav>a {
    padding: 10px 0;
    color: var(--primaryFont);
    text-decoration: none;
}
#mobileNav>a:hover {
    color: var(--secondaryFont);
    font-weight: bold;
}
#contactModal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--primary);
    padding: 5% 0;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    overflow: scroll;
}
#contactModal>a, #imgModal>a {
    color: var(--primaryFont);
    text-decoration: none;
    padding: 10px;
    font-size: 1rem;
    margin: 3px;
}
#contactModal>a:hover {
    color: var(--secondary);
    font-weight: bold;
}
#closeContact {
    text-decoration: none;
    max-width: 110px;
    z-index: 1;
}
#hero {
    background: url(./Assets/ecusNoText.jpeg) top no-repeat;
    background-size: cover;
    height: 80vh;
}
#mainwrapper {
    max-width: 1200px;
    margin: 0 auto;
}
#about{
    margin: 0 auto;
    padding: 5%;
}
.socialLink {
    font-size: 2rem;
    text-decoration: none;
    color: var(--secondaryFont);
    padding: 5px;
}
.socialLink:hover {
    color: var(--secondary);
}
#sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#sponsors img {
    padding: 20px;
    width: 150px;
}
.title {
    color: var(--secondaryFont);
    text-align: center;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (min-width: 768px) {
    #modalImg {
        height: 100%;
    }
    #logo {
        margin: 10px 0;
    }
    .socialLink {
        padding: 10px
    }
    #hero {
        background-position-y: -190px;
    }
    #sponsors img, #gallery img {
        width: 20%;
    }
}
@media screen and (min-width: 1200px) {
    .video {
        height: 675px;
    }
}