.informationMessage{
    margin-top: 2%;
    width: 100%;
    text-align: center;
    margin-bottom: 2%;
}

h1 {
    margin-top: 0;
}

.registerForm{
    margin-top: 3%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.2);
}

.registerForm label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

.registerForm input {
    width: 400px;
    max-width: 100%;
    padding: 10px;
    margin: 0 auto;
    display: block;
    font-size: 16px;
    background-color: transparent;
    border: 2px solid #f4f4f4;
    border-radius: 5px;
    color: antiquewhite;
}

.button{
    width: 100%;
    display: flex;
    justify-content: center;
}

.buttonRegister{
    margin-top: 6%;
    margin-bottom: 5%;
    padding: 12px 30px;
    background-color: antiquewhite;
    color: #000;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttonRegister:hover{
    background-color: #ffb366;
}

/* Media queries pour le responsive */
@media screen and (max-width: 768px) {

    .informationMessage{
        margin-top: 5%;
    }

    .mainContent{
        transform: translateY(80px);
    }

    .registerForm {
        transform: scale(1);
        margin-top: 5%;
        padding: 0 20px;
    }

    .registerForm input {
        width: 100%;
        box-sizing: border-box;
    }

    h1 {
        font-size: 24px;
        padding: 0 15px;
        text-align: center;
    }

    .buttonRegister {
        width: 100%;
        max-width: 250px;
    }

    .password-input {
        width: 100%;
    }

    .message{
        margin-top: -2%;
        margin-bottom: -5%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {

    .informationMessage{
        margin-top: 10%;
    }

    .registerForm {
        margin-top: 10%;
    }

    h1 {
        font-size: 20px;
    }
    
    .registerForm input {
        font-size: 14px;
    }

    .buttonRegister {
        font-size: 14px;
        padding: 10px 20px;
    }
}