
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(5, 5, 5);
    background: url();
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(2, 2, 2); /* Change text color for better visibility */
    color: rgb(0, 0, 0);
}


header {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 5px solid red;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: rgb(255, 255, 255);
    color: white;
    border-bottom: 4px solid red;
}

.logo h1 {
    margin: 0;
    color: rgb(255, 0, 0);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 4vw, 2.5rem);
}
nav {
      background: #ffffff;
      padding: 1%;
    }

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: red;
    color: rgb(0, 0, 0);
}
/* dropdown menu */
    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      min-width: 180px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
      border-radius: 4px;
      z-index: 1000;
    }

    .dropdown-content li a {
      color: black;
      padding: 10px 15px;
    }

    .dropdown-content li a:hover {
      background: red;
      color: white;
    }

    /* show dropdown when active */
    .dropdown.active .dropdown-content {
      display: block;
    }
.social-links {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icons */
}

.social-links img {
    height: 30px; /* Adjust icon size */
    width: auto;
    transition: transform 0.3s ease-in-out;
}

.dropdown-content {
  display: none;
  list-style: none;
  background: #222;
  padding: 0;
  margin: 0;
}

.dropdown-content li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background: #444;
}

.dropdown-content.show {
  display: block; /* 👈 Show when active */
}

.social-icon:hover img {
    opacity: 0.7; /* Change opacity on hover */
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

.content {
    padding: 50px 20px;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 10px;
    border: 2px solid red;
}

.content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: red;
    margin-bottom: 20px;
}

/* Make sure the entire page fills the screen */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Push the footer to the bottom */
main {
    flex: 1; /* This allows the main content to take up available space */
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: auto; /* Adjust logo size */
    max-width: 15%;  /* scales with screen width */
    margin-right: 15px; /* Space between logo and text */
}


.sports-gallery {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adds space between images */
    margin-top: 20px;
}

.sports-gallery img {
    width: 30%; /* Makes all images the same width */
    height: auto; /* Keeps the aspect ratio */
    border-radius: 10px; /* Gives a slight rounded edge */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow for a stylish effect */
    transition: transform 0.3s ease-in-out;
}

.sports-gallery img:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}
.staff-gallery {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between images */
    margin-top: 20px;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.staff-gallery img {
    width: 30%; /* Adjust to fit three images in a row */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect */
    transition: transform 0.3s ease-in-out;
}

.staff-gallery img:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}

.content {
    text-align: center; /* Centers text */
    padding: 20px;
}

.content h2 {
    font-size: 2.5em;
    color: red;
    margin-bottom: 10px;
}

.content h1 {
    font-size: 2em;
    color: black;
    margin-top: 20px;
    text-decoration: underline;
}
.content {
    text-align: center;
    padding: 40px 20px;
}

.content h2 {
    font-size: 2.5em;
    color: red;
    margin-bottom: 20px;
}

.content h3 {
    font-size: 2em;
    color: black;
    margin-top: 20px;
    text-decoration: underline;
}

.content p {
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
    max-width: 800px;
    margin: 10px auto;
    line-height: 1.5;
}
.staff-gallery1 {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between images */
    margin-top: 20px;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.staff-gallery1 img {
    width: 100%; /* Adjust to fit three images in a row */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow effect */
    transition: transform 0.3s ease-in-out;
}

.staff-gallery1 img:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}
body {
    background-image: url(SCHOOL.jpeg'); /* Update the path to match your image location */
    background-size: full cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}
.sports-gallery2 {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adds space between images */
    margin-top: 20px;
}

.sports-gallery2 img {
    width: 80%; /* Makes all images the same width */
    height: auto; /* Keeps the aspect ratio */
    border-radius: 10px; /* Gives a slight rounded edge */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow for a stylish effect */
    transition: transform 0.3s ease-in-out;
}
.sports-gallery2 img:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}
body {
    background: url("logo.jpg") repeat center center fixed;
    background-size: 30%;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* Add a transparent overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* White tint at 70% opacity */
    z-index: -1;
}
.content h3 {
    font-size: 1.25em;
    color: black;
    margin-top: 20px;
    text-decoration: underline;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
