/*Зона логина*/
.areaLogin {
    width: 100%;
    height: calc(100vh - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.areaLogin .login {
    width: 25%;
    height: auto;
    position: relative;
    background: #1C1C1A;
    opacity: 0.5;
    border-radius: 8px;
}
/*Интерактив для логина*/
.areaLogin .login span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}
.areaLogin .login span::before,
.areaLogin .login span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: 0.5s;
}
/*Размеры и анимация самых больших квадратов*/
.areaLogin .login span:nth-child(1)::before {
    top: 80px;
    left: -80px;
    width: 100px;
    height: 100px;
    animation: animate1 2s ease-in-out infinite;
}
.areaLogin .login span:nth-child(1)::after {
    top: -70px;
    left: 330px;
    width: 100px;
    height: 100px;
    animation: animate1 2s ease-in-out infinite;
    animation-delay: 1s;
}
@keyframes animate1 {
    0%, 100% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(-5px) scale(0.5);
    }
}
/*Размеры и анимация самых маленьких квадратов*/
.areaLogin .login span:nth-child(2)::before {
    top: 350px;
    left: 150px;
    width: 40px;
    height: 40px;
    animation: animate2 2s ease-in-out infinite;
}
.areaLogin .login span:nth-child(2)::after {
    top: -80px;
    left: 100px;
    width: 50px;
    height: 50px;
    animation: animate2 2s ease-in-out infinite;
    animation-delay: 1s;
}
@keyframes animate2 {
    0%, 100% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-10px);
    }
}
/*Размер и анимация оставшегося квадрата*/
.areaLogin .login span:nth-child(3)::before {
    top: 200px;
    left: 290px;
    width: 70px;
    height: 70px;
    animation: animate3 2s ease-in-out infinite;
}
@keyframes animate3 {
    0%, 100% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
}
/*Форма логина*/
form {
    padding: 50px 30px;
}
form h1 {
    display: inline-block;
    margin-bottom: 20px;
    border-bottom: 3px solid #DDDDDD;
}
input {
    width: 100%;
    height: 2.5em;
    margin-bottom: 15px;
    border-radius: 20px;
    padding: 0 10px;
    background: #333;
    color: #DDDDDD;
}
button {
    margin-bottom: 15px;
    background: #DDDDDD;
    color: #333;
    border-radius: 20px;
    width: 100px;
    height: 2.5em;
    font-weight: bold;
    cursor: pointer;
}
form p {
    font-size: 12px;
}
form p a {
    color: #DDDDDD;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid #DDDDDD;
}
@media (max-width: 768px) {
    .areaLogin {
        height: calc(100vh - 40px);
    }
    .areaLogin .login {
        width: 50%;
    }
    .areaLogin .login span:nth-child(1)::after {
        top: -70px;
        left: 250px;
    }
    .areaLogin .login span:nth-child(3)::before {
        left: 250px;
    }
}
@media (max-width: 500px) {
    .areaLogin {
        padding-top: 50px;
    }
    .areaLogin .login {
        width: 80%;
    }
}