/*
    Author : www.stim-isv.com
    Date: 
    Ref: v.103

*/


/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*===== VARIABLES CSS =====*/
:root {
    --header-height: 100px;
    /*========== Colors ==========*/
    --first-color: #9c0615;
    --first-color-alt: #f10000;
    --title-color: #222222;
    --text-color: #505050;
    --text-color-light: #A6A6A6;
    --body-color: #FBFEFD;
    --container-color: #F8f8f8;
    --color-chardonnay: #574b97;
    --color-moscato: #e79000;
    --color-black: #222;
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --description-font-size: 1.14em;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    /*========== Margenes ==========*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem;
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --filter-invert:0;

}

@media screen and (min-width: 768px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1.02em;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== BASE ==========*/
*,
::before,
::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

main {
    padding-top: 8em;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
    --first-color: #83b81a;
    --title-color: #F1F3F2;
    --text-color: #C7D1CC;
    --body-color: #1D2521;
    --container-color: #27302C;
    --filter-invert: 1;
}

body.dark-theme table a {
        color: deepskyblue;
}

body.dark-theme #logo {
    filter: invert(1);
}

body.dark-theme nav__menu img {
    filter: invert(1);
}

#logo {
    transition: all 0.3s;
    max-height: 80px;
}

.scroll-header #logo {
    height: 50px;
    padding-top: 5px;
}

/*========== Button Dark/Light ==========*/
.change-theme {
    position: absolute;
    right: 1rem;
    top: 1.8rem;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3,
p{
    margin: 0;
    margin-bottom:10px;
}

ul {
    padding: 0;
    list-style: none;
}

a,
a:visited {
    text-decoration: none;
}

img {
    max-width: 100%;

    transition: all .4s;
    -webkit-transition: all .4s;
}



.text--evidence {
    font-weight: bold;
}


/*========== CLASS CSS ==========*/
.section {
    padding: 4rem 0 2rem;

}

.section-title,
.section-subtitle {
    text-align: center;
}

.section-title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-3);
    line-height: 1.05em;
}

.section-subtitle {
    display: block;
    color: var(--first-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}

/*========== LAYOUT ==========*/
.bd-container {
    /*    max-width: 960px;*/
    max-width: 1000px;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
    position: relative;
}

.bd-grid {
    display: grid;
    gap: 0rem;
    justify-items: center;
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    transition: all 0.3s;
    padding-top:4px;
}

.header-products {
    text-align: center;
}


/*========== NAV ==========*/
header {
    transition: all .4s;
    -webkit-transition: all .4s;
}

.nav {
    max-width: 1024px;
    /*height: var(--header-height);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 768px) {

    main {
        padding-top: 1em;
    }


    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding: 1.5rem 0 1rem;
        text-align: center;
        background-color: var(--body-color);
        transition: .4s;
        box-shadow: 0 4px 4px rgba(0, 0, 0, .1);
        border-radius: 0 0 1rem 1rem;
        z-index: var(--z-fixed);
    }


    .content-item {
        gap:1em;
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
    }


    #menu_catalogo {
        display: flex;
        column-gap: 1em;
        row-gap: 1em;
        flex-wrap: wrap;
    }
        
                   .main {
        padding-top : 1em;
    }


}

.nav__item {
    margin-bottom: var(--mb-2);
}

.nav__link,
.nav__logo,
.nav__toggle {
    color: var(--text-color);
    font-weight: var(--font-medium);
}

.nav__logo:hover {
    color: var(--first-color);
}

.nav__link {
    transition: .3s;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__toggle {
    font-size: 1.3rem;
    cursor: pointer;
}

/* Show menu */
.show-menu {
    top: var(--header-height);
}

/* Active menu */
.active-link {
    position: relative;
    color: var(--first-color);
    transition: all .4s;

}

.active-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 80%;
    height: 2px;
    background-image: linear-gradient(to right, var(--first-color), #ff006a00);
    border-radius: 5px;

}

/* Change background header */
.scroll-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);

}

/* Scroll top */
.scrolltop {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .3rem;
    background: rgb(156 6 6 / 50%);
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: all .4s;
    visibility: hidden;
}

.scrolltop:hover {
    background-color: var(--first-color-alt);
}

.scrolltop__icon {
    font-size: 1.8rem;
    color: var(--body-color);
}

/* Show scrolltop */
.show-scroll {
    visibility: visible;
    bottom: 1.5rem;
}


/*========== HOME ==========*/


.home__container {
    align-content: center;
    padding-top: 0em;
    transition: all .5s;
}

.home__title {
    font-size: var(--biggest-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1);
    line-height: 1em;
    letter-spacing: -2px;
}

.home__subtitle {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-4);
    line-height: 1.05em;
}

.home__img {

    max-width: 400px;
    justify-self: center;
    max-height: 60vh;
}

.home__description {
    margin-bottom: var(--mb-3);
}


.home__description_detail {
    font-size: var(--small-font-size);
    font-weight: bold;
}

.home__background {
    position: absolute;
    content: inset;
    right: 0%;
    z-index: -1;
    opacity: .1;
    transform: scale(1) rotate(10deg);

}

/*========== BUTTONS ==========*/
.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #FFF;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: .3s;
    min-width: 5em;
    text-align: center;
}

.button:hover {
    background-color: var(--first-color-alt);
}


.button__light {
    display: inline-block;
    background-color: transparent;
    color: var(--first-color);
    padding: .75rem 1rem;
    border-radius: .5rem;
    transition: .3s;
    text-decoration: underline;
    cursor: pointer;
}


/*========== ABOUT ==========*/
.about {
    padding-bottom:2em;
}
.about__data {
    text-align: center;
}


.about__img {
    border-radius: .5rem;
    justify-self: center;
}

.wine__description,
.about__description,
.event__description {
    margin-bottom: var(--mb-3);
    font-size: var(--description-font-size);
}

    {
    margin-bottom: var(--mb-3);
    font-size: var(--description-font-size);
}


/*========== SERVICES ==========*/
.services__container {
    row-gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__content {
    text-align: center;
    position: relative;
}

.services__img {
    margin-bottom: var(--mb-2);
    filter: drop-shadow(2px 4px 6px black);
}

.services__content_back {
    position: absolute;
    opacity: .2;
    transform: scale(2.5) translateY(30%);
    z-index: -1;
    top: 0;
}



.services__title {
    font-size: var(--h3-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.services__description {
    padding: 0 1.5rem;
}

/*========== MENU ==========*/
.menu__container {
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
}

.menu__content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--container-color);
    border-radius: .5rem;
    box-shadow: 0 2px 4px rgba(3, 74, 40, .15);
    padding: .75rem;
}

.menu__img {

    width: 100%;
    align-self: center;
    margin-bottom: var(--mb-2);
    border-radius: 0;

}

.menu__name,
.menu__preci {
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.menu__name {
    /*    font-size: var(--normal-font-size);*/
}

.menu__detail,
.menu__preci {
    /*    font-size: var(--small-font-size);*/
}

.menu__detail {
    margin-bottom: var(--mb-1);
}

.menu__button {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    padding: .625rem .813rem;
    border-radius: .5rem 0 .5rem 0;
}

/*========== APP ==========*/

.app__data {
    text-align: center;
}

.app__description {
    margin-bottom: var(--mb-5);
}

.app__stores {
    margin-bottom: var(--mb-4);
}

.app__store {
    width: 120px;
    margin: 0 var(--mb-1);
}

.app__img {
    /*    width: 230px;*/
    justify-self: center;
}

/*========== CONTACT ==========*/
.contact__container {
    text-align: center;
}

.contact__description {
    margin-bottom: var(--mb-3);

}

/*========== FOOTER ==========*/
.footer__container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    row-gap: 2rem;
    font-size: var(--small-font-size);
    justify-items: start;
}

.footer__logo {
    font-size: var(--h3-font-size);
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
}

.footer__description {
    display: block;
    font-size: var(--small-font-size);
    margin: .25rem 0 var(--mb-3);
}

.footer__social {
    font-size: 1.5rem;
    color: var(--title-color);
    margin-right: var(--mb-2);
}

.footer__title {
    /*    font-size: var(--h2-font-size);*/
    font-size: var(--medium-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-2);
}

.footer__link {
    display: inline-block;
    color: var(--text-color);
    margin-bottom: var(--mb-1);
}

.footer__link:hover {
    color: var(--first-color);
}

.footer__copy {
    text-align: center;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-top: 3.5rem;
}

.footer__container div:first-child {
    text-align: center;
}

.footer__card {
    width: 35px;
}

/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px) {

    .home__container,
    .about__container,
    .app__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .about__data,
    .about__initial,
    .app__data,
    .app__initial,
    .contact__container,
    .contact__initial,
    .wine__initial,
    .event__initial {
        text-align: initial;
    }

    .about__img {
        order: -1;
    }


    .app__event,
    .app__img {
        /*        width: 250px;*/
        order: -1;
    }

    .event__img {
        /*        width: 350px;*/
        order: -1;
    }

    .wine__img {
        width: 100%;
        border-radius: 1em;
        transform: scale(1.25)
    }


    .contact__container {
        grid-template-columns: 1.75fr 1fr;
        align-items: center;
    }

    .contact__button {
        justify-self: center;
    }



    /*end media */
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .section {
        padding-top: 8rem;
    }

    .nav {
        /*        height: calc(var(--header-height) + 1.5rem);*/
        transition: all .3s;
    }

    .nav__list {
        display: flex;
    }

    .nav__item {
        margin-left: var(--mb-5);
        margin-bottom: 0;
        transition: all .3s;
    }

    .nav__item:hover {
        transform: translateY(-3px);
    }

    .nav__toggle {
        display: none;
    }

    .change-theme {
        position: initial;
        margin-left: var(--mb-2);
    }

    .home__container {
        height: 75vh;
        justify-items: center;
    }

    .services__container,
    .menu__container {
        margin-top: var(--mb-6);
    }

    .menu__container {
        grid-template-columns: repeat(3, 30%);
        column-gap: 2rem;
    }

    .menu__content {
        /*padding: 1.5rem;*/
    }

    .menu__img {
        width: 100%;
        border-radius: 8%;

    }

    .app__store {
        margin: 0 var(--mb-1) 0 0;
    }

     
}

@media screen and (min-width: 960px) {
    .bd-container {
        margin-left: auto;
        margin-right: auto;
    }


    .about__container,
    .app__container {
        column-gap: 3rem;
    }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {



    .home__container {
        padding-top: 0em;
    }

    .home__img {
        width: 100%;
        filter: drop-shadow(2px 4px 6px black);
    }

    .home__container div {
        margin: auto;
        padding:1em;
    }

    .section {

        padding: 0 0 2rem;
        padding-top: var(--header-height);
    }
}



/*=============== DISCOVER ===============*/
.event__card {
    position: relative;
    width: 80%;
    overflow: var(--img-hidden);
    background: #f1f1f1;
    border-radius: 2em;
}



.discover__title,
.discover__description {
    color: var(--white-color);
}

.discover__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.discover__description {
    display: block;
    font-size: var(--normal-font-size);
}

.event__img {
    transition: var(--img-transition);
}

.event__img:hover {
    transform: var(--img-scale);
}

/* SWIPER*/


.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
    background-image: none;
}


.grid {
    display: flex;
}





@media screen and (max-width: 1024px) {



    .event__card {
        position: relative;
        width: 75%;
        overflow: hidden;
        background: var(--container-color);
        border-radius: 2em;
    }

    .event__img {
        width: 100%;
    }

    .event__data {
        padding: 1em;
    }

    .swiper-container-android .swiper-slide,
    .swiper-wrapper {
        gap: 0;
    }

    .grid {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        flex-wrap: nowrap;
    }

}

.img-truck {

    width: 100%;
    background-image: url(../img/truck.svg);
    background-size: cover;
    height: 0;
    padding: 0;
    padding-bottom: calc(100% * 3 / 4);

}


/*========== BUTTONS ==========*/
video {
    max-height: 65vh;
}

.video__control {
    text-align: center;
}

.play_list {
    display: flex;
    justify-content: center;
    padding: 1em;
    padding-top: 0;
}

.video_playing {
    border: solid 1px;
    color: #0088ff;
    font-weight: bold;
    text-decoration: auto;

}



/*

*/
#cookieChoiceInfo {
    position: fixed;
    width: 300px;
    background-color: rgb(0 0 0 / 83%);
    margin: 20px;
    right: 0px;
    bottom: 0px;
    padding: 20px;
    z-index: 80;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 0.9em;
    border-radius: 10px;
}


#cookieChoiceInfo a {
    background-color: #555;
    padding: 5px 15px 5px 15px;
    border-radius: 4px;
    color: rgb(255, 255, 255);
    margin: 8px;
    display: block;
    text-decoration: none;
    text-align: center;
}

#cookieChoiceInfo a.dismiss {
    background-color: var(--first-color);
    text-align: center;
}



/*


*/

.legal__container {
    padding: 2em ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    }

.legal__container .content {
    padding-top: 4em;
    position: relative;
    border: dashed 1px #aaa;
    border-radius: 30px;
    padding: 1em;
        
}

.legal__container .legal__description {
    line-height: 1.05em;
    font-size: 12px;
}

.legal__container .content__button {
    padding: 1em 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 2em
}


#delivery__image {
    filter: invert(var( --filter-invert));
}

/*

*/

table.table_summary {
    width:100%;
    border-collapse:collapse;
    margin-bottom:1em;
}

table.table_summary tbody td{
    border: solid 1px #888;
    padding:10px;

}

/**/

.link__product {
    cursor:pointer;
}


    .link__product p,
    .link__product h3 {
        text-decoration: underline;
    }


.panel-button {
    padding-bottom:10px;
}