:root {
    --header-height: 10vh;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    color: #fdffff;
}

body {
    background-color: #393e41;
    background: url('/assets/img/TYTL-EXETER-15.jpg') top no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100vw;
    height: 100vh;
}

h1 {
    font-family: 'Academic M54', sans-serif;
}

h3 {
    font-family: 'Dark Twenty', sans-serif;
    color: #fae200;
}

header {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 30px;
    background: #000;
    position: fixed;
    width: 100vw;
}

nav,
.logoContainer,
.shopIconsContainer {
    flex: 1;
}

.logoContainer {
    text-align: center;
    white-space: nowrap;
}

.logoContainer h1 {
    margin: 0;
    font-family: 'Dark Twenty', sans-serif;
    font-weight: 100;
    color: #fae200;
    font-size: 48px;
    line-height: 1;
}

.emoji {
    height: 1.2em;
    vertical-align: middle;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

main h1 {
    font-size: 120px;
}

.mainNav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;

}

.mainNav li {
    font-family: 'Academic M54', sans-serif;
}

.shopIconsContainer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 100;
    color: white;
}

.shopIconsContainer i {
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.shopIconsContainer i:hover {
    opacity: 0.7;
}

main {
    padding-top: var(--header-height);
}

.hero {
    height: 70vh;

}

.menuToggle,
.menuClose {
    display: none;
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    .menuToggle {
        display: block;
        background: none;
        border: 0;
        color: white;
        font-size: 32px;
        cursor: pointer;
        flex: 1;
        text-align: left;
    }

    header nav {
        position: fixed;
        inset: 0;
        background: #fae200;
        z-index: 999;
        display: none;
        align-items: center;
        justify-content: center;
    }

    header nav.open {
        display: flex;
    }

    .menuClose {
        display: block;
        position: absolute;
        top: 25px;
        right: 30px;
        background: none;
        border: 0;
        color: #393e41;
        font-size: 45px;
        cursor: pointer;
    }

    .mainNav {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        font-size: 32px;
    }

    .mainNav li {
        color: #393e41;
    }

    .logoContainer {
        flex: 1;
    }

    .logoContainer h1 {
        font-size: 24px;
    }

    .shopIconsContainer {
        flex: 1;
    }

    main {
        padding-top: 0;
    }

    .hero {
        height: 35vh;
    }
}