/* General Body Styles */
body {
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
    color: black; /* Changed to ensure better readability */
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: auto; /* Changed from 130% to auto for better scaling */
    padding-bottom: 150px; /* Adjusted to avoid overlap issues */
}
 /* Video Styles */
 iframe {
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

iframe:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h3 {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

/* Additional Styling for Content */
.container {
    padding: 50px;
    margin: 0 auto;
    max-width: 1200px;
}

.container h1, .container h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
}

.container p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Video Section */
.video-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}


/* Header Styles */
header {
    display: flex;
    align-items: center;
   justify-content:baseline;
    padding: 20px 40px;
    color: inherit;
    background-image: url(img/hoop1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    z-index: 800;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    padding-bottom: 100px;
    justify-content:baseline;
    
}

/* Navigation Bar */
nav {
    text-transform: uppercase;
    padding: 160px 0 30px 0; /* Adjusted padding to account for header size */
   
    align-items: center;
    margin-left: auto;
    margin-right: 200px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    transition: background-color 0.4s, transform 0.3s ease;
    
}

nav ul li a:hover {
    background-color: #444;
    color: white;
    border-radius: 5px;
    transform: scale(1.2);
}

nav ul li a.active {
    background-color: #3c3c3c;
    border-radius: 5px;
    color: white;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: white;
}

body.dark-mode nav ul li a {
    color: #ffffff;
}

body.dark-mode nav ul li a:hover {
    background-color: #e6e6e6;
    color: #000000;
}

body.dark-mode nav ul li a.active {
    background-color: #007BFF;
}

/* Content Box */
.container {
    padding: 300px 20px; /* Adjusted for responsiveness */
    max-width: 1200px; /* Added for consistent layout */
    margin: 0 auto; /* Center the container */
}

.box {
    background-color: #f6f6f6;
    margin-top: 50px;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .box {
    background-color: #1e1e1e;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Paragraph Styles */
p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 20px 0;
    color: black; /* Default color for light mode */
}

body.dark-mode p {
    color: #ffffff;
}

/* Theme Toggle */
.theme-toggle {
    color: white;
    cursor: pointer;
    font-size: 24px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease, color 0.3s ease;
}

body.dark-mode .theme-toggle {
    transform: rotate(180deg);
    color: #ffffff;
}

/* Heading Styles */
h1 {
    font-size: 4em;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(197, 197, 197, 0.7);
    color: rgb(255, 255, 255);
    

}

h2 {
    color: black;
}

body.dark-mode h2 {
    color: #ffffff;
}

/* Close Button */
.close-btn {
    float: right;
    background-color: #e74c3c;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.close-btn:active {
    background-color: #a93226;
    transform: scale(1);
}

.container {
    animation: transitionIn 0.75s;
}
@keyframes transitionIn {
from {
    opacity: 0;
    transform: rotateX(-10deg);
    
    to {
        opacity: 1;
        transform: rotateX(0);
    }
}
}