@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root{
    --fondo-color: #23394e;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
.inactive{
    display: flex;
}
header nav ul{
    display: flex;
    flex-direction: column;
    gap: 15px;

    display: flex;
    position: absolute;
    margin-top: 6px;
    justify-content: start;
}
header nav ul li{
    list-style: none;
    font-weight: 700;
    position: relative;
    width: 100%;
}
.mobile-only a{
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    transition: color .2s ease-in-out;
    text-align: start;
}
.mobile-menu ul li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: right center;
}  
.mobile-menu ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition-duration: 0.4s;
}
main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* HAMBURGER MENU */
.hamburger-btn{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom{
    position: absolute;
    width: 20px;
    height: 2px;
    top: 0;
    left: 0;
    background: #fff;
    /* transition: all 0.5s; */
}
.hamburger-top, .hamburger-bottom{
    background: #fff;
}
.hamburger-middle{
    transform: translateY(6px);
}
.hamburger-bottom{
    transform: translateY(12px);
}
.rotate-first{
    transform: rotate(45deg) translateY(6px) translateX(6px);
}
.rotate-second{
    display: none;
}
.rotate-third{
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}
.stop-scrolling{
    overflow: hidden;
}
.overlay-show{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 3;
}
.mobile-menu{
    position: fixed;
    top: 0;
    right: 0;
    width: 220px;
    height: 100%;
    z-index: 4;
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19,1,0.22,1);
}
.remove-menu{
    transform: translateX(100%);
}
.open{
    transform: rotate(90deg);
}

.show-menu{
    transform: translateX(0);
}
.change-color{
    background: #fff;
}

.home{
    display: flex;
    padding-top: 30px;
    align-items: center;
    flex-direction: column;
    /* background: #212226; */
    background-image:linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ), url('/img/fondo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
} 
.main-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.img-gestora{
    width: 70%;
    border-radius: 50%;
    border: 5px solid #ded698;
}
.title{
    font-size: 35px;
    color: #fff;
}
.text-typing{
    color: #fff;
    font-size: 25px;
    display: block;
    font-family: monospace;
    white-space: nowrap;
    border-right: 4px solid;
    width: 22ch;
    text-align: center;

    animation: typing 2.3s steps(17) infinite, blink .5s infinite step-end alternate;
    overflow: hidden;
}
.text__home{
    color: #aaa;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}
.scroll-arrow{
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    animation: animacionFlecha 3s infinite;
    cursor: pointer;
}

.white{
    background: #000;
}

/* Servicios */
.servicios{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    margin-top: 70px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    height: 100%;
    padding-bottom: 180px;
    background: rgb(239, 174, 9);
    border-radius: 10px;
    width: 80%;
   
}
.title-servicios{
    font-size: 28px;
    text-align: center;
}
.small-servicios{
    color: #555;
    font-weight: bold;
    font-size: 15px;
}
.currency-table__container{
    width: 90%;
    min-width: 230px;
    max-width: 300px;
    height: 250px;
    margin: 20px auto;
    text-align: start;
}
.currency-table__container table{
    width: 100%;
    height: 100%;
    border: 3px solid rgb(31, 58, 232);
   
}
.currency-table__container td{
    width: 50%;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3rem;
    border-bottom: 3px solid rgb(31, 58, 232);
    padding: 10px;
    font-weight: 600;
}
.currency-table__container table:last-child{
    border-bottom: none;
}

.currency-table__container .table__right{
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.7rem;
    color: #757575;
}
.currency-table__container .down{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 10px;
    background-image: url('../assets/icons/trending-down.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.currency-table__container .up{
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 10px;
    background-image: url('../assets/icons/trending-up.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Formacion */
.formacion{
    background: rgb(19, 191, 222);
    border-radius: 10px;
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin: 0 auto;
}
.formacion h2{
    font-size: 30px;
    text-align: center;
}
.formacion p{
   margin-top: 10px;
   font-weight: 600;
}
.imagenes-formacion{
    display: flex;
    gap: 10px;
    padding-top: 40px;
    justify-content: center;
}
.img-formacion{
    width: 30%;
}
/* Opiniones */
.opiniones{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    width: 100vw;
    height: 100%;
    position: relative;
    top: 50px;
}
.opiniones p{
    font-size: 18px;
    margin-right: 10px;
}
.title-opiniones{
    text-align: center;
}
.small-opiniones{
    color: #555;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
}
.resenas{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
    width: 100%;
}
.title-comprador{
    color: rgb(40, 38, 38);
}
.texto-resena{
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
}
h4{
    margin: 5px auto;
}
.second-card{
    margin-top: 20px;
    margin-left: 10px;
}
.contacto{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 100px;
}
.contacto p{
    margin-bottom: 20px;
    font-weight: 700;
}
.title-contacto{
    font-size: 26px;
}
.small-contacto{
    text-align: center;
    color: #555;
    font-size: 15px;
    font-weight: bold;
}
.contacto a img{
    width: 20%;
    margin-left: 40%;
}
.redes-sociales{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.div-redes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@keyframes animate{
    20%{}
}
@keyframes typing{
    from{
        width: 0;
    }
}
@keyframes blink{
    50%{
        border-color: transparent;
    }
}
@keyframes aumentar{
    0%{width: 0%;}
    100%{width: var(--w);}
}
.habilidades:active .progreso{
    animation: aumentar 5s ease;
}
@keyframes animacionFlecha{
    0%,
    20%,
    50%,
    80%,
    100%{
        /* opacity: 0; */
        transform: translateY(-30px);
    }
    40%{
        opacity: 1;
        transform: translateY(0);
    }
} 
@media (max-width:599px){
    .home{
        justify-content: center;
    }
}
@media (min-width: 600px){
    .img-gestora{
        width: 25%;
    }
    .title{
        font-size: 50px;
    }
    .text-typing{
        font-size: 30px;
    }
    .text__home{
        font-size: 20px;
        text-align: center;
        text-transform: uppercase;
        margin-left: 150px;
        margin-right: 150px;
    }
    .title-servicios{
        font-size: 35px;
    }
    .small-servicios{
        font-size: 18px;
    }
    .mobile-menu{
        width: 300px;
    }
    .first-card{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(600px,2fr));
       place-content: center;
       justify-content: center;
    }
    .resenas .second-card{
        width: 100%;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 1.3rem;
        padding: 10px;
        border-bottom: 2px solid #000;
        border-top: 2px solid #000;
        border-left: 2px solid #000;       
    }
    .first-card{
        width: 90%;
    }
    .right{
        width: 30px;
        border-right: 2px solid #000;
    }
    .right p{
        margin-right: 20px;
    }
    .title-opiniones{
        font-size: 40px;
    }
    .small-opiniones{
        font-size: 20px;
    }
    .title-contacto{
        font-size: 40px;
    }
    .small-contacto{
        font-size: 20px;
    }
    .redes-sociales{
        flex-direction: row;
        margin-top: 30px;
    }
}
@media (max-width: 340px){
    .servicios{
        height: 100vh;
        padding-bottom: 220px;
    }
}
@media (min-width:768px){
    .seccion-dividida{
        display: grid;
        grid-template-columns: repeat(2, 2fr);
    }
    .servicios{
    background: rgb(239, 174, 9);
    width: 80%;
    border-radius: 10px;
    position: relative;
    left: 0px;
    margin-top: 80px;
    height: 85%;
    padding-bottom: 170px;
    margin-right: 200px;
    }
    .formacion{
        width: 80%;
    border-radius: 10px;
    position: relative;
    margin-right: 400px;
    margin-top: 80px;
    height: 85%;
    }
    .formacion h2{
        font-size: 40px;
    }
    .formacion p{
        font-size: 20px;
    }
}
@media (min-width: 1065px){
    .formacion{
        left: 100px;
    }
    .servicios{
        left: 100px;
    }
}