@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(to right, #f0f0f0, #ffffff);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.navbar {
  width: 100%;
  background-color: #333;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.navbar a,
.dropdown .dropbtn {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.dropbtn {
  background-color: #333333;
  border: 0;
}

.navbar a:hover,
.dropdown .dropbtn:hover,
.navbar a.active {
  background-color: #575757;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 50px; /* Adjust this value to position the dropdown below the parent */
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #575757;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.container {
  background-color: white;
  padding: 40px;
  text-align: center;
  width: 800px;
  margin-top: 80px;
  animation: fadeIn 1s ease-in-out;
  flex: 1;
  min-width: 100vw;
  min-height: 100vh;
}

.container img {
  width: 100px;
  height: auto;
  animation: fadeIn 1.5s ease-in-out;
}

.container h1,
.container h2,
.container p {
  margin: 10px 0;
  animation: fadeIn 2s ease-in-out;
}

.container h1 {
  font-size: 24px;
  font-weight: bold;
}

.container h2 {
  font-size: 20px;
  font-weight: bold;
}

.container p {
  font-size: 16px;
}

.container .flags {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 2.5s ease-in-out;
}

.container .flags img {
  width: 20px;
  height: auto;
  margin: 0 5px;
}

.container .flags p {
  margin: 0 5px;
  font-size: 18px;
  font-weight: bold;
}

.container .translation {
  font-size: 18px;
  font-weight: normal;
  color: #555;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  width: 100%;
  position: relative;
  bottom: 0;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

.about-section {
  background-color: white;
  padding: 40px;
  text-align: center;
  width: 800px;
  margin-top: 20px;
  animation: fadeIn 1s ease-in-out;
  flex: 1;
  min-width: 100vw;
  min-height: 100vh;
}

.about-section h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
@media screen and (min-width: 601px) {
 .navbar .menu-icon {
  display: none;
 }
}

/* Mobile view */
@media screen and (max-width: 600px) {
  .navbar {
    position: relative;
  }
  .navbar .menu-icon {
    display: block;
    cursor: pointer;
    padding: 14px 20px;
    color: white;
    background-color: #333;
    text-align: center;
    width: 100%;
  }
  .navbar-links {
    display: none;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1000;
  }
  .navbar-links a,
  .navbar-links .dropdown .dropbtn {
    float: none;
    display: block;
    text-align: left;
    padding: 14px 20px;
  }
  .navbar-links .dropdown-content {
    position: relative;
    top: 0;
    box-shadow: none;
  }
}
