.slider {
    width: 100%;
    max-width: 100%;
    height: 80vh;
    max-height: 768px;
    position: relative;
}

.sliders .overlay {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background-image: linear-gradient(to bottom, #000000B5, #00000001);
}

.slider .slide {
    height: 100%;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: none;
}

.slider .slide.active {
    display: block;
    animation: fadeIn 0.3s linear;
}

@keyframes fadeIn {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.sliders .content {
    font-family: MuseoSans;
    position: absolute;
    top: 50%;
    z-index: 8;
    color: var(--white-color);
    transform: translateY(-50%);
}

.sliders .content h1 {
    font-size: 4rem;
    line-height: 69px;
    font-weight: 700;
    margin-bottom: 25px;
}

.sliders .content h1 span {
    color: var(--secondary-color);
}

.sliders .content p {
    font-size: 32px;
    margin-bottom: 37px;
    font-weight: 500;
}

.sliders .content a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 50px;
    transition: 0.3s ease;
    color: var(--white-color);
    border: 1px solid var(--white-color);
}

.sliders .content a:first-child {
    margin-right: 25px;
}

.sliders .content a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

@media screen and (max-width: 767px) {
    .slider {
        height: 45vh;

    }
    .sliders .content h1 {
        font-size: 25px;
        line-height: 25px;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .sliders .content p {
        font-size: 20px;
        margin-bottom: 30px;
        font-weight: 500;
    }
    .sliders .content a {
        font-size: 15px;
    }
    .buttons{
        margin-top: 2.5rem;
    }
    .sliders .content {
        top: 58%;
    }
}