* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    max-width: 100vw;
}

/* Nav beginning */
header {
    text-align: center;
    color: #ffffff;
    padding: 1rem 0;
    background-image: linear-gradient(to right, rgb(0, 0, 0), rgb(15, 8, 80));
}

a {
    text-decoration: none;
    color: #ffffff;
}

a::after {
    text-decoration: none;
    color: #ffffff;
}

.lead {
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 1rem;
}

#nav-toggle {
    display: none;
}

.nav-list.show {
    display: block;
}

.nav-list.show>ul {
    display: flex;
    flex-direction: column;
}

.nav-list.show>ul>li {
    text-align: center;
}

.nav-list.show>ul>li>a {
    padding: 1rem 0;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: space-around;
}

nav ul li {
    border-radius: 5px;
    padding: .25rem .5rem;
}

nav ul li a {
    display: inline;
    color: #ffffff;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    width: 0%;
    left: 0;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: 1s;
}

nav ul li a:hover::after {
    width: 100%;
}

.events {
    background-color: #878585;
}

/* Media Query */

@media (max-width: 600px) {

    /* Adjusted max-width for mobile view */
    .nav-list {
        display: none;
    }

    nav ul li a {
        display: inline;
        color: #ffffff;
        text-decoration: none;
        font-size: 2rem;
    }
    .footer{
        display: flex;
        flex-direction: column;
        gap: 5rem;
        text-align: center;
    }

    #nav-toggle {
        display: block;
        background-color: #ffffff;
        /* White background */
        color: #000000;
        /* Black text */
        border: 2px solid #000000;
        /* Black border */
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

    #nav-toggle:hover {
        background-color: #080427;
        color: #ffffff;
        /* Slightly darker background on hover */
    }

    #nav-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
        /* White focus outline */
    }
}

@media (max-width: 800px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }
    }


@media (max-width: 1200px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }

}

/* Nav ending */

/* Marquee Beginning */

.scrolling-texts-container {
    /* overflow: hidden; */
    height: max-content;
    width: max-content;
    background-color: #fff;
    border: 2px solid #ddd;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.scrolling-texts {
    animation: marque 12s linear infinite, changeColor 5s infinite;
    font-size: 20px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
}

/* Keyframes for the scrolling animation */
@keyframes marque {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes changeColor {

    0%,
    100% {
        color: red;
    }

    25% {
        color: blue;
    }

    50% {
        color: rgb(3, 99, 1);
    }

    75% {
        color: rgb(255, 94, 0);
    }
}

@media (max-width: 800px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }
    }


@media (max-width: 1200px) {

    header {
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lead {
        font-size: 30px;
    }

    .nav-list {
        display: none;
    }
}

/* Marquee End */


main {
    padding: 2rem;
    text-align: center;
    background-image: linear-gradient(to right, rgb(0, 0, 0), rgb(15, 8, 80));
}

main h1{
color: #ffffff;
}

.events-list {
    list-style-type: none;
    padding: 0;
}

.events-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.events-list li:hover {
    background-color: rgba(15, 8, 80, 0.8);
    color: #ffffff;
    cursor: pointer;
}

main {
    padding: 2rem;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
}

.li {
    background-color: #f9f9f9;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #f1f1f1;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5%;
    margin: auto;
}

.footer div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer div p {
    text-decoration: underline;
}

.Company h3 {
    text-decoration: none;
}