body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #242121;
    height: 60vh;
    overflow: hidden;
}

#topBar {
    background-image: url('images/cropped-cropped-005-1.png');
    background-size: cover; /* Ensure the image covers the entire element */
    height: 120px; /* Same height as the header */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2; /* Z-index for topBar */
    position: fixed; /* Fixed position */
}

header {
    background-color: transparent; /* Transparent background for the header */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Fixed position */
    width: 100%;
    top: 0; /* Align to the top */
    z-index: 3; /* Higher z-index than #topBar */
    height: 100px; /* Same height as #topBar */
}

header .logo {
    flex: 1; /* Flexbox share for the logo class */
}

header form {
    margin: 0 20px; /* Space between forms */
}

header a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    z-index: 3; /* Z-index for the links/text */
    position: relative; /* Relative position for z-index to be effective */
}

.login, .bibliotek, .listen, .chat {
    background-color: #242121; /* Button background color */
    font-size: 20px;
    color: white; /* Text color */
    border: none; /* Remove border */
    padding: 10px 40px; /* Internal button padding */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s ease; /* Hover effect animation */
    z-index: 3; /* Z-index for buttons */
    position: relative; /* Relative position for z-index to be effective */
    width: auto; /* Automatic width */
}

.login:hover, .bibliotek:hover {
    background-color: #5f5454; /* Color change on hover */
}

.bibliotek {
    margin-right: 10px; /* Space between buttons */
}

.container {
    padding: 20px;
    background-color: #242121;
    color: white;
    display: flex; /* Flexbox for layout */
    justify-content: space-between; /* Space between elements */
    align-items: center; /* Center vertically */
    margin-top: 120px; /* Space for fixed header */
}

.content {
    flex: 1; /* Flexible area for text content */
    padding-right: 20px; /* Right padding between contents */
}

.guidelines {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    background-color: #242121;
    color: white;
}

.guidelines h2 {
    margin-top: 0;
}

.image-container {
    max-width: 1400px; /* Maximum width of the image container */
    text-align: right; /* Align text to the right */
}

.main-image {
    max-width: 100%; /* Maximum width of the image */
    height: auto; /* Auto height based on width */
    display: block; /* Center image */
}

footer#downBar {
    background-image: url('images/cropped-cropped-007.png');
    background-size: cover; /* Ensure the image covers the entire element */
    height: 130px;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1; /* Lower z-index for background image */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Text color */
    text-align: center; /* Center text */
    font-size: 26px; /* Larger font size */
}
