* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Roboto", sans-serif;
}

.FormContainer {
    background-color: rgb(36, 36, 36);
    padding: 2rem;
    border-radius: 5px;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

form label {
    display: block;
    color: white;
    margin-top: 3rem;
    font-size: 1.2rem;
}

.FormInput {
    position: relative;
}

form input[type="text"],
form input[type="email"], 
form input[type="password"] {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid white;
    background-color: transparent;
    outline: none;
    color: white;
}

form p {
    margin-top: 0.75rem;
    color: grey;
}

.ControlText {
    display: none;
    color: rgb(196, 6, 6);
}

.ControlIcon {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    height: 32px;
    opacity: 0;
}

.ControlPassword {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 1rem;
}

.ControlPassword > div {
    display: none;
    width: 100px;
    text-align: center;
    color: white;
    padding: 0.5rem 0;
}

.weak {
    border-top: 5px solid rgb(255, 102, 0);
}

.moderate {
    border-top: 5px solid yellow;
}

.strong {
    border-top: 5px solid rgb(5, 185, 5);
}

form input[type="submit"] {
    display: inline-block;
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    margin-top: 3rem;
    margin-left: 50%;
    transform: translateX(-50%);
    color: black;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    border: none;
    cursor: pointer;
}

.shook {
    animation: shake 100ms 2;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }
}