/* ====== home.css ====== */

p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 10px 0;
}

.link-images,
.external-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 2em;
  padding: 1em;
}

.image-link {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.image-link img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.image-link:hover img {
  transform: scale(1.05);
}

.image-link p {
  margin-top: 0.5em;
  font-weight: bold;
  font-size: 1.1em;
}

.welcome {
  position: relative;
  background-image: url("../images/after-headers/home.png");
  background-size: cover;
  background-position: center;
  height: 400px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .welcome-section {
    height: 700px;
  }
}

.welcome .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* optional dark overlay for better text visibility */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-text {
  text-align: center;
  padding: 2em;
  max-width: 800px;
}

.welcome-text h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  font-family: 'Unica One', sans-serif;
}

.welcome-text p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #ffffff;
  
}


.creator-section {
  display: flex;
  align-items: center;        /* Vertically center image and text */
  gap: 2em;                   /* Space between image and text */
  padding: 1em;
  flex-wrap: wrap;            /* Allows wrapping on smaller screens */
}

.creator-img {
   width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: 2em;
}

.creator-details {
  color: #000;         /* Set text color to black */
  font-size: 16px;     /* Set font size */
  max-width: 950px;
}


.creator-details h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.creator-details p {
  text-align: justify;
  line-height: 1.6;
  font-size: 16px;
  color: #000;
  margin-bottom: 1em;
}