
#portadaContainer {
    width: 100%;
    height: 100%;
    position: relative;
}

#containerBotones {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.scrollBtn {
    pointer-events: auto;
    background: var(--color-rojo);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scrollBtn:hover {
    background: #ffffff;
    color: var(--color-rojo);
}

#scrollLeftBtn {
    margin-left: 50px;
}

#scrollRightBtn {
    margin-right: 50px;
}

#portadaCapaGradiente{
    position: absolute;
    display: grid;
    align-items: center;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, var(--color-rojo) 0%, #780345c4 40%, #ffffff00 100%);
    top: 50%;
    left: 0;
    z-index: 5;
        clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 4vw),
        95% calc(100% - 3.5vw),
        85% calc(100% - 2vw),
        65% calc(100% - 1vw),
        35% calc(100% - 1.5vw),
        15% calc(100% - 2.5vw),
        5% calc(100% - 3vw),
        0 calc(100% - 3vw)
    );
}

#portadaTextContainer{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 10px;
}

#portadaTextContainer > h1{
    color: #ffffff;
}

#portadaBtnContainer{
    display: flex;
    gap: 10px;
}

#portadaBtnContainer > button{
   width: 150px;
    height: 50px;
    background-color: #ffffff;
    color: var(--color-rojo);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

#portadaBtnContainer > button:hover{
    background-color: var(--color-rojo);
    color: #ffffff;
    border: 2px solid #ffffff;
}

#portadaScrollContainer{
    width: 100%;
    height: 100%;
    display: flex;
        clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 4vw),
        95% calc(100% - 3.5vw),
        85% calc(100% - 2vw),
        65% calc(100% - 1vw),
        35% calc(100% - 1.5vw),
        15% calc(100% - 2.5vw),
        5% calc(100% - 3vw),
        0 calc(100% - 3vw)
    );
}

#portadaScroll {
    height: 100%;
    width: 1000%;
    display: flex;
    gap: 20px;
    padding-inline: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    align-items: center;
}

/* cada imagen es un slide */

#imgScroll1{
    object-position: bottom;
}

#imgScroll2{
    object-position: bottom;
}

#imgScroll3{
    object-position: top;
}

#imgScroll4{
    object-position: top;
}

#imgScroll5{
    object-position: bottom;
}



#portadaScroll > img {
    height: 95%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

