.fancybox__content{
    background: #000;
    color: #fff;
    width: 90%;
    height: 95%;
}

.fancybox__slide{
    padding: 20px;
}

.form{
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.form .h2{
    font-size: 2.5rem;
    line-height: 2.625rem;
    margin-bottom: 2.5rem;
}

.form__label{
    margin-bottom: .5rem;
}

.form__item{
    display: flex;
    flex-direction: column;
    margin-bottom: 1.375rem;
}

.form__input{
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    height: 3rem;
    background: #000;
    color: #fff;
    padding: 1rem;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.fancybox__container :focus{
    outline: none;
}

.form__input.error{
    border-color: #D60D34;
}

@media screen and (max-width: 1024px){
    .fancybox__content{
        width: 95%;
        height: auto;
    }
}

@media screen and (max-width: 800px){
    .h2{
        font-size: 1.5rem;
        line-height: 1.8125rem;
    }
}