@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

.event {
    margin: 24px auto 48px;
}
.event img{
    max-width: 100%;
    height: auto;
}
.event__container {
    background: #FFFFFF;
    box-shadow: 0 0 16px 0 #7373A733;
    padding: 24px 16px;
    max-width: 736px;
}
.event__title {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    margin: 0 auto 32px;
    max-width: 489px;
}

.event__title__span {
    font-family: "Mulish", sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 26px;
    background: linear-gradient(90deg, #4175c6 0%, #4fb8e1 52%, #7ab735 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    white-space: nowrap;
}
.event__title__span span {
    font-family: "Mulish", sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 26px;
    background: linear-gradient(90deg, #4175c6 0%, #4fb8e1 52%, #7ab735 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}
.event__title span::before {
    content: attr(data-text);
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    color: #073373;
    transform: translate(1px, 1px);
    background-clip: border-box;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: #073373;
}

.event__subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    margin-bottom: 2px;
}
.event__row {
    background: #F6F6FC;
    border-radius: 12px;
    margin-bottom: 32px;
}
.event__img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 288px;
    border-radius: 12px;
    overflow: hidden;
}
.event__text {
    font-family: 'Arial', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    padding: 24px;
}
.event__box {
    background: #F6F6FC;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}
.event__box__text {
    font-family: 'Arial', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 24px;
}
.event__box__text--last {
    margin-bottom: 0;
}
.event__box__text span {
    font-weight: 700;
}
.event__header {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    margin-bottom: 24px;
}
.event__form {
    margin: 0 auto 32px!important;
    box-shadow: none !important;
    max-width: 433px !important;
    padding: 0 !important;
}

.event__footer {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #F6F6FC;
    border-radius: 12px;
    padding: 24px;
}
.event__footer__title {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 16px;
}
.event__footer__text {
    font-family: 'Arial', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 16px;
}
.event__footer__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    width: 100%;
    background: linear-gradient(79.64deg, #FFD854 -3.4%, #FD5342 45.99%, #C938A9 93.45%);
    border: none;
    border-bottom: 2px solid #8E181D;
    border-radius: 8px;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 17px;
    letter-spacing: 0.3199999928474426px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
}
.event__footer__button:hover {
    color: #fff;
    opacity: 0.7;
}
.event__footer__code {
    display: none;
}
.event__footer__code img {
    max-width: none;
}

/*event-thanks*/
.event-thanks {
    display: none;
}
.event-thanks--active {
    display: block;
    animation: fadeIn 0.5s;
}
.event-thanks__container {
    padding: 36px 16px 24px;
}
.event-thanks__ok {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.event-thanks__title {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    margin-bottom: 16px;
}
.event-thanks__block {
    font-family: 'Mulish', sans-serif ;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    margin: 0 auto 24px;
}
.event-thanks__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 239px;
    min-width: 239px;
    align-self: center;
}
.event-thanks__text {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
}
.event-thanks__text--last {
    margin-bottom: 0;
}
.event-thanks__button {
    width: 100%;
    display: block;
    font-family: 'Arial', sans-serif;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    color: #FFFFFF;
    background: #5F27CD;
    border-radius: 8px;
    padding: 13px 0;
    transition: 0.3s;
    max-width: 280px;
    margin: auto;
}
.event-thanks__button:hover {
    color: #FFFFFF;
    background: #7138ee;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media ( min-width: 375px ) {
    .event {
        padding: 0 24px;
    }
    .event__img {
        width: 280px;
        height: 280px;
    }
    .event__row {
        padding-top: 24px;
    }
    .event__container {
        border-radius: 12px;
        padding: 24px;
    }
    .event-thanks__container {
        padding: 36px 24px 24px;
    }
}

@media ( min-width: 768px ) {
    .event {
        padding: 0 16px;
    }
    .event__footer__code {
        display: block;
    }
    .event__footer__button {
        width: 149px;
        justify-content: flex-start;
        padding-left: 18px;
    }
    .event__form {
        margin-bottom: 52px !important;
    }
    .event__footer {
        padding: 32px;
    }
    .event__box {
        padding: 32px;
        margin-bottom: 52px;
    }
    .event__box__text {
        margin-bottom: 32px;
    }

    .event__box__text--last {
        margin-bottom: 0;
    }
    .event__row {
        padding-top: 24px;
    }
    .event__container {
        border-radius: 12px;
        padding: 52px 32px;
    }
    .event__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 52px;
    }
    .event__title__span {
        font-size: 24px;
        line-height: 30px;
    }
    .event__title__span span {
        font-size: 24px;
        line-height: 30px;
    }
    .event__subtitle {
        font-size: 24px;
        line-height: 27px;
    }
    .event__row {
        display: flex;
        align-items: center;
        margin-bottom: 52px;
        padding: 0;
    }
    .event__img {
        width: 306px;
        min-width: 306px;
        margin: 0;
    }
    .event__text {
        padding: 0 32px;
        font-size: 17px;
        line-height: 28px;
    }
    .event__header {
        font-size: 20px;
        line-height: 26px;
    }
    .event-thanks {
        margin-bottom: 120px;
    }
    .event-thanks__container {
        padding: 36px 30px 24px;
    }
    .event-thanks__title {
        font-size: 17px;
    }
    .event-thanks__block {
        font-size: 16px;
        line-height: 20px;
    }
    .event-thanks__button {
        max-width: 245px;
    }
    .event-thanks__row {
        flex-direction: row;
        align-items: center;
    }
    .event-thanks__text {
        font-size: 17px;
    }
}

@media ( min-width: 1200px ) {
    .event {
        margin: 52px auto;
    }
    .event__container {
        max-width: 781px;
        padding: 52px;
    }
    .event-thanks {
        margin-bottom: 120px;
    }
}