/*
* {
  outline: 1px solid red;
}
*/

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    background-color: #144A4A;
    color: white;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    font: bold 20px 'Calibri', sans-serif;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

nav a:hover {
    background-color: #555;
    border-radius: 5px;
}

.accesos {
    display: flex;
    gap: 15px;
    margin-right: 5px;
}

.accesos img {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.accesos img:hover{
    background-color: #555;
    border-radius: 5px;
}

/*Ajustar la barra de navegación para pantallas de menor tamaño*/
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    .logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    nav {
        flex-basis: 100%;
        justify-content: center;
        margin-left: 10px;
    }

    nav a {
        padding: 10px 5px;
        /* font-size: 14px; */
    }

    .accesos {
        flex-basis: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .accesos img {
        height: 35px;
    }
}

/*MAIN---------------------------------------------------------------*/

main {
    padding: 0px;
    background-color: #f4f4f4;
    min-height: 70vh;
    margin: 0 auto;
    width: 100%;
}

main h1 {
    text-align: center;
    margin-top: 0px;
    font-size: 28px;
}

.seccion {
    background-color: #fff;
    padding: 10px 30px 20px 30px;
    border-radius: 10px;
}

.texto {
    font-size: 16px;
    margin-bottom: 10px;
}

main input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

main input::placeholder{
    color: #999;
}

.nosotros {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.nosotros h1 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #004040;
    margin-bottom: 20px;
}

.nosotros p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 16px;
}

.imagen-nosotros {
    text-align: center;
    margin-top: 30px;
}

.imagen-nosotros img {
    max-width: 80%;
    border-radius: 8px;
}
