@import url('https://fonts.googleapis.com/css?family=Rubik:300,300i,400,400i,500,500i,700,700i,900,900i');

.container-form {
    max-width: 600px;
    max-height:600px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h2.form {
    text-align: center;
    margin-bottom: 20px;
    color:#000;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: 400;
    font-size:1.2em;
    color:#000;
}

input, select, button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.btn-primary {border:none}
p.dark {color:#fff;line-height:2em; font-size:16px;margin-top:50px; padding:20px}
/* Set max width of form */
.container-form {
    max-width:600px !important;
}

@media (max-width: 767px) {
    .container-form {
        max-width: 100%; /* Max width 100% on mobile */
    }
}
/* Responsive styling for form fields */
.form-group {
    display: grid;
    gap: 10px;
}

@media (min-width: 768px) {
    .form-group {
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
    }
}

/* Adjust width of inputs on mobile */
@media (max-width: 767px) {
    input, select {
        width: 100%;
    }
}