/* rest default style */
*,
html,
body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

/* header */
header {
  display: flex;
  align-items: center;
  height: 100px;
  font-size: 24px;
  border-bottom: 6px solid #e0b20f;
}

header .logo {
  margin-right: 24px;
}

header .right {
  padding: 0 12px;
}

nav {
  display: flex;
  flex: 1;
}

nav ul {
  display: flex;
  gap: 12px;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: none;
  margin-top: 48px;
} 

.footer-nav ul {
  flex-direction: column;
  padding: 12px;
  font-size: 24px;
  gap: 0;
}

.footer-nav li {
  padding: 12px 0;
  border-top: 1px solid #000;
  text-align: center;
}

.footer-nav li:last-child {
  border-bottom: 1px solid #000;
}

/* footer */

footer {
  display: flex;
  font-family: "Inter";
  font-size: 16px;
  background: #000;
  color: #fff;
  margin-top: 120px;
}

footer > div {
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex: 1;
  border: 1px solid #232323;
}

footer .right p {
  text-wrap: nowrap;
}

footer .right img {
  width: 100%;
}


/* media */
@media (max-width: 960px) {
  .nodisplay-on-small-screen {
    display: none;
  }

  header {
    height: auto;
    flex-direction: column;
    margin-bottom: 12px;
  }

  header .logo {
    order: 2;
    margin: 12px 0;
  }

  header .right {
    display: none;
  }

  header nav {
    width: 100%;
    height: 100px;
    border-bottom: 2px solid #e0b20f;
    flex: auto;
    align-items: center;
  }
  
  header nav ul {
    width: 100%;
    justify-content: space-around;
  }

  .footer-nav {
    display: block;
  }

  footer {
    display: block;
  }

  footer .right {
    display: block;
    margin-top: 12px;

    text-align: center;
  }
}
