/* Set global margin and padding to zero */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Arial', sans-serif;
  color: white;
  overflow: hidden; /* Ensure no scrollbars appear */
}

.background-image {
  background-image: url('img/The_Garden_of_earthly_delights.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh; /* Full viewport height */
  width: 100vw;  /* Full viewport width */
  position: relative;
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.main-title {
  font-size: 7vw;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: -0.05em;
}

.sub-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  font-size: 1.5vw;
}

.text-left, .text-center, .text-right {
  width: 30%;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
  font-size: 1.8vw;
  letter-spacing: 0.1em;
}

.text-right {
  text-align: right;
}

.footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.2vw;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 10vw;
  }

  .sub-text p {
    font-size: 3vw;
  }

  .footer {
    font-size: 2vw;
  }
}