* {
    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 {
    min-height: 50vh;
}

#titleHead {
    margin-top: 50px;
}

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

#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 (min-width: 768px) {
    .title {
        height: 20vh;
        font-size: 40px !important;
    }
}

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);
}
.copyright {
    text-align: center;
    margin-top: 1rem;
    height: auto;
}
@media screen and (min-width: 768px) {
    h2 {
        font-size: 26px;
    }

    p, ul, ol {
        font-size: 20px;
    }
}

.title {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    height: 15vh;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 1px white;
    text-transform: uppercase;

    background-image: 
    linear-gradient(to right, rgba(0, 33, 71, 1), rgba(0, 33, 71, 1) 75%, rgba(0, 33, 71, 0.9) 85%, rgba(0, 33, 71, 0) 100%), 
        url('./../assets/donateCover.png');
    background-size: cover, auto 300%;
    background-position: right center; 
    background-repeat: no-repeat;
    border-bottom-left-radius: 100px;
}

p, ul, ol {
    font-size: 18px;
    font-family: Libre Franklin;
    line-height: 1.5;
}

h2 {
    font-size: 20px;
    font-family: Libre Franklin;
    line-height: 115%;
    font-weight: 600;
    margin: 0;
}

.email {
    text-decoration: none;
    color: inherit;
}