:root {
    --prim-color: #005ad1;
}

body {
    /* background-color: rgb(16, 16, 32); */
    background-color: #0a002c;
    color: white;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

.logo {
    width: 64px;
    /* filter: invert(); */
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    padding: 1rem;
    z-index: 1;
}

@media (max-width: 400px) {
    .branding {
        width: 100%;
        /* background-color: blue; */
        justify-content: center;
    }

    .branding span {
        display: none;
    }
}

#header .branding {
    /* background-color: red; */
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: larger;
}

#nav {
    display: flex;
    gap: 2rem;
}

#nav a {
    text-decoration: none;
    color: rgb(200, 200, 200);
    font-size: large;
    transition: color 0.2s ease-in-out;
}

#nav a.active-page {
    color: var(--prim-color);
}

#nav a:hover {
    color: white;
}

@media (max-width: 800px) {
    #nav {
        display: none;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-color: red; */
    margin: 0;
    padding-top: 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)), url('hero-bg.jpg');
    background-position: center;
    background-size: cover;
    /* height: 100vh; */
    height: 60vh;
}

.hero.home {
    height: 80vh;
    /* background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)), url('hero-bg.jpg'); */
}

/* .hero.recruitment {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)), url('recruitment-hero-bg.jpg');
} */

.hero>h1 {
    font-size: 4rem;
    max-width: 600px;
    margin: 0;
}

.school-tag {
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(231, 219, 78);
}

#stats {
    background-color: rgb(32, 32, 32);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: space-evenly;
}

@media (max-width: 600px) {
    #stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    #stats {
        grid-template-columns: 1fr;
    }
}

.stat {
    /* background-color: red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;

}

.stat p {
    font-size: x-large;
    margin: 0.5rem;
}

.stat span {
    text-transform: uppercase;
    font-size: small;
    color: var(--prim-color);
}

.section {
    padding: 3rem;
}

.tag {
    color: var(--prim-color);
    text-transform: uppercase;
    font-size: small;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.two-col > div {
    /* background-color: blue; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

@media (max-width: 1000px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.two-col .img-col {
    width: 100%;
    border-radius: 16px;
}

.section.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: radial-gradient(circle at center, rgb(42, 27, 83), black); */
    background: radial-gradient(circle at center, black, rgb(27, 34, 83));
    /* background: linear-gradient(-60deg, rgb(42, 27, 83), black); */
}

.section.centered>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
}

.cta {
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
    /* background-color: var(--prim-color); */
    border: 2px solid var(--prim-color);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cta-arrow {
    transition: all 0.2s ease-in-out;
    width: 1.5rem;
    filter: invert();
    padding-left: 0rem;
    padding-right: 0.5rem;
}

.cta:hover {
    background-color: var(--prim-color);
}

.cta:hover .cta-arrow {
    padding-left: 0.5rem;
    padding-right: 0rem;
}

#footer {
    padding: 2rem;
    background-color: black;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 2rem;
}

#footer div {
    border-radius: 8px;
    padding: 1rem;
    background-color: rgb(16, 16, 32);
    display: flex;
    flex-direction: column;
}

#footer .links a {
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    color: rgb(200, 200, 200);
    margin: 0.3rem;
}

#footer .links a:hover {
    color: white;
}

#footer .links img {
    width: 36px;
    border-radius: 50%;
}

#footer .links .horizontal {
    display: flex;
    flex-direction: row;
    padding: 0.5rem 0;
}

.members {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.members div {
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    height: fit-content;
    /* width: fit-content; */
    outline: 1px solid gray;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.members div:hover {
    margin-bottom: 0;
}

.members div a {
    transition: all 0.2s ease-in-out;
    scale: 0;
    opacity: 0;
    margin-top: 0rem;
}

.members div:hover a {
    scale: 1;
    opacity: 1;
    margin-top: 1rem;
}

.members div a img {
    width: 32px;
    border-radius: 50%;
}

.members div > img {
    border-radius: 50%;
    width: 64px;
}

.section:has(.sponsor) {
    text-align: center;
}

.sponsor {
    text-align: center;
    padding: 1rem;
}


.sponsor-logo {
    background-color: white;
    border-radius: 8px;
    padding: 8px;
}


.sponsor.min {
    display: inline-block;
}

.sponsor.maj > img {
    width: min(400px, 100%);
}

.sponsor.min > img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/* EMULATOR */
#emulator {
    text-align: center;
}

#emulator #screen {
    background: gray;
    scale: 1;
}