body {
    font-family: Arial, sans-serif;
    background-image: url('img/research.png'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding: 0;
}

header, footer {
    background-color: rgba(154, 148, 148, 0.8); /* Black background with 70% opacity */
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 3; /* Ensure header and footer are on top */
}

form {
    width: 300px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.9); /* White background with 80% opacity */
    padding: 20px;
    border-radius: 10px;
    z-index: 2; /* Form is on top */
    position: relative;
}

label {
    display: block;
    margin-top: 10px;
}

input, select {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
}

input[type="submit"] {
    margin-top: 20px;
}

select {
    position: relative;
    z-index: 1; /* Example of z-index usage */
}

/* Additional elements with different z-index values */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Black overlay with 50% opacity */
    z-index: 1; /* Overlay is below the form */
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2); /* White overlay with 30% opacity */
    z-index: 0; /* Background layer is at the bottom */
}
