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



/** General Stylings */
html {
    scroll-behavior: smooth;
}

body, html {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
}

.hidden {
    display: none;
}

main {
    min-height: calc(100vh - 120px);
}

main img {
    cursor: pointer;
}

button {
    background-color: transparent;
    border: none;
}


/** Navigation */

/* Main Nav */
nav {
    display: flex;
    justify-content:center;
    align-items: center;
    height: 80px;
    width: 100%;
    padding: 0 40px;
    z-index: 10;
    color: #000;
}

.dateNav, .logo, .leftNav, .rightNav {
    width: calc(100% / 3);
}

.rightNav h2{
    font-size: 28px;
}

.rightNav.feature h2 {
    font-size: 20px;
}

.rightNav.feature h2 .listName::before {
    content: "·";
    font-size: 50px;
    position: relative;
    top: 8px;
    left: -2px;

}

.listName {
    color: #d60000;
}


.listName::before {
    content: "·";
    font-size: 60px;
    position: relative;
    top: 8px;
    left: -2px;

}

.dateNav {
    display: flex;
    justify-content: start;
}


.dateNav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.dateNav a {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    margin-bottom: 10px;
}

.logo a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.logo img {
    height: 70%;
}

.leftNav {
    display: flex;
    justify-content: end;
    align-items: center;
}

.hamburgerMenu, .controller {
    font-size: 40px;
    cursor: pointer;
    transition: 0.5s ease;
}

.hamburgerMenu {
    margin-left: 50px;
}

.fa-angle-left, .fa-angle-right {
    transition: 0.5s ease;
    color: #585D64;
}


.dateNav a:hover, .hamburgerMenu:hover, .fa-angle-left:hover, .fa-angle-right:hover{
    color: #d60000;
}


/* Pop Up Nav */
.popUpMenu {
    position: absolute;
    top: 0;
    right: -480px;
    width: 480px;
    height: 100vh;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    font-weight: 700;
    transition: 0.5s ease;
    z-index: 5;
}

.popUpMenu a {
    text-decoration: none;
    color: #fff;
    transition: 0.5s ease;
}

.popUpMenu a:hover {
    color: #d60000;
}

.keyCom {
    max-width: 350px;
    width: 100%;
}

.popUpMenu .PopUpLogo {
    width: 160px;
    position: absolute;
    bottom: 50px;
    left: 80px;
    cursor: pointer;
}

.menuTitle {
    color: #d60000;
}

.menuContainer {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20%;
    margin-bottom: 20px;
}
.menuContainer2 {
    list-style: none;
    display: flex;
    flex-direction: column;
    font-size: 25px;
    gap: 5px;
}

.sub {
    font-size: 20px;
    display: inline-block;
    height: 44px;
}

.popUpMenu {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
    padding: 0 50px;
}

.socials {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
}

.socials li a {
    font-size: 30px;
    width: 50px;
    height: 50px;
    color: #585D64;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials li a:hover {
    color: #fff;
    background-color: #d60000;
}

.videoMenu {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.videoMenu li{
    margin-left: 40px;
    font-size: 32px;
    min-height: 44px;
}

.videoMenu a.inline{
    height: 44px;
    display: inline-block;
    align-items: center;
}

.videoMenu .videoTitle {
    list-style: none;
    margin-left: 0;
    font-size: 42px;
}

/* .oav {

} */

/* Pop Up Menu open and closed states */
.openMenu {
    right: 0;
}

.popUpMenu .exit{
    position: absolute;
    top: 40px;
    right: 80px;
    cursor: pointer;
    transition: 0.5s ease;
    width: 46px;
    height: 46px;
}

.popUpMenu .exit svg{
    height: 34px;
    fill: #fff;
}

.loadingState {
    font-size: 14px;
    color: #999;
    text-align: center;
    padding: 20px;
    display: block; /* Ensure it's visible initially */
}

/** Video Page  */

.description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.description h3 {
    color: #d60000;
    margin-bottom: 20px;
}


.featureVideoContainer  {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 40px 0px 40px;
    padding-bottom: 60px;
    border-bottom: 20px #d60000 solid;
}

.featureVideoContainer img {
    width: 700px;
    max-width: 700px;
}

.featureVideoContainer.main {
    border: 0;
    height: calc(100vh - 120px);
    margin: 0;
    padding: 0 40px;
}

.featureVideoContainer.sub {
    border: 0;
    height: 60vh;
    margin: 0;
    padding: 0 40px;
}

.featureContentContainer {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
    transition: 0.3s;
}

.videoContainer {
    display: flex;
    justify-content: center;
    align-items: start;
    max-width: 100vw;
    width: 100%;
    gap: 24px;
    padding: 40px;
}
.contentContainer {
    width: calc(100% / 3);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
    transition: 0.3s;
}

.videoTitle{
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    max-width: 550px;
    text-align: left;
}


.contentContainer img, .contentContainer video {
    width: 100%;
    max-height: 300px;
    height: 300px;
    object-fit: cover;
    max-width: 550px;
    border: 1px #000 solid;
}

.featureContentContainer:hover, .contentContainer:hover {
    color: #d60000;
}
.featureContentContainer:hover .playIcon svg, .contentContainer:hover .playIcon svg {
    fill: #d60000;
}

/* Ensure the container is relatively positioned */
.featureContentContainer,
.contentContainer {
  position: relative;
}

.playIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Use flex to center the SVG */
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
  }
  
  .playIcon svg {
    display: block;  /* remove extra inline spacing */
    height: 34px;
    fill: #fff;
    transition: 0.3s;
  }
  
  /* Background circle for the play icon */
  .playIcon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: -1;
  }
  


/* .featureVideoContainer .contentContainer img, .featureVideoContainer .contentContainer video {
    
} */


/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Dimmed background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 95vw;
    max-width: 900px; 
    height: calc(95vw * 9 / 16);
    max-height: 506px; 
    background: #000; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); 
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none; /* Remove iframe border */
}

.close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.2;
    transition: 0.5s ease;
}

.close:hover {
    opacity: 1;
}


.red {
    color: #d60000 !important;
}

/* Footer */

footer {
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    padding: 0 10px;
}

footer h5 {
    font-size: 10px;
}

.footerLeft, .footerRight {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footerLeft img {
    height: 20px;
}

.footerRight ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.footerRight li {
    height: 44px;
    display: inline-block;
    display: flex;
    align-items: center;
}

.footerRight a {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
    height: 100%;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerRight a:hover {
    color: #d60000;
    text-decoration: underline;
}

@media (max-width: 1400px) {
    footer {
        flex-direction: column;
        height: 40px;
    }
    .timelineWrapper {
        margin-bottom: 40px;
    }
}

@media (max-width: 880px) {
    .featureVideoContainer img {
        width: 100%;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .videoContainer {
        flex-direction: column;
        padding-top: 30px;
        padding-bottom: 0;
    }
    .featureVideoContainer {
        margin: 40px 20px 40px;
    }

    .contentContainer {
        width: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .videoTitle{
        font-size: 18px;
    }

    .contentContainer img, .contentContainer video {
        max-height: 250px;
    }


    nav {
        background-color: #000;
        color: #fff;
        padding: 0 20px;
        justify-content: space-between;
    }
    .dateNav {
        width: 70%;
    }
    
    .rightNav {
        width: 70%;
    }
    
    .rightNav h2, .rightNav .listName{
        display: flex;
        align-items: center;
    }

    .listName {
        padding-left: 6px;
    }

    .listName::before {
        top: -2px;
        /* left: 0px; */
    }

    .hamburgerMenu {
        color: #fff;
    }

    .leftNav {
        width: 30%;
    }

    .dateNav {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        background-color: #000;
        position: absolute;
        padding: 20px;
        top: -250px;
        left: 0;
        height: 250px;
        width: 100vw;
        transition: 0.5s ease;
    }

    .dateNav h4 {
        font-size: 20px;
        color: #d60000;
        margin-bottom: 10px;
        cursor: pointer;
    }
    
    
    .dateNav ul {
        display: flex;
        flex-direction: column;
        list-style: disc;
        margin-left: 22px;
        gap: 10px;
        font-size: 24px;
        font-weight: 700;
        text-decoration: none;
    }
    
    .dateNav a {
        font-size: 24px;
        font-weight: 700;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        transition: 0.5s ease;
    }

    .openDateMenu {
        top: 0;
    }

    .popUpMenu {
        width: 100vw;
        right: -100vw;
        position: fixed;
        font-size: 40px;
    }

    .popUpMenu .exit {
        right: 20px;
    }

    .videoMenu li {
        font-size: 30px;
    }

    .videoMenu .videoTitle {
        font-size: 40px;
    }

    .keyCom {
        max-width: 250px;
    }

    .popUpMenu .PopUpLogo {
        left: 30px;
    }

    .openMenu {
        right: 0;
    }

    .description {
        font-size: 20px;
        padding: 0 20px;
    }

    
    .featureVideoContainer.sub {
        height: 100%;
        padding: 40px;
    }

    

    footer {
        position: relative;
        z-index: 10;
        background-color: #fff;
        height: 100%;
        gap: 20px;
        padding: 10px;
    }
    .footerLeft, .footerRight {
        background-color: #fff;
        width: 100%;
        gap: 10px;
    }
    
    .footerRight {
        flex-direction: column;
        gap: 5px;
    }
}