@import url('https://fonts.googleapis.com/css2?family=Inter:wght@800&display=swap');

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

.nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
    background-image: 
      linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 225, 255, 0.4)),      
      linear-gradient(to left, rgba(0, 0, 140), rgba(0, 140, 255));
    height: 15vh;
    width: 100%;
    z-index: 100;
    top: 0; left:0; 
}

.logo {
  height: 10vh;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 4vw, 5rem); /* scales smoothly when zooming */
  font-size: clamp(1rem, 1.2vw, 1.4rem); /* text scales proportionally */
  height: 100%; /* match the logo’s vertical alignment */
  padding-right: 4vw; /* keep spacing from right edge */
}

.nav-links a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

a:hover {
  color: rgb(45 210 190); /* Color of the link when hovered */
  text-decoration:wavy;
}

.nav-links img {
  max-width: 80px;
}

.bg {
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  overflow: hidden;

  background-image: url(img/BannerLogoless.png);
  background-position: right 0px top 15vh;
  background-size: 100vw;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 0;
}

.comm {
  background-image: url(img/Yeeps3DHeartAttack.png);
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-position: right 0px top 15vh;
  background-size: 100vw 50vh;
  background-attachment: fixed;
  z-index: 0;
}

h1 {
  text-align: center;
  font-size: 3rem;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  padding-top: 30vh;
  padding-bottom: 20vh;
}

.content {
    text-align: center;
    background-color: rgb(0, 20, 120);
    padding: 10 10%;
    min-height: 150vh;
    color: rgb(255, 255, 255);
    background-image:      
      linear-gradient(to bottom, rgba(0, 0, 140), rgba(0, 140, 255));
}

.yt-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.yt-videos iframe {
  max-width: 550px;
  width: 550px;
  height: 300px;
  border-radius: 15px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  max-width: 400px;
  width: 400px;
  height: auto;
  border: none;
  border-radius: 10px;
}

/* Image Modal Styling */
.modal {
  display: none; 
  position: fixed;
  z-index: 200;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(48, 48, 48, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: rgb(122, 122, 122);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

#imgCaption {
  color: white;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 10px;
}

input {
  width: 300px;
  height: 40px;
  font-size: 16px; /* Adjust font size accordingly */
  border-radius: 10px;
}

.description {
  width: 400px;
  height: 150px; /* enough space for 3–5 sentences */
  font-size: 16px;
  resize: vertical; /* allow resizing vertically if user wants */
  padding: 8px;
  border-radius: 10px;
}

button {
  background-image: linear-gradient(to top, rgb(79, 18, 179), rgb(165, 84, 202));
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;

}
button:hover {
  background-image: linear-gradient(to bottom, rgb(79, 18, 179), rgb(165, 84, 202));
    border: 5px solid white;
}

/* Mobile / small screen layout */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;      /* stack logo and links */
    align-items: center;         /* center horizontally */
    height: auto;                /* let it grow */
    padding: 1rem 0;
  }

  .nav-links {
    flex-direction: column;      /* stack links vertically */
    gap: 1rem;                   /* smaller gap for stacked links */
    padding-right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;           /* adjust font size for mobile */
  }

  .logo {
    height: 80px;                /* shrink logo a bit if needed */
    margin-bottom: 0.5rem;
  }
}