/* General body styling */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('background2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
}

/* Navigation styling */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 0;
  z-index: 10;
}

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

nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

nav a:hover {
  color: #f0e68c;
}

/* Container that holds the page content, covering everything below the navbar */
.container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: rgba(0, 0, 0, 0.4); /* Transparent black background applied */
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - 60px); /* Ensure content container takes up remaining space after navbar */
  margin-top: 60px; /* Push content down, below the navbar */
}

/* Title and image layout */
.image-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin-top: 50px;
  text-align: center;
}

.image-container img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* Text container for titles and paragraphs */
.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  margin: 20px;
  max-width: 400px;
  margin-left: -80px;
}

.text-container h1, .text-container h2 {
  margin: 5px 0;
}

/* Links styling */
.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.link {
  margin: 10px 0;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.link:hover {
  background: #f0e68c;
  color: black;
}

/* Text paragraph styling */
.text p {
  margin: 15px 0;
  line-height: 1.6;
}

/* Responsive styling */
@media (max-width: 768px) {
  .image-title-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .text-container {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .image-container img {
    width: 150px;
    height: 150px;
  }

  .text p {
    font-size: 14px;
  }

  .link {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .image-title-container {
    gap: 15px;
  }
}
