
.title-form {
    font-family: 'RoughSplash';
    font-size: 26px;
    margin: 2rem auto;
}

.title-form p {
    font-size: 32px;
    font-weight: bold;
}


.box-form {

    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 2rem auto;
    padding: 2rem;
    max-width: 50%;
    width: 100%;
    min-height: auto;
    background-color: #fcce31;
    border-radius: 15px;
}

.contact-form {

    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    align-items: center;
    gap: 1rem;

}

.contact-form label {
    text-align: left; 
    align-self: flex-start; 
    margin: 0 0 0.2rem 0;
    max-width: 100%;
    font-weight: bold;

}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.7rem;
    border-radius: 8px;
    border: 3px solid #811ccf;
    font-size: 1rem;
}


.contact-form button {
    max-width: 60%;
    width: 40%;
    padding: 0.3rem;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Bangers';
    font-size: 18px;
    border-radius: 15px;
    border: 2px solid #811ccf;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;              
    margin: 2rem auto;
    width: 100%;
    text-align: center;
    flex-wrap: wrap; 
}

.checkbox-label input[type="checkbox"] {
  transform: scale(1.2);
  margin-top: 0.1rem;
}

.checkbox-label a {
  color: #811ccf;
  text-decoration: underline;
}

@media  screen and (max-width: 768px) {

    .title-form{
        max-width: 90%;
        text-align: center;
        width: 100%;
        margin: 25% auto 2rem auto;
        box-sizing: border-box;

    }

    .title-form p {
        font-size: clamp(1.6rem, 1.8rem, 1.8rem);
        margin: 0.2rem auto;
    }


    .box-form {

        max-width: 90%;
        margin: 0 auto 2rem auto;

    }

    .contact-form button {
        
        max-width: 60%;
        width: 40%;
        padding: 0.3rem;
        margin: auto;
    }
}