@import url(https://meyerweb.com/eric/tools/css/reset/reset.css);
* {
    box-sizing: border-box;
}

/*////////CONTENT////////*/
body {
    margin: 0 auto;
    font-family: "Fraunces", Arial, Helvetica;
    font-size: 1em;
    font-weight: 320;
    line-height: normal;
    background-color: white;
}

.fadein {
    animation: fadeinanim 2s ease;
}

section {
    width: 80%;
    margin: 0 auto;
    padding: 5px 20px;
    font-size: 1.2em;
    line-height: 1.5;
    color: #0099cc;
    background-color: transparent;
}

section img.imager {
    display: block;
    max-width: 100%;
}

/*////////ABOVE THE FOLD////////*/

#nav {
    height: 50px;
    display: flex;
    align-items: center;
    position: fixed;
    justify-content: center;
    top: 0;
    right: 0;
    z-index: 99;
    box-shadow: none;
    transition: background-color 0.3s ease-in;
}

#nav a {
    font-family: "Outfit", Arial, Helvetica;
    letter-spacing: 3%;
    display: block;
    padding: 12px;
    text-decoration: none;
    padding-bottom: 20px;
    font-size: 2em;
    font-weight: 350;
    text-transform: lowercase;
    color: white;
    z-index: 99;
}

#nav a:hover {
    text-decoration: underline;
    cursor: pointer;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
}

header img {
    object-fit: cover;
    width: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
}

h1 h2 h3 {
    margin: 10px auto;
    width: 100%;
    height: auto;
}

h1 {
    font-family: "Outfit", Arial, Helvetica;
    font-size: 96px;
    text-align: center;
    color: white;
    text-shadow:
        0 0 3px #ffffff,
        0 0 1px #ffffff;
    padding-top: 5vh;
    position: static;
    text-transform: lowercase;
}

h2 {
    margin-top: 50px;
    font-weight: 380;
    text-transform: lowercase;
    font-size: 4vw;
    font-family: "Outfit", Arial, Helvetica;
    text-align: center;
}

h3 {
    font-size: 25px;
    font-family: "Outfit", Arial, Helvetica;
    font-weight: 400;
    text-transform: lowercase;
    /*line-height: 5px*/
}

em {
    font-style: italic;
}

strong {
    font-weight: 550;
}

p {
    line-height: 32px;
    margin-bottom: 30px;
}

#cta a:link {
    font-family: "Outfit", Arial, Helvetica;
    border-radius: 35px;
    background-color: #0099cc;
    text-transform: lowercase;
    text-decoration: none;
    text-align: center;
    color: white;
    padding: 16px 16px;
    font-size: 20px;
    margin: 5px 5px;
    opacity: 1;
}

#cta a:hover {
    background-color: #0384af;
    text-decoration: underline;
    cursor: pointer;
}

#cta a:active {
    background-color: #0384af;
    transform: scale(0.95);
}

#cta a:visited {
    text-decoration: none;
    color: white;
}

img {
    max-width: 100%;
    height: auto;
}

@keyframes fadeinanim {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein.in-view {
    animation: fadeinanim 2s ease-in;
}

.book {
    display: block;
    margin: 0 auto;
    width: 40%;
    animation: fadeinanim 2s ease;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

footer {
    padding: 15px;
}

/*////////MOBILE STYLING////////*/
@media (max-width: 768px) {
    header img {
        height: 50vh;
    }
    h1 {
        margin: 50px;
    }

    h2 {
        font-size: 34px;
    }

    /*////////MOBILE HAMBURGER MENU////////*/
    #hamburger {
        z-index: 1000;
        position: fixed;
        background-color: transparent;
        border: 0;
        font-size: 30px;
        top: 0;
        color: white;
    }

    #nav {
        width: 100%;
        top: 0;
        right: 0;
        padding: 10px 0;
        background: #0384af;
        z-index: 99;
        opacity: 0;
        transition: all 500ms ease-in-out;
        height: 55vh;
    }

    #nav.open {
        position: fixed;
        opacity: 1;
        z-index: 99;
        height: 100vh;
    }

    #nav a.open {
        text-decoration: none;
        color: white;
        font-family: "Outfit", Arial, Helvetica;
    }
    #nav a:hover {
        text-decoration: underline;
    }

    #cta a:link {
        font-family: "Outfit", Arial, Helvetica;
        border-radius: 35px;
        background-color: #0099cc;
        text-transform: lowercase;
        text-decoration: none;
        color: white;
        padding: 10px 16px;
        font-size: 15px;
        text-align: center;
        margin: 2px 2px;
        opacity: 1;
    }
}

/*////////DESKTOP STYLING////////*/
@media (min-width: 1024px) {
    header {
        height: 75vh;
    }

    header img {
        height: 100vh;
    }
    #nav {
        background-color: transparent;
        position: sticky;
    }
    #nav.scrolled {
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        background: #0099cc;
    }
    #hamburger {
        display: none;
    }

    #cta a:link {
        font-family: "Outfit", Arial, Helvetica;
        border-radius: 35px;
        background-color: #0099cc;
        text-transform: lowercase;
        text-decoration: none;
        text-align: center;
        color: white;
        padding: 16px 16px;
        font-size: 20px;
        margin: 5px 5px;
        opacity: 1;
    }

    #cta a:hover {
        background-color: #0384af;
        text-decoration: underline;
        cursor: pointer;
    }

    #cta a:active {
        background-color: #0384af;
        transform: scale(0.95);
    }

    #cta a:visited {
        text-decoration: none;
        color: white;
    }
}
