section.videos {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 0;
    background-color: #827568;
}

section.videos .titulo {
    width: 25vw;
    height: auto;
}

section.videos .top {
    height: 14vh;
    padding: 0 80px 80px 80px
}

section.videos .bottom {
    width: 100%;
    flex: 1;
    overflow: hidden;
    position: relative;
}

section.videos .bottom .videos {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: 0 80px;
    transition: left 300ms;
}

section.videos .video {
    position: absolute;
    top: 0;
    bottom: 0;
    display: inline-flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-right: 80px;
}

section.videos .video .description {
    font-family: Avenir, sans-serif;
    font-size: 20px;
    margin-top: 20px;
    color: white;
    position: absolute;
    bottom: 0;
    padding: 20px 0 0 0;
    width: 100%;
    background: #827568;
}

section.videos .top {
    display: flex;
    justify-content: space-between;
}

section.videos .nav {
    display: flex;
    align-items: flex-end;
    margin-bottom: 80px;
}

section.videos .nav > div {
    width: 80px;
    height: 80px;
    margin-left: 60px;
    cursor: pointer;
    transition: background 300ms;
    background: url(../img/main/flecha-circular-derecha.svg) no-repeat center/contain;
}

section.videos .nav > div:hover {
    background-image: url(../img/main/flecha-circular-derecha-hover.svg);
}

section.videos .nav .anterior {
    transform: rotate(180deg);
}

section.videos .video .boto-reproducir {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 300ms;
    background: url(../img/videos/boto-reproduccio-inner.svg) no-repeat center/100px;
}

section.videos .video:hover .boto-reproducir {
    background: url(../img/videos/boto-reproduccio-inner.svg) no-repeat center/200px;
}

section.videos .video .boto-reproducir-inner {
    background: url(../img/videos/boto-reproducir-outer.svg) no-repeat center/contain;
    width: 160px;
    height: 160px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: invert(1);
    transition: 300ms;
    animation-name: play-button-rotate;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes play-button-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) }
    100% { transform: translate(-50%, -50%) rotate(360deg) }
}

section.videos .video:hover .boto-reproducir-inner {
    filter: invert(0);
}

@media(max-width: 1300px) {
    section.videos .top {
        height: 160px;
    }
}

@media(max-width: 991px) {
    section.videos {
        width: 200vw;
        padding: 0;
    }

    section.videos .top {
        padding: 80px 25px 25px 25px;
    }

    section.videos .titulo {
        width: 50vw;
    }

    section.videos .bottom .videos {
        margin: 0 25px;
    }

    section.videos .video .description {
        font-size: 15px;
    }
}