@import url('https://fonts.googleapis.com/css2?family=Barlow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

body {
    font-family: "Barlow", arial, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    margin: 0;
}

header {
    width: 100%;
    top: 0;

    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(campus.jpg);
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

    aspect-ratio: 8 / 3;
}

h1, h2 {
    font-family: "Montserrat";
    color: white;
    padding: 2rem;
    font-size: 2rem;
}

h1 {
    text-transform: uppercase;
}

p {
    margin: 2em;
    font-size: 1em;
    color: rgb(22,54,94);
}

.button-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 2rem;
}

.btn {
    background-color: rgb(254,212,34);
    color: rgb(22,54,94);
    font-family: "Montserrat";
    padding: 1em 1.5em;
    border-radius: 0.5em;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn:hover {
    background-color: rgb(154,198,226);
}

a {
    text-decoration: none;
}

.image-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 2rem;
}

.image-container > img {
    max-width: 30%;
}

.logo-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 1em;
    background: white;
}

.logo-container > img {
    max-width: 10rem;
}

footer {
    color: rgb(99,100,102);
    font-size: 0.7em;
    text-align: center;

    width: 100%;
    top: 0;

    background-color: rgb(154,198,226);
}

@media screen and (max-width: 600px) {
    body {
        background: green;
    }

    header {
        aspect-ratio: auto;
    }
}

@media screen and (min-width: 1600px) {
    body {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0;
        position: relative;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: black;
    }

    p {
        color: white;
    }

    footer {
        background-color: rgb(22,54,94);
    }
}
