
body {
    padding:0;
    margin: 0;
}
.result {
    background-color: #fefaea;
    display:none;
    transform: translateY(50%);
    position: absolute;
    top: 0;
    z-index: 1;
    top: 1em;
    transition: all .5s ease-in-out;
    text-align: center; 
    
}

.angel {
    text-align: center;
    
}
.angel img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}
.close-img {
    position:absolute;
    right: 1em;
    top: 1em;
    
}
.close-img img {
    width: 100%;
    max-width: 30px;
    height: auto;
}
.card-overlay {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    position: relative;
    font-family: 'Roboto', sans-serif;
    background-color: #fefaea;
    width: 60%;
    display:block;
    
 
}
.form {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 0 auto;
    
}

.form-item {
    padding: 10px 0;
    width: 100%;
}
.form-item-date {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr;
    padding: 10px 0;
}
.form-item-agree {
    display: flex;
    align-items: center;
}
input[type="text"] {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}   
input[type="tel"] {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}   
input[type="date"] {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}  
input[type="number"] {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}    
input[type="time"] {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}    
input[type="checkbox"] {
    width: 40px;
    height: 40px;
    align-self: center;
    outline: none;
    border-radius: 0;
    background-color: transparent;
    border: 1px solid #4a4a4a;
    color: #000;
    font-family: Roboto,sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .17em;
    text-indent: 10px;
}   
input:focus {
    border-color: #97dfa3;
    
}
input:active {
   border-color: #97dfa3;
}
.form-item-date-el input {
 
}
.form-item-date-el {
   width: 100%;
    
    
}
h1 {
    font-family: 'Roboto';
    color: #4a4a4a;
    font-size: 1.1em;
}
.title {
    
    margin: 0 auto;
    width: 50%;
    text-align: center;
}

button {
    border-radius: 0px;
    border-style: solid;
    border-color:  #e9f0e0;
    background-color: #e9f0e0;
    outline: none;
    width: 100%;
    height: 50px;
    font-family: 'Roboto';

}
@media screen and (max-width: 800px) {
    
    .card-overlay {
        height: 100%;
        height: calc(var(--vh, 1vh) * 100);
    }
    .card {
        width: 100%;
    }
    #agree {
        width: 85px;
        height: 85px;
        
    }
    .labelCheckbox {
        font-size: 0.7em;
    }

}
