* {
    box-sizing: border-box;
    transition: ease-in-out 300ms;
    /* outline: 1px solid #000000; */
    scroll-behavior: smooth;
}

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

body {
    background: #e4beeb81;
    margin: 0;
    font-family: 'JetBrains Mono', sans-serif;
    text-align: center;
}

.container {
    width: 95%;
    max-width: 70em;
    margin: 0 auto;
}

section {
    display: block;
}

section::after {
    content: '';
    display: block;
    clear: both;
}

.parallax--bg {
    transition: initial;
}

/*? scrollbar */

::-webkit-scrollbar {
    width: 20px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d67be6;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d11aa3;
}

/*? top-page */

#top {
    display: none;
}

@media (min-width: 1000px) {
    #top {
        display: block;
        position: fixed;
        cursor: default;
        background-color: #d67be6;
        bottom: 60px;
        right: 20px;
        z-index: 100;
        padding: 20px 0 20px 3px;
        border-radius: 36px;
        opacity: 0;
        transition: opacity 150ms ease-in;
    }
    
    #top .arrow-up {
        width: 40px;
        height: 40px;
    }

    #top .arrow-up path {
        fill: transparent;
        stroke-width: 2;
        stroke: black;
        stroke-dasharray: 80;
        stroke-dashoffset: 0;
    }

    #top:hover path {
        animation: animate 0.5s linear forwards;
    }

    @keyframes animate {
        0% {
            fill: transparent;
            stroke-dashoffset: 0;
        }
        
        40% {
            stroke-dashoffset: 80;
        }
        
        60% {
            fill: transparent;
            stroke-dashoffset: 160;
        }
        
        100% {
            stroke-dashoffset: 160;
            fill: black;
        }
    }
}

/*? buttons */

.button {
    display: inline-block;
    font-size: 1.5em;
    border-width: 1.5px;
    border-style: solid;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5em 1em;
}

.button-accent {
    background-color: #e4beeb;
    color: #000000;
}

.button-dark {
    background-color: #000000;
    color: #e4beeb;
}

.button:hover {
    font-weight: 700;
    box-shadow: 0px 15px 20px rgba(110, 18, 83, 0.6);
    transform: translateY(-10px);
}

.button-accent:hover {
    color: #d67be6;
    background-color: #000000;
}

.button-dark:hover {
    color: #000000;
    background-color: #e4beeb;
}

@media (min-width: 1000px) {
    .button {
        margin-top: 1em;
        font-size: 2em;
    }
}

/*? navigation */

.logo {
    width: 50%;
}

header {
    position: absolute;
    left: 0;
    right: 0;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
    margin: 1em;
}

nav a {
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 0.5em;
    color: #000000;
}

nav a:hover,
nav a:focus {
    transition: 200ms;
    color: #e4beeb;
}

@media (max-width: 400px) {
    nav li {
        padding: 0 1.5em 0.4em 1.5em;
    }
}

@media (max-width: 500px) {
    nav li {
        margin: 0em;
    }

    .logo {
        width: 100%;
        margin-bottom: 0.5em;
    }
}

@media (min-width: 700px) {

    nav a:hover,
    nav a:focus {
        font-size: 2em;
        -webkit-text-stroke: 1px;
        -webkit-text-stroke-color: #000000;
    }
}

@media (min-width: 1000px) {
    nav a {
        font-size: 2em;
    }

    nav a:hover,
    nav a:focus {
        font-size: 3em;
    }
}

/*! ----------- home page ----------- */

/*? home-hero */

[class$="hero"] {
    padding: 15em 0;
    background-size: cover;
    background-position: center 0;
}

.home-hero {
    background-image: url('../img/hero-bg-80.jpg');
}

.title {
    font-size: 2em;
    font-weight: 900;
}

.home-hero p {
    font-weight: 900;
    font-size: 0.5em;
    margin: 0.5em;
}

@media (min-width: 1000px) {
    [class$="hero"] {
        height: 100vh;
        padding-top: 35vh;
    }

    .title {
        font-size: 3.5em;
    }
}

/*? home-about */

.home-about {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.text-box {
    width: 35%;
    outline: 4px solid #000000;
    background-color: #e4beeb8c;
}

.text-box:hover .title-about {
    font-size: 0;
}

.text-box:hover p {
    font-size: 1.25em;
    font-weight: 900;
}

.img-box {
    width: 55%;
}

.title-about {
    font-size: 2.5em;
    margin-bottom: 0;
}

.text-box p {
    padding: 1em;
}

@media (max-width: 1000px) {
    .text-box {
        width: 100%;
        outline: 0;
    }

    .img-box {
        display: none;
    }
}

/*? preview */

.preview-item {
    line-height: 0;
    position: relative;
    float: left;
    width: 50%;
    margin: 0;
}

.title-preview {
    font-size: 2.5em;
}

@media (max-width: 600px) {
    .preview-item {
        width: 100%;
    }

    .title-preview {
        font-size: 1.5em;
    }
}

@media (min-width: 1200px) {
    .preview-item {
        width: 25%;
    }
}

/*? cta */

.cta {
    background-color: #e4beeb;
    padding-top: 3em;
}

.cta .button-dark {
    margin: 0 0 1em;
}

/*? footer */

footer {
    font-weight: 900;
    background-color: #423644d0;
    padding: 0.5em;
    margin-bottom: 0;
}

footer p {
    margin: 0;
}

/*! -------------- menu page -------------- */

/*? hero */

.menu-hero {
    background-image: url('../img/menu-hero-70.jpg');
}

/*? items */

.menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.item-img {
    line-height: 0;
}

.menu-item>*:first-child {
    transform: translateX(50%);
}

.menu-item>*:last-child {
    transform: translateX(-50%);
}

.item-desc {
    visibility: hidden;
    opacity: 0;
    transition: transform 200ms visibility 100ms;
}

.item-img,
.item-desc {
    width: 50%;
}

.menu-item:hover .item-img,
.menu-item:hover .item-desc {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 600px) {
    .item-desc {
        font-size: 0.75em;
    }

    .menu-item .button {
        font-size: 1em;
    }

    .menu-item>*:first-child,
    .menu-item>*:last-child {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .menu-item:hover .item-img,
    .menu-item:hover .item-desc {
        transform: translate(none);
    }
}

@media (max-width: 425px) {
    .item-desc {
        font-size: 0.6em;
    }

    .menu-item .button {
        font-size: 0.8em;
    }
}

/*! -------------- contact page -------------- */

/*? hero */

.contact-hero {
    background-image: url('../img/contact-hero-80.jpg');
}

/*? locations */

.contact-locations {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

iframe {
    width: 100%;
    height: 100%;
}

.hours-info {
    width: 30%;
    font-size: 1.25em;
}

.locations-info {
    width: 50%;
    height: 80vh;
}

.contact-locations a {
    display: none;
}

@media (max-width: 1000px) {
    .contact-locations {
        display: block;
    }

    [class$="info"] {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .locations-info {
        display: none;
    }

    .contact-locations a {
        display: block;
        margin-bottom: 1em;
    }
}