@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* MAIN */

body, html {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.5px;
    color: #FFFFFF;
    background: linear-gradient(237deg, 
        #06ACDE -16.28%, 
        #1385C6 7.61%, 
        #34228A 45.55%, 
        #3E0478 60.02%, 
        #20024E 84.61%, 
        #09012E 107.77%, 
        #002 120.79%
    );
    background-repeat: repeat;
    overflow: hidden;
}
input, button, textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}
a {
    color: #FFF;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
@media screen and (max-width: 1540px) {
    body, html {
        overflow-y: scroll;
    }
}

/* WRAPPERS */

.wrapper {
    margin: auto auto;
    padding: 0 80px;
    max-width: 1548px;
}
.wrapper__main {
    display: grid;
    grid-template-columns: minmax(400px, 802px) minmax(400px, 700px);
    grid-gap: 46px;
}
.main__section {
    position: relative;
}
@media screen and (max-width: 1540px) {
    .wrapper {
        padding: 40px 80px;
    }
    .wrapper__main {
        display: flex;
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .wrapper {
        padding: 30px;
    }
    .wrapper__main {
        grid-gap: 30px;
    }
}
@media screen and (max-width: 430px) {
    .wrapper {
        padding: 20px;
    }
    .wrapper__main {
        grid-gap: 20px;
    }
}

/* SCREENS */

.section--screens {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section__logo {
    z-index: 1;
    margin-bottom: 20px;
}
.screens__wrapper {
    position: relative;
}
.section__video {
    opacity: 0;
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 27%;
    height: 97%;
    transform: translate(-49%, -50.9%);
    background-color: rgba(0, 0, 0, 1);
    border-radius: 33px;
    transition: opacity 0.5s linear;
    cursor: pointer;
}
.video__button {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    background: transparent url("./images/icon_play.svg");
    background-size: 48px;
    border: none;
    font-size: 0;
    cursor: pointer;
}
.video__button:hover {
    opacity: 0.5;
}
.section__background {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 1240px;
    height: 600px;
    background: url("./images/background_town.png");
    border-radius: 250px;
    transform: translate(-50%, -82%);
}
.section__image {
    z-index: 1;
    max-width: 800px;
    width: 100%;
}
.section__radio {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(50px);
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 2px 10px 2px 2px;
    color: #C9D0FF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 250px;
    border-radius: 146px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(40, 47, 102, 0.60);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.section__radio::before {
    flex-shrink: 0;
    content: "";
    display: block;
    width: 69px;
    height: 69px;
    background-image: url("./images/icon_eclipse.svg"), url("./images/icon_radio.svg");
    background-repeat: no-repeat, no-repeat;
    background-position: center center;
}
.screens__text {
    margin-top: 40px;
    margin-bottom: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
    max-width: 90%;
    color: #B6BFFF;
}

@media screen and (max-width: 1540px) {
    .section__screens {
        max-width: 800px;
    }
    .section__logo {
        margin-top: 20px;
        margin-bottom: 40px;
        max-width: 420px;
    }
    .section__background {
        width: 1140px;
        height: 590px;
        transform: translate(-50%, -70%);
        border-radius: 150px;
        background-size: 1140px 590px;
    }
}
@media screen and (max-width: 768px) {
    .section__logo {
        max-width: 320px;
    }
    .section__background {
        width: 974px;
        height: 462px;
        transform: translate(-50%, -60%);
        border-radius: 150px;
        background-size: 974px 462px;
    }
    .section__video {
        border-radius: 20px;
    }
    .section__radio {
        width: 220px;
        font-size: 16px;
        transform: translateX(-50%) translateY(10px);
    }
    .section__radio::before {
        width: 44px;
        height: 44px;
        background-size: 44px 44px, 23px 25px;
    }
    .screens__text {
        margin-top: 20px;
        max-width: 100%;
        font-size: 18px;
    }
}
@media screen and (max-width: 430px) {
    .section__logo {
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: 240px;
    }
    .section__background {
        width: 700px;
        height: 280px;
        transform: translate(-50%, -75%);
        border-radius: 150px;
        background-size: 700px 280px;
    }
    .screens__text {
        font-size: 16px;
    }
}
@media screen and (max-width: 375px) {
    .section__background {
        transform: translate(-50%, -65%);
    }
}

/* CODE */

.section--code {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section__header {
    margin: 0 0 20px;
    font-size: 54px;
    font-weight: 700;
    line-height: 59.4px;
    text-transform: uppercase;
}
.section__text {
    margin: 0 0 20px 0;
}
.section__qr_code {
    position: relative;
    display: block;
    margin: 0 auto 20px;
    width: 308px;
    height: 336px;
    font-size: 0;
    background: url("./images/qr_code.png");
    border: none;
    cursor: pointer;
}
.section__qr_code::after {
    content: var(--text);
    position: absolute;
    width: 100%;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.3px;
}
.section__qr_code:hover {
    opacity: 0.75;
}
.section__socials {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    margin: 0 0 20px;
    padding: 0;
    list-style-type: none;
}
.socials__link {
    display: block;
    font-size: 0;
}
.socials__link:hover {
    opacity: 0.75;
}
.socials__link--telegram {
    width: 32px;
    height: 26px;
    background: url("./images/icon_telegram.svg");
}
.socials__link--instagram {
    width: 32px;
    height: 33px;
    background: url("./images/icon_instagram.svg");
}
@media screen and (max-width: 1540px) {
    .section--code {
        align-items: center;
    }
    .section__header {
        font-size: 44px;
    }
    .section__text {
        max-width: 770px;
        text-align: center;
    }
    .section__qr_code {
        display: flex;
        width: 488px;
        height: 76px;
        padding: 16px 24px;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        gap: 16px;
        color: #333;
        text-align: center;
        font-size: 24px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 1.3px;
        text-transform: uppercase;
        border-radius: 14px;
        /* border: 3px solid rgba(255, 255, 255, 0.20); */
        /* background: none; */
        background: #FFF;
        text-decoration: none;
    }
    .section__qr_code::before {
        flex-shrink: 0;
        content: "";
        display: block;
        width: 44px;
        height: 44px;
        background: url("./images/icon_download.svg");
        background-size: 44px 44px;
        filter: invert(1);
    }
    .section__qr_code.button--apple::before {
        width: 30px;
        height: 30px;
        background: url("./images/icon_apple.svg");
        background-size: 30px 30px;
        filter: invert(1);
    }
    .section__qr_code.button--google::before {
        width: 30px;
        height: 30px;
        background: url("./images/icon_google.svg");
        background-size: 30px 30px;
        filter: none;
    }
    .section__qr_code::after {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .section__header {
        font-size: 28px;
    }
    .section__qr_code {
        width: 100%;
    }
}
@media screen and (max-width: 430px) {
    .section__header {
        font-size: 24px;
        line-height: 24px;
    }
    .section__qr_code {
        height: 60px;
        font-size: 18px;
    }
    .section__qr_code::before {
        width: 32px;
        height: 32px;
        background-size: 32px 32px;
    }
}

/* WINNER FORM */

.form {
    align-self: stretch;
}
.form__title {
    margin: 0 0 20px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 18.57px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}
.form__wrapper {
    position: relative;
    padding: 16px 70px 16px 20px;
    width: 520px;
    box-sizing: border-box;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.20);
}
.form__field {
    width: 100%;
    color: #FFF;
    font-size: 20px;
    background-color: transparent;
    border: none;
}
.form__field:focus {
    outline: none;
}
.form__field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form__button {
    top: 50%;
    right: 20px;
    position: absolute;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    font-size: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(198, 198, 198, 0.5);
    background-image: url("./images/icon_arrow.svg");
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}
.form__button:hover {
    background-color: rgba(198, 198, 198, 0.35);
    transform: translateY(-50%) scale(1.35);
}
@media screen and (max-width: 1540px) {
    .form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .form__title {
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    .form__wrapper {
        width: 100%;
    }
}

/* FOOTER */

.footer {
    display: flex;
    margin-top: 60px;
    padding: 20px 0px;
    justify-content: space-between;
    align-self: stretch;
    border-image: 
        linear-gradient(to left, rgba(0, 0, 0, 0) 1%, rgba(255, 255, 255, 0.35) 50%, rgba(0, 0, 0, 0) 100%) 
        100% 0 100% 0/2px 0 0 0 stretch;
    border-top-width: 2px;
    border-top-style: solid;
}
.footer__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section__phone {
    margin-bottom: 15px;
    text-decoration: none;
}
.section__email {
    margin-bottom: 15px;
}
.section__address {
    max-width: 440px;
    font-style: normal;
}
.feedback__button {
    margin-left: auto;
    display: flex;
    padding: 11px 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    max-width: 300px;
    width: 100%;
    color: #25244F;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 18.57px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    background: #FFF;
    cursor: pointer;
}
.feedback__button:hover {
    opacity: 0.75;
}
.links {
    margin-top: 30px;
    display: flex;
    grid-gap: 20px;
    padding: 0;
    list-style-type: none;
}
.links__text {
    color: #FFF;
}
@media screen and (max-width: 1540px) {
    .footer {
        flex-direction: column;
        grid-gap: 30px;
        padding-bottom: 0;
    }
    .feedback__button {
        margin-left: 0;
    }
    .links {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 768px) {
    .links {
        flex-direction: column;
    }
}
@media screen and (max-width: 430px) {
    .footer {
        margin-top: 30px;
    }
}

/* FEEDBACK */

.feedback__header {
    margin: 0 0 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 19.5px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.feedback__screen {
	padding: 30px;
	border: none;
    background: linear-gradient(237deg, 
        #06ACDE -16.28%, 
        #1385C6 7.61%, 
        #34228A 45.55%, 
        #3E0478 60.02%, 
        #20024E 84.61%, 
        #09012E 107.77%, 
        #002 120.79%
    );
    background-repeat: repeat;
    border-radius: 8px;
}

.feedback__screen::backdrop {
	background-color: rgba(0, 0, 0, 0.65);
}

.feedback__form {
	display: grid;
	grid-gap: 10px;
}

.feedback__form input {
	padding: 10px;
	font-size: 14px;
    font-weight: 600;
	border-radius: 10px;
	border: none;
    background-color: rgba(255, 255, 255, 0.20);
}
.feedback__form input:focus {
	outline: none;
	background-color: rgba(255, 255, 255, 0.75);
}
.feedback__form input::placeholder {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}
.feedback__form input:focus::placeholder {
    color: #000;
}

.feedback__form textarea {
	min-height: 100px;
	padding: 10px;
	font-size: 14px;
    font-weight: 600;
	border-radius: 10px;
	border: none;
    background-color: rgba(255, 255, 255, 0.20);
}
.feedback__form textarea:focus {
	outline: none;
	background-color: rgba(255, 255, 255, 0.75);
}
.feedback__form textarea::placeholder {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}
.feedback__form textarea:focus::placeholder {
    color: #000;
}

.feedback__fields {
	display: flex;
	grid-gap: 10px;
}

.feedback__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 10px;
	margin-top: 10px;
}

.feedback__button--close {
    opacity: 0.5;
}
.feedback__button--close:hover {
    opacity: 1;
}

.feedback__success .feedback__header {
    margin-bottom: 0;
}

.feedback__success {
    display: none;
}

/* REMOVE */

.delete__body {
    box-sizing: border-box;
    padding: 40px;
}
@media screen and (max-width: 540px) {
    .delete__body {
        box-sizing: border-box;
        padding: 20px;
        font-size: 14px;
    }
}

.delete__wrapper {
    position: relative;
    margin: auto;
    max-width: 660px;
    padding: 40px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 1);
    /* border-image: linear-gradient(#f6b73c, #4d9f0c) 30; */
    border-radius: 30px;
}
.delete__wrapper::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-85%) scale(0.75);
    display: block;
    width: 500px;
    height: 259px;
    background-image: url("./images/logo.png");
}
.delete__wrapper::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: 680px;
    height: 250px;
    opacity: 0.85;
    background: url("./images/background.png");
    background-size: 680px 250px;
    border-radius: 0;
    transform: translate(-55%, -100%);
}
@media screen and (max-width: 700px) {
    .delete__wrapper::before {
        transform: translateX(-50%) translateY(-80%) scale(0.65);
    }
    .delete__wrapper::after {
        width: 500px;
        height: 220px;
        background-size: 500px 220px;
    }
}
@media screen and (max-width: 540px) {
    .delete__wrapper {
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    .delete__wrapper::before {
        margin: auto;
        position: relative;
        width: 250px;
        height: 130px;
        transform: none;
        top: 0;
        left: 0;
        background-size: 250px 130px;
    }
    .delete__wrapper::after {
        display: none;
    }
}

.delete__header {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em;
    line-height: 90%;
}

.delete__text {
    margin-top: 0;
}

.delete__attention {
    margin-bottom: 40px;
    font-weight: 600;
}

.delete__notice {
    margin-bottom: 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}

.delete__warning {
    color: #FA4143;
}

.delete__form {
    margin: -20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}
.delete__fieldset {
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.6fr;
    grid-gap: 10px;
    border: none;
}
@media screen and (max-width: 768px) {
    .delete__fieldset {
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 540px) {
    .delete__form {
        margin: -20px 0
    }
    .delete__fieldset {
        grid-template-columns: 1fr;
    }
}

.delete__field {
    width: 100%;
    box-sizing: border-box;
	padding: 10px;
	font-size: 14px;
    font-weight: 600;
    color: #FFF;
	border-radius: 10px;
	border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.20);
}
.delete__field:focus {
	outline: none;
    color: #000;
	background-color: rgba(255, 255, 255, 0.75);
}
.delete__field::placeholder {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}
.delete__field:focus::placeholder {
    color: #000;
}
.delete__field:user-invalid {
    border-color: #FA4143;
}

.delete__submit {
    display: flex;
    padding: 11px 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    font-weight: 600;
    color: #FFF;
    background: linear-gradient(180deg, #F98840 0%, #FA4143 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.delete__submit:hover {
    background: linear-gradient(88deg, #F75532 0%, #FC8206 76.2%);
}

.delete__socials {
    margin: 40px -20px -20px -20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}
@media screen and (max-width: 540px) {
    .delete__socials {
        margin: 40px 0 -20px 0;
    }
}

.delete__links {
    margin: 0;
    padding: 0;
    display: flex;
    grid-gap: 10px; 
    list-style-type: none;
}
.delete__social {
    display: flex;
    padding: 11px 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.delete__social:hover {
    background: linear-gradient(88deg, #F75532 0%, #FC8206 76.2%);
}
.delete__social::before {
    content: "";
    margin-right: 10px;
    display: block;
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}
.delete__social--apple::before {
    background-image: url("./images/icon_apple.svg");
}
.delete__social--google::before {
    background-image: url("./images/icon_google.svg");
}
.delete__social--facebook::before {
    background-image: url("./images/icon_facebook.svg");
}
@media screen and (max-width: 768px) {
    .delete__social {
        font-size: 0;
    }
    .delete__social::before { 
        margin-right: 0;
    }
}

.delete__button {
    display: flex;
    margin: -20px auto 20px;
    padding: 11px 20px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    max-width: 300px;
    width: 100%;
    font-weight: 600;
    color: #FFF;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FF0000 0%, #FA4143 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
}
.delete__button:hover {
    background: #FF0000;
    transform: scale(1.1);
}

.delete__confirm {
    display: none;
}

.delete__success {
    display: none;
}

.delete__error {
    display: none;
}

.delete__notfound {
    display: none;
}

.delete__success .delete__attention,
.delete__error .delete__attention,
.delete__notfound .delete__attention {
    margin-bottom: 0;
}

/**/

.cookies__notice {
    display: none;
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 50vw;
    padding: 20px;
    background-color: rgba(16, 142, 203, 1);
    border-radius: 12px;
}
.cookies__notice.show {
    display: block;
}
.cookies__text {
    margin-top: 0;
    margin-bottom: 20px;
}
.cookies__button {
    display: flex;
    padding: 11px 16px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    max-width: 300px;
    width: 100%;
    color: #25244F;
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 18.57px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    background: #FFF;
    cursor: pointer;
}
.cookies__button:hover {
    opacity: 0.85;
}

@media screen and (max-width: 768px) {
    .cookies__notice {
        width: 80vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .cookies__button {
        margin-left: auto;
        margin-right: auto;
    }
}