/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}

.friends-sites {
  margin: 3rem 0;
}

.friends-sites h2 {
  margin-bottom: 0.25rem;
}

.friends-sites > p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.site-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-card h3 {
  margin: 0;
}

.site-card p {
  margin: 0;
  flex-grow: 1;
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-btn {
  display: inline-block;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #2b6cb0;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-btn:hover {
  background: #1a4e8a;
}


.friends-sites {
  margin: 3rem 0;
}

.friends-sites h2 {
  margin-bottom: 0.25rem;
}

.friends-sites > p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  max-width: 800px;
}

.webring-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.webring-btn img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.webring-btn:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.webring-desc {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .button-grid {
    grid-template-columns: 1fr;
  }
}