/* Common styles for all screen sizes */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.image-container {
    max-width: 100%;
    margin: auto; /* Center the image container horizontally */
}

/* Ensure the image maintains its aspect ratio */
.image-container img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.container::after {
    content: "Contact: MidiSetSwitcher@gmail.com";
    display: block;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
}

.containerDOC {
    max-width: 85%;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

form {
    margin-bottom: 20px;
    text-align: center;
}

label {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    color: #333;
}

input[type="text"],
input[type="submit"] {
    font-size: 18px;
    padding: 10px;

}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

input[type="email"],
input[type="password"] {
    width: 300px;
    height: 15px;
    font-size: 18px;
    padding: 8px;
}

.custom-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.2s;
    white-space: nowrap; /* Prevent button text from wrapping */
    margin: 5px;
}

.custom-button:hover {
    background-color: #45a049;
}

#password-validation-message {
    margin-top: 30px;
}

.result {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Mobile View Styles */
@media only screen and (max-width: 600px) {
    .container {
        max-width: 100%;
        margin: 20px;
        padding: 10px;
    }

    .containerDOC {
        max-width: 100%;
        margin: 20px;
        padding: 20px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="submit"] {
        width: 100%;
    }

    .form-group {
        justify-content: center; /* Center the buttons in mobile view */
    }
	
	   .custom-button {
        margin: 8px; /* Increase the gap between buttons in mobile view */
    }
}