body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px;
    text-align: left;
}

.logo img {
    max-height: 50px;
}

.slider-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: calc(100vh - 70px);
    flex-grow: 1;
}

.form-container {
    width: 90%;
    max-width: 400px;
}

form {
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-container {
    width: 90%;
    max-width: 800px;
    height: 400px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
}

.bg-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.bg-text {
    color: white;
    text-shadow: 2px 2px 4px #000000;
    font-size: 1.5em; /* Makes headings more prominent */
}

h2 {

}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

@media (max-width: 800px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }
    .form-container, .bg-container {
        max-width: 90%;
        margin: 0;
    }
    .bg-container {
        height: 250px;
    }
}