html {
    scroll-behavior: smooth;
    overflow-x:hidden;
    overflow-y: scroll;
}

@font-face {
    font-family:'my_formaDJEMicro';
    src: url('Fonts/fontie-package-5/fontie-package-5/FormaDJRMicro-Bold.woff2') format('woff2'),
		url('Fonts/fontie-package-5/fontie-package-5/FormaDJRMicro-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'my_presleySlab';
    src: url('Fonts/fontie-package-5/fontie-package-5/PresleySlab-ExtraBold.woff2') format('woff2'),
    url('Fonts/fontie-package-5/fontie-package-5/PresleySlab-ExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: 'my_louiseRegular';
    src: url('Fonts/fontie-package-5/fontie-package-5/Louise\ Regular.woff2') format('woff2'),
    url('Fonts/fontie-package-5/fontie-package-5/Louise\ Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
}

#main-content {
    background-image: url('Images/HOCO-Web-BG-Longer.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    margin: 0;
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
}

h2 {
    font-family: 'my_presleySlab', Arial, Helvetica, sans-serif;
    font-size: 3vw;
    color: #6a0a29
}

h3 {
    font-family: 'my_formaDJEMicro', Arial, Helvetica, sans-serif;
    color: #e43425;
    font-size: 2vw;
}

p {
    font-family: 'my_formaDJEMicro', Arial, Helvetica, sans-serif;
    color: #6a0a29;
    font-size: 2vw;
}

.fancy {
    font-family: 'my_louiseRegular', Arial, Helvetica, sans-serif;
    color: #e43425;
    line-height:2em;
    font-weight: bold;
}

button {
    font-family: 'my_formaDJEMicro', Arial, Helvetica, sans-serif;
    color:#f9f9ed;
    background-color: #e43425;
    border-style: none;
    text-align: center;
    display: flex;
    align-self: center;
    justify-self: center;
    transition: background-color 0.3s ease;
    font-size: 2vw;
}

button:hover {
    background-color: #6a0a29;
}

#ButtonLeft {
    height: 5vw;
    width: 5vw;
    display: flex;
    align-self: center;
    justify-self: center;
}

#ButtonRight {
    height: 5vw;
    width: 5vw;
    display: flex;
    align-self: center;
    justify-self: center;
}

#SpaceBox {
    height: 40vw;
}

.seperation {
    height: 50vw;
    z-index: 5;
}

#SkyBox {
    height: 140vw;
}

#sun {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    padding: 2vw 0 0 0;
    /* padding-top: 25px; */
    display: block;
    margin: auto;
    height: 30vw;
}

/* Sun glowing effect. */
.glowing {
    filter: drop-shadow(0 35px 10px rgba(255, 255, 154, 0.7));
    transition: box-shadow 0.3s ease-in-out;
}

nav {
   background-color: #f9f9ed;
   box-shadow: 0 5px 10px #6a0a29;
   width: 100%; 
   height: 8vw;
   position: -webkit-sticky;
   position: sticky;
   z-index: 10;
   top: 0;
   overflow-x: hidden;
   overflow-y: hidden;
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-rows: auto;
   grid-template-columns: 15% 85%;
}

ul {
    font-family: 'my_formaDJEMicro', Arial, Helvetica, sans-serif;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: hidden;
}

#Left {
    flex: 1 1;
    height: 8vw;
    padding: 0 0 0 2vw;
    /* padding-left: 25px; */
    display: flex;
    align-content: center;
    justify-self: left;
    flex-wrap: wrap;
    width: auto;
    z-index: 10;
}

#Right {
    height: 8vw;
    padding: 0 2vw 0 0;
    /* padding-right: 2vw; */
    display: flex;
    align-items: center;
    justify-self: right;
    flex-wrap: wrap;
    z-index: 10;
    overflow-y: hidden;
} 

.NavLink {
    color: #e43425;
    font-weight: bold;
    padding: 0 0 0 1vw;
    /* padding-left: 10px; */
    display: flex;
    justify-self: left;
    align-self: center;
    z-index: 10;
    /* padding-bottom: 25px; */
    /* align-self: right; */
    font-size: 1.5vw;
}

.NavLink:hover {
    color:#6a0a29;
}

#HOCOLogo {
    height:5vw;
    display: block;
    z-index: 10;
}

#HOCOLogo:hover {
    filter: drop-shadow(0 10px 10px rgba(243, 243, 114, 0.7));
    transition: box-shadow 0.3s ease-in-out;
}

main {
    flex-grow: 1;
}

.item {
    background-color: #f9f9ed;
    border-radius: 55px;
    width: 75vw; 
    display: flex;
    justify-self: center;
    justify-content: center;
    align-self: center;
    padding: 1vw 0 1vw 0;
    /* padding-top: 15px;
    padding-bottom: 15px; */
}

.redStar {
    content: url(Images/Star.webp);
    height: 4vw;
    overflow-x: hidden;
}

.whiteStar {
    content: url(Images/star\ but\ white.webp);
    height: 2em;
    padding: 0 2vw 0 2vw;
    /* padding-right: 30px;
    padding-left: 30px; */
}

.item-vertical {
    background-color: #f9f9ed;
    width:fit-content;
    height:auto;
    display: flex;
    justify-content: center;
    padding: 1vw 0 0 0;
    /* padding-top: 1vw; */
}

.Align-Vertical {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0 1vw 0 1vw;
    /* padding-left: 1vw;
    padding-right: 1vw; */
}

#HOCO-Video {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    top: 2500px;
    z-index: 5;
}

#HOCO-Shirts {
    background-color: #f9f9ed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
    top: 50px;
    z-index: 5;
    overflow-x: hidden;
}

.item-Mobile {
    background-color: #f9f9ed;
    height: auto;
    width:100%;
    overflow-x: hidden;
    display: flex;
    align-content: center;
    justify-content: center;
}

#text {
    padding: 10% 0 0 3vw;
    /* padding-top: 10%;
    padding-left: 3vw; */
}

#shirtStar {
    padding: 2vw 0 0 2vw;
    /* padding-left: 2vw; 
    padding-top: 2vw;  */
    position:absolute; 
    /* transform: translateY(57.5px); */
}

#HOCO-Schedule {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    z-index: 5;
}

button {
    padding: 0 1vw 0 1vw;
    /* padding-left: 15px;
    padding-right: 15px; */
}

.event {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

#HOCO-Awards {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    top: 4500px;
    z-index: 5;
}

#Award {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

th {
    padding: 0 2vw 0 2vw;
    /* padding-left: 25px;
    padding-right: 25px; */
}

#HOCO-Events {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    z-index: 5;
}

#Events {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-columns: 33% 33% 33%;
    padding: 2vw 0 0 0;
    /* padding-top: 25px; */
}

#info {
    display: flex;
    text-align: center;
    color:#6a0a29;
    justify-self:center; 
    font-size: 3vw;
}

.event-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height:fit-content;
    z-index: 5;
}

.centerThis {
    display: flex;
    align-content: center;
    justify-content: center;
}

#HOCO-Medal {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    z-index: 5;
}


#Row-One {
    padding: 2vw 0 0 0;
    /* padding-top: 2vw; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 2vw;
}

#Row-Two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 2vw;
    padding: 2vw 0 0 0;
    /* padding-top: 2vw; */
}

.WantedImg {
    height: 10vw; 
    display:flex; 
    justify-self:center;
}

footer {
    background-color: #f9f9ed;
    width:100%;
    bottom: 0;
}

.noFade {
    opacity: 1;
}

.fadeIn {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.fadeIn.is-visible {
    opacity: 1;
}

.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 999; /* Ensure it's on top */
}

.popup {
    background: #fff;
    padding: 2vw;
    /* padding: 20px; */
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the popup */
    z-index: 1000;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

#shirtImg {
    position: absolute;
    right: 0;
    transform: translateY(-15vw);
    display: flex;
    align-self: right;
    height: 60vw;
    overflow-x: hidden;
    z-index:7;
    /* display: none; */
}

.eventImage {
    height: 25vw; 
    display:flex; 
    align-self:center; 
    justify-self:center; 
    border: 5px #e43425; 
    border-radius: 10px; 
    border-style: solid
}

#EventTop {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-columns: auto 80% auto;
}

#date {
    display: flex;
    align-self: center;
    justify-self: center;
}

.EventPhoto {
    height: 36vw;
    display: flex;
    align-self: center;
    justify-self: center;
    border: 1vw #e43425; 
    border-radius: 2vw; 
    border-style: solid
}

iframe {
    height: 30vw;
    width: 50vw;
}

/* Mobile Small */
@media (max-width: 320px) {
    #rules {
        display: none;
    }

    #rulesMobile {
        display: flex;
    }

    #Award {
        display: flex;
        align-items: center;
    }

    nav {
        height: 14vw;
    }

    #HOCOLogo {
        height:8vw;
    }

    #Left {
        height: 14vw;
    }

    #Right {
        height: 14vw;
    }

    h2 {
        font-size: 4vw;
    }

    h3 {
        font-size: 3vw;
    }

    p {
        font-size: 3vw;
    }

    .WantedImg {
        height: 16vw; 
    }

    button {
        font-size: 3.5vw;
    }

    #shirtImg {
        transform: translateY(5vw);
        height: 60vw;
    }

    #ButtonLeft {
        height: 8vw;
        width: 8vw;
    }

    #ButtonRight {
        height: 8vw;
        width: 8vw;
    }

    .fancy {
        font-size: 4vw;
    }

    .NavLink {
        font-size: 2.2vw;
    }

}

/* Mobile Medium */
@media (max-width: 375px) and (min-width: 320.01px) {
    #rules {
        display: none;
    }

    #rulesMobile {
        display: flex;
    }

    #Award {
        display: flex;
        align-items: center;
    }

    nav {
        height: 14vw;
    }

    #HOCOLogo {
        height:8vw;
    }

    #Left {
        height: 14vw;
    }

    #Right {
        height: 14vw;
    }

    h2 {
        font-size: 4vw;
    }

    h3 {
        font-size: 3vw;
    }

    p {
        font-size: 3vw;
    }

    .WantedImg {
        height: 16vw; 
    }

    button {
        font-size: 3.5vw;
    }

    #shirtImg {
        transform: translateY(5vw);
        height: 60vw;
    }

    #ButtonLeft {
        height: 8vw;
        width: 8vw;
    }

    #ButtonRight {
        height: 8vw;
        width: 8vw;
    }

    .fancy {
        font-size: 4vw;
    }

    .NavLink {
        font-size: 2.2vw;
    }

}

/* Mobile Large */
@media (max-width: 425px) and (min-width: 375.01px) {
    #rules {
        display: none;
    }

    #rulesMobile {
        display: flex;
    }

    #Award {
        display: flex;
        align-items: center;
    }

}

/* Tablet */
@media (max-width: 768px) and (min-width: 425.01px) {
    #rules {
        display: none;
    }

    #rulesMobile {
        display: flex;
    }

    #Award {
        display: flex;
        align-items: center;
    }

}

/* Laptop */
@media (max-width: 1024px) and (min-width: 768.01px) {
    #rules {
        display: block;
    }

    #rulesMobile {
        display: none;
    }

    #Award {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    nav {
        height: 8vw;
    }

    #HOCOLogo {
        height:6vw;
    }

    #Left {
        height: 8vw;
    }

    #Right {
        height: 8vw;
    }

    h2 {
        font-size: 2.5vw;
    }

    h3 {
        font-size: 1.5vw;
    }

    p {
        font-size: 1.5vw;
    }

    .WantedImg {
        height: 12vw; 
    }

    button {
        font-size: 2vw;
    }

    #ButtonLeft {
        height: 5vw;
        width: 5vw;
    }

    #ButtonRight {
        height: 5vw;
        width: 5vw;
    }

    .fancy {
        font-size: 2.5vw;
    }

    .NavLink {
        font-size: 1.8vw;
    }

    .EventPhoto {
        height: 24vw; 
    }

    #shirtImg {
        height: 48vw;
    }

}

/* Laptop Large */
@media (max-width: 1440px) and (min-width: 1024.01px) {
    #rules {
        display: block;
    }

    #rulesMobile {
        display: none;
    }

    #Award {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    nav {
        height: 8vw;
    }

    #HOCOLogo {
        height:6vw;
    }

    #Left {
        height: 8vw;
    }

    #Right {
        height: 8vw;
    }

    h2 {
        font-size: 2.5vw;
    }

    h3 {
        font-size: 1.5vw;
    }

    p {
        font-size: 1.5vw;
    }

    .WantedImg {
        height: 12vw; 
    }

    button {
        font-size: 2vw;
    }

    #ButtonLeft {
        height: 5vw;
        width: 5vw;
    }

    #ButtonRight {
        height: 5vw;
        width: 5vw;
    }

    .fancy {
        font-size: 2.5vw;
    }

    .NavLink {
        font-size: 1.8vw;
    }

    .EventPhoto {
        height: 24vw; 
    }

    #shirtImg {
        height: 48vw;
    }

}

/* 4K */
@media (max-width: 2560px) and (min-width: 1440.01px) {
    #rules {
        display: block;
    }

    #rulesMobile {
        display: none;
    }

    #Award {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

#ruleStar {
    height: 1em;
    width: 1em;
    /* padding: 25px; */
}

th {
    font-size: small;
}

}