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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    background-size: 200% 100% !important;
    height: 100vh;
}

.register-img {
    height: auto; 
    width: auto; 
    max-width: 70px; 
    max-height: 70px;
}

.user {
    width: 90%;
    max-width: 340px;
    margin: 10vh auto;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
}
.user__header {
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 500px, 0);
    animation: arrive 500ms ease-in-out 0.7s forwards;
}
.user__title {
    font-size: 14px;
    margin-bottom: -10px;
    font-weight: 500;
    color: white;
}
.form {
    margin-top: 40px;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 500px, 0);
    animation: arrive 500ms ease-in-out 0.9s forwards;
}
.form--no {
    animation: NO 1s ease-in-out;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.form__input {
    display: block;
    width: 100%;
    padding: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    -webkit-appearance: none;
    border: 0;
    outline: 0;
    transition: 0.3s;
}
.form__input:focus {
    background: #0088a9;
}

.input__error{
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    color: red;
    transform: translate3d(0, 500px, 0);
    animation: arrive 100ms ease-in-out 0.3s forwards;
}
.btn {
    display: block;
    width: 100%;
    padding: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    -webkit-appearance: none;
    outline: 0;
    border: 0;
    color: white;
    background: #aba194;
    transition: 0.3s;
}
.btn:hover {
    background: #0088a9;
}
@keyframes NO {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
   }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
   }
    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
   }
}
@keyframes arrive {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
   }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
   }
}
@keyframes move {
    0% {
        background-position: 0 0;
   }
    50% {
        background-position: 100% 0;
   }
    100% {
        background-position: 0 0;
   }
}
