body{
    background-color:hsl(148, 38%, 91%) ;
}
*{
    box-sizing: border-box;
    margin: 0;
    font-family: "Rubik", serif;
}
form{
    width: 45%;
    border-radius: 1%;
    padding: 16px;
    background-color: white;
    margin: 4em auto  ;
}
input{
    padding:10px;
    border-radius: 5px;
    border: 1px solid gray;
    margin-top: 6px;
    border-style: solid;
    outline: none;
    cursor: pointer;
}
input:focus{
    outline:1px solid  hsl(169, 82%, 27%) !important;
}input:hover{
    border: 1px solid hsl(169, 82%, 27%);
}
.holder{
    display: flex;
    padding:6px;
    width: 100%;
    padding: 6px;
}
.holder input{
    width: 100%;
}
.holder div{
    width: 50%;
    padding: 10px;
}
.first{
    margin-right: 1em;
}
.email,
.email input{
    width: 99%;
    padding: 9px;
    margin:7px auto;
}
.another{
    display: block;
}
.another input{
    width: auto ;
}
ul{
    display: flex;
    width: 100% !important;
    justify-content: space-between;
    padding: 0 ;
}
li{
    list-style-type: none;
    border: 1px solid;
    width: 47%;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}
li:has(input[type="radio"]:checked){
    background-color: hsl(148, 38%, 91%);
    border: 1px solid hsl(169, 82%, 27%);
}
input[type="radio"]:checked,
input[type="checkbox"]:checked{
    accent-color: hsl(169, 82%, 27%);
}
textarea{
    width: 100%;
    height: 8rem;
    border-radius: 7px;
    margin-bottom: 6px;
    padding: 1rem;
}
.terms{
    margin: 16px 0;

}
.terms input{
    margin-right: 10px;
}
button{
    margin:5px auto;
    padding: 8px;
    display: block;
    width: 80%;
    border-radius: 4px;
    border-style: none;
    background-color:hsl(169, 82%, 27%) ;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
button:hover{
    background-color:hsl(169, 87%, 12%) ;
}
.terms-warning,
.first-name-warning,
.last-name-warning,
.email-g-warning,
.email-warning,
.area-warning,
.query-warning{
    display: none;
    color: red;
}
.message{
    background-color:hsl(169, 82%, 27%) ;
    width: 25rem;
    padding: 4px 10px;
    margin:2em auto 0;
    color: white;
    border-radius: 5px;
    display: none;
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translate(-50%);
}
.message p{
    margin:10px 0px;
}
.change{
    position: fixed;
    top:0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.4px);
    -webkit-backdrop-filter: blur(3.4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: none;    
}

@media screen and (max-width:840px) {
    form{
        width: 57%;


    }
}
@media screen and (max-width:799px) {
    .holder,
    ul{
        flex-direction:column;
        width: 100%;
    }
    input,
    .first,
    .second,
    li{
        width: 100% !important;
    }
    input[type="radio"],
    .check{
        width: auto !important;
    }
}
@media screen and (max-width:640px) {
    form{
        width: 80%;
    }
    .message{
        text-align: center;
        width: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50% -50%);
    }
}
@media screen and (max-width:590px) {
    form{
        width: 93%;
        margin-top: 2em;
    }
}