.iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #fefefe;
  color: #333;
  margin: 0;
  padding: 0;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.landing-container {
  max-width: 600px;
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0077cc;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.navbar-logo {
  text-align: center;
  margin: 1rem 0 0.5rem;
}

.navbar-logo img {
  max-width: 180px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #f4f4f4;
  padding: 0.5rem 0;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.navbar > li {
  position: relative;
}

.navbar > li > a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 10px;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.navbar > li:hover > a {
  background-color: #e8f2fb;
  color: #0077cc;
  border-radius: 4px;
}

.dropdown-content {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  text-align: left;
  color: #333;
  font-weight: 500;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: #e8f2fb;
  color: #0077cc;
}

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

  .navbar > li {
    margin: 4px 0;
  }

  .navbar-logo img {
    max-width: 140px;
  }

  .link-lists {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .link-lists ul {
    width: 100%;
  }
}

.simulation-list {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.simulation-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.simulation-image img {
  width: 500px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 1.5rem;
}

.simulation-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #0077cc;
}

.simulation-info p {
  margin: 0.25rem 0;
}

.simulation-page-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  margin: 1rem 0 1rem;
}

.license-info {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  padding: 1rem;
  margin-top: 1rem;
}

.resource-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 0 10px;
}

.resource-container ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  flex: 1 1 300px;
  margin: 0;
}

@media (max-width: 600px) {
  .resource-container {
    flex-direction: column;
    align-items: center;
  }

  .resource-container ul {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  background: white;
  border: 3px solid #ddd;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
  align-items: center;
}

.carousel-track a {
  display: block;
  flex: 0 0 auto;
  margin-right: 15px;
  border-right: 2px solid #ccc;
}

.carousel-track img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  display: block;
  padding: 5px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-track a:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
