:root{
    --cafe: #885551;
    --cafecito: #BA6958;
    --cafecitititito: #F7B9A2;
    --turquesita: #9FD8CB;
    --awuita: #879FD4;
    --azulito: #CFE1FF;
    --amarillito: #FFDF9B;
    --verdecito:#52B788;
    --azul:#879FD4;
}

html::-webkit-scrollbar {
    width: 1vw;
}


html::-webkit-scrollbar-track {
    background: #F3F3F3;
    border-radius: 2rem;
}

html::-webkit-scrollbar-thumb {
    background-color: #BA6958;
    border-radius: 2rem;
    border: 2px solid #F3F3F3;
}

html::-webkit-scrollbar-thumb:hover {
    background-color:#DB8978 ;
}



*{
    padding: 0;
}
.no-scroll {
    overflow: hidden;
    height: 100%;
}
body{
    overflow-x: hidden;
    padding: 0;
    height: 100%;
}

html{
    height: 100%;
}



.nav {
    height: 12vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1000;
    padding-left: 5%;
    padding-right: 5%;
    background-color: white;
    box-sizing: border-box;
    margin: 0;
    margin-top: 0px;
    position:fixed;
    top:0;
}

.nav__logo {
    height: 10vh;
    width: auto;

}

.nav__menu {
    width: fit-content;
    height: fit-content;
    cursor: pointer;
}

.nav__list {
    height: 12vh;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%; 
    left: 0;
    background-color: var(--azul);
    padding: 10vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vh;
    list-style: none;
    transform: translate(-100%);
    transition: transform .3s;
    margin: 0;
}

.nav__list--show {
    transform: translateX(0);
      right: 0;
}
.nav__item1{
    box-sizing: border-box;
    visibility: hidden;
    position: absolute;
}
.nav__item,.nav__item1{
    box-sizing: border-box;
    cursor: pointer;
}
.CastorMenu{
    height: 12vh;
    width: auto;
      padding-bottom: 5vh;
}
.texts {
    margin-left: 1rem;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
   
}


.icon {
    height: 1.5rem;
    width: 1.5rem;
    color: black;
}

.bx-menu img{
    height: 6.5vh;
    width: auto; 
}
a.Que_es, .Castor{
    color:black;
    font-family: "Gayathri", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 3vh;
    text-align: center;
    padding: 1vh;
    box-sizing: border-box;
}



.cerrar{
     visibility: hidden;
    position: absolute;
}
.close {
  
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media(max-width:1030px){
    .nav__logo {
        height: 9vh;
        width: auto;
    }
    .bx-menu img {
        height: 5.5vh;
        width: auto;
    }
}

@media(max-width:600px){

    
      .nav__logo{
        height: 8vh;
        width: auto;
    }
    .bx-menu img{
        height: 5vh;
    }
      .CastorMenu{
    height: 10vh;
    
}
}
@media(max-width:485px){

.bx-menu img {
        height: 4.2vh;
    }
      .nav__logo{
        height: 6vh;
        width: auto;
    }
}
@media(max-width:400px){
        .CastorMenu{
    height: 9vh;
    
}


      .nav__logo{
        height: 5vh;
        width: auto;
    }
  

    .CasText{
        font-size: 3.8vh;
    }
    
    a.Que_es, .Castor{

    font-size: 2.5vh;
  
}
@media (max-width: 370px) and (max-height: 900px) {
    .nav__logo{
        height: 7vh;
        width: auto;
    }   
    .bx-menu img {
        height: 5vh;
    }
}
}
@media(max-width:350px){
    
      .nav__logo{
        height: 5vh;
        width: auto;
      }
      .bx-menu img{
        height: 3.8vh;
    }
}
@media(max-width:300px){
      .nav__logo{
        height: 4.5vh;
        width: auto;
    }
    
    .CastorMenu{
    height: 8vh;
    
}

    .CasText{
        font-size: 3.8vh;
    }
   
    .nav{
        padding-right: 10%;
    }
a.Que_es, .Castor{

    font-size: 2.2vh;
  
}

}



@media (max-width: 1999px) and (min-height: 900px) {
    a.Que_es, .Castor {
        padding: 0;
    }
    .nav__item2 {
        visibility: hidden;
        position: absolute;
    }
    li {
        box-sizing: border-box;
    }

    .nav__list {
        height: auto;
        gap: 5vh;
        padding: 7% 0;
    }
    .nav__item1, .cerrar {
        visibility: visible;
        position: static;
        line-height: 1;
    }
    .nav__item {
        padding: 0;
    }
    #Con {
        padding-bottom: 6vh;
    }

    .cerrar {
        align-self: flex-end;
        padding-right: 6vh;
        font-size: 7vh;
    }

}



@media (max-height: 899px) and (min-width: 1031px) {
    .nav {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .nav__menu {
        display: none;
    }

    .nav__list {

        position: static;
        background-color: transparent;
        padding: 0;
        display: flex;
        align-items: center;
        flex-direction: row;
        list-style: none;
        transform: unset;
        transition: none;
    }

    .nav__list--show {
        transform: unset;
    }
}


@media (min-height: 900px) and (min-width: 1999px) {
    .nav {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .nav__menu {
        display: none;
    }

    .nav__list {
        position: static;
        background-color: transparent;
        padding: 0;
        display: flex;
        align-items: center;
        flex-direction: row;
        list-style: none;
        transform: unset;
        transition: none;
    }

    .nav__list--show {
        transform: unset;
    }
    .textito-back{
        font-size: 2.4vh
    }
    .redirecc{
        font-size: 3.5vh;
    }
}
@media (max-width: 1030px) and (max-height: 899px) {
    a.Que_es, .Castor {
        padding: 0;
    }
    .nav__item2 {
        visibility: hidden;
        position: absolute;
    }
    li {
        box-sizing: border-box;
    }

    .nav__list {
        height: auto;
        gap: 5vh;
        padding: 7% 0;
    }
    .nav__item1, .cerrar {
        visibility: visible;
        position: static;
        line-height: 1;
    }
    .nav__item {
        padding: 0;
    }
    #Con {
        padding-bottom: 6vh;
    }

    .cerrar {
        align-self: flex-end;
        padding-right: 6vh;
        font-size: 7vh;
    }

}
/* body */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 100px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    height: 100%;
    margin-top: 0;
}

.container1 {
    display: grid;
    height: 100vh;
    place-items: center;
    margin: 0;
    width: auto;
    top:0;
    bottom:0;
    padding-top: 5%;
    align-self: center;
    flex-direction: column;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 300px;
    height: 350px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.circulo{
    width: 200px; 
    height: 200px;
    border-radius: 50%; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: auto;
    align-items: center;
    background-color: #fff; 
}

.card-img1 {
    width: 60%;
    height: auto; 
    object-fit: contain;
}

.card-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.card-text-tit {
    font-family: "Dongle", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #333;
    font-size: 1.5em;
}

.card-text-parrafito {
    font-family: "Gayathri", system-ui;
    font-weight: 700;
    font-style: normal;
    color: #333;
    font-size: 1em;
}
.titPag{
    display: grid;
    place-items: center;
    padding: 20px;
    margin-bottom: 0px;
    font-family: "Dongle", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;

}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .container1 {
        padding-top: 25%;
    }
    .titPag{
        padding-top: 30px;
        padding-bottom: 30px;
    }

}
@media (min-width: 768px) {
    .titPag{
        height: 30%;
    }

}

