* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'Amiri';
  }
  
.nav{
  background: linear-gradient(180deg, rgba(215, 191, 167, 1) 41%, rgba(159, 121, 96, 1) 100%);
  --img1:scale(0);
    --img2:scale(1);
    height: auto;
   
}
.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: 85% auto;
    grid-template-rows: auto;
    grid-template-areas: "title img";
    align-items: center;
    overflow: hidden;
    grid-column-gap: 10px ;

}

.nav__title{
    grid-area: title;
    margin:  5% 0 0 5%;
    padding-right: 80%;
    color: #8e6542;

}



.nav__menu{
   
    text-align: right;
    position: relative;
    z-index: 10;
    grid-area:img;

    transform:var(--img2);
}



.nav__icon{
    width: auto;
    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: 5px 0;
    margin: auto;

}

.dropdown__anchor{
    pad: 1em;
    display: block;
    color: #8e6542;
    text-decoration: none;

    
}
a{
  color: #d7bfa7;
}


a:hover {
	text-decoration: none;
}

p {
  font-weight: 500;
  font-size: 14px;
}
h4 {
  margin-top: 1vh;
  font-weight: bold;
  color: #9f7960;
}
h6 span{
  padding: 0 20px;
  font-weight: normal;
}
.section{
  position: relative;
  width: 100%;
  display: block;
}
.full-height{
  min-height: 100vh;
}
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked){
display: none;
}
.checkbox:checked + label,
.checkbox:not(:checked) + label{
  position: relative;
  display: block;
  text-align: center;
  width: 60px;
  height: 16px;
  border-radius: 8px;
  padding: 0;
  margin: 10px auto;
  cursor: pointer;
  background-color: #F5F3EE;
}
.checkbox:checked + label:before,
.checkbox:not(:checked) + label:before{
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #F5F3EC;
  background-color: #d7bfa7;
  font-family: 'unicons';
  content: '\eb4f';
  z-index: 20;
  top: -10px;
  left: -10px;
  line-height: 36px;
  text-align: center;
  font-size: 24px;
  transition: all 0.5s ease;
}
.checkbox:checked + label:before {
  transform: translateX(44px) rotate(-270deg);
}
.card-3d-wrap {
  position: relative;
  width: 440px;
  max-width: 100%;
  height: 470px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  perspective: 800px;
  margin-top: 60px;
  border-radius: 15px;
}
.card-3d-wrapper {
  width: 100%;
  height: 100%;
  position:absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: all 600ms ease-out; 
  box-shadow: -1px 5px 10px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
}
.card-front, .card-back {
  width: 100%;
  height: 100%;
  border: 1.4px solid #d7bfa7;
  background-color: white;
  background-image: url('/img/pattern_japanese-pattern-2_1_2_0-0_0_1__ffffff00_000000.png');
  position: absolute;
  border-radius: 15px;
  -webkit-transform-style: preserve-3d;
}
.card-back {
  transform: rotateY(180deg);
}
.checkbox:checked ~ .card-3d-wrap .card-3d-wrapper {
  transform: rotateY(180deg);
}
.center-wrap{
  position: absolute;
  width: 100%;
  padding: 0 35px;
  top: 50%;
  left: 0;
  transform: translate3d(0, -50%, 35px) perspective(100px);
  z-index: 20;
  display: block;
}
.form-group{ 
  position: relative;
  display: block;
    margin: 0;
    padding: 0;
}
.form-style {
  padding: 13px 20px;
  padding-left: 55px;
  height: 48px;
  width: 100%;
  font-weight: 500;
  border-radius: 4px;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.5px;
  outline: none;
  color: #c4c3ca;
  background-color: white;
  border: 1.5px solid #d7bfa7;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  box-shadow: 3px 3px 4px 0 rgba(21,21,21,.2);
}
.form-style:focus,
.form-style:active {
  border: none;
  outline: none;
  box-shadow: 0 4px 8px 0 rgba(21,21,21,.2);
}
.input-icon {
  position: absolute;
  top: 0;
  left: 18px;
  height: 48px;
  font-size: 24px;
  line-height: 48px;
  text-align: left;
  -webkit-transition: all 200ms linear;
   transition: all 200ms linear;
}
.toggle-password {
  position: absolute;
  top: 0;
  right: 18px;
  height: 48px;
  font-size: 24px;
  line-height: 48px;
  text-align: right;
  color: #d7bfa7;
  cursor: pointer;
  transition: all 200ms linear;
}
.toggle-password:hover {
  color: #8e6542;
}

.btn{  
  border-radius: 4px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition : all 200ms linear;
  transition: all 200ms linear;
  padding: 0 30px;
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  background-color: #d7bfa7;
  color: #F5F3EC;
  margin-top: 1vh!important;
}
.btn:hover{  
  background-color: #F5F3EC;
  color: #d7bfa7;
  box-shadow: 0 8px 24px 0 rgba(16,39,112,.2);
  border: 1px solid #d7bfa7;
}

.TyC{
  display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}
#T{
  display: flex;
}
h6{
  margin: 1vh;
}
form{
  width: 85%;
  margin:0 auto;
}

.fondo{
  background-color: rgba(0, 0, 0, 0.855);
  position: fixed;
  display: none;
  top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 50;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.ter{
display: flex;
flex-wrap: wrap;
width: 80%;
max-width: 80vh;
height: 100%;
max-height: 90vh;
background-color: white;
text-align: center;
position: relative;
margin: 2rem;
padding: 1rem;
border-radius: 10px;
padding: 3vh;
}
.contenido{
  text-align: left;
  line-height: 1.2;
  overflow: scroll;
  overflow-y: auto; /* Habilita el scroll solo en el eje vertical */
    overflow-x: hidden; /* Evita el scroll horizontal */
    max-height: calc(80vh - 120px); 
}
.ter h1{
  color: #8e6542;
  font-size: 2.2rem;

}
.contenido li{
  list-style-position: inside;
  list-style-type: decimal;
}
.contenido li ul li{
  list-style-type: circle;
  margin-left: 3vh;
}
.contenido .bien{
font-size: 1rem;}

.Cerrar{
  width: 100%;
}
.Cerrar button{
  background-color: #d7bfa7;
  margin: 1vh auto 0  auto;
  width: 40%;
  padding: 2vh;
  color: #F5F3EC;
  border-radius: 16px;
}

@media(max-width:900px){
  .pb-5{
   padding-top: 0rem !important;
   padding-bottom: 0 !important;
  }
}

@media(min-width:1024px){
  .py-5{
    padding-bottom: 0 !important;
  }
  .nav__container{
    grid-template-rows: 3em;
}
.nav__container h1{
    margin: 0 1vh;
}
}
