body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box;
}

.barra-opciones {
    background-color: #000000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barra-opciones ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}


.barra-opciones ul a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-right: 20px;
}

.barra-opciones ul :hover {
    color: #007bff;
}

.barra-opciones ul a li {
    padding: 10px 0;
}

.barra-opciones ul a:last-child {
    margin-right: 0;
}

.logo img {
    width: 250px;
    height: auto;
}

.barra-opciones .logo {
    display: flex;
    align-items: center;
}

.barra-opciones .logo .icon {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    border-radius: 50%;
    margin-right: 10px;
}

.barra-opciones .logo .text-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.barra-opciones .redes-sociales {
    display: flex;
    align-items: center;
}

.barra-opciones .redes-sociales a {
    margin-left: 15px;
}

.barra-opciones .redes-sociales a:first-child {
    margin-left: 0;
}

.barra-opciones .redes-sociales .icono-red-social {
    width: 30px;
    height: 30px;
}

.about {
    padding: 20px;
    text-align: center;
}

.about h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #007bff;
}

.contenedor-imagen {
    position: relative;
    width: 200px;
    /* Ajusta el tamaño inicial de la imagen */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contenedor-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.contenedor-imagen:hover img {
    transform: scale(1.1);
}

.contenedor-imagen .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.contenedor-imagen:hover .overlay {
    opacity: 1;
}

.about p {
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

footer {
    background-color: #0099ff;
    color: white;
    padding: 20px;
    text-align: center;
}

footer .redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .redes-sociales a {
    display: block;
}

footer .redes-sociales .icono-red-social-footer {
    width: 30px;
    height: 30px;
}

footer img {
    width: 30px;
    height: 30px;
}

/* Estilos para pantallas más pequeñas (móviles) */
@media (max-width: 768px) {
    .barra-opciones {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .barra-opciones ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .barra-opciones ul a {
        margin-right: 0;
        width: 100%;
    }

    .barra-opciones ul a li {
        border-bottom: 1px solid #555;
        padding: 10px;
    }

    .barra-opciones ul a:last-child li {
        border-bottom: none;
    }

    .barra-opciones .logo {
        margin-bottom: 10px;
    }

    .barra-opciones .redes-sociales {
        margin-top: 10px;
    }

    .about h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .contenedor-imagen {
        width: 150px;
        /* Reduce el tamaño de la imagen en móviles */
        height: 150px;
    }

    .about p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    footer {
        padding: 15px;
    }

    footer .redes-sociales {
        gap: 10px;
    }

    footer .redes-sociales .icono-red-social-footer {
        width: 25px;
        height: 25px;
    }
}

/* Estilos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .about h1 {
        font-size: 2.2em;
    }

    .contenedor-imagen {
        width: 180px;
        height: 180px;
    }

    .about p {
        font-size: 1em;
    }
}