@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: blue;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.activo {
    color: blue;
    border-bottom: 3px solid blue;
}

.idiomas {
    width: 30%; 
    height: 70vh; 
    margin-top: 140px;
    margin-left: 5%; 
    background-color: #1f1f1f; 
    padding: 2rem; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
    border: solid 2px blue;
}

.idiomas:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px blue;
}

.idiomas h1 {
    text-align: center;
    font-size: 2.3rem;
    color: blue;
    margin-bottom: 50px;
}

.idiomas li {
    list-style: none;
    margin-bottom: 1.5rem;
}

.idiomas h3 {
    font-size: 1.8rem;
}

.bar {
    display: block;
    width: 100%; 
    height: 10px;
    background: white;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: blue;
}

.espanol { width: 100%; } 
.ingles { width: 58%; } 
.portugues { width: 70%; } 
.japones { width: 30%; }

.tecnicas {
    width: 55%; 
    height: 38vh;
    margin-top: -445px;
    margin-left: 40%; 
    margin-right: 5%; 
    background-color: #1f1f1f; 
    padding: 2rem;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border: solid 2px blue;
}

.fila {
    display: flex;
    justify-content: space-between;
    gap: 2rem; 
}

.contenedorHerramienta {
    margin-top: -10px;
    text-align: center;
    flex: 1; 
    background-color: black;
    height: 100px;
    border-radius: 10%;
    display: flex;
    justify-content: center; 
    align-items: center; 
    
}

.contenedorInterno {
    margin-top: -5px;
    background-color: #1f1f1f;
    height: 75px;
    width: 90px;
    border-radius: 10%;
    border: solid 1px white;
}

.contenedorHerramienta img {
    width: 50px;
    height: 50px;
}
  
.nombreHerramienta {
    color: white;
    margin-top: 0.1rem;
}
  
.tecnicas:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px blue;
}
  

.personal {
    width: 55%; 
    height: 27.5vh;
    margin-top: 28px;
    margin-left: 40%; 
    margin-right: 5%; 
    background-color: #1f1f1f; 
    padding: 2rem;
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
    border: solid 2px blue;
    display: flexbox;
}

.personal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px blue;
}

.personal h1 {
    text-align: center;
    margin-bottom: 10px;
    color: blue;
}

.personal h3 {
    text-align: justify;
}


@media (max-width: 1024px) {
    header {
        padding: 1rem 5%; 
    }

    nav a {
        font-size: 1.6rem;
        margin-left: 2rem; 
    }

    .idiomas, .tecnicas, .personal {
        width: 80%; 
        margin: 5rem auto; 
        height: auto; 
    }

    .tecnicas ul {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .idiomas, .tecnicas, .personal {
        width: 70%; 
        margin: 15rem auto;
    }
}


@media (max-width: 838px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 1rem 5%;
        background-color: #09153f;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        font-size: 1.4rem;
        margin-left: 1rem;
    }

    .idiomas, .tecnicas, .personal {
        width: 90%; 
        margin-left: auto;
        margin-right: auto;
        margin-top: 15rem; 
        height: auto; 
    }

    .tecnicas ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem; 
    }

    nav a {
        font-size: 1.2rem;
    }

    .idiomas h1, .tecnicas h1, .personal h1 {
        font-size: 2rem; 
    }

    .idiomas li, .tecnicas ul {
        font-size: 1.5rem;
    }

    .bar {
        height: 8px; 
    }
}

@media (max-width: 840px) and (max-height: 600px) {
    .tecnicas .fila {
        flex-direction: column; 
        gap: 1rem; 
    }

    .contenedorHerramienta {
        width: 100%;
        margin-top: 1rem; 
        background-color: transparent;
    }

    .contenedorInterno {
        width: 80%; 
    }

    .contenedorHerramienta img {
        width: 40px;
        height: 40px; 
    }
}

@media (max-width: 800px) {
    .fila {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 2rem;
    }

    .contenedorHerramienta {
        flex: 1 1 45%; 
        margin-top: 1rem;
        height: 115px;
    }
    
    .contenedorInterno {
        width: 85%; 
    }

    .contenedorHerramienta img {
        width: 50px;
        height: 47px;
    }

    .bar {
        height: 8px;
    }
}


