.bloques{
    width: 100%;
    height: 100%;
}


#portada-talleres-tecnicos{
    width: 100%;
    display: flex;
    flex-direction: row;
    
    overflow: hidden;
}

#contenido-portada-talleres{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

#contenido-portada-talleres h1, #contenido-portada-talleres h2{
    margin-bottom: 2rem;
    width: 80%;
    color: var(--color-text-dark);
}

#contenido-portada-talleres p{
    width: 80%;
    color: var(--color-text-dark);
}

#contenido-portada-talleres .botones-portada{
    width: 90%;
    height: 75px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#contenido-portada-talleres .botones-portada button{
    width: 48%;
    height: 80%;
    color: var(--color-primary-blue);
    background-color: var(--color-white);
    border: 5px solid var(--color-primary-blue);
    border-radius: 25px;
    cursor: pointer;
}

#imgs-portada{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#img-principal{
    width: 100%;
    object-fit: cover;
    object-position: top;
}



@media screen and (max-width: 800px) {
    #portada-talleres-tecnicos{
        flex-direction: column-reverse;
        height: 100%;
        position: relative;
    }

    #contenido-portada-talleres{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--color-overlay-dark);
        z-index: 1;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    #imgs-portada{
        width: 100%;
        height: 100%;
    }

    #img-principal {
        height: 100%;
    }

    #contenido-portada-talleres h1, #contenido-portada-talleres h2{
        color: var(--color-white);
    }

    #contenido-portada-talleres p{
        color: var(--color-white);
    }

    #contenido-portada-talleres .botones-portada button{
        background: var(--color-primary-blue);
        color: var(--color-white);
    }
}

