/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('ginlo.PNG') no-repeat center center;  /* Menambahkan gambar di bawah gradient */
    background-size: cover;  /* Menutupi seluruh latar belakang */
}

.login-container {
    width: 100%;
    max-width: 400px;  /* Maksimal lebar form */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo-container {
    width: 100%;
    margin-bottom: 10px;
}

.logo {
    width: 100%;  /* Membuat logo seukuran dengan lebar form */
    height: auto;  /* Memastikan logo tetap proporsional */
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form {
    width: 100%;
    margin-top: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.input-field {
    width: 100%; /* Membuat input/select memenuhi lebar form */
    padding: 12px;
    margin: 3px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: times new roman, Helvetica, sans-serif;
    font-size: 22px; /* Ukuran font lebih besar */
    text-align:center;
}

.button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30%;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: times new roman, Helvetica, sans-serif;
    font-size: 22px; /* Ukuran font lebih besar untuk button */
    letter-spacing:2px;
}

.button:hover {
    background-color: Green;
}

/* Responsiveness */
@media screen and (max-width: 600px) {
    .login-container {
        max-width: 90%;
        padding: 15px;
    }

    .input-field {
        font-size: 16px;  /* Ukuran font lebih kecil di layar kecil */
    }

    .button {
        padding: 12px 25%;
        font-size: 16px; /* Ukuran font lebih kecil di layar kecil */
    }

    .logo {
        width: 100%;  /* Logo menyesuaikan dengan lebar form */
    }
}

@media screen and (max-width: 400px) {
    .login-container {
        max-width: 100%;
        padding: 10px;
    }

    .input-field {
        font-size: 14px; /* Ukuran font lebih kecil di layar kecil */
    }

    .button {
        padding: 12px 20%;
        font-size: 14px; /* Ukuran font lebih kecil di layar kecil */
    }

    .logo {
        width: 100%;  /* Logo menyesuaikan dengan lebar form */
    }
}
