

body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    justify-content: center;
}



/*header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;*/
    /*color: #333;*/
    /*padding: 5px 20px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}*/

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 5px 20px;
    padding-right: 35px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    box-sizing: border-box; /* Add this line */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

    header a {
        color: rgba(0, 0, 0, 0.6);
    }

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

    .gallery img {
        max-width: 100%;
        height: auto;
    }




.logo-container {
    display: flex;
    align-items: center;
}

    .logo-container img {
        max-width: 100%;
        height: auto;
        max-height: 80px;
        margin: 0;
    }

.nav-toggle {
    display: none;
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin-bottom: 5px;
        background-color: rgba(0,0,0,1);
    }

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #FFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

    nav ul {
        display: flex;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            margin-right: 20px;
            position: relative;
        }

            nav ul li:last-child {
                margin-right: 0;
            }

            nav ul li a {
                /*color: rgba(0,0,0,1);*/
                text-decoration: none;
                font-size: 1.2rem;
            }

                nav ul li a:hover {
                    text-decoration: underline;
                }

                nav ul li a:after {
                    content: "";
                    display: block;
                    position: absolute;
                    bottom: -5px;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background-color: #fff;
                    transition: width 0.3s ease-in-out;
                }

                nav ul li a:hover:after {
                    width: 100%;
                }

            /* Apply styling to non-active links */
            nav ul li:not(.active) a {
                opacity: 0.95;
            }

            /* Apply different styling to active link */
            nav ul li.active a {
                font-weight: bold;
            }

main {
    flex-grow: 1;
    padding: 10px;
    padding-top: 115px;
}

section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h2 {
    font-family: "Lato", sans-serif;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 5px;
    margin-top: 5px;
}
nav > ul {
    list-style: none;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: .5rem;
    padding-top: 1rem;
   
}
ul {
    /*margin: 0px
    padding: 0px*/
}

    ul li {
        margin-bottom: 10px;
    }

        ul li:before {
            content: none;
            display: inline-block;
            width: 10px;
            height: 10px;
            margin-right: 10px;
            background-color: #333;
            border-radius: 50%;
        }

footer {
    display: flex;
    flex-direction: column;
    background-color: #333;
    color: rgba(128, 128, 128, 0.5);
    padding: 10px 20px;
    text-align: center;
    align-content: center;
    justify-content: space-between;
}

    footer p {
        margin: 0;
        padding: .5rem;
    }

    footer a {
        text-decoration: none;
        color: rgba(128, 128, 128, 0.5);
    }

    .twitter-logo{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }




@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    body {
        padding-top: 25px;
    }

    nav {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
        visibility: hidden;
    }

    body.nav-open nav {
        max-height: 1000px;
        visibility: visible;
    }



    nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

        nav ul li {
            margin-right: 0;
            margin-bottom: 10px;
        }

            nav ul li:last-child {
                margin-bottom: 0;
            }

            nav ul li a {
                font-size: 1.5rem;
                padding: 10px 20px;
            }

                nav ul li a:after {
                    display: none;
                }

    body.nav-open nav {
        max-height: 1000px;
    }

    main {
        padding-top: 40px; /* Add top padding to main when the nav is open */
    }

    section {
        margin-bottom: 20px; /* Reduce margin-bottom on sections to make them less spaced out */
    }

    h2 {
        font-size: 1.5rem; /* Reduce heading size to fit better on smaller screens */
    }

    .logo-container img {
        max-height: 50px; /* Reduce logo size on smaller screens */
    }
}
