/* General Body and Background */
body {
    background-color: rgb(63, 63, 63);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    background-color: #000;
    border-bottom: 2px solid #ff0000;
}

.navbar-nav li {
    margin-right: 20px;
}

.navbar-nav li a {
    padding: 10px 20px;
    border: 2px solid #ff0000;
    border-radius: 5px;
    background-color: #333;
    color: white !important;
}

.navbar-nav li a:hover {
    background-color: #ff0000;
    color: white !important;
    text-decoration: none;
}

/* Make navbar items stack vertically on small screens */
@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav li {
        margin: 10px 0;
    }

    .navbar-brand img {
        width: 20%;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 0;
    margin-bottom: 0;
}

.banner-container {
    position: relative;
    width: 100%;
    max-height: 200px;
}

.hero-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.banner-text h1 {
    color: #ff0000;
    font-size: 48px;
    font-weight: bold;
}

/* Slideshow */
.slideshow-container {
    height: 600px;
    max-width: 1100px;
    padding: 20px 50px;
    border: 4px solid #ff0000;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySlides {
    height: 100%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: rgb(255, 0, 0);
    font-weight: bold;
    font-size: 25px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Adjust the slideshow height for smaller screens */
@media (max-width: 768px) {
    .slideshow-container {
        height: 400px;
    }
    
    .mySlides img {
        object-fit: contain;
    }
}

/* Join Section */
.join-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: rgb(0, 0, 0);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    border: 2px solid #ff0000;
}

@media (max-width: 768px) {
    .join-container {
        padding: 20px;
    }

    .join-text-header {
        font-size: 24px;
    }

    .discord-button {
        width: 200px;
    }
}

.join-text-header {
    color: #ff0000;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.join-text {
    color: #f1f1f1;
    font-size: 18px;
    line-height: 1.6;
}

.join-text a {
    color: #4d16e4;
    text-decoration: underline;
}

.discord-button {
    width: 250px;
    display: block;
    margin: 20px auto;
    transition: transform 0.2s ease-in-out;
}

.discord-button:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    color: white;
    font-size: 14px;
}

@media (max-width: 768px) {
    footer {
        padding: 10px 0;
    }
}

/* About Section */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1c1c1c;
    border: 2px solid #ff0000;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    margin-bottom: 40px;
}

.about-container h2 {
    color: #ff0000;
    font-size: 28px; /* Reduced the size */
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center; /* Center the title */
}

.about-container p {
    color: white; /* Change non-title text color to white */
    font-size: 18px;
    line-height: 1.6;
}

/* Cards or Section Styling */
.section-card {
    background-color: #333;
    border: 2px solid #ff0000;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.section-card h2 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 28px; /* Match with the above title */
    text-align: center; /* Center the section titles */
}

.section-card p {
    color: white; /* Change non-title text color to white */
    font-size: 18px;
}

/* Rank Section */
.ranks-section {
    padding: 40px 0;
    text-align: center;
}

.ranks-section img {
    max-width: 100px;
    margin-bottom: 10px;
}

.ranks-section p {
    color: #ff0000;
    font-size: 14px;
}

@media (max-width: 768px) {
    .ranks-section img {
        max-width: 80px;
    }
}
