
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #00c9a7; 
  text-align: center;
  color: #ffffff;
}

h1 {
  margin-bottom: 30px;
  color: #ff6f61; 
  font-size: 2.4rem;
  letter-spacing: 1px;
}


.yearbook-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 35px;
}


.student-card {
  flex: 0 1 260px;
  max-width: 300px;
  background-color: #ffffff; 
  border-radius: 14px;
  box-shadow: 0 4px 12px #ff6f61; 
  padding: 20px;
  text-align: center;
  color: #333;
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px #00c9a7; 
  background-color: #ff6f61; 
  color: #ffffff;
}


.student-card img.gif {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 3px solid #00c9a7; 
  max-height: 200px;
  object-fit: cover;
  
}

.student-card:hover img.gif {
  transform: scale(1.05);
}


.student-card h2 {
  margin: 10px 0 6px;
  font-size: 1.5rem;
  font-weight: bold;
  color: inherit;
}

.most-likely {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 1rem;
  opacity: 0.85;
  color: inherit;
}

blockquote {
  font-size: 0.95rem;
  margin-top: 10px;
  color: inherit;
  font-style: italic;
}


@media screen and (max-width: 500px) {
  .yearbook-container {
    flex-direction: column;
    align-items: center;
  }

  .student-card {
    width: 90%;
    background-color: #00c9a7; 
    color: #ffffff;
    box-shadow: 0 4px 12px #ff6f61; 
  }

  .student-card h2 {
    font-size: 1.3rem;
  }
}
