/* REPSOL SECTION */
section.repsol.pin-container {
    position: relative;
    overflow: hidden;
}

section.repsol .pin {
    padding-bottom: 150px;
}

section.repsol .pin .window-peek {
    padding: 0px 0px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

section.repsol .pin .window-peek .background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.repsol .pin .window-peek .main-text {
    padding-left: 14px;
    padding-top: 43px;
    max-width: calc(100% - 14px);
    overflow: hidden;
    position: relative;
}

section.repsol .pin .window-peek .main-text h3 {
    font-size: 10.66vw;
    color: #fff;
    font-family: 'Mont Black Italic', sans-serif;
    text-transform: uppercase;
    line-height: 10.66vw;
}

section.repsol .pin .window-peek .main-text h2 {
    font-size: 10.66vw;
    padding-top: 0;
    color: #fff;
    font-family: 'Mont Black Italic', sans-serif;
    text-transform: uppercase;
    margin: 0;
}

section.repsol .pin .window-peek .phone-wrapper {
    margin: 0 50px;
    max-width: 100%;
    position: relative;
    bottom: -150px;
    z-index: 3;
}

section.repsol .pin .window-peek .phone-wrapper img {
    width: 100%;
    object-fit: contain;
}

section.repsol .pin .window-peek .phone-wrapper .cutout {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 40%);
    width: calc(100% - 35px);
}

section.repsol .pin .window-peek .phone-wrapper .cutout img {
    transform: scale(1.3);
}


section.repsol .pin .window-peek .repsol-logo-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    width: 70%;
    max-width: 600px;
    overflow: hidden;
}

section.repsol .pin .window-peek .repsol-logo-wrapper .repsol-logo {
    transform: translate(100%, 100%);
    opacity: 0;
    transition: opacity 800ms ease, transform 600ms ease;
    width: 100%;
}

section.repsol .pin .window-peek .repsol-logo.in {
    opacity: 1;
    transform: translate(0%, 0%);
}

/* END REPSOL SECTION */

div.bottom-text {
    padding: 30px 4% 40px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

div.bottom-text h3 {
    font-family: 'Mont Black Italic', sans-serif;
    font-size: 5.34vw;
    line-height: 5.34vw;
    margin-bottom: 15px;
}

div.bottom-text h2 {
    font-family: 'Mont Black Italic', sans-serif;
    font-size: 10.66vw;
    line-height: 10.66vw;
    color: #c30000;
    text-transform: uppercase;
    margin: 0;
}

div.bottom-text .button-area {
    align-items: start;
}

div.bottom-text .button-area svg.arrow {
    stroke: #242424;
    stroke-width: 8px;
}

div.bottom-text .button-area p a {
    color: #242424;
    cursor: pointer;
    text-decoration: auto;
}

@media screen and (min-width: 769px) {

    /* REPSOL SECTION DESKTOP */
    section.repsol.pin-container {
        overflow: visible;
    }

    section.repsol .pin {
        padding-bottom: 0;
    }

    section.repsol .pin .window-peek .main-text {
        padding-left: 5vw;
        padding-top: 120px;
    }

    section.repsol .pin .window-peek .main-text h2 {
        font-size: 100px;
    }

    section.repsol .pin .window-peek .main-text h3 {
        font-size: 60px;
        line-height: 60px;
    }

    section.repsol .pin .window-peek .phone-wrapper {
        width: 30vw;
        max-width: 370px;
        padding-left: 0;
        bottom: -350px;
        margin: 0 5vw;
    }

    section.repsol .pin .window-peek .phone-wrapper .cutout {
        width: calc(100% - 4vw);
    }

    section.repsol .pin .window-peek .repsol-logo-wrapper {
        top: unset;
        bottom: 0;
    }

    /* END REPSOL SECTION DESKTOP */
    div.bottom-text {
        width: 50%;
        margin-left: auto;
        padding: 80px 9.8% 80px 0;
    }

    div.bottom-text h3 {
        font-family: 'Mont Black Italic', sans-serif;
        font-size: 30px;
        line-height: 30px;
    }

    div.bottom-text h2 {
        font-family: 'Mont Black Italic', sans-serif;
        font-size: 60px;
        line-height: 60px;
    }
}