html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.top-bar {
  position: relative;
  z-index: 10;
  margin: 5px auto 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 95%;
  
}

.top-bar-gray {
    background-color: rgba(255, 255, 255, 0.85);
    width:90%;
  border-radius: 16px;
  margin: 10px auto 0;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 60px;
  object-fit: contain;
}

.page-title {
  font-size: 2em;
  color: #3f2d51;
  margin: 0;
}

.long{
    font-size: 1.5em;
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  width: 66%;
}

.info-left, .info-right {
  font-size: 0.9rem;
}

.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('/static/img/button-squared.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 150px;
  height: 40px;
  color: white;
  text-decoration: none;
  border: none;
  font-weight: bold;
  border-radius: 9999px;
  cursor: pointer;
}

.content-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  padding: 2rem;
  box-sizing: border-box;
}

.overlay {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

ul {
  padding-left: 1.5rem;
}

.form-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  overflow-y:scroll;
}

.form-box {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2rem;
  max-width: 80%;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-box input,
.form-box textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#conditions-popup .form-box{
  margin-top: 30vh;
  margin-bottom: 10vh;
}

.hidden {
  display: none;
}

.close-button {
  background-color: #ccc;
  color: black;
  padding: 0.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .details{
    width:100%;
  }
}
