@font-face {
    font-family: 'Chaney Wide';
    src: url('/static/fonts/CHANEY-Wide.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
@font-face {
    font-family: 'Chaney';
    src: url('/static/fonts/CHANEY-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

body {
    font-family: "Space Grotesk", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #FFF9E4;
}
/* Extra small devices (phones, 600px and down) */
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-family: "Chaney Wide", sans-serif;
    color: #036746;
    text-align: left;
    font-weight:normal;
    line-height: 0.9;
}
p {
    margin-bottom: 10px;
    font-family: "Space Grotesk", sans-serif;
    color: #6E5400;
    font-size: 1rem;
}
ul, ol {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    color: #6E5400;
}
span {
    font-family: "DM Mono", monospace;
    color: #6E5400;
    font-weight: 500;
}
a {
    text-decoration: none;
    color: #f75910;
}
#header {
    padding: 0px 15px;
}
#banner { 
    width: 100%;
    background-color: #036746;
    color: white;
    font-family: "DM Mono", monospace;
    text-align: center;
    height: auto;
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.1em;
    margin-inline-end: 0.5em; /* Optional: Add some space between icon and text */
}
#header-info {
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    margin-bottom: 20px;
    background: #036746;
}
header img {
    width: 100%;
    height: auto;
}
#header-info span {
    display: block;
    font-size: 0.9em;
    font-family: "DM Mono", monospace;
    font-weight: 500;
    letter-spacing: 2.8px;
    color: white;
}
#info-rotator {
    position: relative;
    height: 1.2em;
    min-width: 120px;
}
#info-rotator span {
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
#info-rotator span.active {
    transform: translateY(0);
    opacity: 1;
}
#info-rotator span.exit {
    transform: translateY(-100%);
    opacity: 0;
}
#header-buttons {
    display: flex;
    gap: 10px;
}
#navigation {
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 20px;
}

main {
    padding: 0.5rem 1rem;
}
#intro {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.issue-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0px;
    padding: 10px 0;
    color: white;
    text-align: center;
    background-color: #036746;
}
.issue-title h1 {
    font-family: "Chaney Wide", sans-serif;
    margin: 0;
    color: white;
}
.issue {
    display: inline-block;
    padding: 15px 0px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}
.issue:hover {
    background-color: #ffee906f;
}
.issue h3 {
    margin: 0;
    margin-left:10px;
    font-size: 2rem;
    color: #036746;
    font-family: "Chaney Wide";
    font-weight: normal;
}
.issue p {
    display: inline-block;
    margin: 0;
    width: 100%;
    color: #6E540066;
    font-family: "Chaney";
    font-size: 1.4rem;
    animation: marquee 8s linear infinite;
}
.button {
    background-color: #F86E1F;
    color: white;
    padding: 5px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "DM Mono", monospace;
    text-transform: capitalize;
}
.button:hover {
    background-color: #f75910cc;
}
.inactive {
    background-color: transparent;
    color: #6E5400;
}
.inactive:hover {
    background-color: #6e540020;
}

#carousel {
    display: inline-block;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 20px;
    overflow-x: scroll;
}
#carousel img {
    height: 90%;
    border-radius: 10px;
    margin: 0px 20px;
    box-shadow:#6e54005d 0px 0px 20px;
    transform: rotate(var(--rotation, 3deg)) translateY(5%);
    transition: 0.2s;
}
#carousel img:hover {
    transform: rotate(0deg) translateY(2%);
    box-shadow:#6e5400b3 0px 0px 0px;
    opacity: 0.9;
}

.event {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 15px 0px;
    align-items: flex-start;
    gap: 20px;
}
.event h3 {
    margin-top: 10px;
    font-size: 1.8rem; 
    color: #036746;
    font-family: "Chaney"; 
    font-weight: normal;
}
.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0d5e52;
    color: white;
    padding: 10px 10px;
    border-radius: 8px;
    min-width: 50px;
    font-family: "Chaney"; 
    font-weight: normal;
}
.date-box .day {
    font-size: 2rem;
    line-height: 1;
}
.event-info {
    margin-top: 0.3rem;
    text-transform: uppercase;
    color: #6E5400AA;
}
/*
#carousel img:first-child {
    margin-left: 50px;
}
#carousel img:last-child {
    margin-right: 50px;
}  
*/ 
@keyframes marquee {
    100% { transform: translateX(-200%); }
}

@media only screen and (min-width: 900px) {
    main {
        width:50%;
        margin: auto;
    }
    header {
        width: 50%;
        margin: auto;
    }
    h1 {
        font-size: 3rem;
        margin-top: 1rem;
        line-height: 0.9;
    }
    h2 {
        font-size: 2.4rem;
        margin-top: 1rem;
        line-height: 0.9;
    }
    h3 {
        font-size: 2.2rem;
    }
    p {
        font-size: 1.2rem;
    }
    ul {
        font-size: 1.2rem;
    }
    #intro {
        padding: 0px 50px;
    }
    .issue p {
        animation: marquee 12s linear infinite;
    }

    #navigation span {
        font-size: 1.2rem;
    }
}
