body, html {
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    font-size: 25px;
}

header {
    background: #050505;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 4px #5b5b5b;
}

.nav {
    display: none;
}

/* Style for the full-screen menu */
.full-screen-nav {
    position: fixed;
    width: 75%;
    height: 85%;
    background: black;
    top: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    transform: scale(0);
    transform-origin: top right;
    transition: transform 0.25s ease;
    border-top: 2rem solid white;
}

.full-screen-nav.active {
    transform: scale(1);
}

.full-screen-nav ul {
    list-style: none;
    padding: 0;
}

.full-screen-nav ul li {
    padding: 10px;
}

.full-screen-nav ul li a {
    color: #fff; /* Adjust the text color as needed */
    font-size: 2.5rem;
    text-decoration: none;
}

.full-screen-nav a:hover {
    color: #45eea2;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1000;
    padding-right: 15px;
    position: fixed;
    top: 0.05em;
    right: 0.05em;
}

.hamburger-menu div {
    width: 1.75rem;
    height: 0.25rem;
    background: #73767c;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.quote {
    font-style: italic;
}

.quote-container {
    margin: 0 1em 1em 1em;
}

#main-header {
    display: none;
}

#logo {
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

header p {
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

header h1 {
    font-size: 4.5rem;
}

.register-button {
    opacity: 0;
    display: inline-block;
    margin: 1em;
    padding: 15px 20px;
    background: #73767c;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    max-width: 50vw;
    height: fit-content;
    animation: fadeIn 1.5s ease-in forwards;
    animation-delay: 1s;
    box-shadow: #5a5c60 4px 6px 4px;
}

.register-button:hover {
    background: #45eea2;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header {
    font-family: Impact, sans-serif;
    text-align: center;
    letter-spacing: .06em;
}

.section-content {
    box-shadow: #4a4c50 4px 4px 4px;
}

section p {
    color: white;
    padding: 5vh 2.5vw 5vh 2.5vw;
    margin: 0 5vw 5vh 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #73767c;
    border-radius: 20px;
    text-align: center;
    text-shadow: #181818 3px 3px 3px;
}

.what-is-era h2 {
    text-shadow: #acafb2 3px 3px 3px;
}

#join-us {
    font-size: 1.5em;
    color: black;
}

.take-action {
    width: 100%;
    background: #000000;
    text-align: center;
    box-shadow: 0 -3px 3px #4a4c50, 0 3px 3px #4a4c50;
}

.take-action h2 {
    color: white;
    font-size: 5.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
    align-self: center;
    opacity: 0; /* Initially hidden */
    transform: scale(0.5); /* Initial scale */
    transition: opacity 1s ease, transform 0.5s ease;
    transition-delay: 1s;
    text-shadow: #45eea2 1.5px 1.5px 1px;
}

.take-action h2.animate {
    opacity: 1; /* Fade in */
    animation: slamShake 1.5s ease-in-out forwards; /* Apply the animation */
    animation-delay: 1s;
}

@keyframes slamShake {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: scale(1.2) rotate(-5deg);
        opacity: 1;
    }
    40% {
        transform: scale(1) rotate(3deg);
    }
    60% {
        transform: scale(1.1) rotate(-3deg);
    }
    80% {
        transform: scale(1) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.take-action p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.take-action .buttons {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.take-action .buttons a {
    font-size: 1.75rem;
    margin-bottom: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
    width: 70vw;
    text-shadow: #181818 3px 3px 3px;
}

.take-action a {
    display: inline-block;
    padding: 15px 20px;
    background: #73767c;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: #5a5c60 4px 6px 4px;
    text-align: center;

}

.take-action a:hover {
    background: #45eea2;
}

.fight {
    height: 100%;
}

.fight h2,
.news h2 {
    text-shadow: #acafb2 3px 3px 3px;
    margin-bottom: .25em;
    padding-left: 1em;
}

#fight-content {
    margin: .5em;
}

.fight-list {
    box-shadow: none;
    list-style: none;
}

.fight-list li {
    position: relative;
    padding-left: 2em; /* Creates space for emoji */
    font-size: 1.75rem;
    padding-bottom: .75em;
}

.fight-list li::before {
    position: absolute;
    left: 0;
    content: "✅"; /* Default emoji */
    font-size: 1.2em;
}

/* Assign different emojis to each list item */
.fight-list li:nth-child(1)::before {
    content: "🟰";
}

.fight-list li:nth-child(2)::before {
    content: "♀️";
}

.fight-list li:nth-child(3)::before {
    content: "🏳️‍🌈";
}

.fight-list li:nth-child(4)::before {
    content: "⚖️";
}

.fight-list li:nth-child(5)::before {
    content: "⚒️";
}

#news-button-container {
    margin-bottom: 1rem;
}

#news-button {
    background-color: #063801;
}

#news-button:hover {
    background-color: #086900;
}

hr {
    border: none;
    height: 2px;
    width: 90%;
    background-color: #333; /* Change color */
    margin: 20px; /* Add spacing */
    justify-self: center;
}

.news-list {
    margin-top: 0;
    font-size: 1.5rem;
}

.news-list li {
    display: flex;
    flex-direction: column;
    padding-bottom: 1em;
}

.news-list li a {
    text-decoration: none;
    font-style: italic;
    color: #063801;
    text-shadow: #606060 1px 1px 2px;
    transition: transform 0.2s ease-in-out;
}

.news-list li a:hover {
    display: inline-block;
    color: #086900;
    transform: scale(1.03);
}

.about {
    background-color: black;
    color: white;
    box-shadow: 0 -3px 3px #4a4c50, 0 3px 3px #4a4c50;
}

.stat {
    margin-top: 2em;
    background-color: white;
}

.fade-in-text {
    display: inline-block; /* Allows animations like translateY or transform */
    color: black;
    text-shadow: #181818 1px 1px 3px;
}

.fade-in-text p {
    visibility: hidden;
}

.fade-in-text span {
    visibility: visible;
    opacity: 0; /* Start hidden */
    animation: fadeIn 1s ease forwards; /* Fade in animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* Slight upward motion for effect */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    background: #D3D3D3;
    color: #363636;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -3px 3px #a8a8a8;
}

footer img {
    width: 35px;
    height: auto;
}

#contact {
    text-decoration: none;
    color: #363636;
}

#contact:hover {
    color: #223f9d;

}

/* Default styles for social media icons */
/* Default styles for social media icons */
.social-media a {
    display: inline-block;
    opacity: 0; /* Start invisible */
    transform: translateX(-50px); /* Start off-screen to the left */
}

/* Trigger animation when in view */
.social-media a.animate-icon {
    animation: slideIn 1s ease forwards; /* Trigger the slide-in animation */
}

/* Hover effect for icons */
.social-media a img {
    transition: transform 0.4s ease; /* Smooth scaling effect for hover */
}

.social-media a:hover img {
    transform: scale(1.2); /* Slight swell on hover */
}

#lemon8 {
    border-radius: 10px;
}

.calendar-container {
}

.calendar {
    margin: 5px;
    height: auto;
}

/* Keyframes for slide-in animation */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9); /* Start off-screen and slightly smaller */
    }
    50% {
        transform: translateX(0) scale(1.2); /* Slight swell */
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1); /* End at normal size */
    }
}


/* General transition style */
.animate-quick {
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    transition-delay: 0.5s;
}

.animate-slow {
    opacity: 0;
    transition: transform 2s ease-out, opacity 2s ease-out;

}

/* From top */
.animate-from-top {
    transform: translateY(-100%)
}

/* From bottom */
.animate-from-bottom {
    transform: translateY(100%);
}

/* From left */
.animate-from-left {
    transform: translateX(-25%);
}

/* From right */
.animate-from-right {
    transform: translateX(25%);
}

/* Final visible state for all */
.visible {
    opacity: 1;
    transform: translate(0, 0); /* Resets both X and Y translations */
}

@media screen and (min-width: 768px) {

    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    #main-text {
        align-self: center;
    }

    #main-header {
        display: revert;
    }

    #banner {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100vw;
    }

    #logo {
        width: 10vw;
        position: absolute;
        left: 2.5vw;
        top: 1em;
    }

    .hamburger-menu {
        display: none;
    }

    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 2em;
    }

    .nav-button {
        color: white;
        text-decoration: none;
        padding: 1em;
        font-size: 1.5em;
        font-weight: bold;
    }

    .nav-button:hover {
        color: #45eea2;
    }

    .section-content {
        max-width: 75vw;
    }

    #change {
        display: inline;
    }

    #take-action-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .take-action h2 {
        padding-right: .5em;
    }

    .take-action .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .take-action .buttons a {
        width: 25vw;
    }

    .split-section {
        display: flex;
        justify-content: space-between;
        align-items: start;
        width: 100%;
    }

    .fight {
        border-right: 5px black solid;
    }

    .fight,
    .news {
        max-width: 50vw;
        width: 100%;
        max-height: 100%;
        height: 100%;
    }

    #fight-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #fight-content ul {
        box-shadow: revert;

    }

    .news {
        max-width: 50vw;
    }

    #news-button {
        margin-bottom: 0;
    }

    .news h2 {
        font-size: 2em;
        margin-top: 1px;
        padding-bottom: 1px;
        padding-top: 1px;
    }

    .news-list {
        padding: 0 1em;
    }

    #our-moment,
    #change {
        max-width: 25vw;
        max-height: 25vh;
    }

    #change {
        align-self: flex-start;
    }

    .stat p {
        background-color: revert;
        box-shadow: revert;
    }

    .calendar-container {
        display: block;
        height: 90vh;
    }

    .iframe-container {
        height: 100vh;
        width: 100vw;
    }

    iframe {
        width: 100vw;
        height: 100vh;
    }

}

@media screen and (min-width: 1024px) {
    .register-button {
        font-size: 2.3rem;
    }
}