html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: url('1.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Papyrus, fantasy;
  color: black;
  text-align: center;
}

/* --- Header image --- */
.headline {
  width: 50%;
  max-width: 500px;
  margin: 30px auto;
  display: block;
}

/* --- Layout wrapper --- */
.page-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin: 0 auto 60px auto;
  flex-wrap: wrap; /* makes it mobile friendly */
  max-width: 1200px;
  padding: 0 20px;
}

/* --- Side navigation box --- */
.side-box {
  
  background-image: url('navigation.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.side-box h3 {
  margin-top: 0;
  font-size: 1.3em;
}

.side-box nav ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.side-box nav li {
  margin: 10px 0;
}

.side-box a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
}

.side-box a:hover {
  text-decoration: underline;
}

/* --- Main content box --- */
.main-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 25px 30px;
  border-radius: 20px;
  width: 700px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.main-box h2 {
  margin-top: 0;
  text-align: center;
}


.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 30px;
  transform: translateX(-70px); /* moves both boxes left */
}
