/* There is a 50px margin-top on main */
* {
    box-sizing: border-box;
}

:root {
    --pureWhite: rgba(255, 255, 255, 0.98);
    --gopRed: #e9141d;
    --lightBackground: #ffece9;
    --shadeVariation: #130000;
    --shadeVariatio2: #ffd9d3;
    --shadeVariation3: #fc8a7d;
    --shadeVariation4: #ff545f;
    --flagBlue: #002147;
    --tintVariation: #ec242d;
    --textPrimary: #030000;
    --textSecondary: #ffece9;

    /* Carousel frosted Background */
    --carouselFWO: rgba(255, 255, 2555, 0.3);

}

html, body {
    font-family: Libre franklin;
    color: var(--textPrimary);
    scroll-behavior: smooth;
    background: rgba(245, 245, 245, 1)
        
}

body {
    margin: 0;
    padding: 0;
}

main {
    margin-top: 50px;
}

h1, h2, h3, h4, h5, h6, p {
    margin-block-start: 0;
    margin-block-end: 0;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none !important;
    color: inherit !important;
}

#navBar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    height: 50px;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--pureWhite);
    opacity: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#navMenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

#menuToggle {
    display: none; /* Hide by default */
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#navBar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

#navBar img {
    height: 40px;
    width: auto;
    margin-left: 20px;
    padding: 2px;
    align-items: center;
}

#navBar li:first-child {
    margin-left: auto;
}

#navBar li {
    margin-left: 20px;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;;
}

#navBar li a {
    font-family: Libre Franklin;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--textPrimary);
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    #navMenu {
        width: 100vw; /* Full viewport width */
    }

    #navMenu li {
        width: 100%; /* Full width of the viewport */
        padding: 0;
        margin: 0;
    }

    #navMenu li a {
        display: block; /* Makes the anchor element a block element */
        width: 100%; /* Full width of the parent list item */
        padding: 2rem; /* Adjust padding as desired */
        text-align: center;
        font-size: 18px;
        cursor: pointer;
    }

    #navMenu li a:hover {
        background: var(--shadeVariation4);
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    /* Basic styling for the menu container */
    #menuToggle {
        display: flex;
        align-items: center; /* Center vertically */
        cursor: pointer; /* Change cursor to a pointer when hovering */
    }

    /* Styling for the hamburger icon */
    .hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px; /* Width of the hamburger icon */
        height: 30px; /* Height of the hamburger icon */
        margin-right: 10px; /* Space between the icon and the text */
    }

    /* Styling for the bars */
    .hamburger-icon span {
        width: 100%;
        height: 2px; /* Thickness of each bar */
        background: var(--textPrimary); /* Color of the bars */
        border-radius: 2px; /* Optional: rounded edges */
        transition: all 0.3s; /* Smooth transition for animations */
    }

    /* Styling for the MENU text */
    .menu-text {
        font-family: Libre Franklin;
        font-size: 13.5px;
        font-style: normal;
        font-weight: 600;
        line-height: 115%;
        letter-spacing: 1px;
        text-decoration: none;
        color: var(--textPrimary);
        margin-right: 5px;
    }

    .menu-text:hover {
        font-size: 14px;
    }

    /* Animation for the active state */
    #menuToggle.active .hamburger-icon span:nth-child(1) {
        transform: rotate(45deg) translateY(3px);
        position: relative;
        top: 8px;
    }

    #menuToggle.active .hamburger-icon span:nth-child(2) {
        opacity: 0; /* Hide the middle bar */
    }

    #menuToggle.active .hamburger-icon span:nth-child(3) {
        transform: rotate(-45deg) translateY(-3px);
        position: relative;
        top: -8px;
    }

    #navMenu {
        position: absolute;
        top: 50px; /* Place below the fixed nav bar */
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: var(--lightBackground);
        flex-direction: column;
        transition: max-height 0.3s ease-in-out;
    }

    #navMenu.active {
        max-height: 75vh; /* Adjust as needed */
        opacity: 90% !important;
        overflow: visible;
    }

    #navMenu li {
        width: 100%;
        text-align: right !important;
        border-bottom: 1px solid var(--textPrimary);
    }

    #navBar li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    
}


footer {
    height: auto;
    background-color: rgba(39, 39, 39, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: var(--textSecondary);
    padding: 1rem;
}

.footerBreak {
    width: calc(100% - 75%);
    height: 1px;
    border-radius: 100%;
    background-color: white;
}

.footer-links, .socials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto; 
    margin-bottom: 0;
}
.footerLinks  {
    margin-bottom: 1rem;
}

.footer-links h4 {
    font-family: Libre Franklin;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.footer-links a {
    font-family: Libre Franklin;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 115%;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}

.social-media span {
    display: none;
}

.social-media a {
    margin: 0 10px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; 
    list-style: none; 
    margin: 1rem auto;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a, .social-media a, .x-link {
    color: var(--textSecondary);
    text-decoration: none;
}

.footer-links a:hover, .social-media a:hover {
    color: var(--textPrimary);
}
.row {
    padding-bottom: 1rem;
}
.copyright {
    text-align: center;
    margin-top: 1rem;
    height: auto;
}

.copyright p {
    font-family: Libre Franklin;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 115%;
    letter-spacing: 1px;
}

.opinion {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.opinion-label {
    color: var(--textPrimary);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Libre Franklin;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem;
}

.opinion-number {
    padding: 1rem;
}

.opinion-number p {
    width: 21px;
    color: #666;
    font-family: Libre Franklin;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    align-self: flex-start;
}

.opinion-card h5, .opinion-card a h5 {
    color: var(--textPrimary);
    font-size: 14px;
    font-weight: 600;
    line-height: 135%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.byline {
    display: flex;
}

.byline p {
    font-size: 10px;
    font-weight: 400;
    line-height: 150%;
    color: #666;
    letter-spacing: .24px;
    margin: 2px;
}

#carouselExampleCaptions {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: calc(100% - 32px);
    margin: 0 auto;
     /* Optional, keeps ratio on resizes */
    border-radius: 20px;
    margin-top: 1rem;
    padding: 0;
}

.carousel-item {
    max-height: 614px; /* Or any desired fixed height */
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    height: 100%;
    object-fit: cover; /* Makes the image fill the entire area */
}

.carousel-caption h5 {
    z-index: 1000;
    bottom: 30%;
    font-size: 28px;
    line-height: 20px;
    color: #fff;
    text-shadow: 3px 3px 7.5px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 1px var(--textSecondary);
    max-width: unset;
    line-height: 1.15;
    font-weight: 400;
    font-family: Libre Franklin;
    margin: 0;
    -webkit-text-decoration: none;
    text-decoration: none;
    margin: 0;
}

.carousel-caption p {
    z-index: 1000;
    bottom: 30%;
    font-size: 20px;
    line-height: 20px;
    color: #FFF;
    text-shadow: 3px 3px 7.5px rgba(0, 0, 0, 0.7);
    max-width: unset;
    line-height: 1.15;
    font-weight: normal;
    font-family: Libre Franklin;
    margin: 0;
    -webkit-text-decoration: none;
    text-decoration: none;
    margin: 1rem;
}

.carousel-control-prev:hover {
    margin: 0;
    background: linear-gradient(
        270deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(0, 0, .1) 100%
    );
}

.carousel-control-next:hover {
    margin: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(0, 0, .1) 100%
    );
}

.opinionDivier {
    border-bottom: 1px solid rgba(19, 0, 0, .1);;
    align-self: flex-end;
    width: calc(100% - 32px);
    margin: 0;
}

.videoSection {
    background: rgba(39, 39, 39, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sharedVideos {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.videosScroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
    white-space: nowrap;
}

.video {
    padding: 1rem;
    max-width: 320px;
    flex: none;
}
.sharedVideoImg {
    position: relative;
    display: inline-block; /* Ensures the container size matches the image size */
}

.sharedVideoImg img {
    display: block;
    width: 100%;
    height: auto;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    background-color: rgba(0, 0, 0, 0.75);
    padding: 10px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}   

.videoCover:hover {
    display: none;
}

.videoHover:hover {
    display: block;
}

.video-info h5, .video-info p {
    color: var(--textSecondary);
    display: flex;
    overflow-x: hidden;
}

.sharedVideosLabel {
    font-size: 18px;
    font-weight: 200;
    line-height: 135%;
    letter-spacing: 1.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--textSecondary);
    padding-top: 1rem;
    padding-left: 1rem;
}

.video-info h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 135%;
    letter-spacing: 1px;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.video-info p {
    font-size: 10px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing:.24px;
    margin: 0 0 10px 0;
}

.articlesHeader h2 {
    color: var(--textPrimary);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Libre Franklin;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem;
    text-align: left;
    margin: 0;
    margin-top: 1rem;
    margin-left: .5rem;
    padding: 0;
}

.article {
    padding: .25rem;
    border-radius: 5px;
    margin: 1rem;
}

.articleDivier {
    border-bottom: 1px solid rgba(19, 0, 0, .1);;
    align-self: flex-end;
    width: calc(100% - 32px);
}

.articleImg img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 5px;
    display: none;
}

.articleTitle {
    height: 40px;
}

.articleTitle h5 {
    color: var(--textPrimary);
    font-family: Libbre Franklin;
    font-size: 16px;
    font-weight: 600;
    line-height: 115%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

@media screen and (min-width: 550px) {
    #carouselExampleCaptions {
        height: 614px;
        aspect-ratio: 1 / 1;
        padding: 16px 0;
        border-radius: 0;
        margin-top: 0;
    }

    .carousel-control-next:hover, .carousel-control-prev:hover {
        margin: 16px 0;
    }

    .opinion-label {
        font-size: 20px;
    }
    
    .opinion-number p {
        width: 26px;
        display: flex;
        align-items: center;
        font-size: 40px;
        font-weight: 100;
        line-height: 100%;
        letter-spacing: -2px;
        margin-right: 14px;
        align-self: center;
    }

    .opinion-card h5, .opinion-card a h5 {
        font-size: 16px;
    }

    .opinionDivier {
        margin: 1rem;
    }

    .byline p {
        font-size: 14px;
        line-height: 125%;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .opinion-card h5 {
        line-height: 140%;
    }

    .video {
        padding: 1rem;
        max-width: 360px;
        flex: none;
    }

    .sharedVideosLabel {
        font-size: 20px;
    }
    
    .video-info h5 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 12px;
    }

    .article {
        background: var(--pureWhite);
    }

    .articlesHeader h2 {
        font-size: 20px;
        text-align: center;
        margin-left: 0;
    }

    .articleTitle h5 {
        font-size: 18px;
        margin: 0;
    }

    .articleImg img {
        display: block;
    }
}