
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: hsl(148, 38%, 91%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    width: 500px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.container h1{
    font-size: 28px;
    font-weight: 600;
    color: hsl(187, 24%, 22%);
}
.container .names{
    display: flex;
    justify-content: space-between;
}
.container label{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: hsl(186, 15%, 59%);
}
.container label span{
    color: hsl(169, 82%, 27%);
}
.container input{
    outline: none;
    border: 1px solid hsl(186, 15%, 59%);
}
.container small{
    font-size: 12px;
    color: hsl(0, 66%, 54%);
}
.container .names input{
    font-size: 14px;
    display: block;
    width: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    color: hsl(187, 24%, 22%);
}
.names .first-name{
    margin-right: 10px;
}
.names .first-name,
.names .last-name{
    width: 100%;
}
.container .email{
    margin: 10px 0;
}
.container .email input{
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    width: 100%;
    color: hsl(187, 24%, 22%);
}
.query label{
    margin-bottom: 10px;
}
.query input{
    accent-color: hsl(169, 82%, 27%);
}
.query .general-enquiry,
.query .support-request{
    /* width: 400px; */
    display: inline;
    font-size: 16px;
    padding: 5px 55px 5px 20px;
    margin: 0 10px 10px 0;
    border-radius: 5px;
    border: 1px solid hsl(186, 15%, 59%);
    cursor: pointer;
}
.query .support-request{
    margin: 0 0 10px 0;

}
.query small{
    margin-top: 10px;
}
.message{
    margin-top: 10px;
}
.message textarea{
    width: 100%;
    resize: none;
    outline: none;
    font-size: 14px;
    padding: 10px;
    /* height: 50px; */
    border-radius: 5px;
    border: 1px solid hsl(186, 15%, 59%);
}
.check input{
    accent-color: hsl(169, 82%, 27%);
}
.check label{
    display: inline;
}
.check label span{
    color: hsl(169, 82%, 27%);
}
button{
    width: 100%;
    outline: none;
    border: none;
    margin-top: 10px;
    padding: 5px;
    border-radius: 5px;
    color: #fff;
    background: hsl(169, 82%, 27%);
    transition: all 0.3s ease;
}
button:hover{
    opacity: 0.9;
}

.container small{
    display: none;
}
.error input,
.error textarea{
    border-color: hsl(0, 66%, 54%);
}
.error small{
    display: inline;
}

.active{
    background: hsla(169, 82%, 27%, 0.135);
}

.toast{
    color: #fff;
    width: 100%;
    font-size: 14px;
    background: hsl(169, 82%, 27%);
}

@media (max-width: 400px) {
    body{
        height: 100%;
        padding: 40px 0;
    }
    .container{
        width: 90%;
    }
    .container .names{
        flex-direction: column;
    }
    input[type="text"],
    .query .general-enquiry,
    .query .support-request{
        width: 100%;
        display: block;
    }
}