.wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    padding: 0 10px 30px;
    margin: 0 auto;
}

.anchor {
    text-decoration: none;
}

main {
    background-color: #E1F6FF;
    padding: 30px 0 0;
}

main + .footer {
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ? Banner ? */
.main-block {
    border-radius: 30px;
    background-image: url(../img/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.main-block-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 580px;
    padding: 92px 40px 94px;
}

.main-block-info__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: #ffffff;
    margin: 0;
}

.main-info-block__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin: 0;
}

.main-block-info__link {
    font-family: var(--font-harmonia);
    max-width: 280px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    color: #222222;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin: 9px 0 0;
    background: linear-gradient(90deg, rgba(253, 213, 4, 1) 0%, rgba(255, 64, 227, 1) 50%, rgba(45, 217, 222, 1) 100%);
}

.main-block-info__link span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222222;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 8px 0 10px;
    border-radius: 6px;
}

.main-block-info__link:hover span,
.main-block-info__link:focus span {
    background-color: transparent;
    color: #ffffff;
}

/* ? Setups ? */

.setups {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.setups__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #222;
    margin: 0;
}

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

.setups-list__item {
    display: flex;
    width: 180px;
    height: 450px;
    border-radius: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
}

.setups-list__item:hover {
    box-shadow: 0px 2px 4px 0px rgba(242, 41, 128, 0.72), 0px 6px 8px 0px rgba(8, 95, 133, 0.50);
}

.setups-list__item:first-child {
    background-image: url(../img/bg-setup-1.jpg);
}

.setups-list__item:nth-child(2) {
    background-image: url(../img/bg-setup-2.jpg);
}

.setups-list__item:nth-child(3) {
    background-image: url(../img/bg-setup-3.jpg);
}

.setups-list__item:nth-child(4) {
    background-image: url(../img/bg-setup-4.jpg);
}

.setups-list__item:nth-child(5) {
    background-image: url(../img/bg-setup-5.jpg);
}

.setups-list__item:nth-child(6) {
    background-image: url(../img/bg-setup-6.jpg);
}

.setups-list__link {
    width: 100%;
    text-decoration: none;
    padding: 20px 8px;
}

.setups-list__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

/* ? Video Lessons ? */
.video-lessons {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-lessons__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #222;
    margin: 0;
}

#video-lessons {
    position: relative;
    overflow: hidden;
    max-width: 990px;
    margin: 0 auto;
}

.video-lessons .swiper-slide {
    max-width: 320px;
}

.video-lesson {
    display: block;
    text-decoration: none;
    padding: 16px;
}


.video-lesson__poster img {
    border-radius: 15px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
}

.video-lesson:hover .video-lesson__poster img {
    box-shadow: 0px 2px 4px 0px rgba(242, 41, 128, 0.72), 0px 6px 8px 0px rgba(8, 95, 133, 0.50);
}

.video-lesson__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    color: #222222;
    margin: 20px 0 0;
}

.video-lesson__label {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #222222;
}

.video-lessons .swiper-button-next,
.video-lessons .swiper-button-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    border-radius: 8px;
    background: transparent;
    height: 100%;
    top: 0;
    margin: 0;
}

.video-lessons .swiper-button-next svg,
.video-lessons .swiper-button-prev svg {
    stroke: #222222;
}

.video-lessons .swiper-button-next:hover svg,
.video-lessons .swiper-button-prev:hover svg {
    stroke: #E11882;
}

/* ? Educational-articles ? */

.educational-articles {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.educational-articles__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #222;
    margin: 0;
}

#educational-articles {
    position: relative;
    overflow: hidden;
    max-width: 1065px;
    padding: 0 0 10px;
    margin: 0 auto;
}

.educational-articles .swiper-slide {
    max-width: 260px;
}

.educational-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 385px;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 16px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
}

.educational-article:hover,
.educational-article:focus {
    box-shadow: 0px 2px 4px 0px rgba(242, 41, 128, 0.72), 0px 6px 8px 0px rgba(8, 95, 133, 0.50);
}

.educational-article__poster img {
    border-radius: 8px;
}

.educational-article__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #222222;
    margin: 0;
}

.educational-article__label {
    display: block;
    width: max-content;
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.6px;
    border-radius: 4px;
    background-color: #D9BF8C;
    padding: 8px 12px;
}

.educational-articles .swiper-button-next,
.educational-articles .swiper-button-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    border-radius: 8px;
    background: transparent;
    height: 100%;
    top: 0;
    margin: 0;
}

.educational-articles .swiper-button-next svg,
.educational-articles .swiper-button-prev svg {
    stroke: #222222;
}

.educational-articles .swiper-button-next:hover svg,
.educational-articles .swiper-button-prev:hover svg {
    stroke: #E11882;
}

/* ? Shops ? */

.shops-box {
    border-radius: 15px;
    background-color: #e8f8fe;
    padding: 30px;
}

.shops-block__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #222222;
    margin: 0;
}

.shop-block-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 20px auto 0;
}

.shop {
    max-width: 366px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 15px;
    padding: 15px;
}

.shop:nth-child(1) {
    background: linear-gradient(90deg, #FF40E3 0%, #2DD9DE 155.63%, #FF40E3 311.25%), #82D2F4;
}

.shop:nth-child(2) {
    background: linear-gradient(90deg, #FF40E3 -104.86%, #2DD9DE 50.83%, #FF40E3 206.53%), #82D2F4;
}

.shop:nth-child(3) {
    background: linear-gradient(90deg, #FF40E3 -211.67%, #2DD9DE -55.83%, #FF40E3 100%), #82D2F4;
}

.shop__poster {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.shop__address {
    width: max-content;
    position: absolute;
    bottom: 10px;
    right: 50%;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    border-radius: 110px;
    color: #ffffff;
    background: radial-gradient(272.3% 396.67% at 63.96% -108.04%, #00AFFF 0%, rgba(14, 0, 205, 0.00) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translate(50%, 0);
    padding: 10px 8px;
    margin: 0;
}

.shop-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.shop__text {  
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.shop__link {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #00afff;
    color: #ffffff;
    cursor: pointer;
    padding: 18px 0;
}

.shop__link:hover,
.shop__link:focus {
    background-color: #00AFFF;
}

/* ? Contact ? */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
    background: linear-gradient(90deg, #FF40E3 0%, #FDD504 100%), #FEE562;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 30px;
}

.contact-form-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-heading__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.contact-form-heading__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

/* ? Succes ? */

.contact-form-succes {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    align-items: center;
    display: flex;
    border-radius: 15px;
    padding: 36px 0;
}

.success-block__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.success-block__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.4px;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.success-social-list {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ? Contacts ? */

.contacts {
    border-radius: 15px;
    background: linear-gradient(90deg, #37ACFF 0%, #67E717 100%), #82D2F4;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contacts-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
}

.contacts-heading__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.contacts-heading__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contacts-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 30px 20px;
    margin: 0;
}

.contacts-list__item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 14px 54px;
    text-decoration: none;
    border-radius: 15px;
    background: rgba(43, 238, 205, 0.40);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
}

.contacts-list__title {
    grid-area: 1 / 1 / 2 / 2;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.contacts-list__text {
    grid-area: 2 / 1 / 3 / 2;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.4px;
    color: #ffffff;
    margin: 0;
}

.contacts-list__logo {
    grid-area: 1 / 2 / 3 / 3;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    background-color: transparent;
    align-items: center;
    border-radius: 50px;
}

/* ? Store Feature ? */
.store-features {
    background: linear-gradient(0deg, #F0F0F0 0%, #F0F0F0 100%), var(--white, #FFF);
    padding: 162px 0 158px;
}

.store-features-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.store-features-list__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 42px 0 38px 0;
}

.store-features-list__item:nth-child(2) {
    border-left: 1px solid #C4C4C4;
    border-right: 1px solid #C4C4C4;
}

.store-features-list__item img {
    width: 65px;
    height: 65px;
}

.store-features-list__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    color: #222222;
    margin: 19px 0 0 0;
}

.store-features-list__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.02em;
    text-align: center;
    color: #222222;
    margin: 6px 0 0 0;
    padding: 0 50px;
}

.store-features-list__link {
    position: relative;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #00AFFF;
    margin: 20px 0 0 0;
}

.store-features-list__link::before {
    position: absolute;
    content: "";
    background-image: url(../img/link-arrow.svg);
    background-repeat: no-repeat;
    background-size: 6px 12px;
    width: 10px;
    height: 17px;
    top: 5px;
    right: -19px;
}

@media(max-width: 1060px) {
    #video-lessons {
        position: relative;
        overflow: hidden;
        max-width: 900px;
        margin: 0 auto;
    }

    #educational-articles {
        max-width: 900px;
    }

    .educational-articles .swiper-slide {
        max-width: 290px;
    }
    
}

@media(max-width: 1024px) {
    /* ? Banner ? */
    .main-block-info {
        padding: 80px 40px;
    }

    /* ? Setups ? */

    .setups-list {
        overflow: scroll;
    }
    
    .setups-list__item {
        flex-shrink: 0;
    }

    /* ? Video Lessons ? */
    .video-lesson {
        padding: 16px 0;
    }

    .video-lesson__title {
        font-size: 20px;
        line-height: 22px;
        margin: 10px 0 5px;
    }

    .video-lessons .swiper-button-next,
    .video-lessons .swiper-button-prev {
        display: none;
    }

    /* ? Shops ? */
    .shops-box {
        padding: 0;
    }

    .shop__address {
        max-width: 200px;
    }

    /* ? Store Features ? */

    .store-features {
        padding: 100px 0;
    }

    .store-features-list__item {
        padding: 37px 0 33px 0;
    }

    .store-features-list__title {
        font-size: 16px;
        line-height: 19px;
        margin: 19px 0 0 0;
    }

    .store-features-list__description {
        font-size: 14px;
        line-height: 18px;
        margin: 6px 0 0 0;
        padding: 0 20px;
    }

    .store-features-list__link {
        font-size: 14px;
        line-height: 18px;
        margin: 20px 0 0 0;
    }
    
}

@media(max-width: 767px) {

    /* ? Banner ? */

    .main-block {
        background-position: -600px center;
        border-radius: 15px;
        padding: 260px 0 0 0;
    }

    .main-block-info {
        gap: 10px;
        max-width:100%;
        background: rgba(92, 26, 4, 0.40);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 10px;
    }

    .main-block-info__title {
        font-size: 24px;
        line-height: 28px;
        text-align: center;
    }

    .main-info-block__subtitle {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        letter-spacing: 0;
    }

    .main-block-info__link {
        width: 100%;
        padding: 2px;
        margin: 5px auto 0;
    }

    .main-block-info__link span {
        padding: 11px 0 15px;
    }

    /* ? Setups ? */

    .setups {
        gap: 20px;
    }
    
    .setups__title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .setups-list {
        gap: 20px;
    }
    
    .setups-list__item {
        background-size: cover;
        width: 220px;
        height: 338px;
    }
    
    .setups-list__link {
        padding: 20px;
    }

    /* ? Video Lessons ? */
    
    .video-lessons__title {
        max-width: 300px;
        font-size: 24px;
        line-height: 28px;
        margin: 0 auto;
    }

    .video-lesson__title {
        font-size: 16px;
        line-height: 20px;
    }
    
    .video-lesson__label {
        font-size: 14px;
    }

    /* ? Shops ? */

    .shops-box {
        padding: 10px;
    }

    .shops-block__title {
        font-size: 20px;
        line-height: 24px;
        padding: 0 15px;
    }

    .shop-block-list {
        display: flex;
        flex-wrap: nowrap;
        overflow: scroll;
    }

    .shop-block-list::-webkit-scrollbar {
        display: none;
    }

    .shop {
        flex-shrink: 0;
        max-width: 300px;
        padding: 0 0 15px;
    }

    .shop__text {
        font-size: 18px;
        line-height: 24px;
    }

    .shop__address {
        max-width: 100%;
        white-space: nowrap;
        font-size: 12px;
    }

    /* ? Contact ? */

    .contact-form {
        gap: 15px;
        padding: 15px;
    }

    .contact-form-heading {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .contact-form-heading__title {
        font-size: 24px;
        line-height: 28px;
    }

    .contact-form-heading__subtitle {
        font-size: 16px;
        line-height: 20px;
    }

    /* ?  ? */
    .contacts {
        border-radius: 15px;
    }

    .contacts-heading {
        padding: 15px;
    }

    .contacts-heading__title {
        font-size: 24px;
    }

    .contacts-heading__subtitle {
        font-size: 18px;
        font-weight: 600;
    }

    .contacts-list {
        grid-template-columns: auto;
        gap: 10px;
        padding: 0 15px 15px;
    }

    .contacts-list__item {
        grid-template-columns: 1fr 40px;
        gap: 14px 54px;
        border-radius: 15px;
        padding: 16px 16px 19px;
    }

    .contacts-list__title {
        font-size: 18px;
    }

    .contacts-list__text {
        font-size: 14px;
        letter-spacing: 0.28px;
    }

    .contacts-list__logo {
        width: 40px;
        height: 40px;
        margin: auto;
    }

    /* ? Store Feature ? */
    .store-features {
        padding: 10px 0;
    }

    .store-features-list {
        grid-template-columns: 1fr;
    }

    .store-features-list__item {
        padding: 43px 0 46px 0;
    }

    .store-features-list__item:nth-child(2) {
        border-top: 1px solid #C4C4C4;
        border-bottom: 1px solid #C4C4C4;
        border-left: none;
        border-right: none;
    }
}