/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 160px; /* Ajusta este valor según la altura de tu menú */
}

/* Importar tipografías */
@import url('https://fonts.googleapis.com/css2?family=Onest&display=swap');

main {
    padding-top: 60px; /* Ajusta este valor según la altura real de tu menú */
}

body {
    font-family: 'Onest', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Texto en blanco */
    background: #0c151dff; /* Color de fondo */
}

/* Aplicamos la tipografía a todos los estilos */
h1, h2, h3, p, a {
    font-family: 'Onest', sans-serif;
}

header {
    background: #171f26ff; /* Color del menú */
    color: #fff;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.section {
    padding: 1rem 2rem;
    text-align: center;
    margin-bottom: 1rem; /* Reduce el espacio inferior */
}

.projects-container {
    width: 600px;
    border: 2px solid #09679f; /* Color y grosor del borde */
    border-radius: 10px; /* Radio de los bordes */
    padding: 20px; /* Espacio interno, ajusta según tus necesidades */
    margin: 20px auto; /* Centra el contenedor horizontalmente y añade espacio vertical */
    background-color: #171f26ff; /* Fondo blanco para el contenido */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para mayor profundidad */
}



.projects-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}



#projects h2 {
    text-align: center;
    margin-bottom: 1rem; /*Espacio entre el título y los proyectos*/
}

.lista-datos {
    text-align: left;
    gap: 1rem;
    list-style: none;
}

.titulo-datos {
    color: #09679f;
    font-weight: bold; /* Negrita para resaltar */
    margin-right: 5px; /* Espacio a la derecha */
}

.respuesta-datos {
    color: #ffffff; /* Color blanco */
    font-weight: normal; /* Peso de fuente normal */
}

footer {
    background: #171f26ff;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Estilos para dispositivos pequeños */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #171f26ff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .about-container {
        width: 90%;
    }
    .skills-container {
        width: 90%;
    }
    .about-container {
        width: 90%;
    }
    .projects-container {
        width: 90%;
    }
    .contact-container {
        width: 90%;
    }
}





/* Empiezan aquí los estilos de esta página */

img.mediana {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}