.s-first-screen {
    position: relative;
    height: calc(100svh - 98.8px);
    min-height: 600px;
}

.s-first-screen__container {
    height: 100%;
}

.s-first-screen::after {
    content: '';
    position: absolute;
    display: block;
    opacity: 0.8;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #271e00;
    z-index: 2;
}

.s-first-screen__bg-video {
    position: absolute;
    width: 100%;
    object-fit: cover;
    z-index: 1;
    height: 100%;
}

.s-first-screen__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 3;
    height: 100%;
}

.s-first-screen__heading {
    color: #FEFBE7;
    margin-bottom: 24px;
    max-width: 1210px;
    margin-right: auto;
    margin-left: auto;
}

.s-first-screen__text {
    color: #fefbe7;
    margin-bottom: 36px;
}

.s-first-screen__btn {
    min-width: 318px;
    margin-left: auto;
    margin-right: auto;
}


@media screen and (max-width: 1023.98px) {
    .s-first-screen__btn {
        width: 100%;
    }

    .s-first-screen {
        position: relative;
        height: calc(100svh - 102.8px);
        min-height: 500px;
    }
}

@media screen and (max-width: 767.98px) {
    .s-first-screen {
        height: calc(100svh - 102px);
    }
}

@media screen and (max-width: 599.98px) {
    .s-first-screen {
        height: calc(100svh -  62.8px);
    }
    .s-first-screen__btn{
        min-width: 100%;
    }

    .s-first-screen__wrapper {
        text-align: start;
        justify-content: flex-end;
        padding-bottom: 48px;
    }

    .s-first-screen__heading,
    .s-first-screen__text {
        margin-bottom: 16px;
    }
}