@charset "utf-8";
/* styles.css */

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

body {
  font-family: Arial, sans-serif;
  background-image: url('../img/bg_20.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: contain;
}

header {
  background-color: #333;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  width: 25px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
}

.hamburger-menu .line {
  width: 100%;
  height: 3px;
  background: #fff;
  opacity: 1;
  position: absolute;
  transition: 0.25s ease-in-out;
}

.hamburger-menu .line:nth-child(1) {
  top: 0;
}

.hamburger-menu .line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu .line:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

.hamburger-menu.open .line:nth-child(1),
.hamburger-menu.open .line:nth-child(3) {
  width: 0;
}

.hamburger-menu.open .line:nth-child(2) {
  transform: translateY(-50%) rotate(45deg);
}

.main-content {
  padding: 20px;
  margin-top: 70px;
  margin-bottom: 70px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

section.mission {
  text-align: center;
  margin: 40px auto;
}

section.mission h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}

@media only screen and (max-width: 600px) {
  nav ul {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
  }

  .nav-list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: #333;
    text-align: center;
  }

  .nav-list li {
    margin: 10px;
  }

  .nav-list.open li {
    animation: slideIn 0.3s ease-in-out forwards;
    opacity: 0;
  }

  @keyframes slideIn {
    0% {
      transform: translateY(-20px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

@media only screen and (min-width: 601px) {
  .nav-list {
    display: flex;
  }

  .hamburger-menu {
    display: none;
  }
}