@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html {
    max-width: 100vw;
    scroll-behavior: smooth;
    -ms-overflow-x: hidden;
        overflow-x: hidden;
}
body {
    background-color: #ffffff;
    color: #000000;
    max-width: 100vw;
    -ms-overflow-x: hidden;
        overflow-x: hidden;
    font-family: 'PT Serif',serif, system-ui,-apple-system,"Segoe UI","Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.bg-blue {
    background-color: #021b7a;
}


#rexlama-loader {
    position: fixed;
    display: grid;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    background: rgba(255,255,255,1);
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
#rexlama-loader .spinner-border {
    justify-self: center;
}
#rexlama-loader .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
.cursor-pointer {
    cursor: pointer;
}
@media (max-width: 992px) {
    #collapsibleNavbar {
        background: #FFF;
        padding: 10px;
        border-radius: 8px;
    }
    #collapsibleNavbar .nav-link {
        color: #000;
    }
}


.hero-content {
    width: 100%;
    max-width: 1160px;
}
.about-content {
    width: 100%;
    max-width: 1160px;
}
.contact-content {
    width: 100%;
    max-width: 1160px;
}
.nav-top-layer {
    background-color: rgba(2,27,122,1);
    height: 200px;
}
@media (max-width: 560px) {
    .hero-content {
        max-width: 100%;
    }
    .about-content {
        max-width: 100%;
    }
    .contact-content {
        max-width: 100%;
    }
    .nav-top-layer {
        height: auto !important;
    }
}
@media screen and (max-width: 980px) {
    .nav-top-layer {
        height: 556px !important;
        display: block;
        text-align: center;
    }
    .nav-top-block {
        text-align: center !important;
    }
}
@media (min-width: 1200px) {
    .hero-content {
        max-width: 940px;
    }
    .about-content {
        max-width: 940px;
    }
    .contact-content {
        max-width: 940px;
    }
}


.navbar {
    transition: 0.3s;
}

.navbar-brand img {
    width: 170px;
    height: auto;
}
.navbar-toggler {
    height: fit-content;
}
.nav-top-block {
    min-width: 225px
}
.nav-top-block .logo {
    max-height: 80px
}
.nav-bottom-layer {
    transition: 0.3s;
}

.nav-link-phone {
    width: max-content;
}
.nav-link {
    border-bottom: 3px solid transparent;
    margin: auto 7px;
    transition: .3s;
    font-size: 17px;
}
.nav-link:hover {
    color: #ffffff !important;
    border-bottom: 3px solid #ffffff;
}

.top-contacts a {
    color: #fff;
    text-decoration: none;
    font-size: 16pt;
    line-height: 28pt;
    transition: 0.3s;
}
.top-contacts a:hover {
    color: #888;
}
.top-contacts small {
    color: #999;
}
@media (max-width: 767px) {
    .navbar-brand img {
        width: 200px;
    }
    .navbar-collapse {
        right: 0;
        top: 63px;
        border: 1px solid var(--bs-primary);
    }
}



#about .about-img {
    width: auto;
    height: 100%;
    max-height: 500px !important;
    max-width: 100%;
    object-fit: cover;
}


@media (max-width: 767px) {
    .image {
        transform: scale(1);
    }
    #contacts .w-50 {
        width: 100% !important;
    }
}



#hero {
    width: 100% !important;
    height: 100vh !important;
    padding-top: 30px;
    background-size: cover;
    background-attachment: scroll;
    background-position: left top;
    background-image: url('/img/hero.jpg');
}
.hero-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

#about {
    padding-top: 150px;
    padding-bottom: 90px;
}


.contact-form {
    padding-bottom: 120px;
}
.contact-form input {
    color: #333333;
    -webkit-appearance: none;
    border: 1px solid #333333 !important;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 100%;
    font-size: 16px;
    height: 60px;
    line-height: 1.33;
    margin: 0;
    outline: none;
    padding: 0 20px;
    width: 100%;
}
.contact-form .form-button {
    color: #ffffff;
    background-color: #000000;
    -webkit-appearance: none;
    border: 1px solid #333333 !important;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    height: 60px;
    margin: 0;
    outline: none;
    padding-left: 60px;
    padding-right: 60px;
    text-align: center;
    white-space: nowrap;
}















#uslugi .content-1 {
    padding: 90px;
}
@media (max-width: 992px) {
    #uslugi .content-1 {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}








.t-cover__arrow {
display: flex;
    justify-content: center;
    bottom: 35px;
    position: absolute;
    align-self: center;
    width: 100%;
}
.t-cover__arrow-wrapper {
    display: inline-block;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
}
.t-cover__arrow-wrapper_animated {
    animation: t-arrow-bottom 1.7s infinite ease;
}
@keyframes t-arrow-bottom {
    0% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    }
    50% {
    -moz-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
    }
    55% {
    -moz-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
    -o-transform: translateY(-7px);
    transform: translateY(-7px);
    }
    100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    }
}