@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;1,500&family=Roboto:wght@300;400;500;700&display=swap');


body,
html {
    font-family: 'Nunito', sans-serif;
    /* Apply Nunito here */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto', sans-serif;
    /* Apply Roboto to headings */
}


.logo img,
.footer-logo img {
    max-width: 100%;
}
/* ----------------- ESTILOS DEL NAV -----------------------------*/
nav {
    background-color: #413c58;
    text-align: center;
    color: #a3c4bc;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
nav img {
    margin-left: 50px;
    height: 70px;
}
nav ul {
    list-style: none;
    padding: 30px;
    margin: 0;

}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ededed;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out, border-bottom 0.2s ease; 
}
nav ul li a:hover {
    color: #E7EFC5;
    border-bottom: #b69823 3px solid;
}

/* -----------------HEROOO -----------------------------*/
#hero {
    position: relative;
    text-align: center;
    max-height: 90vh;
    overflow: hidden;

}


#hero h1 {
    text-transform: uppercase;
    font-size: 3.5rem;
}

#hero .fondo {
    width: 100%;
    height: auto;
    max-height: 100vh;
}


.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ffffff;
}
#logos{
    width: 120px;
}

/* -------------------Contador---------------------------*/
#stats {
    text-align: center;
    padding: 30px 0;
    background-color: #eaffe1;
    
}
#stats h2{
    font-size: 2rem;
}
.stat {
    display: inline-block;
    margin: 20px 45px;
}

.number {
    font-size: 60px;
    font-weight: bold;
}

.description {
    font-size: 20px;
    color: #413c58;
}

/* ----------------------Quienes somos------------------------*/
#projects {
    display: flex;
    justify-content: center;
    background-color: #413c58;
}

#projects article {
    width: 50%;
}

.container-projects{
    padding-left: 10rem;
    padding-right: 10rem;
}

#projects h2 {
    color: #BFD7B5;
    font-size: 2rem;
    padding-top: 20px;
    text-align: left;
}

#projects p {
    color: #a3c4bc;
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.5;
}
#projects li {
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.5;
    padding-bottom: 10px;
}
#projects i{
    padding-right: 10px;
}

#projects ul {
    color: #a3c4bc;
    text-align: center;
    list-style: none;
    line-height: 1.7;
    padding: 0px;
    padding-bottom: 40px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* -----------------------About sectores-----------------------*/
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #a3c4bc;
}

#about h2 {
    color: #413c58;
    padding: 20px;
    font-size: 2rem;
}

#about ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    padding: 0px;
    flex-wrap: wrap;
    padding: 10px 20px;
    margin-bottom: 40px;

}

#about li {
    width: 20rem;
    margin: 8px;
    padding: 20px;
    margin-bottom: 5px;
    height: 14rem;
    flex-grow: 2;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-blend-mode: overlay;
    border-radius: 10px;
    text-align: center;

}

.learning {
    background-image: url('/files/5.png');
}

.empresa {
    background-image: url('/files/4.png');

}

.personal {
    background-image: url('/files/7.png');
}

.blockchain {
    background-image: url('/files/8.png');
}

.inversion {
    background-image: url('/files/6.png');

}

.overlay {
    background-color: rgba(73, 73, 73, 0.35);

}

#about li:hover {
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 1.6rem;
    color: #1b1b1b;
    transition: font-size .3s ease-in-out, background-color .3s ease-in-out, backdrop-filter .3s ease-in-out;

}


/* -----------------------Clientes-----------------------*/

#cta {
    color: #a3c4bc;
    background-color: #413c58;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}


#cta h2 {
    margin: 0rem;
    padding: 3rem;
    font-size: 2rem;
}

#cta h3 {
    font-size: 1.3rem;
    width: 52%;
    line-height: 1.4;
    text-align: justify;
}

#cta div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-bottom: 3rem;
}

#cta div>button {
    height: 4rem;
    width: 18rem;
}

#cta div>button {
    margin: 30px;
    font-family: nunito;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: .5rem;
    border: none;
    color: #5cd3b5;
    background-color:#413c58;
    border: #5cd3b5 4px solid;
    box-shadow: 0 0 5px #618c81, 0 0 15px #62998b;
    transition: color .4s, background-color .5s, box-shadow .4s, border .4s; /* Incluye todas las propiedades en la transición */    /* Transition for color and box-shadow */
}

#cta a{
    color: #5cd3b5;
    text-decoration: none;
}
#cta a:hover{
    color: #312d45;
}

#cta div>button:hover {
    background-color: #5cd3b5; 
    color: #312d45;
    box-shadow: 0 0 5px #a3c4bc,
        0 0 5px #80a49b, 0 0 30px #7a9c93,
        0 0 50px #418776, 0 0 100px #497a6e;
}

/* --------------------FOOTER--------------------------*/
footer {
    background-color: rgb(196, 255, 241);
    color: #413c58;
    padding: 50px 0;
    text-align: center;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centra el contenedor */
    padding: 0 20px; /* Espaciado interior */
}

.logo-container img{
    height: 70px;
}

.info-container {
    text-align: left; /* Alinea el texto a la derecha */
    display: flex;
    flex-direction: column; /* Organiza los elementos en una columna */
}
footer a{
    color: #413c58;
    
    text-decoration: none;
}
footer a:hover{
    color: #1b152f;
    text-decoration: underline;
}



/* -------------Estilos por defecto para tABLETAS GRANDES O PC PEQUENA--------------- */
@media only screen and (max-width: 1200px) {
    #projects {
        flex-direction: column;
    }
    #projects article {
        width: 100%;
    }
    #projects article:nth-child(2) {
        height: 400px;
    }
    #hero h1 {
        font-size: clamp(1.5rem, 4vw, 4rem);
    }
}

@media only screen and (max-width: 800px) {
    .container-projects{
        width: 80%;
        padding: 0 10% ;
        
    }
    #about li {
        height: 8rem;
    }
    #about h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    #projects article:nth-child(2) {
        height: 100%;
    }
    .footer-container{
        flex-direction: column;
    }
    #stats div{
        margin: 0px 20px;
    }
    #stats h2{
        margin: 0px 20px;
    }
    #hero h1 {
        font-size: clamp(1.5rem, 5vw, 4rem);
    }
    .hero-text {
        width: 90%;
    }
    #cta h3{
        width: 80%;
    }
    nav{
        display: flex;
        flex-direction: column;
    }
    nav img{
        margin: 0;
        margin-bottom: 10px;
    }
    nav ul {
        display: none;
    }
    .logo{
        margin-top: 25px;
    }
    #projects p {
        font-size: 1.2rem;
        text-align: left;
        line-height: 1.5;
    }
    #about h2 {
        margin-bottom: 0px;
        padding-bottom: 0;
    }
    #projects li {
        font-size: 1.2rem;
        text-align: left;
        line-height: 1.5;
    }
    .overlay{
        background-color: #05051875;
    }
    #cta h2{
        font-size: 1.6rem;
        padding-bottom: 10px;
        text-align: left;
    }
    #cta h3{
        
        font-size: 1.2rem;
        font-weight: 400;
        text-align: left;
    }
    #cta div{
        padding-bottom: 20px;
    }
    #stats img{
        display: none;
    }
}