* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Playfair Display", serif;
  overflow-x: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
}
.logo-container {
  margin-bottom: 2rem;
}

.main-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin-top: 4rem;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.description {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 900px;
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding: 0 1rem;
}

.location-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}

.location-link {
  transition: transform 0.3s ease;
  display: block;
}

.location-link:hover {
  transform: scale(1.05);
}

.location-link img {
  width: 320px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .title {
    font-size: 3.5rem;
  }
  .location-link img {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 2.8rem;
  }
  .description {
    margin-bottom: 2rem;
  }
  .location-logos {
    gap: 1.5rem;
  }
  .location-link img {
    width: 210px;
  }
}

/* @media (max-width: 395px){

} */

@media (max-width: 480px) {


  .title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .main-logo {
    max-width: 200px;
    margin-top: 2rem;
  }
  .description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .location-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Reduced from 1.5rem to bring logos closer */
    width: 100%;
    padding: 0 1rem;
    margin-top: 2rem; /* Pulls the whole group up slightly */
  }

  .location-link {
    width: 100%;
    max-width: 280px;
    margin-bottom: -0.5rem; /* Further reduces space between logos */
  }

  .location-link img {
    width: 100%;
    margin-top: 0;
    transform: scale(
      0.95
    ); /* Slightly reduces each logo's size to create more space */
    transition: transform 0.3s ease;
  }

  .location-link:hover img {
    transform: scale(1); /* Returns to normal size on hover */
  }
  
  
  .video-background{
    height: 100% !important;
  }

  .content{
    height: 100% !important;
  }
}

@media (max-width:540px){

  .location-logos{
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .main-logo {
    width: 180px;
  }

  .description{
    font-size: 0.9rem;
  }

  .content {
    padding-bottom: 50px;
  }
}


@media (max-width: 360px) {
  .title {
    font-size: 2rem;
  }
  .location-link {
    max-width: 260px; /* Slightly smaller for very small screens */
  }

}

@media (max-height: 600px) {
  .content {
    height: 640px !important;
  }
  .video-background {
    height: 640px !important;
  }
}