* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  background-color: #000;
}

.logo-container {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.logo-container img {
  width: 10vw;
  padding: 4%;
  background: white;
  min-width: 80px;
  max-width: 140px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.portal {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
}

.portal-box {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.4s ease;
  overflow: hidden;
  min-height: 100vh;
  cursor: pointer;
}

.portal-box:hover {
  transform: scale(1.01);
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.overlay h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.overlay p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 80%;
  font-weight: 400;
}

.overlay button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.overlay button:hover {
  background-color: #e0e0e0;
}

/* Responsive: Stack on narrow viewports */
@media (max-width: 768px) {
  .portal {
    flex-direction: column;
  }

  .logo-container {
    top: 1rem;
  }

  .overlay {
    padding: 2rem;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .overlay p {
    font-size: 1rem;
    max-width: 90%;
  }

  .overlay button {
    width: 90%;
    max-width: 300px;
  }
}