* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: 'Karla';
    src: url("assets/fonts/Karla-VariableFont_wght.ttf") format("truetype");
}

:root{
    --green200: hsl(148, 38%, 91%);
    --green600: hsl(169, 82%, 27%);
    --newRed: hsl(0, 66%, 54%);
    --grey500: hsl(186, 15%, 59%);
    --grey900: hsl(187, 24%, 22%);
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 70%;
}
.twoInputBoxes{
    /* background-color: blueviolet; */
    display: flex;
    gap: 1rem;

}
.queries{
    font-family: 'Karla';
    font-size: 0.8rem;
    color: var(--grey500);
    font-weight: 500;
}
.queries::after{
    margin-left: 0.5rem;
    content:"*";
    color: var(--green600)
}
.nameContainer{
    /* background-color: aqua; */
    width: 50%;
}
.inputBox{
    width: 100%;
}
.email{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.contactContainer{
    background-color: white;
    width: 70%;
    padding: 2rem;
    border-radius: 1rem;
}
input{
    margin-top: 6px;
    border-radius: 0.2rem;
    height: 2rem;
    border: 1px solid var(--grey500);
    padding: 1rem;
}
input:focus{
    border: 2px solid var(--green600);
    outline: none;
}
.messageInput{
    height: 4rem;
    width: 100%;
}
.messageBox{
    margin-top: 1rem;
    /* background-color: beige; */
    width: 100%;
}
textarea{
    margin-top: 0.5rem;
    resize: none;
    width: 100%;
    height: 4rem;
    font-family: 'Karla';
    color: hsl(169, 82%, 33%);

}
textarea:focus{
    border: 2px solid var(--green600);
    outline: none;
}
.hidden{
    display: none;
}
.messageSent{
    background-color: var(--green600);
    width: 25%;
    padding: 2rem;
    border-radius: 0.8rem;
    margin-bottom: 1rem;

}
.fail{
    color: red;
}

.messg{
    display: flex;
    justify-items: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.buttonContainer{
    display: flex;
    justify-content: center;
    width: 100%;
}
.submitButton{
    font-family: 'Karla';
    color: white;
    font-weight: 600;
    padding: 1rem;
    width: 100%;
    background-color: var(--green600);
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}
.submitButton:hover{
    background-color: hsl(169, 78%, 21%);
}
.radioBorder{
    display: flex;
    justify-items: flex-start;
    align-items: center;
    border-radius: 0.2rem;
    border: 1px solid var(--grey500);
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0 0 0 0.5rem;
}
.radioBorder input[type="radio"],
.radioBorder label {
    margin: 0;
    line-height: 1;
}
.consentContainer{
    display: flex;
    align-items: center;
    justify-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    
}
.consentContainer input[type="checkbox"],
.consentContainer label {
    margin: 0;
    line-height: 1;
}
input{
    font-family: 'Karla';
    color: var(--green600);
}
label{
    font-family: 'Karla';
    font-size: 0.8rem;
    color: var(--grey500);
}
label::after{
    margin-left: 0.5rem;
    content:"*";
    color: var(--green600)
}
p{
    font-family: 'Karla';
    color: white;
    font-weight: 300;
}
h{
    font-family: 'Karla';
    color: var(--grey900);   
    font-weight: 600;
    font-size: 1.5rem;
}
form{
    margin-top: 1rem;
}
::placeholder{
    font-family: 'Karla';
    color: var(--grey500);
}
body{
    background-color: var(--green200);
    padding: 1rem 4rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 600px){
    .twoInputBoxes{
        flex-direction: column;
    }
    .nameContainer{
        width: 100%;
    }
}