* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* General Page Styling */
html {
    border: 2px solid #333;
  }


  :root { font-family: 'Inter', sans-serif; }
  @supports (font-variation-settings: normal) {
    :root { font-family: 'Inter var', sans-serif; }
  }


  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 70px; /* Adjust based on header height */
    background: linear-gradient(to bottom, #87ceeb, #f0e68c);
    color: #333;
    border: 2px solid #333;
  }
  
  /* Container */
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Header Styling */
  header {
    text-align: center;
    background: #0D99FF;
    padding: 10px;
    border-radius: 0;
    border: 2px solid #333;
    position: fixed;
    top: 0;
    width: 100%;;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
  }
  
/* Make images responsive */
.w3-image {
  max-width: 100%;   /* Ensures image width doesn't exceed its container */
  height: auto;      /* Maintains the image aspect ratio */
}

/* Vertical alignment of images in inline elements */
img {
  vertical-align: middle;
}

/* Anchor links inherit color from parent */
a {
  color: inherit;    /* Inherits color from surrounding text */
}

/* Styling for rockaway header */
.rockaway {
  max-width: 1500px;  /* Max width of the header */
  margin: 0 auto;     /* Centering the header */
  position: relative; /* Allows positioning of child elements */
  padding: 0%;
}

/* Ensure the image takes the full width of the header */
.rockaway img {
  width: 100%;        /* Make the image take the full width of its container */
  height: auto;       /* Maintain aspect ratio */
}


  
  .Btitle {
    background: #87ceeb;
    text-align: center;
    padding: 10px;
    font-size: large;
    border: 1px solid #333;
  }
  
  /* Navigation Bar */
  .topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    
  }
  
  /* Home Button */
  .home-btn {
    background-color: #ddd;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: black;
    padding: 10px 15px;
    border-radius: 10px;
  }
  
  /* Navigation Links */
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: black;
    font-size: 17px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  
  .nav-links a:hover {
    background-color: #ddd;
    outline: 2px solid #fbff00;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Search Box */
  .topnav input[type=text] {
    padding: 6px;
    border: none;
    font-size: 17px;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    margin: 20px auto;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Featured Info Sections */
  .featured-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
  }
  
  .info-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
  }
  
  .info-section:hover {
    outline: 2px solid #87ceeb;
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .Staff {
    max-width: 1764px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
  }

  .Staff h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .Staff img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    height: auto;
    width: 400px;
  }

  /* Footer */
  footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    border: 1px solid #ddd;
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown a:hover {
    background-color: #ddd;
  }
  
  .show {
    display: block;
  }
  /* General Page Content */
.w3-content {
  margin: 0 auto;
  padding: 16px;
  max-width: 1564px;
}

/* Style for h1 inside the .Staff class */
.staff h1 {
  color: #87ceeb;  /* Change text color */
  margin-left: 180px;  /* Shift the entire h1 text to the right */
}


/* Project Section Styles */
.w3-container#w3-projects {
  padding: 32px;
}

.w3-border-bottom {
  border-bottom: 1px solid #d3d3d3;
}

.w3-border-light-grey {
  border-color: lightgrey;
}

.w3-padding-16 {
  padding: 16px;
}

/* Beach Image Container */
.w3-row-padding {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.w3-col {
  width: calc(25% - 20px);
  margin-bottom: 20px;
  position: relative;
}

.w3-display-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.w3-display-topleft {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  font-size: 16px;
}

.w3-padding {
  padding: 10px;
}

.w3-margin-bottom {
  margin-bottom: 20px;
}

.w3-col img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.w3-col img:hover {
  transform: scale(1.05);
}




  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .topnav {
      flex-direction: column;
      align-items: center;
    }
  
    .home-btn {
      text-align: center;
      width: 100%;
    }
  
    .nav-links {
      flex-direction: column;
      align-items: center;
      margin: 10px 0;
    }
  
    .topnav input[type=text] {
      width: 100%;
      text-align: center;
      border: 1px solid #ccc;
    }
  
    .featured-info {
      flex-direction: column;
      align-items: center;
    }
  
    .info-section {
      width: 90%;
    }
  }
  