.animated {
    animation-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
}

.animated.fadeInUp {
    animation-name: fadeInUp;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    margin: 0 !important;
    color: #353434;
    line-height: 1.3rem;
    font-weight: 400;
    position: relative;
}

* {
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

button {
    font-size: 1rem;
}

i[class*="fa-"] {
    font-family: "Font Awesome 6 Pro";
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    color: #313A4F;
}

a:hover {
    color: #56ab2f;
}

h1,
.h1 {
    font-weight: 500;
}

h2,
.h2 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    margin-bottom: 20px;
}

h3,
.h3 {
    font-weight: 600;
    line-height: 150%;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

h4,
.h4 {
    font-weight: 600;
    line-height: 150%;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #1f2a42;
}

@media (min-width: 1040px) {
    h1,
    .h1 {
        font-size: 2.7rem;
        font-weight: 500;
    }
}

@media (max-width: 1040px) {
    h1,
    .h1 {
        font-size: 2.1rem;
        font-weight: 500;
    }
}


/* section {
    overflow: hidden;
} */

.strong-headline {
    font-size: 1.15rem;
    font-weight: 500;
}

.large-text {
    font-size: 1.3rem;
    line-height: 130%;
    font-weight: 500;
}

.low-text {
    font-size: .9rem;
    line-height: 120%;
}

.section-container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.btn-type-1 {
    border-radius: 5px;
    background: #56ab2f;
    padding: 15px 25px;
    display: inline-flex;
    gap: 10px;
    color: white;
    width: fit-content;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    border: none;
}

.btn-type-1:hover {
    opacity: 0.8;
    color: white;
}

.read-more-btn {
    color: #1F1F25;
    display: flex;
    align-items: center;
    transition: 0.3s;
    width: max-content;
    stroke: #1F1F25;
    gap: 5px;
    font-weight: 500;
}

.read-more-btn:hover {
    gap: 10px;
    color: #56ab2f;
    stroke: #56ab2f;
}

.btn-type-2 {
    display: inline-flex;
    padding: 1px 0px;
    border-bottom: 1px solid #FFF;
    align-items: center;
    gap: 5px;
    width: fit-content;
    cursor: pointer;
    white-space: nowrap;
    color: white;
}

.btn-type-2:hover {
    gap: 10px;
    color: #FFF;
    border-color: #E8FF0A;
}

*[data-bs-toggle="modal"] {
    cursor: pointer;
}

.modal.show {
    z-index: 9999;
}

.modal-header {
    border-bottom: none !important;
}

.modal-content {
    border-radius: 10px;
    padding: 20px;
}

.btn-close {
    outline: none;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    filter: invert(1);
}

.modal-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

i.nt-times {
    background-image: url(../img/plus.svg);
    width: 16px;
    height: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(45deg);
    font-size: 1.5rem;
}

.call_me_metod *[data-bs-toggle="modal"] {
    text-decoration: underline;
    white-space: nowrap;
}

.grey-bg {
    background: #f6f6f6;
}

@media (min-width:960px) {
    .padding-container {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .margin-container {
        margin-top: 70px;
        margin-bottom: 70px;
    }
}

@media (max-width:960px) {
    .mobile-hidden {
        display: none !important;
    }
    .padding-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .margin-container {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media (min-width: 1400px) {
    html,
    body {
        font-size: 16px;
    }
}

@media (min-width: 1040px) and (max-width: 1400px) {
    html,
    body {
        font-size: 14px;
    }
}

@media (min-width: 700px) and (max-width: 1040px) {
    html,
    body {
        font-size: 13px;
    }
}

@media (max-width: 700px) {
    html,
    body {
        font-size: 12px;
    }
}


/* Grid */

.two-grid,
.three-grid,
.four-grid,
.five-grid,
.six-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.horisontal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (min-width: 1040px) {
    .five-grid>* {
        width: calc(100% / 5 - 16px);
    }
    .four-grid>* {
        width: calc(100% / 4 - 15px);
    }
}

@media (min-width: 700px) and (max-width: 1040px) {
    .five-grid>*,
    .four-grid>* {
        width: calc(100% / 3 - 14px);
    }
}

@media (min-width: 700px) {
    .two-grid>* {
        width: calc(100% / 2 - 10px);
    }
    .three-grid>* {
        width: calc(100% / 3 - 14px);
    }
    .six-grid>* {
        width: calc(100% / 6 - 17px);
    }
}

@media (min-width: 500px) and (max-width: 700px) {
    .two-grid>* {
        width: 100%;
    }
    .three-grid>*,
    .four-grid>*,
    .five-grid>* {
        width: calc(100% / 2 - 10px);
    }
    .six-grid>* {
        width: calc(100% / 3 - 13.4px);
    }
}

@media (max-width: 640px) {
    .mob-full-grid>* {
        width: 100% !important;
    }
}

@media (max-width: 500px) {
    .two-grid>*,
    .three-grid>*,
    .four-grid>*,
    .five-grid>* {
        width: 100%;
    }
    .six-grid>* {
        width: calc(100% / 2 - 10px);
    }
}


/* Scrollbar */


/* Ширина и цвет скроллбара */

::-webkit-scrollbar {
    width: 5px;
    background-color: white;
}


/* Фон дорожки скроллбара */

::-webkit-scrollbar-track {
    background-color: #2F2F3A;
}


/* Цвет ползунка скроллбара */

::-webkit-scrollbar-thumb {
    background-color: #56ab2f;
    border-radius: 3px;
}


/* Стиль ползунка при наведении */

::-webkit-scrollbar-thumb:hover {
    background-color: #adbd00;
}

@media (max-width: 700px) {
    input,
    textarea {
        font-size: 16px !important;
    }
}

@media (min-width: 700px) {
    .copyright {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 0;
    }
}