@font-face {
    font-family: 'VK Sans Display';
    src: url('fonts/VK Sans Display Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'VK Sans Display';
    src: url('fonts/VK Sans Display Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'VK Sans Display';
    src: url('fonts/VK Sans Display DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

*{
    box-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: "VK Sans Display";
    overflow-x: hidden;
    color: #2C2D2E;
}
.main{
    background: url('img/bg.webp');
	background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    position: relative;
    padding: 90px 46px 116px;
    overflow: hidden;
}
.main-bg-gradient{
    background-size: contain;
    position: absolute;
    width: 100%;
    top: 24.5vh;
    left: 0;

	min-height: calc(100% - 24.5vh);
	object-fit: cover;
}

.main-title{
    font-size: 52px;
    line-height: 55px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.result-title{
    display: none;
}
.result-subtitle{
    display: block;
    font-size: 20px;
    line-height: 26px;
    max-width: 680px;
    margin: 16px auto 0;
}
.glass{
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.form {
    width: 690px;
    margin: 0 auto 70px;
    border-radius: 32px;
    overflow: hidden;
}
.form form{
    padding: 32px;
}
.text{
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 32px;
}
.text span{
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
}

input[type=text]{
    display: block;
    background: #F5F5F7;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 18px;
    line-height: 26px;
    width: 100%;
    margin-bottom: 16px;
    transition: all .5s;
}
input[type=text]:hover,
input[type=text]:focus-visible{
    outline: none;
    border-color: #0A7CFF;
}

button,
.button{
    background: #0077FF;
    padding: 16px 24px;
    color: #FFFFFF;
    border-radius: 16px;
    line-height: 26px;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all .2s;
	text-decoration: none;
}
button:hover,
.button:hover{
    background: #0A7CFF;
}
.form button{
    margin-top: 16px;
}

.share{
    margin: 0 auto;
    padding: 18px 29px;
    position: relative;
}
.share-title{
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 15px;
    text-align: center;
}
.share-icons{
    display: flex;
    padding: 20px;
    border-radius: 20px;
    gap: 26px;
    justify-content: center;
    width: fit-content;
    margin: 8px auto 0;
}
.share-icons a{
    display: flex;
    background: #3F8CFF;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all .2s;
}
.share-icons a:hover{
    background: #0A7CFF;
}

.footer{
    background: #2C2D2E;
    padding: 70px 96px 80px;
}

input[type=text].error{
    border-color: #ED330A;
    color: #ED330A;
}
input[type=text].error::placeholder{
    color: #ED330A;
}

@media (max-width: 768px){
    .main{
        padding: 100px 12px 16px;
    }
    .main-title{
        font-size: 30px;
        line-height: 33px;
        color: #2C2D2E;
        max-width: 300px;
        margin: 0 auto 30px;
    }
    .form{
        width: 100%;
    }
    .form form{
        padding: 24px;
    }
    .text{
        font-size: 18px;
        line-height: 23px;
        font-weight: 400;
        color: #2C2D2E;
        margin-bottom: 20px;
    }
    .text span{
        font-weight: 500;
        font-size: 19px;
        line-height: 24px;
        padding-right: 30px;
    }
    button,
	.button{
        width: 100%;
    }
    .form button{
        margin-top: 4px;
    }

    .share{
        border-radius: 32px;
        width: 100%;
        padding: 24px;
    }
    .glass{
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
    }
    .glass-mobile{
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .share-title{
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }
    .share-icons{
        padding: 0;
        gap: 12px;
    }
}


.footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #FFFFFF;
}
.footer-left{
    width: 435px;
}
.footer-title{
    font-size: 34px;
    line-height: 36px;
    margin-bottom: 12px;
}
.footer-text{
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 28px;
}
.rating{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 70px;
    row-gap: 24px;
    margin-bottom: 60px;
}
.rating-logo{
    height: 38px;
}
.rating-logo svg{
    display: block;
}
.rating-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rating-holder{
    display: flex;
    align-items: center;
}
.rating-value{
    font-size: 20px;
    font-weight: 500;
    width: 36px;
}
.rating-stars{
    display: flex;
    justify-content: space-around;
    width: 95px;
}

.footer-links{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 40px;
}
.footer-links a{
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    width: 181px;
    height: 52px;
    background: #191919;
    border-radius: 12px;
}
.footer-links a:nth-child(2) svg{
    margin-top: -3px;
    margin-left: 5px;
}
.footer-links a:nth-child(4) svg{
    margin-left: 5px;
}
.footer-bottom{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-qr{
    display: flex;
    column-gap: 20px;
}
.qr-title{
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 8px;
}
.qr-text{
    font-size: 14px;
    line-height: 17px;
    color: #AAADB3;
}

.help{
    width: 364px;
}
.help a{
    font-size: 18px;
    color: #959697;
    text-decoration: none;
}

.rating-logo-mobile,
.soc-links,
.copyright,
.main-bg-dog,
.mail-logo-mobile{
    display: none;
}

@media (max-width: 768px){
    .footer{
        padding: 60px 25px 30px;
    }
    .footer-right{
        display: none;
    }

    .rating-logo{
        display: none;
    }
    .rating-logo-mobile{
        display: flex;
        align-items: center;
        padding: 9px;
        text-decoration: none;
        width: 100%;
        height: 50px;
        background: #191919;
        border-radius: 12px;
    }
	.rating-logo-mobile svg{
		width: 100%;
	}
    .rating-item:nth-child(2) .rating-logo-mobile svg{
        margin-top: -3px;
        margin-left: 5px;
    }
    .rating-item:nth-child(4) .rating-logo-mobile svg{
        margin-left: 5px;
    }
    .rating-item{
        flex-direction: column;
        row-gap: 8px;
    }
    .footer-left{
        width: 100%;
    }
    .rating{
        column-gap: 8px;
        row-gap: 19px;
    }
    .footer-bottom{
        flex-direction: column;
    }
    .soc-links{
        display: flex;
        column-gap: 8px;
        margin-bottom: 36px;
    }
    .soc-links a{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 41px;
        height: 41px;
        background: #191919;
        border-radius: 12px;
    }
    .copyright{
        margin-top: 30px;
        display: block;
        font-size: 13px;
        color: #959697;
    }
    .help{
        display: none;
    }

    .main-bg-gradient{
        top: auto;
        bottom: 0;
        width: 1000px;
        left: -150px;
    }
    .form{
        margin-bottom: 24px;
        transition: all .2s;
    }
    .main{
        background-image: url('img/bg-mobile.webp');
        padding-bottom: 56px;
		background-position-y: -30vw;
    }

    .main-bg-dog{
        display: block;
        position: absolute;
        right: -3px;
        top: 170px;
        width: 77px;
        z-index: 3;
    }

    .mail-logo-mobile{
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 48px;
    }

    .footer-left{
        text-align: center;
    }
    .footer-title{
        font-size: 28px;
        margin-bottom: 24px;
    }
    .footer-text{
        font-size: 16px;
        font-weight: 400;
        color: #959697;
    }
}

.video-holder {
    display: none;
    width: 100%;
    height: 414px;
    background: #0077FF;
}
.share-subtitle{
    margin: 0 auto;
    font-size: 20px;
    line-height: 26px;
    max-width: 623px;
    text-align: center;
    height: 0;
    opacity: 0;
	pointer-events: none;
}
@media (max-width: 768px) {
    .video-holder {
        width: 100%;
        height: 100%;
        aspect-ratio: 5/3;
    }
    .share-subtitle{
        font-size: 16px;
        line-height: 22px;
    }
    .result-subtitle{
        font-size: 16px;
        line-height: 22px;
    }
}

.main-form-row{
    display: flex;
    align-items: center;
    gap: 16px;
}
.main-form-row > input{
    flex: 1;
    margin-bottom: 0;
}
.main-form-radio input{
    display: none;
}
.main-form-radio label{
    padding-left: 32px;
    position: relative;
    cursor: pointer;
    margin-left: 16px;
}
.main-form-radio label:before{
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 4px;
    position: absolute;
    left: 0;
    background: #F5F5F7;
    border: 1px solid transparent;
    transition: all .2s;
}
.main-form-radio label:hover:before{
    border-color: #0A7CFF;
}
.main-form-radio input:checked + label:before{
    background-image: url(img/check.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .main-form-row{
        flex-direction: column;
        align-items: start;
        margin-bottom: 16px;
    }
    .main-form-radio{
        padding-left: 26px;
    }
}

.video-holder video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.names-holder{
    position: absolute;
    top: calc(100% - 170px);
    bottom: 32px;
    left: 32px;
    width: calc(100% - 64px);
    background: #F5F5F7;
    border-radius: 10px;
    z-index: 4;
    padding: 10px 10px 8px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: none;
}
.names-holder a{
    display: block;
    height: 34px;
    line-height: 34px;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 7px;
    border-radius: 10px;
    transition: all .2s;
    padding: 0 10px;
    font-weight: 300;
    cursor: pointer;
}

@media (max-width: 768px) {
    .names-holder{
        left: 24px;
        width: calc(100% - 48px);
        bottom: 24px;
        top: calc(100% - 200px);
    }
}


.main-bg-gradient-mobile{
    display: none;
}
@media (max-width: 768px) {
    .main-bg-gradient{
        display: none;
    }
    .main-bg-gradient-mobile{
        display: block;
        background-size: contain;
        position: absolute;
        top: auto;
        bottom: 0;
        width: 1000px;
        left: -150px;
    }
}

.video-page .first-title,
.video-page .form form{
	display: none;
}
.video-page .result-title,
.video-page .video-holder{
	display: block;
}
.reset-holder{
	height: 0;
	opacity: 0;
	overflow: hidden;
}
.reset-button{
	position: relative;
	display: block;
	margin: 0 auto;
	width: fit-content;
}

.video-page .reset-holder{
	height: auto;
	opacity: 1;
	margin-bottom: 24px;
}

@media (min-width: 1921px){
    .main{
        background-image: url('img/bg-big.webp');
    }
}

.main-form-radio.error label:before{
	border-color: #ED330A;
}


@media (max-width: 500px){
	.main{
		background-position-y: -20vw;
	}
}
@media (max-width: 380px){
	.main{
		background-position-y: 0;
	}
}