﻿@font-face {
    font-family: montserrat;
    src: url('assets/fonts/Montserrat-Light.ttf');
    font-weight: 100;
}

@font-face {
    font-family: montserrat;
    src: url('assets/fonts/Montserrat-Medium.ttf');
    font-weight: normal;
}

@font-face {
    font-family: montserrat;
    src: url('assets/fonts/Montserrat-Bold.ttf');
    font-weight: 700;
}

body,
html {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    font-family: montserrat;
}

.slider-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide-background span {
    display: block;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

.slide-blocks {
    display: inline-block;
    opacity: 0;
    transition: .3s;
}

.slider-items,
.slide {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.slide {
    opacity: 0;
    visibility: hidden;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
    }

    .slide div img {
        height: 100vh;
    }

.slide-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    padding: 0 10rem;
    text-align: center;
}

    .slide-description img {
        width: 327px !important;
        height: 231px !important;
        transition: 1s;
        opacity: 0;
    }

.slider-appear-text {
    display: inline-block;
    margin: 0 6px;
    opacity: 0;
    transition: .3s;
}

.slide-description-header,
.slide-description-text {
    font-weight: 700;
    text-shadow: black 2px 2px;
    text-transform: uppercase;
  /*  letter-spacing: 3px;*/
}

.slide-description-header {
    font-size: 34px;
    margin-top: 0;
}

.slide-description-text {
    font-size: 19px;
}

.slide-buttons {
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
    transition-delay: 1s;
}

    .slide-buttons .first-button {
        background-color: rgb(6, 84, 156);
        margin-right: 10px;
    }

    .slide-buttons .second-button {
        background-color: rgb(17, 126, 194);
    }

    .slide-buttons .first-button,
    .slide-buttons .second-button {
        color: white;
        text-transform: uppercase;
        padding: 12px 35px;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
    }

        .slide-buttons .first-button:hover,
        .slide-buttons .second-button:hover {
            background-color: white;
            color: black;
        }

.slider-appear-text-1 {
    animation: text1 1s forwards .2s;
}

.slider-appear-text-2 {
    animation: text2 1s forwards .4s;
}

@keyframes text1 {
    100% {
        opacity: 1;
    }
}

@keyframes text2 {
    100% {
        opacity: 1;
    }
}

.slider-next,
.slider-prev {
    position: absolute;
    font-size: 25px;
    color: white;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

    .slider-next svg,
    .slider-prev svg {
        color: white;
        fill: white;
    }

.slider-next {
    right: 25px;
}

.slider-prev {
    left: 25px;
}

@media (min-width: 1650px) {
    .slide-description {
        max-width: 1500px;
    }
}

@media (max-width: 1240px) {
    .slide-description-header {
        font-size: 25px !important;
    }

    .slide-description-text {
        font-size: 17px !important;
    }
}

@media (max-width: 1191px) {
    .slide-description-header {
        font-size: 20px !important;
    }

    .slide-description-text {
        font-size: 14px !important;
    }
}

@media (max-width: 1095px) {
    .slide-description {
        padding: 0 5rem !important;
    }
}

@media (max-width: 768px) {

    .slider-prev,
    .slider-next {
        display: none;
    }

    .slide-description {
        padding: 0 1rem !important;
    }
}

@media (max-width: 550px) {

    .slide-buttons .first-button,
    .slide-buttons .second-button {
        display: block;
        margin: 0 0 1rem 0;
    }

    .slide-description-header {
        font-size: 15px !important;
    }

    .slide-description-text {
        font-size: 9px !important;
    }

    .slider-appear-text {
        margin: 0 3px;
    }

    .slide-description img {
        width: 114px !important;
        height: 77px !important;
    }
}
