/* Slider dimensions */
.ct_slider {
    position: relative;
    height: calc(100vh - 79px);
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 650px;
}

/* Apply gradient on videos and under text */
.ct_slider .background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/gradient.svg"); /* gradient from https://climatetrade.webflow.io/ */
    background-size: cover;
    z-index: 2;
}

/* Wrapper for slide content */
.ct_slider .slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    z-index: 3;
}

/* Slide content */
.ct_slider .slide-wrapper .slide-content {
    max-width: 1440px;
    padding-top: 5vh;
    margin: 0 auto;
    text-align: center;
}

.ct_slider .slide-wrapper .slide-content h2 {
    width: 80%;
    z-index: 11;
    margin: 10px auto 50px auto;
    font-size: 38px;
    font-weight: 800;
    line-height: 1em;
    letter-spacing: -2px;
    font-family: Inter;
}

.ct_slider .slide-wrapper .slide-content p {
    width: 70%;
    margin-right: auto;
    margin-bottom: 1vh;
    margin-left: auto;
    font-family: Inter, sans-serif;
    color: #e2e1e1;
    font-size: 18px;
    line-height: 26px;
    font-weight: 300;
}

.ct_slider .slide-wrapper .slide-content p .impact-text {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 2px solid #75ffb8;
    color: #75ffb8;
    line-height: 20px;
}

/* Slide content */
@media screen and (min-width: 767px) {
    .ct_slider .slide-wrapper .slide-content {
        padding-top: 10vh;
    }
    
    .ct_slider .slide-wrapper .slide-content h2 {
        margin: 35px auto 40px auto;
        font-size: 64px;
        letter-spacing: -5px;
    }
    
    .ct_slider .slide-wrapper .slide-content p {
        font-size: 22px;
        line-height: 32px;
    }
}
@media screen and (min-width: 1023px) {    
    .ct_slider .slide-wrapper .slide-content {
        padding-top: 12vh;
    }

    .ct_slider .slide-wrapper .slide-content h2 {
        font-size: 60px;
    }
    
    .ct_slider .slide-wrapper .slide-content p {
        font-size: 26px;
        line-height: 36px;
    }
}

@media screen and (min-width: 1441px) {
    .ct_slider .slide-wrapper .slide-content h2 {
        font-size: 80px;
    }
    
    .ct_slider .slide-wrapper .slide-content p {
        font-size: 28px;
    }
}

/* Slider button */
.ct_slider .circle-button-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 65px 0;
}

.button-act-now {
    z-index: 3;
    min-width: 160px;
    margin-top: 0px;
    padding: 12px 40px;
    border-radius: 64px;
    background-color: #fff;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
    font-family: Inter, sans-serif;
    color: #1f1f1f;
    font-size: 17px;
    font-weight: 500;
}

.button-act-now:hover {
    background-color: #3e64f3;
    color: #fff;
}

/* Slider button */
@media screen and (min-width: 767px) {
    .button-act-now {
        min-width: 180px;
        font-size: 18px;
        padding: 16px 50px;
    }

    .ct_slider .circle-button-container {
        padding: 75px 0;
    }
}

@media screen and (min-width: 1441px) {
    .ct_slider .circle-button-container {
        padding: 80px 0;
    }
    
    .button-act-now {
        font-size: 20px;
    }
}

/* Circle animation in the button */
.ct_slider .circle-animation {
    position: absolute;
    width: 150px;
    height: 150px;
}

.ct_slider .circle-animation.animate::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    animation: expandAnimation 1.8s;
}

@keyframes expandAnimation {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}
/* Circle animation in the button */
@media screen and (min-width: 767px) {
    .ct_slider .circle-animation {
        width: 200px;
        height: 200px;
    }
}

/* Video slider dimensions */
.ct_slider video#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}