@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');

* {
    box-sizing: border-box;
}

body {
    /* background-color: #F3F0E8; */
    padding: 0;
    margin: 0;
    font-family: 'Courgette', sans-serif;
    background-image: url(../img/pexels-jill-wellington-39351.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.Site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.Site-content {
    flex: 1;
}



li, a {
    /* font-family: 'Courgette', cursive, Verdana, Geneva, Tahoma, sans-serif; */
    font-size: 20px;
    text-decoration: none;
}


a:link, a:visited {
    color: #806930;
}

a:hover {
    background: #f0e8d2;
    text-decoration: none;
    transition: all .6s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    position: sticky;
    top: 0px;
    font-family: 'Courgette', cursive;
    font-size: 15px;
    /* min-height: 1%; */
    margin: 0;
    padding: 0;
    box-shadow: 0 0 0.5rem rgba(219, 69, 10, 0.5);
    /* border: 2px solid red; */
    height: 9vh;
    background-color: #F3F0E8;
    z-index: 100;
}



nav {
    /* border: 1px solid red; */
    /* padding-top: 10px; */
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    max-width: 992px;
    margin: 0 auto;
}

#menu, #menu-check {
    display: none;
}



.nav_links {
    list-style: none;
    margin: 0;
    
    
    /* border: 2px solid black; */
}

.nav_links li {

    display: inline-block;
    /* margin: 10px; */
    padding: 0px 20px;
}

.nav_links li a {
    transition: all 0.5s ease 0s;
}



/* RESPONSIVE NAVEGADOR*/
@media (max-width:972px){
  
    #menu-check:not(:checked)~ nav {
        display: none;
    }
    #menu-check:checked ~ nav{
        display: block;
    }
    #menu {
        display: block;
        color: rgb(190, 72, 53);
        font-size: 2em;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        padding: 15px;
        position: absolute;
        right: 0.5em;
    }
    #menu:hover {
        color: #f0e8d2;
        background-color:rgb(190, 72, 53);
        padding: 5px;
    }
    #menu-cerrar{
        display: none;
    }
    #menu-check:checked ~ label #menu-abrir {
        display: none;
    }
    #menu-check:checked ~ label #menu-cerrar {
        display: block;
    }
    .nav_links {
        
        display: block;
        flex-direction: column;
        top: 60px;
        padding: 20px;
        background-color:   #F3F0E8;
        position: absolute;
        right:0%;
        align-content: space-around;
        height: auto
        
    }
    nav .nav_links li {
        display: flex;
        width: 100%;
       height: auto;
        padding: 20px; 
        
    } 
  
    a:hover {
        
        background: #f0e8d2;
        text-decoration: none;
        transition: all .6s;
    }


}






.logo {
    cursor: pointer;
}

.contacto {
    /* border: 2px solid black; */
    margin-right: 30px;
}

.boton {
    color: white;
    margin: 10px;
    padding: 10px 10px;
    background-color: rgb(190, 72, 53);
    border: none;
    border-radius: 10rem;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.boton:hover {
    background-color: rgb(144, 39, 23);
}

/* .header-menubar {
    display: flex;
    margin-right: 50%;
    margin-left: 5%;
    justify-content: space-between;
    align-items: center;
} */

main {
    /* min-height: calc(100vh - 18vh); */
    color: #806930;
    font-family: 'Courgette', cursive;
    font-size: 22px;
    /* background-color: #F3F0E8; */
    text-align: center;
    margin: 0;
    padding: 0;
}

.contenedor-home {
    /* border: 2px solid green; */
    min-height: 100px;
    width: 90%;
    margin: 0% 5%;
    padding: 1%;
    display: flex;
    overflow: auto;
    position: relative;
    border-radius: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #F3F0E8;


}

.contenedor-home::before {
    content: '';
    background-image: url(../img/pexels-jill-wellington-39351.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.25;
    display: flex;
    overflow: auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.header-menubar {
    padding: 0;
    display: flex;
    margin-left: 5%;
    margin-right: 50%;
    justify-content: space-evenly;
    align-items: center;

}


.container {
    display: grid;
    column-gap: 40px;
    grid-template-columns: 50% 50%;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;

    /* border: 2px solid green; */
    background-color: #F3F0E8;
    position: relative;
    background-color: transparent;
}


.contenedor-historia-ppal {
    /* border: 2px solid red; */
    margin: 0% 5%;
    border-radius: 10px;
    background-color: #F3F0E8;
    padding-top: 30px;
    overflow: auto;
    position: relative;
    overflow-y: hidden;
}

.contenedor-historia-ppal:before {
    content: '';
    background-image: url(../img/pexels-jill-wellington-39351.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.25;
    overflow: auto;

}




/* INICIO SECCIÓN TURISMO ENOLÓGICO */


.warnings {
    width: 200px;
    text-align: center;
    margin: auto;
    color: #B06AB3;
    padding-top: 20px;
}

.warnings {
    font-family: Montserrat, sans-serif;
    font-size: small;
    color: red;
    font-weight: bolder;
}

.contenedor-turismo {
    /* border: 2px solid green; */
    min-height: 100px;
    width: 90%;
    margin: 0% 5%;
    padding: 0;
    display: flex;
    overflow: auto;
    position: relative;
    border-radius: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #F3F0E8;

}

.contenedor-turismo::before {
    content: '';
    background-image: url(../img/pexels-jill-wellington-39351.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.25;
    display: flex;
    overflow: auto;
    flex-direction: row;
    flex-wrap: wrap;
    /* border: 2px solid red; */
}

.column {
    display: flex;
    flex-flow: row wrap;
    /* border: 2px solid blue; */
    width: 50%;
    min-height: 100px;
    /* margin: 10px; */
    gap: 0px;
    padding: 10px;
    position: relative;
    background-color: transparent;
    flex: 50%;
}

.column-form {
    font-family: Montserrat, sans-serif;
    /* border: 2px solid red; */
    width: 100%;
    text-align: left;
    padding-top: 10px;
    padding: 20px;
}

.titulo-form {
    text-align: center;
    font-family: 'Courgette', sans-serif;
}

.row-form {
    font-size: medium;
    font-family: 'Courgette', sans-serif;
    width: 100%;
    padding: 10px;

}

.form-label {
    text-align: left;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: rgb(190, 72, 53) !important;

}

.column2 {
    padding: 10px;
    width: 50%;
    text-align: justify;
    font-family: 'Courgette', sans-serif;
    font-size: medium;
    flex: 50%;
    /* border: 2px solid blueviolet; */
}

.tur-imagen {
    border-radius: 10px;
    width: 100%;
}

.titulo-turismo {
    text-align: center;
    margin-top: 5px;
    padding-top: 5px;
}

.titulo-seccion {
    text-align: center;
    margin-top: 5px;
    padding-top: 5px;
}

@media (max-width: 1100px) {
    .column {
        flex: 100%;
    }
}

@media (max-width: 670px) {
    .column2 {
        flex: 100%;
    }
}

.boton-enviar {
    text-align: center;
}

/* FIN SECCIÓN TURISMO ENOLÓGICO */

.item-item1 {
    grid-column-start: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    border-radius: 10px;
    margin-top: 20px;
    /* border: 2px solid red; */

}

.home-imagen {
    border-radius: 10px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow:
        inset 0 -3em 3em rgba(0, 0, 0, 0.629),
        0.3em 0.3em 1em rgba(0, 0, 0, 0.617);

}

.home-imagen-logo {

    border-radius: 10px;


}

.item-item2 {
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 3;
    /* border: 2px solid red; */
}

.item-item3 {
    grid-column-start: 2;
    grid-row-start: 2;
    grid-row-end: 2;
    /* border: 2px solid red; */
    padding: 10px;
    margin: 0;

}

.parrafo-home {
    padding: 0;
    margin: 0;
}

footer {
    display: flex;
    flex-wrap: wrap;
    /* margin-left: 30%;
    margin-right: 30%; */
    justify-content: space-evenly;
    align-content: center;
    margin-top: 50px;
    /* border: 2px solid black; */
    background-color: #F3F0E8;
    height: 9vh;

}


/* INICIO SECCION VINOS */

.contenedor {
    background-color: F3F0E8;
    
    color: #806930;
    flex: 1;
}

.contenedor nav {
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    background-color: #F3F0E8;
}

.carrito{
    padding-bottom: 0;
    max-width: 100%;
    margin: 0 auto;
}
.compra {
    display: none;
}

.carrito li {
    padding: 1rem;
    font-weight: lighter;
    font-size: 1rem;


}

.contenedor nav i {
    font-size: 2rem;
    cursor: pointer;
    color: rgb(190, 72, 53);
}


.contenedor nav i:hover .compra {
    font-size: 1rem;
    display: flex;
    justify-content: center;

}

.contenedor nav i:hover .compra button {
    cursor: pointer;
    padding: 1rem;
    width: 40%;
    color: white;
    font-family: Geneva;
    font-weight: bold;
    background-color: rgb(190, 72, 53);
    border: none;
    outline: none;
    text-transform: uppercase;
    font-size: 1, 1rem;
    border-radius: 5px;
    
}

.contenedor nav i:hover .compra button:hover {
    background-color: #806930;
    transition: all .4s;
}


.carrito i:hover {
    width: 300px;
    height: 250px;
    position: absolute;
    right: 0;
    background-color:#F3F0E8;

}

.contenedor h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    font-family: 'Courgette', cursive, Verdana, Geneva, Tahoma, sans-serif;
    font-weight: lighter;

}
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    font-family: 'Courgette', cursive, Verdana, Geneva, Tahoma, sans-serif;
    font-weight: lighter;

}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    padding: 20px;
    grid-auto-flow: dense;
    margin: 0% 5%;
    border-radius: 10px;
    background-color: #F3F0E8;
}





.item {
    text-align: center;
    line-height: 15px;

    background-color: white;
    border: none;

    border-radius: 10px;
}

.item img {
    width: 70%;
    margin-left: 20px;

}

.info {
    padding: 20px;


}

.info h3 {
    font-size: 1.6rem;
}

.info p {
    font-size: 1, 8rem;
    padding: 15px;
}

.descrip {
    display: none;

}

i:hover .descrip {
    width: 300px;
    height: auto;
    position: absolute;
    background-color: rgb(190, 72, 53);
    text-align: center;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    z-index: 120;

}

.descrip p {
    font-family: 'Courgette', cursive;
    font-weight: 100;

}

i {
    cursor: pointer;
    color: #F3F0E8;
}

.info span {
    padding: 15px;
    font-size: 1.5rem;
    display: flow-root
}

.info button {
    padding: 15px;
    width: 100%;
    background-color: #806930;
    border: none;
    outline: none;
    text-transform: uppercase;
    font-size: 1, 1rem;
    font-family: sans-serif;
    font-weight: lighter;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 15px;
    margin-top: 15px;
}

.info button:hover {
    background-color: rgb(190, 72, 53);
    transition: all .3s;
}

@media (min-width:1024){
    .grid {
        grid-template-columns: repeat(4, 250px);
        justify-content: center;
       
    }
}
@media (min-width: 481px) and  (max-width:1023px) {
    .grid {
        grid-template-columns: repeat(2, 250px);
        justify-content: center;
       
    }
}

@media (min-width:321px) and (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(1,250px);
        justify-content: center;
      
    }
}
@media (max-width: 320px) {
    .grid {
        display: block;
       
    }
}


/* FIN DE SECCION VINOS */
/* INICIO SECCION CONTACTO */

/* .contenedor-historia-ppal {
    margin: 0% 5%;
    border-radius: 10px;
    background-color: #F3F0E8;
    padding-top: 30px;
    overflow: auto;
    position: relative;
    overflow-y: hidden;
} */




.contenedor-contacto {
    margin-right: 10%;
    margin-left: 10%;
    padding: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: #F3F0E8;
    border-radius: 10px;
    overflow: auto;
    position: relative;

}

.contenedor-contacto:before {
    content: '';
    background-image: url(../img/pexels-jill-wellington-39351.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.25;
    overflow: auto;

}

.item-contacto1 {
    margin-right: 10%;
    border-color: #312812;
    border-style: solid;
    border-width: 1px;
    z-index: 100;
}

.item-contacto2 {
    margin-right: 10%;
    vertical-align: middle;
    font-size: 24px;
    color: #312812;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

/* FIN DE SECCION CONTACTO */

/* INICIO SECCION HISTORIA */

.cajon-historia {
    /* width: 100%; */
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(2, 30%);
    grid-gap: 60px;
    align-content: center;
    justify-content: center;
    text-align: center;
    /* border: 1px solid red; */
}

.contenedor-historia {
    width: 100%;
    padding: 1px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    transition: transform .2s;
    position: relative;
    opacity: 0.5;
}

.contenedor-historia:hover {
    transform: scale(1.3);
    opacity: 1;
}

/* FIN DE SECCION HISTORIA */

/* API: BUSCADOR DE TRAGOS */



.container-api{
    margin: 30px;
    /* position: relative;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;  */
    width: 50em;
    background-color: #ffffff;
    padding: 2%;
    border-radius: 0.6em;
    box-shadow: 0 1em 3em rgba(2,9,38,0.25 );
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 2%;

}

.ingredients{
    text-align: left;
}

.search-container{
    display: grid;
    grid-template-columns: 9fr 3fr;
    gap: 1em;
    margin-bottom: 1.2em;
    margin-top: 5%;
}

.search-container input{
    font-size: 1em;
    padding: 0.6em 0.3em;
    border: none;
    outline: none;
    border-bottom: 1.5px solid #1f194c;
}

.search-container input:focus{
    border-color: #5372f0;
}

.search-container button{
    font-size: 1em;
    border-radius: 2em;
    background-color: #5372f0;
    border: none;
    outline: none;
    color: #ffffff;
    cursor: pointer;
}

#result{
    color: #575a7b;
    line-height: 2em;
}


#result img{
    display: block;
    max-width: 12.5em;
    margin: auto;
}

#result h2{
    font-size: 1.25em;
    margin: 0.8em 0 1.6em 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1f194c;
    position: relative;
}

#result h2:before{
    content: "";
    position: absolute;
    width: 15%;
    height: 3px;
    background-color: #5372f0;
    left: 42.5%;
    bottom: -0.3em;
}

#result h3{
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 0.2em;
    color: #1f194c;
}

#result ul{
    margin-bottom: 1em;
    margin-left: 1.8em;
    display: grid;
    grid-template-columns: auto auto;
}

#result li{
    margin-bottom: 0.3em;
}

#result p {
    text-align: justify;
    font-weight: 400;
    font-size: 0.95em;
}

.msg{
    text-align: center;
}


@media screen and (max-width: 600px) {
    .container-api{
        font-size: 14px;
    }
}

/* FIN BUSCADOR DE TRAGOS */