* {
    margin: 0;
    padding: 0;
    bottom: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url("../fonts/Roboto-Bold.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Light';
    src: url("../fonts/Roboto-Light.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Medium';
    src: url("../fonts/Roboto-Medium.ttf");
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url("../fonts/Roboto-Regular.ttf");
    font-display: swap;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 1439px) {
    .container {
        padding: 0 16px;
    }
}

img {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    -webkit-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);
    -moz-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);
    box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);

    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}

.header-logo {
    width: 140px;
    height: 90px;
}

.header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.header-nav a {
    font-size: 18px;
    font-family: 'Roboto-Regular', sans-serif;
    color: #0f0f0f;
    transition: all 0.3s ease-in-out;
}

.header-nav a:hover {
    color: #1b6d85;
}

.header-info {
    font-size: 16px;
    font-family: 'Roboto-Regular', sans-serif;
    color: #0f0f0f;
}

.header-tel a {
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    color: #0f0f0f;
    transition: all 0.3s ease-in-out;
}

.header-tel a:hover {
    color: #1b6d85;
}

.header-mail a {
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    color: #0f0f0f;
    transition: all 0.3s ease-in-out;
}

.header-mail a:hover {
    color: #1b6d85;
}

.header-lines {
    display: none;
}

.header-burger__menu .header-nav {
    display: none;
}

.header-burger__menu .header-info {
    display: none;
}

@media (max-width: 1400px) {
    .header-lns {
        display: none;
    }
}

@media (max-width: 1000px) {
    .header-nav {
        font-size: 16px;
    }

    .header-tel a {
        font-size: 18px;
    }

    .header-mail a {
        font-size: 18px;
    }

    .header-info {
        font-size: 14px;
    }

    .header-wrapper {
        gap: 32px;
    }

    .header-tel {
        display: flex;
        flex-direction: column;
    }

    .header-mail {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 901px) {
    .header-nav {
        display: none;
    }

    .header-info {
        display: none;
    }

    .header-burger__menu .header-nav {
        display: flex;
        gap: 16px;
        animation: fadeIn 0.5s ease-in-out;
    }

    .header-burger__menu .header-info {
        display: flex;
        flex-direction: column;
        animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            height: 0;
            margin-top: -100px;
        }

        100% {
            opacity: 1;
            height: 45px;
            margin-top: 0;
        }
    }

    .header-burger__menu.noactive {
        display: none;
    }

    .header-burger__menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        padding-bottom: 24px;
        animation: fadeHeight 0.5s ease-in-out;
    }

    @keyframes fadeHeight {
        0% {
            height: 0;
        }

        100% {
            height: 100%;
        }
    }

    .header-burger__menu .header-tel {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .header-burger__menu .header-mail {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .header-lines {
        display: flex;
        flex-direction: column;
        gap: 4px;

        cursor: pointer;
    }

    .header-line {
        width: 25px;
        border: 1px solid #1b6d85;
        transition: all 0.3s ease-in-out;
    }

    .header-lines.active .header-line:last-child {
        display: none;
    }

    .header-lines.active .header-line:first-child {
        transform: rotate(46deg);
    }

    .header-lines.active .header-line:nth-child(2) {
        transform: rotate(314deg);
        margin-top: -5px;
    }
}

@media (max-width: 692px) {
    .header-burger__menu {
        flex-direction: column;
    }

    .header-nav a {
        font-size: 16px;
    }

    .header-burger__menu .header-info {
        gap: 8px;
    }

    .header-burger__menu {
        animation: fadeHeight 0.5s ease-in;
    }

    @keyframes fadeHeight {
        0% {
            height: 0;
        }

        100% {
            height: 127px;
        }
    }
}

.main-banner {
    width: 100%;
    height: 100vh;

    background-image: url("../img/bcc/banner.jpg");
    background-repeat: no-repeat;
}

@media (min-width: 1921px) {
    .main-banner {
        background-size: 100%;
    }
}

.main-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.main-banner__title {
    font-size: 64px;
    font-family: 'Roboto-Bold';
    letter-spacing: 8px;
    color: #fff;
}

.main-banner__subtitle {
    font-size: 24px;
    font-family: 'Roboto-Medium';
    color: #fff;
}

@media (max-width: 1025px) {
    .main-banner__title {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .main-banner__subtitle {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .main-banner__title {
        font-size: 28px;
    }

    .main-banner__subtitle {
        font-size: 16px;
        margin-top: 16px;
        text-align: center;
    }
}

.about-wrapper {
    margin-top: 128px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.about-content {
    flex: 1;
}

.about-photo {
    flex: 1;
}

.about-title {
    font-size: 32px;
    margin-bottom: 32px;
    font-family: 'Roboto-Medium';
    color: #0f0f0f;
    text-align: center;
}

.about-subtitle {
    font-size: 24px;
    font-family: 'Roboto-Light';
    color: #0f0f0f;
    text-align: center;
}

hr {
    border: 2px solid #1b6d85;
    width: 50px;
    margin: 32px auto;
}

.about-desc {
    font-size: 16px;
    font-family: 'Roboto-Light';
    color: #0f0f0f;
    text-align: center;
}

@media (max-width: 1025px) {
    .about-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    hr {
        margin: 24px auto;
    }
}

@media (max-width: 768px) {
    .about-photo {
        display: none;
    }
}

.usability-wrapper {
    margin-top: 128px;

    background-color: #ebebeb;

    padding: 64px 0;
}

.usability-wrapper__col {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.usability-wrapper__photo, .usability-wrapper__content {
    flex: 1;
}

.usability-wrapper__content {
    background-color: #fff;
    padding: 32px 64px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 720px;
}

.usability-wrapper__title {
    font-size: 32px;
    font-family: 'Roboto-Bold';
    color: #0f0f0f;
    text-align: center;
}

.usability-wrapper__ul {
    font-size: 16px;
    font-family: 'Roboto-Regular';
    color: rgba(0, 0, 0, 0.6);
}
.usability-wrapper__li {
    margin-top: 4px;
}

@media (max-width: 1025px) {
    .usability-wrapper__title {
        font-size: 24px;
    }

    .usability-wrapper__ul {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .usability-wrapper__photo {
        display: none;
    }
}

#docs {
    position: relative;
}

.docs-photo img{
    height: 340px;
    object-fit: cover;
}

.docs-wrapper {
    position: absolute;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.5);
    height: 99%;
}

.docs-el {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    cursor: pointer;

    color: #fff;
    font-family: 'Roboto-Bold';
    font-size: 24px;
    transition: all 0.3s ease-in-out;
}

.docs-el:hover {
    color: darkred;
}

.docs-el img {
    max-width: 128px;
    max-height: 128px;
}

@media (max-width: 500px) {
    .docs-el {
        width: 90px;
        font-size: 18px;
    }
}

#application .usability-wrapper {
    margin-top: 0;
    background-color: transparent;
}

.application-title {
    margin-top: 128px;
}

.application-title {
    font-size: 48px;
    font-family: 'Roboto-Bold';
    text-align: center;
}

.application-subtitle {
    font-size: 32px;
    font-family: 'Roboto-Medium';
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .application-title {
        font-size: 32px;
    }

    .application-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .application-title {
        font-size: 32px;
    }

    .application-subtitle {
        font-size: 18px;
    }

    #application .usability-wrapper {
        padding: 32px 0;
    }
}

.price-wrapper {
    position: relative;

    margin-top: 120px;
}

.price-wrapper img {
    filter: brightness(30%);
    height: 2200px;
    object-fit: cover;
}

.price-wrapper__content {
    position: absolute;
    top: 64px;
    bottom: 64px;
    left: 0;
    right: 0;

    padding: 32px;
    background-color: rgba(0, 0, 0, 0.7);
}

.price-title {
    font-size: 48px;
    font-family: 'Roboto-Bold';
    text-align: center;
    color: #fff;
}

.price-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;

    margin-top: 32px;
}

.price-nav a {
    font-size: 18px;
    font-family: 'Roboto-Regular';
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.price-nav a:hover {
    color: #1b6d85;
}

.price-table__title {
    margin-top: 64px;
    font-size: 24px;
    font-family: 'Roboto-Medium';
    color: #fff;
    text-align: center;
    scroll-margin-top: 150px;
}

.price-table {
    text-align: center;
}

.price-table__header {
    margin-top: 24px;

    /*display: flex;*/
    /*flex-direction: row;*/

    display: grid;
    grid-template-columns: repeat(9, 1fr);

    min-width: 1145px;

}

.price-table.seven .price-table__header {
    grid-template-columns: repeat(8, 1fr);

}

.price-table__header span {
    color: #1b6d85;
    font-size: 14px;
    font-family: 'Roboto-Regular';

    border-bottom: 1px solid #808080;
    border-right: 1px solid #808080;

    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;

    /*width: 20%;*/
}

.price-table__header span:first-child {
    /*width: 100%;*/
    grid-area: 1 / 1 / 1 / 3;
}

.price-table.seven .price-table__header span:first-child {
    grid-area: 1 / 1 / 1 / 3;
}

.price-table__row {
    /*display: flex;*/
    /*flex-direction: row;*/
    display: grid;
    grid-template-columns: repeat(9, 1fr);

    min-width: 1145px;
}

.price-table.seven .price-table__row {
    grid-template-columns: repeat(8, 1fr);
}

.price-table__row span {
    color: #fff;
    font-size: 14px;
    font-family: 'Roboto-Regular';

    border-bottom: 1px solid #808080;
    border-right: 1px solid #808080;

    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;

    /*width: 20%;*/
}

.price-table__row span:first-child {
    /*width: 100%;*/
    grid-area: 1 / 1 / 1 / 3;
}

.price-table__row button {
    outline: none;
    background-color: transparent;
    border: 1px solid #1b6d85;
    color: #fff;
    font-size: 16px;
    font-family: 'Roboto-Regular';

    padding: 6px 10px;

    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.price-table__row button:hover {
    color: #fff;
    background-color: #1b6d85;
    border: 1px solid transparent;
}

@media (max-width: 1210px) {
    .price-table {
        overflow-x: scroll;
    }

    .price-wrapper img {
        height: 2300px;
    }
}

@media (max-width: 1025px) {
    .price-title {
        font-size: 32px;
    }

    .price-nav {
        margin-top: 24px;
    }

    .price-nav a {
        font-size: 16px;
    }

    .price-table__title {
        font-size: 18px;
    }
}

@media (max-width: 769px) {
    .price-title {
        font-size: 24px;
    }
}

.subscription-wrapper {
    background-color: #ebebeb;
}

.subscription-content {
    padding-top: 128px;
}

.subscription-title {
    font-size: 48px;
    font-family: 'Roboto-Bold';
    text-align: center;
}

.subscription-subtitle {
    font-size: 24px;
    font-family: 'Roboto-Medium';
    text-align: center;
    margin-top: 32px;
}

.subscription-form {
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.subscription-input {
    width: 100%;
}

.subscription-input input {
    font-size: 16px;
    font-family: 'Roboto-Regular';
    transition: all 0.3s ease-in-out;
    padding: 4px;
}

.subscription-input input::placeholder {
    margin-bottom: 4px;
}

.subscription-input input:hover {
    border-bottom: 1px solid #1b6d85;
}

.subscription-input textarea {
    font-size: 16px;
    font-family: 'Roboto-Regular';
    transition: all 0.3s ease-in-out;
    padding: 0 4px;
}

.subscription-input textarea:hover {
    border-bottom: 1px solid #1b6d85;
}

input, textarea {
    width: 100%;
    outline: none;
    border: none;
    border-bottom: 1px solid #0f0f0f;
    background-color: transparent;
}

.subscription-form .subscription-input.check input{
    width: auto;
}

.subscription-input.check a {
    font-size: 14px;
    font-family: 'Roboto-Light';
    text-decoration: underline;
}

.subscription-input.check span {
    font-size: 14px;
    font-family: 'Roboto-Light';
}

input[type="checkbox"] {
    accent-color: #1b6d85;
}

.subscription-form button {
    border: 1px solid #1b6d85;
    background-color: transparent;
    outline: none;

    padding: 6px 0;
    font-size: 18px;
    font-family: 'Roboto-Medium';
    color: #1b6d85;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.subscription-form button:hover {
    border: 1px solid transparent;
    background-color: #1b6d85;
    color: #fff;
}

@media (max-width: 1025px) {
    .subscription-title {
        font-size: 32px;
    }

    .subscription-subtitle {
        font-size: 18px;
    }

    .subscription-content {
        padding-top: 80px;
    }
}

footer {
    background-color: #ebebeb;
    padding: 64px 0;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.footer-contact {
    font-size: 24px !important;
    font-family: 'Roboto-Bold' !important;
}

.footer-wrapper a {
    font-size: 18px;
    font-family: 'Roboto-Medium';
    color: #0f0f0f;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-contact {
        font-size: 20px !important;
    }

    .footer-wrapper a {
        font-size: 16px;
    }
}

.overlay.active {
    background-color: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
}

.modal-product {
    display: none;
    max-width: 480px;
    padding: 0 20px;
}

@keyframes fadeModal {
    0% {
        opacity: 0;
        margin-top: 100px;
    }

    100% {
        opacity: 0;
        margin-top: 0;
    }
}

.modal-product.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeModal 0.3s ease-in-out;

    background: linear-gradient(216.25deg, #FFFFFF 0%, #F3F3F3 100%), #FCFCFC;
    box-shadow: 0px 0px 6px rgba(51, 66, 94, 0.5);
}

.modal-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.modal-close button {
    border: none;
    outline: none;
    background-color: transparent;

    font-size: 32px;
    color: #1b6d85;
    margin-top: -23px;
    margin-right: -13px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.modal-close button:hover {
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    font-family: 'Roboto-Medium';
    margin-top: 24px;
}

.modal-product form {

    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 32px;
}

.modal-input label {
    font-size: 16px;
    font-family: 'Roboto-Regular';
}

.modal-input input {
    background-color: linear-gradient(216.25deg, #FFFFFF 0%, #F3F3F3 100%), #FCFCFC;
    border: 1px solid #DDE0E6;
    font-size: 16px;
    font-family: 'Roboto-Regular';
    padding: 10px;
    margin-top: 8px;
    transition: all 0.3s ease-in-out;
}

.modal-input input:hover {
    border: 1px solid #1b6d85;
}

.modal-input.check {
    font-family: 'Roboto-Light';
}

.modal-input.check a {
    text-decoration: underline;
}

.modal-input.check input {
    margin: 0;
    padding: 0;
    width: 18px;
}

#modal-form button {
    border: 1px solid #1b6d85;
    background-color: transparent;
    outline: none;
    padding: 6px 0;
    font-size: 18px;
    font-family: 'Roboto-Medium';
    color: #1b6d85;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#modal-form button:hover {
    border: 1px solid transparent;
    background-color: #1b6d85;
    color: #fff;
}

.modal-dialog {
    margin: 32px;

    font-family: 'Roboto-Light';
    font-size: 14px;
}

p#modal-product-title {
    font-size: 1.3rem;
    word-break: break-word;
}

input.custom-control-input {
    width: 32px;
}

label.custom-control-label {
    cursor: pointer;
}