* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Vollkorn', serif;
    scroll-behavior: smooth;
}

body {
    background-color: #040303;
    overflow-x: hidden;
}



.back-to-top {
    padding: 0.3rem;
    position: fixed;
    bottom: 7rem;
    right: 3rem;
    color: #3f1414;
    background-color: #e8ccbc;
    border-radius: .6rem;
    font-size: 8rem;
    border: 0.5rem solid #3f1414;
    z-index: 8;
}

.up {
    background-color: #040303;
    border: 0px;
    stroke: #A13333;
    transition: all 0.3s;
}

.up:hover {
    stroke: #b43939;
    background-color: #2e2e2e;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
}


.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.section-title,
.section-title-2 {
    width: max-content;
    text-transform: uppercase;
    margin-top: 5rem;
    margin-left: 75%;
    padding: .4rem 2rem;
    letter-spacing: 2px;
    border: 0.15rem solid #e8ccbc;
}

.section-title {
    color: #e8ccbc;
    background-color: #3f1414;
}

.section-title-2 {
    color: #e8ccbc;
    background-color: #040303;
}

hr {
    margin: 0;
    padding: 0;
    border: 0;
    height: 10px;
    box-shadow: inset 0 15px 10px -10px #3f1414;
}

/***************/
/* NAVIGATION */
/***************/
.navigation {
    width: 100vw;
    position: fixed;
    display: flex;
    gap: 30rem;
    justify-content: center;
    align-items: center;
    padding: 1rem 10rem;
    background-color: #040303;
    z-index: 11;
    padding: 2rem 0;
}

.logo-img {
    display: block;
    color: #e8ccbc;
    height: 4.5rem;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 4rem;
    align-items: center;

}

.navigation ul li a {
    color: #e8ccbc;
    position: relative;
    padding: 10px;
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;

    transition: all 0.3s;
    cursor: pointer;
}

.navigation ul li a::before {
    content: " ";
    width: 0;
    height: 0.4rem;
    background-color: #3f1414;
    position: absolute;
    bottom: 8px;
    transition: all 0.3s;
}

.navigation ul li a:hover::before {
    width: 90%;
}

.nav {
    display: flex;
    align-items: center;
}

.flags {
    position: fixed;
    left: 3rem;
    top: 3rem;
    z-index: 11;
}

.flags img {
    height: 2rem;
    cursor: pointer;
}

/***************/
/* SECTION HERO */
/***************/

.section-hero {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: linear-gradient(to bottom, rgba(4, 3, 3), rgba(4, 3, 3, 0.9)), url(../images/vodka.webp); */
    background-image: linear-gradient(to bottom, #3f1414, #040303);
    background-position: top;
    background-size: cover;
}

.inner-hero {
    height: 80%;
    width: 140rem;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.hero-img {
    height: 80%;
    transform: translateY(40%) translateX(20%) rotate(20deg);
    transition: all 0.2s;
}

.hero-img img {
    height: 100%;
}


.hero-text {
    color: #e8ccbc;
    text-shadow: 0px 0px 30px #5d1e1e;
    text-transform: uppercase;

}

.hero-text h1 {
    text-align: center;
    font-size: 8rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero-text h2 {
    text-align: center;
    font-size: 5rem;
}

/* ANIMATIONS */
.wine {
    animation: moveToRight 1.3s ease-out;
}

.and {
    animation: moveToLeft 1.3s ease-out;
}

.spirits {
    animation: moveToTop 2.3s ease-out;
}

@keyframes moveToRight {
    0% {
        opacity: 0;
        transform: translateX(-100px)
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveToLeft {
    0% {
        opacity: 0;
        transform: translateX(100px)
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes moveToTop {
    0% {
        opacity: 0;
        transform: translateY(100px)
    }

    20% {
        opacity: 0;
        transform: translateY(100px)
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/***************/
/* SECTION ABOUT US */
/***************/

.about-us {
    width: 130rem;
    margin: 0 auto;
    padding-top: 1rem;
    background-color: #040303;

}

.about-us-content {
    margin: 10rem 15rem;
    gap: 10rem;
    position: relative;
    border-radius: 8px;
    /* box-shadow: 0 0 10px 2px #300f0f; */
    padding: 1rem;
    z-index: 3;
}

.about-us-img-box::before {
    content: " ";
    position: absolute;
    width: 25%;
    padding-top: 25%;
    /* background-color: #000; */
    background-color: #300f0f;
    border-radius: 50%;
    z-index: -1;
}


.about-us-content img {
    width: 25rem;
    align-self: center;
    transform: scale(1.2);
}

.cava-pic {
    border-radius: 50%;
    transform: scale(0.8);
}

.about-us-text {
    color: #e8ccbc;
    font-size: 2.8rem;
    width: 60rem;
    word-wrap: break-word;
    align-self: center;
    padding: 1rem;
}

/***************/
/* SECTION GALLERY */
/***************/

.gallery {
    display: grid;

    width: 130rem;
    margin: 0 auto;
    padding-top: 1rem;

}

.outer-gallery {
    background-color: #3f1414;
}

.box {
    width: 120rem;
    margin: 5rem auto 10rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.gallery a {
    height: 100%;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery img {
    height: 100%;
    width: 100%;
    transition: all 0.4s;
}

.gallery img:hover {
    transform: scale(1.2);
    cursor: pointer;
}


/* SHOW IMAGES */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(rgba(0, 0, 0, 0.335), rgba(0, 0, 0, 0.335));
    z-index: 11;
    backdrop-filter: blur(5px);
}

.big-img {
    z-index: 12;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.big-img img {
    max-height: 93vh;
    width: auto;
    aspect-ratio: 1/1;
    border: .4rem solid #e8ccbc;
}

.close-img {
    width: 5rem;
    height: 5rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
    z-index: 10;
}

.close-img:hover {
    cursor: pointer;
}

.close-x {
    color: #5d1e1e;
    background-color: #e8ccbc;
    border-radius: 50%;
    padding: 1rem;
    transition: all 0.2s;
}

.close-x:hover {
    color: #e8ccbc;
    background-color: #5d1e1e;
}

.gallery-previous,
.gallery-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10rem;
    color: #e8ccbc;
    z-index: 12;
    cursor: pointer;
}

.gallery-previous {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/***************/
/* SECTION CONTACT US */
/***************/

.section-contact {
    width: 130rem;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.contact-content {
    color: #e8ccbc;
    display: flex;
    flex-direction: column;
    gap: 10rem;
    padding-top: 10rem;
}

.contact-info {
    display: flex;
    justify-content: space-evenly;
}

.info-details {
    background-color: #3f1414;
    padding: 1%;
    text-align: center;
    border: #e8ccbc .4rem solid;
    border-radius: .3rem;
}

.info-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: #e8ccbc;
    font-weight: 700;
    text-transform: uppercase;
}

.info-content {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}

.btn:link,
.btn:visited {
    margin-top: 1rem;
    display: inline-block;
    color: #3f1414;
    background-color: #e8ccbc;
    font-size: 1.6rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: .3rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s;
}

.btn:active,
.btn:hover {
    color: #e8ccbc;
    background-color: #040303;
}

.btn-directions {
    margin-top: 1rem;
    display: inline-block;
    color: #3f1414;
    background-color: #e8ccbc;
    font-size: 1.6rem;
    text-decoration: none;
    padding: 1.172rem 2rem;
    border-radius: .3rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: 0;
}

.btn-directions:hover {
    color: #e8ccbc;
    background-color: #040303;
}

.map {
    height: 50rem;
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
    background-color: #3f1414;
}

.open-hours {
    width: max-content;
    text-transform: uppercase;
    margin-top: 5rem;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: .4rem 2rem;
    letter-spacing: 2px;
    border: 0.15rem solid #e8ccbc;
    position: absolute;
    top: -100%;
    font-size: 1.4rem;
    background-color: #300f0f;
}

.schedule {
    margin: 10rem auto;
    margin-bottom: 4rem;
    display: flex;
    gap: 7rem;
    background-color: #300f0f;
    padding: 1rem;
    position: relative;
}

.day-1 {
    text-align: center;
    font-size: 1.5rem;
}

.day-1 h2 {
    margin-bottom: 1rem;
}

/***************/
/* SECTION FOOTER */
/***************/

.footer {
    background-color: #4d1919;
    color: #e8ccbc;
    font-size: 2rem;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    border-top: 3px solid #e8ccbc;
}

.social {
    display: flex;
    gap: 3rem;
}

.social a {
    color: inherit;
    font-size: 2.5rem;
}

/***************/
/* MOBILE NAV */
/***************/

.mobile-nav {
    position: absolute;
    display: block;
    height: 5rem;
    top: 1rem;
    right: 1rem;
    color: #e8ccbc;
    border-radius: .6rem;
    font-size: 5rem;
    z-index: 11;
    cursor: pointer;
    display: none;
}

.mobile-nav a {
    padding: 0;
}

.menu-icon {
    position: fixed;
    right: 1rem;
}

.mobile-navigation {
    height: 100vh;
    width: 100vw;
    background-color: #040303;
    z-index: 10;
    position: fixed;
    /* left: 100vw; */
    display: flex;
    justify-content: center;

}

.mob-nav {
    color: #000;
    font-size: 3rem;
    margin-top: 20rem;
}

.mob-nav-el {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.mob-nav-el a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: #e8ccbc;
}

.social-mobile {
    display: flex;
    font-size: 4rem;
    gap: 7.7rem;
    margin-top: 10rem;
}

.close-nav {
    width: 5rem;
    height: 5rem;
    position: fixed;
    right: 2rem;
    top: 2rem;
    z-index: 11;
    background-color: #040303;
    border: 0;
    cursor: pointer;
}

.close-nav-el {
    color: #e8ccbc;
    font-size: 4rem;
}

/***************/
/* @media */
/***************/
.hidden {
    display: none;
}

@media only screen and (max-width: 1400px) {
    html {
        font-size: 56.25%;
    }
}

@media only screen and (max-width: 1200px) {
    html {
        font-size: 50%;
    }
}

@media only screen and (max-width: 1050px) {
    html {
        font-size: 43.75%;
    }
}

@media only screen and (max-width: 900px) {
    html {
        font-size: 43.75%;
    }

    .nav {
        display: none;
    }

    .mobile-nav {
        display: inline;
    }

    .inner-hero {
        width: 100vw;
        height: 100vh;
        margin: 10px;
    }


    .hero-img {
        height: 50%;
        position: absolute;
        bottom: 0;
        right: 5rem;
        transform: rotate(20deg);

    }

    .hero-text {
        transform: translateY(-50%);
    }

    /* about us */

    .about-us {
        width: 100vw;
    }

    .about-us-content {
        width: 90vw;
        margin: 0 5vw;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: space-evenly;
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .about-us-content img {
        height: 10rem;
        width: 10rem;
        margin: 0 auto;
    }

    .about-us-img-box {
        display: flex;
        align-items: center;
    }

    .about-us-img-box::before {
        width: 10.6rem;
        padding-top: 10.6rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .about-us-text {
        width: 100%;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .section-title,
    .section-title-2 {
        margin-top: 5rem;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.4rem;
    }

    /* gallery */

    .gallery {
        width: 100vw;
        margin: 0 auto;
    }

    .box {
        width: 100vw;
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: space-evenly;
    }

    .box1 {
        width: 100%;
        height: 100%;
    }

    .section-contact {
        width: 100vw;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 4rem;
    }

    .map {
        display: none;
    }

    .schedule {
        margin-top: 0;
        flex-direction: column;
        padding: 3rem;
    }

    .day-1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5rem;
    }

    .open-hours {
        margin-top: 5rem;
        position: static;
        font-size: 1.5rem;
        background-color: #040303;
    }

    .big-img img {
        height: auto;
        max-width: 93vw;
        z-index: 10;
        aspect-ratio: 1/1;
        border: .4rem solid #e8ccbc;
    }

    /* footer */


    .social {
        display: none;
    }
}



@media only screen and (max-width: 530px) {
    .small-br {
        display: inline;
    }

    .hero-img {
        height: 40%;
        position: absolute;
        bottom: 0;
        right: 5rem;
        transform: rotate(20deg);

    }

}

@media only screen and (max-width: 400px) {
    .box {
        grid-template-columns: 1fr 1fr;
    }

    .hero-img {
        height: 30%;
    }
}

.container {
    padding-top: 6rem;
}