html,
body {
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("https://images.bingsdomain.com/bings-domain-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

header {
  background-color: #0e0816;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

header h1 {
  color: white;
  margin: 0;
  padding-right: 1rem;
  flex: 1;
}

header nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (width <= 500px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  header nav {
    position: relative;
    left: auto;
    transform: none;
    margin-top: 0.5rem;
  }
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  white-space: nowrap;
}

nav a.active,
nav a:hover {
  background-color: #26163b;
  border-radius: 4px;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
}

.content {
  background-color: rgb(31 23 43 / 75%);
  border-radius: 16px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}

footer {
  background-color: #0e0816;
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

a[href^="mailto:"] {
  color: white;
  text-decoration: underline;
}

.images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.images h2 {
  text-align: center;
  width: 100%;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgb(14 8 2 / 30%);
  padding-bottom: 0.5rem;
}

.image-left,
.image-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.image-left img,
.image-right img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 30%);
}

.image-left {
  flex-direction: row;
}

.image-right {
  flex-direction: row-reverse;
}

.image-left p,
.image-right p {
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

.image-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.image-middle img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 30%);
}

@media (width <= 500px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
