* {
    padding: 0;
    margin: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Header styles */
header {
    background-color: white;
    width: 100%;
    height: 15vh;
}

header .logo {
    width: 20%;
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .navegacion {
    width: 80%;
    float: left;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    z-index: 1;

}

header .navegacion ul li {
    list-style: none;
    display: inline;
}

header .navegacion ul li a {
    text-decoration: none;
    color: white;
    background-color: #00adff;
    padding: 10px;
    padding-right: 30px;
    padding-left: 30px;
}

/* Main styles */
main {
    width: 100%;
    min-height: 100vh;
}

main .portada {
    width: 100%;
    height: 80vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(/recursos/Propuesta-Social-Media.png);
    background-position: center;
    background-size: 100%;
}

main .portada img {
    max-width: 80%;
    max-height: 90%;
    height: auto;
    object-fit: contain;
}

main .seccion-2 {
    width: 90%;
    margin: 5% auto 5% auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

main .seccion-2 .izquierda {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main .seccion-2 .izquierda img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

main .seccion-2 .derecha {
    flex: 1 1 320px;
    padding: 5% 0;
    min-width: 260px;
}

main .seccion-2 .derecha h2 {
    font-size: 2rem;
}

main .seccion-2 .derecha p {
    margin-top: 6%;
    font-size: 1.1rem;
    text-align: justify;
}

main .seccion-2 .derecha button {
    margin-top: 10%;
    padding: 2% 6%;
    font-size: 1.2rem;
    background-color: white;
    border-color: #00adff;
    color: #00adff;
    border-width: 3px;
    border-style: solid;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

main .seccion-2 .derecha button:hover {
    background-color: #00adff;
    color: white;
}

main .seccion-3 {
    width: 100%;
}

main .seccion-3 .content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    margin: 0;
    background-color: #b3e5fc;
    width: 100%;
}

.inner-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #e1f5fe;
    padding: 40px;
    border-radius: 4px;
    width: 80%;
    max-width: 1200px;
}

.inner-box h2 {
    color: #035c85;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 1100px) {
    main .seccion-2 {
        flex-direction: column;
        align-items: stretch;
    }
    main .seccion-2 .izquierda,
    main .seccion-2 .derecha {
        width: 100%;
        max-width: 100%;
    }
    .inner-box {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    header .logo,
    header .navegacion {
        width: 100%;
        justify-content: center;
    }
    header .navegacion ul {
        gap: 10px;
    }
    main .portada {
        height: 40vh;
        min-height: 180px;
    }
    main .seccion-2 {
        flex-direction: column;
        gap: 20px;
    }
    main .seccion-2 .izquierda img {
        max-width: 350px;
    }
    .inner-box {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 500px) {
    main .portada img,
    main .seccion-2 .izquierda img {
        max-width: 90vw;
    }
    main .seccion-2 .derecha h2 {
        font-size: 1.3rem;
    }
    main .seccion-2 .derecha button {
        font-size: 1rem;
    }
    .inner-box h2 {
        font-size: 1.1rem;
    }
}
