@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons/TheSeasonsRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/Century Gothic/CenturyGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, a, img, ol, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Page styles */
body {
    min-width: 350px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Century Gothic', sans-serif;
}

header {
    display: block;
    background-color: #ffffff;
    border-bottom: 30px solid #000000;

    & .nm-logo {
        width: 150px;
        margin: 20px 60px;
    }

    & .nm-logo svg {
        width: 100%;
    }
}
section#main {
    box-sizing: border-box;
    width: 100%;
}
.link {
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: none;
    color: #000000;
    background-color: transparent;
    &:hover {cursor: pointer}
}
.cta-button {
    border: 1px solid #000000;
    padding: .6em 1.5em;
    text-transform: uppercase;
    font-size: 1.6vw;
    flex: none;
    &:hover {
        background: #000000;
        color: #FFFFFF;
    }
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    grid-template-areas:
    "image-left image-right"
    "text1 text1"
    "image1 image2"
    "cta1 cta2";
}
.banner1 { grid-area: image-left; }
.banner2 { grid-area: image-right; }
.text1 { grid-area: text1; }
.image1 { grid-area: image1; }
.image2 { grid-area: image2; }
.image3 { grid-area: image3; }
.cta1 { grid-area: cta1; }
.cta2 { grid-area: cta2; }

.grid-image.banner1 {
    position: relative;
}
.banner-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    text-align: center;
    & .banner-title {
        font-family: 'The Seasons';
        font-size: 3.3vw;
        text-transform: uppercase;
    }
    & .banner-text {
        font-size: 2vw;
        margin: 0 0 1.5em;
    }
}
.grid-image img {
    display: block;
    width: 100%;
}
.grid-image.banner1 .mobile {
    display: none;
}
.grid-text {
    text-align: center;
    padding: 30px 10px;
    & h1 {
        font-size: 2vw;
    }
    & p {
        font-size: 1.8vw;
    }
    &.cta1, &.cta2 {
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 0 30px;
    }
}

#app-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
footer section {
    width: 100%;
    color: #ffffff;
    background-color: #000000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    /*border-top: 1px solid #000000;*/
    margin: 0 auto;
    padding: 20px 60px 40px;
}
.footerText {
    font-size: 12px;
}
.footerText a:link, .footerText a:visited {
    color: #ffffff;
    text-decoration: none;
}

.footerText a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-icons-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    & .icon {
        width: 1rem;
        color: #ffffff;
        margin-right: 20px;
    }
    & svg.icon.icon-tiktok {
        transform: scale(.88);
        margin-right: 0;
    }
}
.leftFooter {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 600px) {
    header .nm-logo {
        margin: 10px auto;
    }
    #app-wrapper {
        width: 100%;
    }
    .cta-button {
        font-size: 3.2vw;
    }
    .grid-container {
        display: flex;
        flex-direction: column;
    }
    .grid-image.banner1 .desktop, .grid-image.banner2 .desktop {
        display: none;
    }
    .grid-image.banner1 .mobile {
        display: block;
    }
    .banner-overlay {
        align-items: flex-start;
        margin-left: 20px;
        & .banner-title {
            font-size: 5vw;
        }
        & .banner-text {
            font-size: 3.6vw;
            text-align: left;
        }
    }
    .grid-text {
        & h1 {
            font-size: 3.2vw;
        }

        & p {
            font-size: 2.8vw;
        }
    }
    footer section {
        flex-direction: column;
        padding: 20px 20px 40px;
        & .rightFooter p.footerText {
            text-align: center;
        }
    }
    .social-icons-list svg {
        max-height: 30px;
        max-width: 30px;
    }
}
