* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
  }
  
.nav{
background: linear-gradient(180deg, rgba(215,191,167,1) 0%, rgba(159,121,96,1) 100%);
    --img1:scale(0);
    --img2:scale(1);
    height: 15%;
   
}
.nav:has(.dropdown:target){
    --img1:scale(1);
    --img2:scale(0);
    --clip:inset(0 0 0 0);
}


.nav__container{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "title carrito img";
    align-items: center;
    overflow: hidden;
    grid-column-gap: 10px ;

}

.nav__title{
    grid-area: title;
    margin: 10%;
    padding-right: 80%;
    color: #8e6542;

}

.car{
grid-column: carrito;
justify-self: right;
margin:0 3%;


}

.nav__menu{
    grid-area: img;
    text-align: right;
    position: relative;
    z-index: 10;

    transform:var(--img2);
}

.a{
    grid-area: Carrito;
    text-align: right;

}

.nav__icon{
    width: 100%;
    display: block;
}

.nav__menu--second{
    transform: var(--img1);
}

.dropdown{
    position: absolute;
    background: rgb(215,191,167);
background: linear-gradient(180deg, rgba(215,191,167,1) 0%, rgba(159,121,96,1) 100%);
    width: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    display: grid;
    align-content: center;
    padding: 1em;
    gap: 1rem;
     border: 1px solid black;
    border-style: dotted ;
    overflow-y: auto;
    clip-path: var(--clip, inset(0 0 100% 0));
    transition: clip-path .7s;
    z-index: 3;

}

.dropdown__list{
    list-style: none;
   

}
.dropdown__link{
    color: black;
    padding: 1em .7em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .6rem;
    position: relative;
    background-color: var(--bg,transparent);
    border-radius: 6px 6px 0 0;
}
.dropdown__list:has(:checked){
    --rows: 1fr;
    --rotate:rotate(180deg);
    --bg:#9f7960;
    border-radius: 15px 15px 0 0;
    
}

.dropdown__check{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


.dropdown__arrow{ 
    transform: var(--rotate, 0);
    margin-left: auto;

    transition: .2s transform;

}


.dropdown__content{
    display: grid;
    grid-template-rows:var(--rows, 0fr) ;
    transition: .3s grid-template-rows;


}
.dropdown__sub{
overflow: hidden;
    background-color: #d7bfa7;
    border-radius: 0 0 6px 6px ;
    
}


.dropdown__li{
    width: 85%;
    list-style: none;
    text-align: center;
    padding: 5% 0;
    margin: auto;

}

.dropdown__anchor{
    pad: 1em;
    display: block;
    color: #8e6542;
    text-decoration: none;

    
}


a{
    text-decoration: none;
    
}

.busqueda{
    padding: 10px;
    width: 95%;
    border-radius: 10px;
    margin: 10px;

}

.titulo{
    text-align: center;
    color: #d7bfa7;
    margin: 15px;
    font-family: cursive;
}
body{
    background: white;

}
.content .imgcontainer{
    width: 100%;
    height: 15rem;
    position: relative;
    background-image: url('Imagenes/Capacitate.jpeg');
    background-size: cover;
    background-position: center;
}
.content .imgcontainer .overlay{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 101%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), #D7BFA7);
    display: flex;
    justify-content: center;
    align-items:end;
    text-align: center;
    


}

.content .imgcontainer .overlay h1{ 
    color: white;
    font-size: 28px;
    font-family: 'Amiri';
    font-weight: bold;
}

.text h3{
    color:white;
    font-size: 15px;
    background-color: #D7BFA7;
    text-align: left;
    padding: 35px;
    font-family: 'Amiri';
    font-weight: normal;

}
.exp{
    text-align: center;
}
.exp h3{
        margin:20px 0;
}
.exp h4{
    margin:44px auto;
}
h3{

    font-size:25px ;
    font-weight: bold;
    font-family: 'Amiri';
}

.footpage h3{
    font-size: 15px;
    font-family: 'Arapey';
    font-weight: lighter;
    color: #7D5537;
    text-align: center;
}
h4{
    font-size: 16px;
    font-family: 'Amiri';
    font-weight:normal;
    width: 65%;
    text-align: left;
    margin: auto;
}

#desc{
    display: none;
}


.aprend{
    background-color: #D7BFA7;
    text-align: center;
    padding: 15% 0;
}

.contenido{
    background-color: #EDDFD1;
    width: 90%;
    display: flex;
    margin: auto;
    justify-content: center;
    position: relative;
    overflow: visible;
    
}

.contenido h3{
    width: 90%;
    margin: auto;
}
.contenido h4{
    font-size: 16px;
    font-family: 'Arapey';
    font-weight:normal;
    width: 80%;
    text-align: left;
    margin: auto;
}

.imagen{
    width: 200%;
}

.texto{
    padding: 4% 0;
}

.contenido img{
    height: 130%;
    width: 50%;
    position: absolute;
    top: -15%;
    right: 5%;
    z-index: 1;
    object-fit: cover;
}


.opciones{
    display: flex;
    justify-content: center;
    gap: 7%;
    margin: 15% 0 8% 0;
}
.opcion{
    border:1px solid #D7BFA7;
    background-color: white;
    border-radius: 3px;
    padding: 2%;
    color: #D7BFA7;
    font-size: 18px;
    font-family: 'Arapey';
}

.opcion:hover{

    background-color: #D7BFA7;
    color: #F5F3EE ;
}
.opcion:active{

    background-color: #D7BFA7;
    color: #F5F3EE ;
}



.preg{
    text-align: center;
    margin: 15% 0 ;
}
.preg h3{
        margin: 5%;
}
.pregunta{
    
    width: 80%;
    margin: auto;
    text-align: left;
}
.pregunta .dropdown__link{
    border-radius: 15px 15px 0 0;
    
}
.pregunta .dropdown__list:has(:checked){
    --rows: 1fr;
    --rotate:rotate(180deg);
    --bg:#d7bfa7;
    border-radius: 15px 15px 0 0;
    
}
.pregunta .dropdown__sub{
    background-color: #f5f3ee;
    
}
.pregunta h4{
    width: 100%;
    font-family: 'Arapey';
}

.products-container{
    margin: 5vh auto;
    width: 85%;
    display: flex;
    row-gap: 2vh;
    column-gap: 2vh;
    overflow-x: auto;
    scrollbar-width: none; 
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;

}

.tarjeta{
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    flex: 0 0 calc(50% - 1vh);
    border: 2px solid #D7BFA7 ;
    border-radius: 16px;
    overflow: hidden;
    
}
.tarjeta .claseimg{
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-bottom: 2px solid #D7BFA7 ;
}

.det{
    display: grid;
    margin: 0 auto 5% auto;
    grid-template-columns: repeat(2, auto);
    grid-template-rows:repeat(3, 1fr) ;
    gap:0 7%;
    width: 70%;
    height: 15vh;
    align-items: center;

}
.detalles .Tit{
    font-size:20px ;
    font-weight:  normal;
    color: #8E6542;
    font-family: 'Amiri';
    text-align: center;
    width: 80%;
    margin: auto;
}
.detalles .divisor{
    height: .8px;
    background-color: #7d5537b3;
    width: 65%;
    text-align: center;
    margin: 2% auto;
}

.det img{
    height: auto;
    width: 2em;
    display: flex;
    

}

.det h3{
    font-size:15px ;
    font-family: 'Arapey';
    font-weight: lighter;
    color: #7D5537;
    text-align: start;
}
.detalles a{
    background-color: #D7BFA7;
    width: 100%;
    display: inherit;
    text-align: center;
    padding: 2%;
    text-decoration: none;
    color: #F5F3EE;
    font-size: 20px;
    font-family: 'Amiri';
}

.footpage{
    background-color: #D7BFA7;
}

.instagram{     
width: 90%;
margin: 7% auto;
position: relative;
text-align: center;
}
 .B{     
    position: relative;
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 3%;
    background-color:#D7BFA7 ;
    }
    
    .instagram .B h3{
        font-size: 30px;
        font-family: 'Amiri',sans-serif;
        font-weight:normal;
        color: #7D5537;
    }
    
    .instagram h5{
        font-size: 15px;
        font-family: 'Arapey',sans-serif;
        font-weight:normal;

    }

    .B i{
        display: flex;
        align-items: center;
        padding: 3px;
    }
    .B i img{
       height: 1.5em;
    }

    .A{
        position: relative;
        padding-top: 3%;
    }
    .Linea{
        left: 0;
        right: 0;
        background-color: #7D5537;
        height: 0.8px;
        position: absolute;
        top: 50%;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .Linea hr{
        background-color: #7D5537;
        height: 1px;
        position: absolute;
    }
    
    
    .desc{
        width: 90%;
        margin: 7% auto;

        align-self: center;
        border-top: 1px solid#7D5537;
        border-bottom: 1px solid #7D5537;
        text-align: center;
    }

    .desc h3{
        margin: auto;
        font-family: 'Arapey',sans-serif;
        font-weight: normal;
        font-size: 17px;
        padding: 3%;
        color: #7D5537;
    }

    .footpage h2{
font-size: 20px;
font-family: 'Amiri';
font-weight: bold;
color: #7D5537;
text-align: center;
    }

    .Medios{
        margin: 5%;
    }
    .iconos{
        display: grid;
        margin: auto;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows:repeat(2, 1fr) ;
        gap: 5%;
        height: 10vh;
        width: 60%;
        justify-items: center;
        align-items: center;
    }
    .iconos img{
        height: 2em;
        display: flex;
        justify-content: center;
        align-items: center;
       
    }
    .iconos h2{
        font-size: 10px;
        font-family: 'Arapey';
        font-weight: lighter;
        display: flex;
        justify-content: center;
        align-items: center;
    }
   .pcfoot h3{
        font-size:15px ;
        font-family: 'Arapey';
        font-weight: lighter;
        color: #7D5537;
        text-align: center;
    }
    .Contacto{
        text-align: center;
        width: 90%;
        margin: 5% auto;
    }

    .Contacto .contenidof{
        display: grid;
        margin: 0 auto 5% auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows:repeat(3, 1fr) ;
        gap:0 5%;
        width: 45%;
        height: 20vh;
        align-items: center;

    }

    .contenidof img{
        height: 2em;
        width: 2em;
        display: flex;
        

    }

    .contenidof h3{
        font-size:15px ;
        font-family: 'Arapey';
        font-weight: lighter;
        color: #7D5537;
        text-align: start;
    }
    .Creado{
        margin:  auto;
        border-top: 1px solid #7D5537;
        padding: 5% 0;
        width: 90%;

    }
    #footerpc{
        display: none;
    }
    
@media(max-width:350px){
    .contenido img{
        width:45%;
        height: 110%;
        top: -5%;
    }
}

@media(max-width:460px){
    .contenido .imagen{
        width:260%;
    }
    }


@media (min-width:764px) and (max-width:1800px){
    .contenido .imagen{
        width: 150%;
    }
    .tarjeta{
        flex: 0 0 calc(30% - 1vh);
    }
    .opciones{
        margin: 5% 0 3% 0;
    }
    #footerpc{
        display: flex;
    }
    #footer{
        display: none;
    }
    .pcfoot{
        background-color: #D7BFA7;
        margin-top: 1vh;
        display: flex;
        padding: 0 10vh;
        height: 13vh;
        justify-content: center;

    }
    .instagram{
        width: 35%;
        left: 0;
        margin: 0;
    }
    .Creado{
        border-top: 0;
        padding: 0;
        margin: 0 0 1vh 0;
        width: 30%;
    }
    .Creado h3{
        height: 100%;
        align-content: end;
    }
    .iconos{
        display: flex;
        width: 35%;
        gap: 1vh;
        justify-content:right;
    }
}

@media (min-width:1024px) {
    .products-container{
        width: 60%;
    }
    .tarjeta{
        flex: 0 0 calc(34% - 2vh);
    }
    .content .imgcontainer .overlay{
       flex-wrap: wrap;
       justify-content: end;
       text-align: inherit;
       background: linear-gradient(to right, rgba(0, 0, 0, 0.0), #D7BFA7);
        height: 100%;
    }
    .content .imgcontainer{
        height: 25rem;
    }

    .text{
        display: none;
    }

    .t{
        width: 50%;
    align-self: center;
    margin-right: 2rem;
    }

    .content .imgcontainer .overlay h1{
        text-align: center;
    }
    .content .imgcontainer .overlay #desc{
        display: inline;
        color: white;
    font-size: 15px;
    text-align: left;
    padding: 0px;
    font-family: 'Amiri';
    font-weight: normal;
    }

    .exp{
        display: grid;
grid-template-columns: repeat(2, auto);
grid-template-rows: repeat(2, auto);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: 60%;
        margin: 5vh auto;
        justify-content: center;
        align-items: center;
    }
    .exp h3{
        grid-area: 1 / 1 / 2 / 2; 
        margin: 12px 0 ;
    }
    .exp img{grid-area: 2 / 1 / 3 / 2;
        margin: auto;
    }
    .exp h4{grid-area: 1 / 2 / 3 / 3;
    width: 90%;}

    .aprend{
        padding: 5% 0;
    }
    .contenido{
        width: 60%;
    }
    .contenido .imagen{
        width: 200%;
    }

    .contenido .imagen img{
        width: 50%;
        height: 125%;
        object-fit: cover;
        right: 5%;
        top: -15%;
    }
    .opciones{
        margin: 5% 0 3% 0;
    }
    
    .preg{
        width: 60%;
        margin: 10% auto;
    }
}

@media (min-width:1200px) {
    .tarjeta{
        flex: 0 0 calc(33% - 1.5vh);
    }
    .contenido .imagen{
        width: 110%;
    }
    .preg{
        width: 60%;
        margin: 5% auto;
    }
}