body {
    overflow-y: hidden;
}

.form-container {
    color: white;
    background-image: linear-gradient(rgba(55, 53, 53, 0.158),rgba(105, 100, 100, 0.242));
    padding: 10px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 500px;
    width: 90%;
    max-height: 500px;
    height: 100%;
}

.form-content {
    display: flex;
    justify-content: center;
}

h1 {
    font-family: 'Brush Script MT', cursive;
    font-size: 40px;
    width: 100%;
    height: 10%;
    text-align: center;
}

form {
    font-family: Verdana, sans-serif;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

label {
    text-align: left;
    display: inline-block;
}

input,
textarea {
    outline: none;
    border: none;
    color: white;
    text-align: center;
    border-bottom: 2px solid white;
    background-color: inherit;
    width: 100%;
    max-width: 100%;
    margin: 5px 0 10px 0;
    padding: 10px;
    resize: none;
    box-sizing: border-box;
}

button {
    font-family: 'Brush Script MT', cursive;
    text-align: center;
    font-size: 22px;
    width: 150px;
    height: 40px;
    color: white;
    padding: 10px;
    background-color: rgba(17, 16, 16, 0.3);
    border-radius: 30px;
    margin: 30px 10px 0 0;
    transition: transform 0.5s;
    border: none;
}

button:hover {
    transform: scale(1.3, 1.3);
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    body {
        overflow-y: auto;
    }
    
    .form-container {
        margin: 20px auto;
        padding: 15px;
        max-height: none;
        height: auto;
    }
    
    h1 {
        font-size: 30px;
    }
    
    form {
        max-width: 100%;
    }
    
    input,
    textarea {
        font-size: 14px;
    }
    
    button {
        font-size: 18px;
        width: 120px;
        height: 35px;
        margin: 20px 5px 0 0;
    }
    
    button:hover {
        transform: scale(1.1, 1.1);
    }
}