@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', serif;
}

img {
    width: 100%;
}

h1 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 12px;
}

ul {
    margin-bottom: 20px;
}

input:focus,
textarea:focus {
    outline: none;
}

.center {
    text-align: center;
}

.link-button {
    display: block;
    padding: 12px 24px;
    width: 200px;
    border: 1px solid white;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: .5s;
}

.link-button:hover {
    background-color: white;
    color: #003366;
}

.link-button_blue {
    background-color: #003366;
    border: 1px solid #003366;
    color: white;
}

.link-button_blue:hover {
    background-color: white;
    border: 1px solid #003366;
    color: #003366;
}

.container {
    margin: 0 auto;
    padding: 20px 15px;
    max-width: 1200px;
    height: 100%;
}

.header {
    width: 100%;
    height: 112px;
    background-color: #003366;
}

.header__inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo-link {
    text-decoration: none;
}

.header__logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header__logo-img {
    width: 100px;
}

.header__logo-text {
    width: 240px;
    padding-left: 32px;
    color: white;
    font-weight: bold;
}

.header__logo-text-top {
    font-size: 28px;
    letter-spacing: 2.5px;
}

.header__logo-text-bot {
    font-size: 12px;
}

.header__right,
.header__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.header__social-item {
    width: 50px;
}

.header__social-link {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.description {
    background-image: url('/img/index/description-background.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.description__inner {
    backdrop-filter: grayscale(100%) brightness(30%);
}

.description__content {
    padding: 60px 0;
    color: white;
}

.description__text {
    max-width: 720px;
}

.description__list {
    list-style-image: url('/img/index/cog-icon.svg');
}

.description__list li {
    margin-left: 24px;
    padding-left: 8px;
}

.description__list li::marker {
    font-size: 28px;
}

.description__button-group {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.price__heading {
    padding: 60px 0 30px;
    text-align: center;
}

.price__list {
    padding: 0 0 60px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 42px;
}

.price__card {
    display: grid;
    grid-template-rows: 46px auto 43px 93px;
    transition: .5s;
}

.price__card {
    box-shadow: 3px 3px 8px 5px rgba(0,0,0,0.25);
    -webkit-box-shadow: 3px 3px 8px 5px rgba(0,0,0,0.25);
    -moz-box-shadow: 3px 3px 8px 5px rgba(0,0,0,0.25);
}

.price__card:hover {
    transform: scale(1.05);
}

.price__card-name {
    padding: 12px;
    background-color: #003366;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.price__card-description {
    padding: 32px 0;
}

.price__card-description-text {
    padding: 0 12px 0;
    text-align: center;
    color: #718096;
}

.price__card-options-list {
    margin: 0;
    padding: 0 32px;
    color: #718096;
    list-style-image: url('/img/index/check-icon.svg');
}

.price__card-options-list li {
    margin-left: 24px;
}

.price__card-options-list li::marker {
    font-size: 28px;
}

.price__card-value {
    text-align: center;
}

.price__card-value b {
    font-size: 36px;
}

.price__card-button {
    padding: 24px 0;
    display: flex;
    justify-content: center;
    text-align: center;
}

.advantages__list,
.team__list {
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
}

.team__list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*grid-template-columns: 1fr 1fr;*/
}

.advantages__list-item,
.team__list-item {
    width: 140px;
    display: grid;
    grid-template-rows: 90px 60px;
    gap: 30px;
    text-align: center;
    color: #718096;
}

.advantages__list-item {
    margin: 0 auto;
}

.advantages__icon,
.team__icon {
    margin: 0 auto 12px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
}

.technologies__header {
    padding: 30px 0;
    text-align: center;
}

.technologies__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.technologies__item {
    width: 162px;
}

.technologies__img {
    width: 50px;
    height: 50px;
    float: left;
}

.technologies__text {
    margin-left: 62px;
    width: 100px;
    height: 50px;
    line-height: 50px;
}

.team__header {
    padding: 30px 0 0;
    text-align: center;
}

.team__list {
    justify-content: center;
    gap: 90px
}

.team__list-item {
    grid-template-rows: 140px 20px 60px;
    gap: 16px;
}

.team__icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
}

.teams__name {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.order {
    background-image: url("/img/index/order-form-background.jpg");
    background-position: center;
    background-size: cover;
}

.order__inner {
    backdrop-filter: grayscale(100%) brightness(20%);
}

.order__content {
    padding: 12px 0;
}

.order__heading {
    color: white;
}

.order__form {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
}

.order__input-group {
}

.order__input-group_wide {
    grid-column-start: 1;
    grid-column-end: 4;
}

.order__label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
}

.order__input {
    padding: 8px 12px;
    width: 100%;
    border: 1px solid white;
    border-radius: 6px;
    background-color: transparent;
    color: white;
    font-size: 16px;
}

.order__input option {
    background-color: black;
    color: white;
}

.order__input option:checked {
    background-color: #232323;
}

.order__input:focus {
    outline: none;
}

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

.order__button > button {
    width: 200px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.order__button > button:hover {
    background-color: white;
    color: #888;
}

.order__input-group.error .order__label {
    color: #F44336
}

.order__input-group.error .order__input {
    border: 1px solid #F44336;
    color: #F44336
}

.order__error {
    display: none;
}

.order__input-group.error .order__error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #F44336;
}

.footer {
    width: 100%;
    background-color: #003366;
}

.footer__copyright {
    text-align: center;
    color: white;
}


@media (max-width: 900px) {
    .container {
        max-width: 760px;
    }

    .header__logo-text {
        display: none;
    }

    .price__list {
        margin: 0 auto;
        max-width: 420px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: 24px;
    }

    .link-button {
        padding: 12px 20px;
        width: 180px;
        font-size: 16px;
    }

    .header__logo-img {
        width: 80px;
    }

    .header__right,
    .header__social {
        gap: 12px;
    }

    .header__social-item {
        width: 42px;
    }

    .advantages__list {
        margin: 0 auto;
        max-width: 500px;
        grid-template-columns: 1fr 1fr;
    }

    .team__list {
        flex-wrap: wrap;
    }

    .order__form {
        grid-template-columns: 1fr
    }

    .order__input-group_wide {
        grid-column-end: 1;
    }
}

@media (max-width: 520px) {
    .header__button,
    .description__price-button {
        display: none;
    }

    .description__content {
        padding: 24px 0;
    }

    .price__heading {
        padding-top: 30px;
    }

    .price__list {
        padding-bottom: 0;
    }

    .advantages__list-item, .team__list-item {
        width: 120px;
    }

    .team__list {
        padding: 12px;
        gap: 32px;
    }

    .team__list-item {
        grid-template-rows: 120px 20px 90px;
    }

    .team__icon {
        width: 120px;
        height: 120px;
    }
}
