
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: "Archivo Narrow", serif;
}

.navbar {
  background-color: #ba0808;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.navbar-toggle {
  display: none;
  background-color: #fff;
  border: none;
  font-size: 1.5rem;
  color: #ba0808;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1100;
}

.navbar-menu {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

.navbar-menu li {
  display: inline;
}

.navbar-menu a {
  text-decoration: none;
  color: white;
  font-family: "Sriracha", cursive;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 20px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 5px;
}

.navbar-menu a:hover {
  background-color: #151515;
  color: #fff;
}

/* Responsive Navbar */
@media (max-width: 1200px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    background-color: #ba0808;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 1000;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu li {
    margin: 10px 0;
  }
}

.landing-page {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

h1 {
  font-size: 8vw; 
  font-weight: 100;
  color: rgb(214, 1, 1);
  text-shadow: 20px 20px 20px rgb(255, 255, 255);
  font-family: "Knewave", system-ui;
}

.section {
  padding: 50px 160px;
  text-align: left;
}

.section:nth-child(odd) {
  background-color: rgb(52, 52, 52);
}

.section:nth-child(even) {
  background-color: #0e0e0e;
}

h2 {
  font-size: 2rem;
  color: #fff700;
  padding-bottom: 8px;
  font-family: "Sriracha", cursive;
}

.marvel-creation-content {
  display: flex;
  align-items: start;
  justify-content: space-between;
  text-align: left;
}

.marvel-creation-content p {
  margin-right: 10px;
}

.marvel-logo {
  width: 70%;
  height: 100%;
  border-radius: 8px;
}

p {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0;
}

.subsection {
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background-color: #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1000px) {
  .marvel-creation-content {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center-align the content */
  }

  .marvel-creation-content p {
    margin-bottom: 20px; /* Add some space between text and image */
  }

  .marvel-logo {
    width: 80%; /* Adjust width for smaller screens */
    height: auto; /* Keep aspect ratio */
  }
}

h3 {
  font-size: 1.6rem;
  color: #444;
  margin-bottom: 10px;
}


.photo-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 20px;
}

.photo-item {
  text-align: center;
  margin: 15px;
}

.photo-item img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border-color: #1e90ff;
  border-style: solid;
  border-width: 4px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.photo-item p {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #1e90ff;
  text-align: center;
}


.photo-grid-horizontal {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
}

.hero-card {
  min-width: 300px;
  background-color: #e2e2e2;
  border-radius: 8px;
  border-color: #1e90ff;
  border-style: solid;
  border-width: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  scroll-snap-align: start;
}

.hero-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.hero-card h4 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #333;
}

.hero-card p {
  font-size: 1rem;
  color: #555;
  margin: 4px 0;
  text-align: left;
}

.photo-grid-horizontal::-webkit-scrollbar {
  height: 8px;
}

.photo-grid-horizontal::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}


.container {
  text-align: left;
  margin-bottom: 20px;
}

.interactive-button {
  background-color: #1e90ff; 
  color: white;
  border: none;
  padding: 50px 75px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-right: 12px;
}

.interactive-button:hover {
  background-color: #63b3ed; 
  transform: scale(1.05); 
}

.interactive-button.clicked {
  background-color: #63b3ed; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: scale(0.95); 
}


.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.popup-content {
  background-color: white;
  padding: 40px 40px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  width: 90%;
  max-height: 500px;
  animation: fadeIn 0.3s ease;
}


.close-button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 70px;
  margin-left: 520px;
  transition: all 0.3s ease;
}

.close-button:hover {
  background-color: #c0392b;
  transform: scale(1.05);
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1000px) {
  .popup-content {
    padding: 20px;
    width: 95%;
    max-width: none;
    max-height: 90%;
    height: auto;
  }

  .close-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

h5 {
  color: #f4f4f4;
  font-size: 1rem;
}


.footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: left;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin: 5px 0;
}

.reference-list {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.reference-list li {
  margin: 5px 0;
}

.reference-list a {
  text-decoration: none;
  color: #1e90ff;
  transition: color 0.3s ease;
}

.reference-list a:hover {
  color: #63b3ed;
}

@media (max-width: 1200px) {
  .section {
    padding: 30px 80px;
  }

  .navbar-menu {
    gap: 10px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-card img {
    height: 300px;
  }

  .interactive-button {
    padding: 40px 60px;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 30px 20px;
  }

  .landing-page {
    flex-direction: column;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-card {
    width: 100%;
    padding: 15px;
  }

  .hero-card img {
    height: 250px;
  }

  .interactive-button {
    padding: 30px 50px;
  }
}

@media (max-width: 480px) {
  .navbar-menu a {
    font-size: 1.2rem;
    padding: 8px 15px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-card img {
    height: 200px;
  }

  .interactive-button {
    padding: 20px 40px;
    font-size: 14px;
  }

  .footer-content p {
    font-size: 0.8rem;
  }
}
