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

html,
body {
    height: 100%;
    overflow-x: hidden;
    font-family: 'Oswald', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    /* Subtle background */
    line-height: 1.5;
}

/* Typography */
h1,
h2 {
    font-family: 'Bebas Neue', sans-serif;
    margin: 1rem 0;
    text-align: center;
}

h1.title {
    font-size: 2rem;
    color: #fff;
}

/* Header and Navigation */
header.navbar {
    display: flex;
    background-color: #161b22;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 2rem;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
}

.navbar a {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1434A4;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.navbar a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar-item:hover {
    color: #1434A4 !important;
}

.navbar-item {
    color: white !important;
}

.navbar-burger {
    color: white !important;
}

/* Header content styling */
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    padding-left: 20px;
}

/* Header styles */
header h1 {
    font-family: 'Coiny', sans-serif;
    font-size: 30px;
    background-image: linear-gradient(to right, rgb(0, 140, 255), cyan, blue, rgba(0, 0, 0, 0.817));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-animation 150s linear infinite;
    opacity: 0.9;
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}


@keyframes rainbow-animation {
    to {
        background-position: 4500vh;
    }
}

/* Main content container styles */
.maincontainer {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maincontainer h1,
.maincontainer h2 {
    color: #1d2935;
}

.maincontainer p,
.maincontainer li {
    color: #4a4a4a;
}

/* List styling */
ul {
    padding-left: 20px;
    text-align: left;
    /* Keeps lists aligned for better readability */
}

ul li {
    margin-bottom: 10px;
}

ul li strong {
    color: #1d2935;
}

/* Media Query for 768px */
@media (max-width: 768px) {

    /* Adjust body and font sizes */
    header h1 {
        font-size: 1.8rem;
    }

    /* Navbar links in mobile view */
    .navbar-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navbar-item {
        padding: 1rem;
        text-align: center;
        width: 100%;
        color: black !important;
    }

    /* Typography adjustments */
    h1,
    h2 {
        font-size: 1.5rem;
        /* Slightly smaller headers */
    }

    h1.title {
        font-size: 1.8rem;
    }

    /* Main container adjustments */
    .maincontainer {
        margin: 20px auto;
        /* Reduce spacing for better fit */
        padding: 20px;
        /* Reduce padding */
        min-height: 70vh;
        /* Adjust height */
    }

    .maincontainer h1,
    .maincontainer h2 {
        font-size: 1.4rem;
        /* Smaller heading sizes */
    }

    .maincontainer p,
    .maincontainer li {
        font-size: 0.9rem;
        /* Reduce paragraph text size */
    }

    /* List styling */
    ul {
        padding-left: 15px;
        /* Smaller padding */
    }

    ul li {
        margin-bottom: 8px;
        /* Reduce space between items */
    }
}