@font-face {
    font-family: 'OpenSans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/static/OpenSans-Regular.ttf");
}

@font-face {
    font-family: 'OpenSans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/static/OpenSans-Bold.ttf");
}

@font-face {
    font-family: 'Santana';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("fonts/static/Santana-Black.ttf");
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("fonts/static/Montserrat-Thin.ttf");
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/static/Montserrat-Light.ttf");
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/static/Montserrat-Regular.ttf");
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("fonts/static/Montserrat-Black.ttf");
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/static/Montserrat-Bold.ttf");
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
    font-weight: 300;
    letter-spacing: 0.1rem;
    line-height: 150%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 5rem;
}

img {
    max-width: 100%;
}
figure {
    font-size: 0;
    padding: 0;
    margin: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: white;
    .logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo {
        height: 5rem;
    }

    & nav {
        .mobile-toggle {
            height: 4rem;
            width: 4rem;
            background-color: #186670;
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            border-radius: 4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            text-transform: uppercase;
            padding: 1rem;
            cursor: pointer;
            z-index: 10;
            border: none;

            & svg {
                width: inherit;
                height: inherit;
            }
        }

        .navigation-list {
            list-style: none;
            position: fixed;
            height: 100vh;
            top: 0;
            width: 100%;
            background-color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: transform .2s ease-out,opacity .2s ease-out;
            z-index: 5;

            &:not(.display-on-mobile) {
                opacity: 0;
                pointer-events: none;
                transform: translateY(-10%);
            }

            & a {
                font-family: "OpenSans";
                text-transform: uppercase;
                color: #404042;
                font-weight: 700;
                height: 4rem;
                display: flex;
                justify-content: center;
                align-items: center;
                text-decoration: none;
                font-size: 2rem;
            }
        }
    }
}

main {
    margin: 1rem 0;
}

.banner-with-overlay {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background-image: url(banner6.jpg);
    background-size: cover;
    background-attachment: scroll;
    padding: 0 3rem;
    background-repeat: no-repeat;
    background-position: center center;

    @media only screen and (min-width: 700px) {
        background-position: top center;
    }

    & h2 {
        font-family: Santana;
        font-size: 2rem;
        color: white;
        padding: 2rem;
        text-align: center;
        text-transform: uppercase;
        font-weight: 900;
        text-shadow: 0 .25em 2em rgba(0,0,0,.25),0 .2em 1em rgba(0,0,0,.1),0 .125em .125em rgba(0,0,0,.2);
    }
}

.presentation {
    margin: 2rem;
    & h2 {
        font-family: Montserrat;
        font-weight: 700;
        margin-bottom: 2rem;
        text-align: center;
    }

    & p {
        text-align: center;
    }
}

.references {
    display: flex;
    justify-content: center;
    background: #f7f7f7;

    .references-list {
        display: flex;
        flex-direction: column;
        max-width: 65rem;
        width: 100%;
        justify-content: center;
        align-items: center;
        list-style: none;
        gap: 2rem;
        padding: 2rem 0;

        & img {
            filter: grayscale(1);
            width: 200px;
        }
    }
}

.events {
    @media only screen and (min-width: 700px) {
        max-width: 65rem;
        margin: 0 auto;
    }
    .events-title {
        font-family: Montserrat;
        font-weight: 700;
        margin-bottom: 2rem;
        text-align: center;
        margin: 2rem;
    }
    .events-list {
        list-style: none;

        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin: 2rem;

        @media only screen and (min-width: 700px) {
            flex-direction: row;
        }
    }

    .event {
        padding: 0 0 1rem;
        overflow: hidden;
        border: none;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02), 6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028), 12.5px 12.5px 10px rgba(0, 0, 0, 0.035), 22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042), 41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05), 100px 100px 80px rgba(0, 0, 0, 0.07);
        background-color: white;
        border-radius: 1rem;
        box-shadow: inset 0px 0px 0px 1px #f7f7f7;

    }

    .event-title {
        font-family: Montserrat;
        margin: 0 1rem;
        font-size: 1.25rem;
        text-transform: uppercase;
        font-weight: 300;
    }

    .event-date {
        margin: 0 1rem;
        font-weight: bold;
        font-size: 0.9rem;
    }
    .event-description {
        margin: 0 1rem;
        font-size: 0.9rem;
    }
    .event-link {
        margin: 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 1rem;
        text-decoration: none;
        max-width: 100%;
        padding: 0.9rem;
        background-color: #186670;
        border: 1px solid #186670;
        color: white;
        font-size: 1rem;
    }
}