/* ----------- Index/Homepage spezifische Styles ----------- */

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 16rem;
}

/* Main area with background X */
.main-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-image: url("../assets/homepage.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Info box styles */
.info-box {
  position: absolute;
  background: rgb(245, 233, 220, 0.9);
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  padding: 3em;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  right: 16rem; /* Aligns with main's right padding */
  top: 50%;
  transform: translateY(-50%);
}

.info-box p {
  background: none;
  color: #4e3000;
  padding: 0.25rem;
}

.info-box p:first-child {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #4e3000;
  margin-bottom: 0.2rem;
}

.info-box button {
  background: #4e3000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.info-box button:hover {
  background: #d97b38;
}
