
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Schoolbell&display=swap');
body {
    font-family: Montserrat, Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}
   
header {
    display: flex;
    width: 100%;
    max-height: 15vh;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
    box-sizing: border-box;
}

/* Navigation Styles */


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

nav li {
    list-style: none;
    background-color: #13406b;
    border-radius: 5px;
    padding-top: 1vh;
    padding-bottom: 1vh;
    color: #f4f4f4;
    box-shadow: black 0px 1px 1px;
    margin: 2vh 2vh 1vh 1vh;
    white-space: nowrap;
}

nav li a {
    text-decoration: none;
    font-size: 0.9em;
    color: #f4f4f4;
    padding: 1vh 2vw ;
    padding-top: 2vh;
    padding-bottom:2vh;
}

nav li:hover {
    background-color: #1963a8;
    cursor: pointer;

}
/* Hamburger menu button */
.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    user-select: none;
}

/* Hidden by default, displayed on small screens */
#nav-menu {
    transition: max-height 0.3s ease;
}

#nav-menu.open {
    max-height: 500px; /* Arbitrary large max-height to allow menu to expand */
}

#titleLogoLarge {
    margin-bottom: 4vh;
    cursor: pointer;
    height: 30vw;
    max-height: 275px;
    margin-top: 10%;
}

#bg-fadedplus {
    position: absolute;
    bottom: -55%;
    right: 0;
    opacity: 7.5%;
    z-index: -2;
    scale: 0.35;
}

#preserverHeader {
    height: 10vh;
    margin-top: 2vh;
    margin-left: 2vw;
    display: inline-block;
    animation: slow-spin 20s linear infinite;
    transition: animation-duration 0.5s ease-in-out;
}

@keyframes slow-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#preserverHeader:hover {
    animation-duration: 2s; /* Speed up the spin on hover */
    cursor: pointer;
}

@keyframes logoFade {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

footer {
    position: absolute;
    bottom: 0;
    font-size: 0.86em;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

#titleInfo{
    color: #ca5d28;
    font-weight: 900;
    position: relative;
    float: right;
    font-family: "Schoolbell" ;
    font-size: 3em;
    margin-top: 1em;
}

.titleBox {
    margin-top: 5vh;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Adjust duration/easing as desired */
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    margin-top: 5em; /* Adjust spacing as needed */
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    /* The total width should be large enough to accommodate all items */
    /* We will let items flow horizontally without wrapping */
}

.ticker ul {
    display: flex;
    align-items: center;
    gap: 6em; /* Space between blurbs */
    margin: 0;
    padding: 0;
    list-style: none;
    animation: ticker-scroll 40s linear infinite;
}

.ticker li {
    font-family: "Schoolbell", sans-serif;
    color: #ca5d28;
    font-weight: 900;
    font-size: 1.75em; /* Slightly smaller than titleInfo if desired */
    white-space: nowrap;
}

/* Keyframe to move the ticker from right to left */
@keyframes ticker-scroll {
    0% {
        transform: translateX(63%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments if needed */
@media only screen and (max-width: 600px) {
    .ticker li {
        font-size: 1em;
    }
}

@media only screen and (max-width: 750px) {

    .header-sticker{ 
        display: none !important;
        }
}


/* Mobile Styles */
@media only screen and (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content:unset;
    }

    #nav-menu {
        margin-top: 8vh;
        margin-left: 8vw;
        margin-right: 4vw;
        transform:translateX(-35vw);
    }

    nav ul {
        flex-direction: column;
        margin-right: 2vw;
        background-color: #f4f4f4;
        padding: 1rem;
        border-radius: 6px;
        box-shadow: 0 5px 18px rgba(0,0,0,0.1);
        border: #ccc 1px solid;
        padding-left: 5rem;
        padding-right: 5rem;
    }

    nav li {
        margin:0.5vh 0;
        width: fit-content;
        text-align: center;
        font-size: 0.8em;
    }

    /* Show hamburger on small screens, hide normal nav by default */
    .hamburger {
        display: block;
        margin-left: 60vw;
        z-index: 999;
    }

    #nav-menu {
        /* overflow: hidden; */
        max-height: 0; /* Collapse the nav by default on mobile */
        display: none;
    }

    #nav-menu.open {
        max-height: 100vh; /* Expand nav when open */
        display: unset;
        transform: translateX(-300px) translateY(25px);
    }

    /* Hide the decorative background images to save space */
    #bg-fadedplus {
        display: none;
    }

    #titleLogoLarge {
        margin-top: 20vh;
        height: auto;
        max-height: 150px;
        /* width: 80%; */
    }


}

.header-sticker{ 
    height: 10vh;
    margin-top: 2vh;
    margin-left: 1vw;
    display: inline-block;
    opacity: 1;
}

.header-sticker:hover{
    cursor: pointer;
    opacity: 0.9;
}

#nav-cluster{
    display: flex;
    align-items: center;
}