html{
    font-family: Arial, Helvetica, sans-serif;
}

*{
    padding: 0;
    margin: 0; 
}

body{
    background-color: #eef3f6;
}

main{
    width: 500px;
    margin: 13vh auto 0;
    text-align: center;
}

form{
    display: grid;

}

label{
    display: grid;
    text-align: left;
    margin-top: 10px;
    cursor: pointer;
}

label > input{
    height: 40px;
    padding-left: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 2px solid transparent;
    background-color: #01d3af;
}

label > input::placeholder{
    color: black;
}

form > label:nth-child(5){
    display: inline;
    text-align: center;
    
}

form > label:nth-child(5) > input{
    height: auto;
    cursor: pointer;
}

input[type="submit"]{
    border: none;
    border-radius: 5px;
    height: 30px;
    margin-top: 10px;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]{
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"]{
    appearance: textfield;
    -moz-appearance: textfield
}

form > a{
    background-color: #727576;
    text-decoration: none;
    color: white;
    padding: 7px 0 7px 0;
    margin-top: 20px;
    font-size: 14px;
    border-radius: 5px;
}


main > span{
    display: block;
    text-align: left;
    color: #959a9d;
    margin-top: 5px;
    font-size: 12px;
}

.active{
    cursor: pointer;
    background-color: #ff7f7f;
    color: black;
}

.active:disabled{
    cursor: not-allowed;
    background-color: #727576;
    color: #eef3f6;
}


.error_block{
    position: absolute;
    color: red;
    border: 2px solid red;
    left: calc(50% - 250px);
    width: 500px;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: .5s all;
    top: 75px;
}

.errorresp{
    background-color: #f7afaf;
    position: relative;
}

.errorresp::before{
    content: "!ddf";
    position: absolute;
    z-index: 2;
    display: block;
    width: 20px;
    height: 20px;
    color: red;
    background-color: red;
    border-radius: 10px;
}

.error_text{
    color: red;
    font-size: 15px;
}