html {
    scroll-behavior: smooth;
}

body {
    color: #1c2e4a;
    margin: 0;
    font: 400 18px/28px Manrope, sans-serif;
}

header {
    background-color: #f1f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 200px;
}

main {
    padding: 20px;
}

.header__link {
    text-decoration: none;
    color: #1c2e4a;
    font-size: 22px;
    font-weight: 400;
}

@media (min-width: 1440px) {
    .container {
        width: 1440px;
    }
}

.container {
    margin: 0 auto;
}

.section {
    margin: 80px auto;
}

.main__section__container {
    padding: 0 0 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.title {
    color: #1c2e4a;
    font-size: 65px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
    margin: 0 20% 0 0;
}

.main__description {
    color: #1c2e4a;
    font-size: 16px;
    font-weight: 400;
}

.button {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    background-color: #223d53;
    color: white;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.main__section__img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__section__container {
    display: flex;
    justify-content: space-between;
    height: 910px;
}

.about__section__description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about__section__img {
    height: auto;
}

.about__section__img img {
    width: 100%;
}

@media (min-width: 375px) and (max-width: 1170px) {
    .about__section__img {
        width: 500px;
    }

    .main__section__img img {
        width: 900px;
    }
}

@media (min-width: 1171px) {
    .about__section__img {
        width: 624px;
    }
}

.plans__section__title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pricing__title {
    color: #1c2e4a;
    font-size: 65px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
    margin-bottom: 0;
}

.pricing__description {
    color: #1c2e4a;
    font-size: 16px;
    font-weight: 400;
}

.plans__section__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.plan {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f1f4f6;
    padding: 50px;
    border-radius: 8px;
    width: 300px;
}

.plan__economy {
    height: 220px;
}

.plan__title {
    color: #000000;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
    margin: 0;
}

.plan__price {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
    margin: 10px 0 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plans__section__content li::before {
    content: "\2713 ";
    color: green;
}

.plans__button {
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    background-color: #223d53;
    color: white;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.plan__default {
    height: 360px;
}

.plan__premium {
    height: 470px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 24px;
    cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1199px) {

    .gallery__image {
        max-width: 400px;
        height: auto;
    }
}

@media (min-width: 1200px) and (max-width: 1919px) {

    .gallery__image {
        max-width: 600px;
        height: auto;
    }
}

@media (width: 1920px) {

    .gallery__image {
        max-width: 480px;
        height: auto;
    }
}

@media (min-width: 1921px) {
    .gallery__image {
        max-width: 600px;
        height: auto;
    }
}

.gallery {
    margin: -20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.feedback__section__container {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1919px) {

    .feedback__section__content {
        flex-wrap: wrap;
    }
}

.feedback__section__content {
    display: flex;
    justify-content: space-between;
}

.feedback__section {
    margin: 40px;
}

.feedback__list li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f1f4f6;
    padding: 10px;
    width: 450px;
}

.form__section__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form__title {
    color: #1c2e4a;
    font-size: 65px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.label {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
}

.input__description {
    height: 250px;
}

.input {
    font-size: 18px;
    line-height: 28px;
    width: 600px;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #1c2e4a;
    border-radius: 7px;
    outline: none;
}

footer {
    background-color: #f1f4f6;
}

.footer__section {
    padding: 10px;
}

.footer__title {
    color: #1c2e4a;
    font-size: 65px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 100%;
}

.mailto {
    color: #1c2e4a;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}