@import url('https://fonts.googleapis.com/css?family=Muli:300,700&display=swap');

* {
    box-sizing: border-box;
}

body{
    background-color: #949496;
    font-family: 'Muli', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container{
    background-color: #cdc5c5;
    border: 3px solid black ;
    border-radius: 10px;
    padding: 30px;
    max-width: 1000px;
    text-align: center;
}

.email-container label{
     font-weight: bold;
     letter-spacing: 2px;
}

.email {
    padding: 2px 5px;
}

.btn-submit {
    background-color: rgba(69, 20, 228, 0.829);
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin: 10px; 
}

.code-container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.code{
    caret-color: transparent;
    border-radius: 5px;
    font-size: 75px;
    height: 120px;
    width: 100px;
    border: 1px solid rgba(128, 128, 128, 0.167);
    margin: 1%;
    text-align: center;
    font-weight: 300;
    -moz-appearance: textfield;
}

.code::-webkit-outer-spin-button,
.code::-webkit-inner-spin-button {
    -webkit-appearance : none;
    margin: 0;
}

.code:valid {
    border-color: #3498db;
    box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.25);
}

.info{
    background-color: #eaeaea;
    display: inline-block;
    padding: 10px;
    line-height: 20px;
    max-width: 400px;
    color: #777;
    border-radius: 5px;
}

@media (max-width : 600px) {
    .code-container {
        flex-wrap: wrap;
    }
    .code {
        font-size: 60px;
        height: 80px;
        max-width: 70px;
    }
}








.popup {
   width: 300px;
   height: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
}

.popup .succ {
    color: green;
}


.popup .fail {
    color: red;
}