#main {
/*    background-image: url(../img/fondoculturaagua.webp);*/
    background: 
        linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), /* Degradado negro en la parte inferior */
        url('../img/fondoculturaagua.webp') top/cover no-repeat; /* Imagen de fondo */
}

.texto-vertical {
    transform: rotate(-90deg);
    text-align: center;
}

.divflex{
    margin-left: -3rem;
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    padding-top: 5rem;
    height: calc(100vh - 450px);
}
.flextitle{
    width: 23%;
}
.flextext{
    width: 62%;
}
.flextext p{
    margin-bottom: -3.2rem!important;
}
.azul{
    color: #0166a8!important;
}
.titlewhite{
    text-align: center;
    margin-bottom:0px;
    text-shadow: none;
}
.moodmovil{
    display: none;
}
#logocab{
    margin-bottom: 0;
    margin-top: 0px;
    width: 170px;
}
.divflexmenu{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.divflexmenusos{
    justify-content: center;
    width: 66%;
}
.divflexmenulogo{
    justify-content: right;
    width: 34%;
}
#socialtop{
    list-style: none;
    margin: 0;
    padding: 0;
}
#socialtop li {
    display: inline-block;
}
#socialtop a img {
    width: 25px;
    margin-left: 5px;
}
@media only screen and (max-width: 1300px) {
    .flextitle {
        width: 25%;
    }
    .flextext {
        width: 61%;
    }
}
@media only screen and (max-width: 1250px) {
    .flextext {
        width: 64%;
    }
    .flextitle {
        width: 26%;
    }
}
@media only screen and (max-width: 1050px) {
    #logocab{
        width: 160px;
    }
    .divflex{
        padding-top: 5.5rem;
    }
    .flextext p {
        margin-bottom: -2.5rem !important;
    }
}
@media only screen and (max-width: 991px) {
    .divflex {
        padding-top: 4rem;
    }
    .flextext {
        width: 70%;
    }
}
@media only screen and (max-width: 951px) {
    .flextitle {
        width: 29%;
    }
}
@media only screen and (max-width: 851px) {
    .divflex {
        padding-top: 2rem;
    }
    #socialtop a img{
        width: 20px;
        margin-left: 4px;
    }
    #logocab {
        width: 145px;
    }
    .divflex {
        margin-left: -1rem;
    }
}
@media only screen and (max-width: 774px) {
    .divflex{
        padding-top: 0.5rem;
        margin-left: 0rem;
    }
    #logocab {
        width: 130px;
    }
}
@media only screen and (max-width: 770px) {
    .mooddesktop{
        display: none;
    }
    .moodmovil{
        display: inherit;
    }
    .azul{
        text-shadow: 1px 2px 3px #ffffff;
        text-align: left !important;
    }
    .flextext {
        width: 100%;
    }
    .flextitle {
        width: 100%;
    }
    .texto-vertical {
        transform: none;
        text-align: justify;
        margin-bottom: 1rem;
    }
    .flextext p {
        margin-bottom: 0rem !important;
        padding-left: 7px;
    }
}