body{
    background-color: rgb(166, 25, 46);
}

.section{
    padding-bottom: 70px;
}

.portada{
    width: 100%;
    height: 300px;
    position: relative;
    display: inline-block;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.portada{
    width: 100%;
    height: 300px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.portada:not(:first-child){
    margin: 50px 0;
}

.portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:brightness(50%);
    object-position: center 45%;
}

.portada h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 80px;
    width: 90%;
}

@media(max-width:1400px){
    .portada h1{
        font-size: 60px;
    }
}

@media(max-width:950px){
    .section{
        width: 100%;
        border-radius: 0 0 25px 25px;
    }
}

@media(max-width:760px){
    .section{
        width: 100%;
        border-radius: 0;
        margin-top: 207px !important;
    }

    .portada:not(:first-child) {
        margin: 0;
        height: 200px;
    }

    .portada h1{
        font-size: 40px;
    }
    
}

@media(max-width:400px){
    .portada h1{
        font-size: 30px;
    }
}