body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    color: #8790af;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 2rem;
}

p {
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.d-block {
    display: block;
}



.main {
    height: 780px;
    background-image: url('/images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    position: relative;
}

.overlay {
    z-index: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.75;
    background: linear-gradient(45deg, rgba(72, 44, 191, 1) 0%, rgba(106, 198, 240, 1) 100%);
}

.header {
    z-index: 1;
    position: relative;
    display: block;
    padding: 1rem 1.5rem;
}

.content {
    z-index: 1;
    position: relative;
    display: block;
    padding-top: 3rem;
}

.phone div {
    max-width: 425px;
    margin: 0 auto;
}

.phone div img {
    width: 100%;
}

.text {
    text-align: center;
    margin: -1rem auto 0;
    padding: 0 1.5rem 4rem;
    max-width: 530px;
}

.btn {
    text-decoration: none;
}

.btn-light {
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 14px;
}

.btn-light-2 {
    color: #3478f6;
    margin-top: 1.5rem;
    padding: 10px 28px;
    border-radius: 50px;
    background-color: #fff;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border: 2px solid #3478f6;
    font-size: 14px;
}

.btn-white {
    padding: 12px 30px;
    background-color: #3478f6;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 14px;
    border: none;
}

.container {
    margin: 0 auto;
}

#loader {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader svg {
    width: 50px;
    height: 50px;
    display: block;
    animation: rotation 2s infinite linear;
}

.logo img {
    margin-left: auto;
    margin-right: auto;
}

.contact {
    padding-top: 1rem;
    text-align: center;
}

.btn.btn-mobile {
    display: inline-block;
}

.btn.btn-desktop {
    display: none;
}

.content .btn {
    min-width: 218px;
}

.position-relative {
    position: relative;
}


@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@media (max-width: 350px) {
    .btn-white, .btn-light, .btn-light-2 {
        font-size: 12px;
    }

    h1 {
        font-size: 27px;
    }

    p {
        font-size: 15px;
    }

    .main {
        height: 650px;
    }

    .btn.btn-light {
        padding: 12px 30px;
    }

    .content .btn {
        min-width: 190px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }

    .main {
        background-position: center;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
    }

    .content {
        display: flex;
        justify-content: center;
    }

    .logo img {
        margin-left: 0;
        margin-right: 0;
    }

    .contact {
        padding-top: 0;
        text-align: left;
    }

    h1 {
        font-size: 50px;
    }

    .text-white {
        color: #fff;
    }

    .text {
        text-align: left;
        margin: 0;
        padding: 7rem 0 0 2rem;
    }

    .btn-white {
        background-color: #fff;
        color: #768ede;
    }

    .phone div {
        margin: 0;
    }

    .btn.btn-mobile {
        display: none;
    }

    .btn.btn-desktop {
        display: inline-block;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}