*{
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    background-color: var(--principal);
    color: white;
}
/* navbar pc*/
.logo{
    width: 250px;
    height: auto;
}
.pc{
    background-color: var(--secundario);
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.pc ul{
    list-style: none;
}
.pc a{
    text-decoration: none;
    color: var(--blanco);
}
.pc li{
    position: relative;
}
.nav-list a{
    font-family: rubik;
    padding: 5px 7px;
    border-radius: 15px;
    transition: all 0.3s ease;
}
.nav-list a:hover{
    color: var(--azul-primario);
    background-color: var(--cartas);
    text-shadow: 0px 0px 10px rgb(21 101 192 / .4);
}

.nav-list{
    display: flex;
    gap: 10px;
    padding-right: 20px;
}

.navegacion{
    display: flex;
    align-items: center;
}
.arrow-nav{
    transition: all 0.3s ease;
}
.nav-list a:hover .arrow-nav{
    transform: rotate(180deg);
}
.nav-list-sub{
    position: absolute;
    top: 125%;
    left: 0;
    background-color: var(--secundario);
    padding: 5px 10px;
    border-radius: 10px;
    width: 300px;
    z-index: 0;
    transition: transform 0.3s ease;
    display: none;
}
.nav-list-sub li{
    margin: 10px 0;
}

.nav-list li:hover .nav-list-sub{
    display: block;
}

.nav-especial{
    width: 170px;
}

.user-icon{
    font-size: 14px;
    transform: translateY(-3px);
    transform: translateX(3px);
    transition: all 0.3s ease;
}
.nav-list-sub a:hover .user-icon{
    transform: translateX(-2px);
}

.gear-nav{
    font-size: 14px;
    transform: translateY(-3px);
    transform: translateX(4px);
    transition: all 0.3s ease;
}

.nav-list-sub a:hover .gear-nav{
    transform: translateX(-2px);
}
/*footer*/
footer{
    background-color: var(--secundario);
    margin-top: 50px;
}
.footer-title{
    font-family: roboto;
    font-weight: 700;
    font-size: 18px;
}
.footer-title::after{
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--azul-primario);
    margin: 8px 0;
    border-radius: 15px;
}
.footer-list li{
    margin: 8px 0;
}
.footer-list{
    list-style: none;
    padding: 20px;
    margin: 20px;
}
.footer-list a,li{
    text-decoration: none;
    color: var(--blanco);
    transition: all 0.3s ease;
    font-family: nova;
}
.footer-list a:hover{
    color: #ffffff5d;
}
.redes{
    background-color: var(--cartas);
    border-radius: 100px;
    padding: 8px;
    font-size: 18px;
}
.contenedor-footer-1{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
}
.redes-cont{
    display: flex;
    gap: 10px;
    padding-top: 10px;
}
.separador-footer{
    border: .5px solid rgb(255 255 255 / .4);
    margin: 0 100px;
    border-radius: 20px;
}
.contenedor-footer-2{
    text-align: center;
    padding: 10px 0;
    font-family: roboto;
    font-size: 17px;
    padding: 40px;
}
/*general*/
.titulo{
    text-align: center;
    padding: 90px 0;
    font-family: nova;
    font-size: 2vw;
}

.scrollbtn {
    padding: 15px 14px;
    border-radius: 100px;
    font-size: 20px;
    text-align: center;
    border: none;
    background-color: var(--azul-oscuro);
    color: white;
    position: fixed;
    bottom: 3%;
    right: 3%;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}
.whassap{
    position: fixed;
    bottom: 3%;
    left: 3%;
    text-align: center;
    font-size: 30px;
    padding: 8px 7px;
    border-radius: 100px;
    background-color: #25D366;
    color: white;
    border: none;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    transition: all .3s ease;
}
.whassap:hover{
    background-color: #25d365b6;
}
.scrollbtn:hover{
    background-color: var(--azul-primario);
}
/* menu mobil*/
.nav{
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--secundario);
    --img1:scale(1);
    --img2:scale(0);
}
.nav:has( .dropdown:target){
    --img1:scale(0);
    --img2:scale(1);
    --clip:clip-path:inset(0 0 0 0);
}
.nav-container-m{
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas: "title img";
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.logo{
    grid-area: title;
}
.nav__menu{
    grid-area: img;
    margin-right: 20px;
    position: relative;
    z-index: 10;
    transform: var(--img1);
}
.nav__menu--second{
    transform: var(--img2);
}
.nav__icon{
    width: 40px;
    display: block;
}
.dropdown{
    position: absolute;
    background-color:var(--secundario);
    width: 50%;
    right: 0;
    min-width: 300px;
    top: 0;
    bottom: 0;
    height: 100vh;
    padding: 1em;
    display: grid;
    align-content: center;
    gap: 1rem;
    overflow-y: auto;
    clip-path: var(--clip, inset(0 0 0 100%)) ;
    transition: .5s all ease;
}
.dropdown__list{
    list-style: none;
}
.dropdown__link{
    color: white;
    padding: 1em .7em;
    text-decoration: none;
    font-family: roboto;
    display: flex;
    align-items: center;
    gap: .6rem;
    position: relative;

}
.dropdown__list:has( :checked){
    --rows: 1fr;
    --rotate: rotate(180deg);
}
.dropdown__icon{
    font-size: 20px;
}
.dropdown__span{
    font-size: 20px;
}
.dropdown__check{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.dropdown__arrow{
    margin-left: auto;
    transform: .2s transform ease;
    transform: var(--rotate,0);
}
.dropdown__content{
    display: grid;
    grid-template-rows: var(--rows, 0fr);
    transition: .3s grid-template-rows ease;
}
.dropdown__sub{
    overflow: hidden;
}
.dropdown__li{
    width: 85%;
    list-style: none;
    margin-left: auto;
}
.dropdown__anchor{
    padding: 1em 0;
    display: block;
    color: white;
    text-decoration: none;
    font-family: roboto;
}