.wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
}

main {
    background-color: #ffffff;
    padding: 40px 0 80px;
}

main + .footer {
    padding-top: 0;
}

.main-banner__image {
    margin: 0 auto;
    display: block;
    border-radius: 20px;
}

.info__title {
    max-width: 700px;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: #222222;
    text-align: center;
    margin: 50px auto;
}

.info p {
    max-width: 900px;
    font-size: 21px;
    font-weight: 400;
    text-align: center;
    line-height: 140%;
    color: #222222;
    margin: 0 auto;
}

.info p span {
    font-weight: 600;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

.info-list__item {
    color: #222222;
    box-sizing: border-box;
    padding: 0 0 30px;
    margin: 0;
    border-bottom: 1px solid #222222;
}

.info-list__item:last-child {
    border-bottom: none;
}

.info-list__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    margin: 0;
}

.info-sublist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 0 18px;
    margin: 20px 0 0 0;
}

.info-sublist__item {
    font-weight: 400;
    font-size: 21px;
    line-height: 140%;
    letter-spacing: 0.02em;
}

.info .rules {
    margin: 20px auto 0;
}

.info-sublist__item a {
    text-decoration: none;
    color: rgb(2 174 255);
}

.info .rules a {
    text-decoration: none;
    color: rgb(2 174 255);
}

.info-link {
    display: block;
    font-family: var(--font-harmonia);
    width: max-content;
    grid-area: link;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
    background-color: #00AFFF;
    border: 1px solid #00AFFF;
    border-radius: 10px;
    padding: 18px 46px;
    margin: 20px auto;
}

.info-link .mob-text {
    display: none;
}

.info-link:hover, .info-link:focus {
    color: #00AFFF;
    background-color: #ffffff;
}

.info__btn {
    font: 400 21px/1 var(--font-harmonia);
    color: #00AFFF;
    border: none;
    border-bottom: 1px solid #00AFFF;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

/* Popup Gallery */
.overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1000;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease,background .35s ease
}

.overlay.is-open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    background: rgba(0,0,0,0.4)
}

.overlay.is-open .popup {
    transform: translateY(0) scale(1);
    opacity: 1
}

.overlay.is-closing {
    opacity: 0;
    background: rgba(0,0,0,0)
}

.overlay.is-closing .popup {
    transform: translateY(10px) scale(0.96);
    opacity: 0
}


.popup {
    position: relative;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    max-width: 1000px;
    padding: 40px;
    background-color: #fff;
    border-radius: 15px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform .4s cubic-bezier(0.22,1,0.36,1),opacity .3s ease
}

.popup__title {
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 1;
    text-align: center;
    color: #161616;
    margin: 0
}

.popup__text {
    max-width: 700px;
    font: 400 24px / 34px var(--font-harmonia);
    text-align: center;
    color: #161616;
    margin: 20px auto 0
}

.popup__text a {
    color: #00aeff;
    text-decoration: none
}

.popup__info {
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #161616;
    margin: 14px auto 0
}

.popup__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 58px;
    font-family: var(--font-harmonia);
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    border: 2px solid #222;
    border-radius: 5px;
    background-color: #fff;
    margin: 40px auto 0;
    cursor: pointer
}

.popup__close-icon {
    width: 24px;
    height: 24px;
    stroke: #222
}

.popup__btn:hover,.popup__btn:focus {
    border-color: #00afff;
    color: #00afff
}

.popup .popup__close-btn {
    position: absolute;
    top: 27px;
    right: 21px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 0
}

.popup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .popup-content {
    max-height: 800px;
    overflow-y: auto;
    }

.popup-content__title {
    font: 600 24px/1 var(--font-harmonia);
    text-align: center;
    color: #222222;
    margin: 0;
}

.popup-content__rules-list {
    margin: 0;
}

.popup-content__rules-list li {
    font: 400 18px / 140% var(--font-harmonia);
    color: #222222;
}

.popup-content__rules-list li a {
    color: #00AFFF;
    text-decoration: none;
}

.popup-content__text {
    font: 400 18px / 140% var(--font-harmonia);
    color: #222222;
}

.popup-content__text a {
    color: #00AFFF;
    text-decoration: none;
}

.example-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 2px solid #00afff;
    border-radius: 10px;
    padding: 20px;
}

.example__title {
    font: 600 18px / 140% var(--font-harmonia);
    color: #222222;
    text-align: center;
    margin: 0 0 10px;
}
.example__text {
    font: 400 18px / 140% var(--font-harmonia);
    color: #222222;
    margin: 0;
}
.example__list li {
    font: 400 18px / 140% var(--font-harmonia);
    color: #222222;
}

@media(max-width: 1180px) {

    .main-banner__image {
        width: calc(100% - 32px);
        border-radius: 10px;
        margin: 0 auto;
    }
}

@media(max-width: 1024px) {
    #popup-shop-gallery .swiper-slide img {
        min-height: auto;
    }
}

@media(max-width: 767px) {
    main {
        padding: 0 0 40px;
    }



    .info__title {
        font-size: 24px;
        line-height: 1;
        margin: 25px 0;
    }

    .info p {
        font-size: 18px;
        line-height: 25px;
        margin: 20px 0 0;
        padding: 0 16px;
    }

    .info .date p {
        font-size: 18px;
        line-height: 25px;
        padding: 0 6px;
        margin:0;
    }

    .info ul li {
        font-size: 18px;
        line-height: 25px;
        color: #222222;
        margin: 0;
    }

    .info-list {
        display: flex;
        flex-direction: column;
    }

    .info-list__item {
        padding: 0 10px 20px;
    }

    .info-list__title {
        font-weight: 600;
        font-size: 18px;
        line-height: 1;
    }

    .info ul li {
        font-size: 16px;
        line-height: 21px;
    }

    .info-link {
        padding: 18px 36px;
    }

    .info__btn {
        font: 400 16px/1 var(--font-harmonia);
    }

    .info-link .mob-text {
        display: block;
    }

    .info-link .desk-text {
        display: none;
    }

    .popup {
        padding: 30px 20px;
        height: auto;
    }

    .popup-content {
        max-height: 568px;
        overflow-y: scroll;
    }

    .popup-content__rules-list li,
    .popup-content__text,
    .example__text,
    .example__list li {
        font: 400 16px / 21px var(--font-harmonia);
    }
}