@charset "UTF-8";
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: dodgerblue;
    font: normal 15px Arial;
}

header {
    color: #222;
    text-align: center;
    margin: auto;
    background-color: #f9f9f9;
    padding: 15px  0 ;
    width: 500px;
    margin: 24px auto auto auto;
    border-radius: 10px 10px 0 0 ;
}

section {
    background: white;
    border-radius:0 0 10px 10px;
    padding: 15px;
    width: 500px;
    margin: auto ;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.275);

}


#interface {
    display: flex;
    flex-flow: column nowrap;
}

#interface input, #interface label{
    flex-shrink: 1;
    flex-grow: 1;
    width: 60%;
    margin:auto;
}

#interface label {
    padding: 5px 0;
}


#interface input {
    margin-bottom: 15px;
    padding: 6px ;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#interface input[type=button],
#interface input[type=reset] {
    cursor: pointer;
    padding: 10px 0;
    border: none;
    color: #fff;
    font-weight: bold;
}

#interface input[type=button] {
    background-color: dodgerblue;

    transition: background-color 0.2s ease-out;
}

#interface input[type=button]:hover {
    background-color: darkblue;
}

#interface input[type=reset] {
    background-color: crimson;
    transition: background-color 0.2s ease-out;
}


#interface input[type=reset]:hover {
    background-color: darkred;
}

#display {
    text-align: center;
    padding: 24px 0;

}

footer {
    color: white;
    text-align: center;
    font-style: italic;
    padding-top: 10px;
}

.overlay {
    display: none;

    width: 100vw;
    height: 100vh;
    background-color: #222;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 60%;
    filter: blur(5px);
    z-index: 999;
}

.msg__error {
    display: none;
    
    text-align: center;
    background-color: #f9f9f9;
    padding: 100px 24px 24px 24px;
    position: absolute;
    z-index: 1000; 
    width: 500px;
    height: 400px;
    margin: auto;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.275);

}

.msg__error > h3 {
    color: crimson;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    padding: 15px 0;
}

.msg__error > button {
    padding: 15px 6px;
    width: 50%;
    border-radius: 6px;
    border: none;
    border-bottom: 3px solid rgb(10, 80, 151);
    background-color: dodgerblue;
    color: #fafafa;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s ease-in-out;
    margin-top: 20px;

}

.msg__error > button:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 10px rgba(30, 143, 255, 0.541) ;

}
