@import url("https://use.typekit.net/nab2rzo.css");

body {
    color: #39405f;
    font-family: 'fieldwork', sans-serif;
    font-weight: 200;
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

.logo-navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #fff;
    padding: 0.5em 2em 0.5em 0em;
    margin-right: 200em;
    width: 100%;
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 200ms;
}

.logo-navigation .nav-content {
    display: flex;
    padding-right: 1em;
    margin-right: 1em;
    align-items: center;
}

.logo-navigation .nav-content .nav-link {
    padding: 0.5em;
}

.logo-navigation .nav-content .nav-link a {
    text-decoration: none;
    color: inherit;
}

.fadeIn {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 200ms;
}

.fadeOut {
    opacity: 0;
    animation-name: fadeOutOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 200ms;
}

#logo-navigation,
#nav-button {
    position: fixed;
}

#nav-button {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding-right: 2.5em;
    border-radius: 100%;
    margin-top: 0.2em;
}

.container {
    display: flex;
    flex-direction: column;
}

#tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    height: 30vh;
    margin-top: 100px;
}

#tagline .subtag {
    margin-left: 1em;
}

#info-boxes {
    display: flex;
    justify-content: space-between;
    height: 30vh;
    margin-left: 25em;
    margin-right: 25em;
}

#info-boxes .info-box {
    margin: 1em;
    line-height: 2;
}

#info-boxes h2 {
    font-weight: 400;
    font-size: 2rem;
}

#day-section {
    height: 100vh;
    color: #fff;
    background-color: #39405f;
}

#day-section .date {
    display: flex;
    justify-content: space-between;
    margin: 2em;
    font-size: 1.5em;
}

#day-section .catch-phrase {
    font-size: 7em;
    margin: 2em 0em 2em 0.5em;
}

.nav {
    list-style: none;
    position: fixed;
    background-color: #fff;
    color: #39405f;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 350ms cubic-bezier(0.5, 0, 0.5, 0.1);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    font-size: 4em;
    margin-left: 0.25em;
    font-weight: 700;
}

.nav-list .nav-item {
    margin-top: 1rem;
}

.nav-toggle {
    padding: 2.5em;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: absolute;
    right: 2em;
    top: 2em;
    z-index: 1000;
}

.nav-open nav {
    transform: translateX(0);
}

.nav-open .nav-toggle {
    position: fixed;
}

.nav-open .hamburger {
    transform: rotate(0.625turn);
    background: black;
}

.nav-open .hamburger::before {
    transform: rotate(90deg) translateX(-6px);
    background: black;
}

.nav-open .hamburger::after {
    opacity: 0;
    background: black;
}

.hamburger {
    display: block;
    position: fixed;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    background-color: #39405f;
    width: 2em;
    height: 3px;
    position: fixed;
    border-radius: 1em;
    transition: transform 350ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
}

.hamburger::before {
    top: 6px;
}

.hamburger::after {
    bottom: 6px;
}

/********************* Animations *********************/
@keyframes slidefade {
    100% {
        opacity: 1;
        margin: 0;
    }
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}