.portada{
    width: 100%;
    height: 500px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden ;
    padding-top: 100px;
}
.titles{
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 100;
    color: #fff;
    left: 50%;
    transform: translate(-50%);
    max-width: 900px;
    top: 35%;
}
.title{
    font-size: 1em;
    width: 100%;
    margin:0;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}
.intro{
    text-align: center;
    font-size: 0.9em;
    text-shadow: 0px 2px 5px rgba(0,0,0,1);
    margin: 0;
    margin-bottom: 20px;
    max-height: 180px;
    overflow-y: auto;
}
.cta{
    color: #fff;
    background-color: var(--mainColor);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.cta:hover{
    background-color: var(--mainColorLight);
}
.main_gallery {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-color: rgb(34, 34, 34);
}
  
.main_gallery img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.6);
}
  
.main_gallery img.active {
    opacity: 1;
    z-index: 1;
}
@media only screen and (min-width: 375px) {
    .titles{
        padding: 20px;
        top: 25%;
    }
    .title{
        font-size: 1.7em;
    }
    .intro{
        font-size: 1.15em;
        line-height: 1.3em;
    }
}
@media only screen and (min-width: 600px) {
    .portada{
        height: 700px;
    }
    .titles{
        top: 37%;
    }
    .title{
        font-size: 2.6em;
        margin-bottom: 40px;
    }
    .intro{
        font-size: 1.2em;
        line-height: 1.4em;
        margin-bottom: 40px;
    }
    .cta{
        padding: 15px 35px;
        font-size: 1.3em;
    }
}