.footer { 
    font-size: 16px;
    text-align: center; 
    padding: 1.5em 0;
    font-family: 'Karla', sans-serif;
    background-color: hsl(148, 38%, 91%);
}
.footer a { 
    color: hsl(169, 82%, 27%);
}
.footer a:hover{
    color: hsl(186, 15%, 59%);
}
body{
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: bold;
}

section{
    border: 0px solid gray;
    height: 100vh;
    position: relative;
    background-color: hsl(148, 38%, 91%);
}
.form-container{
    border: 0px;
    border-radius: 10px;
    max-width: auto;
    width: 55%;
    height: 95vh;
    position:absolute;
    top: 0%;
    left: 0%;
    right: 0%;
    bottom: 0%;
    background-color: hsl(0, 0%, 100%);
    margin: auto;
    align-items: flex-start;
    display: flex;
}
.form-container .header{
    font-family: 'Karla', sans-serif;
    font-size: 36px;
    font-weight: bold;
    padding: 2px;
    text-align: center;  
}
.footer-container input{
    width: 100%;
    padding: 2px;
}
.form-container #message{
    height: 100px;
    resize: none;
}
#btnn{
    background-color: hsl(169, 82%, 27%);
    border-radius: 10px;
    width: 100%;
    padding-left: 2%;
    color:hsl(0, 0%, 100%) ;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: normal;   
}
#btnn:hover{
    background-color: hsl(187, 24%, 22%);
}
.form-container #btn2:hover{
    background-color: hsl(148, 38%, 91%);
}
.form-container #btn1:hover{
    background-color: hsl(148, 38%, 91%);
}


.form-container .checkbox{
    margin-bottom: 1rem;
}

.form-container .error{
    color: hsl(0, 66%, 56%);
    font-size: 16px;
}

.form-container .form-group{
    padding-bottom: 10px;
    padding-left: 5%;
    text-align: left;
    align-items: auto;
}
 .form-container label{
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding-left: 3px;
    
 }
 .form-container h2{
        font-family: 'Karla', sans-serif;
        font-size: 16px;
        font-weight: bold;
        padding-left: 5%;
}

.form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1em 2em;
    border: 2px solid hsl(186, 15%, 59%);
    border-radius: 0.5em;
    width: 100%;
    box-sizing: border-box;
}

.form-check-label span {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.form-check-input {
    display: none;
}

.form-check-label::before {
    content: "";
    height: 10px;
    width: 10px;
    border: 2px solid hsl(186, 15%, 59%);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.form-check-input:checked + .form-check-label::before {
    height: 8px;
    width: 8px;
    border: 0.65em solid hsl(148, 38%, 91%);
    background-color: hsl(169, 82%, 27%);
}

.form-check-input:checked + .form-check-label {
    background-color: hsl(148, 38%, 91%);
    color: hsl(187, 24%, 22%);
}

/* Media Queries */
@media (max-width: 768px) {
    .form-check-label {
        padding: 0.8em 1.5em;
        font-size: 0.9em;
    }
    
    .form-check-label::before {
        height: 12px;
        width: 12px;
        margin-right: 8px;
    }
    
    .form-check-input:checked + .form-check-label::before {
        height: 8px;
        width: 8px;
        border: 0.5em solid hsl(169, 82%, 27%);
    }
}

@media (max-width: 480px) {
    .form-check-label {
        padding: 0.6em 1em;
        font-size: 0.8em;
    }
    
    .form-check-label::before {
        height: 4px;
        width: 4px;
        margin-right: 6px;
    }
    
    .form-check-input:checked + .form-check-label::before {
        height: 4px;
        width: 4px;
        border: 0.35em solid hsl(148, 38%, 91%);
    }
}


