* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin: 1em 0;
    padding: 0;
}
.blue {
    color: blue;
}

body {
    font-family: Arial, sans-serif;
}
.graph {
    width: 300px;
}
.indlarge {
    width: 400px;
}
.stick {
    zwidth: 230px;
}
h1 {
    font-size: 25pt;
}
.headline {
    text-align: center;
    font-size: 3em;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.blurryheadline {
    text-align: center;
    font-size: 3em;
    color: #333;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.shadowsheadline {
    text-align: center;
    font-size: 3em;
    color: #333;
    text-shadow: 1px 1px 0 #ccd, 2px 2px 0 #dde, 3px 3px 0 #eef;
}
.glowingheadline {
    text-align: center;
    font-size: 3em;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
.outlineheadline {
    text-align: center;
    font-size: 3em;
    color: #333;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}


nav {
    background: #eee;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: #44a;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.icon {
    display: none;
}

main {
    margin-top: 60px; /* Adjust based on header height */
}

.section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column; /* Add this line to stack divs vertically */
    justify-content: center;
    align-items: center;
}

.section .content {
    max-width: 1200px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

#section1 {
    height: 100px;
    min-height: 300px;
}

#section2 {
}

#section3 {
    zbackground-image: url('rioeight.jpg');
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('rioeight.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#sectionfooter {
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    background: black;
    min-height: 0px;
    display: flex;
    flex-direction: row; /* Add this line to stack divs vertically */
}
.section .content.footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: black;
    color: white;
}
.section .content.footer a {
    color: white;
    font-weight: bolder;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    padding: 0;
    margin: 0;
}
.textblock {
    flex: 1
    zflex-grow: 1;
}

.transparent-image {
    opacity: 0.5; /* Adjust the transparency level (0.5 in this case) */
}

#full-size-image-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    border: 1px solid #ddd;
    background-color: white;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#full-size-image {
    max-width: 90vw;
    max-height: 90vh;
}

.carouselimg {
    display: none;
    max-width: 100%; /* Adjust the width to maintain aspect ratio */
}
.carousel {
    display: flex; 
    align-items: center;
    height: 400px;
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

@media (max-width: 768px) {
    nav ul {
        background: #eee;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 4px;
        left: -100%;
        text-align: center;
        transition: all 0.5s;
        flex-direction: column;
        justify-content: space-evenly;
    }

    nav ul li {
        margin: 6px 0;
        font-size: 16pt;
    }

    .icon {
        display: block;
        cursor: pointer;
    }
    .open {
        left: 0;
    }
}
