.main {
    width: 100%;
}

.main__title {
    width: 100%;
    min-height: 700px;
    padding-top: 40px;
    background-image: url(../img/main.webp);
    background-size: 100%;
    background-repeat: no-repeat;
}

.title {
    margin: 0px auto;
    font-weight: 800;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
    max-width: 400px;
}

.main__content {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 60px 0px 0px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 10%, rgb(255, 255, 255) 16%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.main__inner {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: flex-start;
    width: 311px;
    text-align: center;
    margin: 0px auto;
}

.main__inner h2 {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 8px;
}

.main__inner p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 7px;
    color: rgb(188, 201, 208);
}

.main__list {
    display: flex;
    flex-flow: wrap;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 12px 16px;
    z-index: 1;
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    display: flex;
}

@media (min-height: 550px) {
    .main__content {
        padding: 80px 0px 18px;
    }
}

@media (min-width: 1200px) {
    .main__title {
        min-height: 110px;
        background-image: none;
    }

    .title {
        font-weight: 800;
        font-size: 36px;
        line-height: 40px;
        max-width: 540px;
    }

    .main__content {
        background-image: none;
        position: static;
        padding: 24px 0px;
    }

    .main__inner {
        width: 540px;
    }

    .main__inner h2 {
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 24px;
    }

    .main__inner p {
        font-size: 18px;
        line-height: 25px;
    }

    .main__list {
        margin-bottom: 30px;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .button {
        font-size: 20px;
        height: 62px;
    }
}

@media (min-height: 670px) {
    .main__list {
        gap: 24px 16px;
        padding-bottom: 16px;
    }

    .main__inner p {
        margin-bottom: 23px;
    }
}


.main__item {
    cursor: pointer;
    display: block;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.main__list input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.main__item div {
    position: relative;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 0px 24px;
    cursor: pointer;
    background-color: rgb(239, 245, 247);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    transition: 0.2s ease-out;
    color: rgb(10, 50, 77);

    height: 54px;
    -webkit-box-pack: center;
    justify-content: center;
    border-radius: 30px;
    border: 3px solid transparent;

    width: 147px;
    flex-shrink: 0;
}

label.checked div {
    border: 3px solid rgb(99, 54, 255);
    background-color: rgb(239, 245, 247);
    color: rgb(10, 50, 77);
}

@media (min-width: 1200px) {
	.main__item div {
        height: 76px;
        border-radius: 32px;
        border: 4px solid transparent;
        font-size: 18px;
        line-height: 25px;

        width: 460px;
    }

    label.checked div {
        border: 4px solid rgb(99, 54, 255);
    }
}

@media (min-width: 768px) {
    .main__item div {
        max-height: 76px;
        font-size: 18px;
        line-height: 25px;
    }
}