*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    background: #6b727d;
}

@media screen and (min-width: 500px) {
    .container {
        width: 500px;
    }
    .container button {
        font-size: 15px;
        height: 50px;
    }
}

@media screen and (max-width: 500px) {
    .container {
        width: 100%;
    }
    .container button {
        font-size: 12px;
        height: 40px;
    }
}

.container {
    /* width: 500px; */
    padding: 25px 35px; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #EEEEEE;
    border-radius: 15px;
    box-shadow: 5px 5px 10px rgb(156, 156, 156);
}
 
.container h1 {
    margin-bottom: 16px;
    color: #017dc0;
}

.text {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 16px;
    margin-top: 10px;
}

/* .container p{
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 16px;
    margin-top: 10px;
} */

.container button {
    color: black;
    width: 24%;
    background: #c4c4c4;
    border: 1px solid #9b9b9b;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgb(183, 183, 183);
    
}

.container button:hover {
    background: #9e9d9d;
}

.digitSelector button {
    height: 30px;
    width: 10%;
    
}

.container input{
    width: 100%;
    height: 30px;
    border: 1px solid;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0 10px;
}

#check{
    font-size: 20px;
    color: #fff;
    width: 100%;
    height: 50px;
    background: #008DDA;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

#check:hover {
    background: #0072b0;
}

.error{
    animation: shake 0.15s linear 10;
}
@keyframes shake{
    0%{
        transform: translateX(0);
        color: red;
    }
    25%{
        transform: translateX(-3px);
        color: red;
    }
    50%{
        transform: translateX(0);
        color: red;
    }
    75%{
        transform: translateX(3px);
        color: red;
    }
    100%{
        transform: translateX(0);
        color: red;
    }
}

.success {
    animation: paint 0.2s linear 10;
}
@keyframes paint{
    0%{
        color: rgb(0, 255, 38);
    }
    
}
