body {
    margin: 0;
    font-family: 'Comfortaa', cursive;
}
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2;
    transition: 1s all;
    opacity: 1;
    visibility: visible;
}

.done {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 64px;
    height: 64px;
    border: 5px solid white;
    border-radius: 50%;
    border-top-color: red;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: 1s spin infinite linear;
}

.loader-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.container {
    margin: 0px 200px;
}

.container2 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header {
    background-image: url(bg.jpg);
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position:center;
}

.header-line {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -150px;
}

.item {
    color: #fff;
    font-size: 14px;
    margin-left: 20px;
    margin-right: 20px;
}

.header-title {
    color: #FFFFFF;
    font-family: 'Mr Dafoe', cursive;
    font-size: 180px;
    font-weight: 400;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 12px;
    white-space: nowrap;
}
.header-title cred {
    color: #FF0000;
}

.header-suptitle {
    font-family: 'Comfortaa', cursive;
    color: #fff;
    font-size: 60px;
    text-align: center;
    margin-left: 600px;
    white-space: nowrap;
}

.text-title {
    font-size: 30px;
    text-align: center;
    font-weight: 400;
    padding-top: 50px;
    padding-bottom: 20px;
}

.text-main {
    font-size: 20px;
    text-align: center;
    font-weight: 400;
    padding-top: 20px;
}

.cards-holder {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.card {
    width: 450px;
    box-shadow: 10px 10px 40px 20px #0000001A;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding: 10px 10px;
}

.card-big {
    width: 900px;
    box-shadow: 10px 10px 40px 20px #0000001A;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding: 10px 10px;
}

.card-image {
    display: flex;
    justify-content: center;
}

.card-text-box {
    margin: 20px 0;
    height: 50px;
}

.card-text {
    font-size: 20px;
    text-align: center;
    font-weight: 200;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}

.menu-btn {
    background-color: #fff;
    padding: 12px 80px;
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #000000;
    border-radius: 10px;
    transition: background-color 0.2s linear;
}

.menu-btn:hover {
    background-color: #eaeaea;
}

.menu-button {
    margin: 20px auto;
    text-align: center;
    padding-top: 15px;
}

.footer {
    background-color: #000;
    padding: 20px 0px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    background-image: url(bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

@media (max-width: 1850px) {
    .cards-holder {
        display: block;
    }
    .card-big {
        width: 450px;
    }
    iframe {
        width: 450px;
        height: 250px;
    }
}

@media (max-width: 1600px) {
    .header-title {
        font-size: 120px;
    }
    .header {
        height: 500px;
    }
    .header-suptitle {
        font-size: 40px;
        margin-left: 400px;
    }
}

@media (max-width: 985px) {
    .header-line {
        margin-left: -50px;
    }
    .header-title {
        font-size: 90px;
    }
    .header {
        height: 400px;
    }
    .header-suptitle {
        font-size: 30px;
        margin-left: 300px;
    }
    .container {
        margin: 0px 100px;
    }
}

@media (max-width: 645px) {
    .header-line {
        margin-left: -30px;
    }

    .header-title {
        font-size: 60px;
    }

    .header {
        height: 300px;
    }

    .header-suptitle {
        font-size: 20px;
        margin-left: 200px;
    }

    .container {
        margin: 0px 30px;
    }

    .text-title {
        font-size: 20px;
        text-align: center;
        font-weight: 400;
        padding-top: 50px;
    }

    .text-main {
        font-size: 12px;
        text-align: center;
        font-weight: 400;
        padding-top: 20px;
    }
    .card {
        width: 300px;
    }
    .card-big {
        width: 300px;
    }
    iframe {
        width: 300px;
        height: 160px;
    }
    .menu-btn {
        padding: 12px 40px;
    }
}









