/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Avoid horizontal scroll */
}

.header-container {
    display: flex; /* Align logo and headline in a row */
    justify-content: center; /* Center the container as a whole */
    align-items: center; /* Vertically align the logo with the headline */
    margin-bottom: 20px; /* Add space below the headline */
    margin-top: 100px;
}

/* Styling for the logo */
.logo {
    max-width: 200px; /* Set a maximum width for the logo */
    margin-right: 50px; /* Add space between the logo and the headline */
}

h1 {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
}

/* Flexbox Layout for rows */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Style for each item (image or text box) */
.item, .text-box, .white-box {
    flex: 0 0 calc(20% - 20px); /* Each image takes 1/5 of the row's width */
    margin-bottom: 20px;
    text-align: center;
}

.item img {
    max-width: 100%;
    max-height: 150px;
    height: auto;
    border-radius: 8px; /* Optional styling */
}

.text-box {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
}

.white-box {
    background-color: #ffffff;
    padding: 20px 0;
    border-radius: 8px;
}

/* Fixed Row - Ensure full width and center content */
.fixed-row .row {
    position: fixed;
    top: 100px; /* Adjust to fit below the headline */
    width: 100%; /* Take full width of the screen */
    z-index: 1000; /* Keep it on top */
    background-color: #fff; /* Ensure background matches */
    display: flex;
    justify-content: center; /* Center content inside */
    padding-top: 100px;
    padding-bottom: 100px;
    margin-bottom: 400px;
}
   

/* Center the inner row of fixed-row */
.fixed-row .row {
    max-width: 1200px; /* Same max-width as other rows */
    width: 100%; /* Ensure the row can take full width if needed */
    margin-bottom: 400px;
}


/* Scrollable container starts below the fixed row */
.scrollable-container {
    margin-top: 10px; /* Adjust as needed based on the height of the fixed row */
    overflow-y: auto;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    padding: 10px 0;
    text-align: center;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media query for responsiveness on smaller devices */
@media (max-width: 768px) {
    .item, .text-box {
        flex: 0 0 100%; /* Each item takes full width */
        margin-bottom: 15px;
    }

    .item:nth-child(2), .item:nth-child(3), .text-box:nth-child(5) {
        display: none; /* Hide 2nd, 3rd image and the second text box on small screens */
    }

    .text-box {
        text-align: left; /* Align text left for better readability */
    }
}