/* Common CSS */

* {
  box-sizing: border-box;
}

main {
  min-height: calc(100vh - 18rem);
}

body {
  background-color: #FCF9F2;
  font-family: "Agbalumo", system-ui;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-image: url(../images/background.png);
  min-height: 100vh;
}

p {
  font-family: 'Poppins', sans-serif;
}

.agbalumo-regular {
  font-family: "Agbalumo", system-ui;
  font-weight: 400;
  font-style: normal;
}

.container {
  width: 90vw;
  margin: auto;
  padding: 2rem 0;
}

/* Scrollbar styles */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FCF9F2;
}

::-webkit-scrollbar-thumb {
  background: #72360E;
}

::-webkit-scrollbar-thumb:hover {
  background: #72360E;
}

/* Navbar */

header {
  display: flex;
  flex-direction: column;
  background-color: #FAEDAC;
}

header > div {
  height: 6rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header a {
  display: block;
}

.title {
  flex: 1 1 auto;
  min-width: 0;
}

.title img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
}

header button {
  flex: 0 0 auto;
  min-width: 4rem;
  background-color: #00000000;
  border: none;
  padding: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 0;
}

nav li {
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-menu {
  display: none;
}

#main-menu.is-open {
  display: block;
}

#main-menu li {
  height: 3rem;
}

nav li a {
  text-decoration: none;
  color: #72360E;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .menu-container {
    transition: none !important;
    animation: none !important;
  }
}

/* Footer */

footer {
  font-size: 0.7rem;
  background-color: #FAEDAC;
  padding: 1.5rem 1rem;
  min-height: 12rem;
}

footer .footer-columns {
  max-width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem 5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

footer .footer-column {
  min-width: 10rem;
}

footer .footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

footer h2 {
  margin: 0 0 0.75rem;
}

footer li {
  margin: 0;
}

footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #000;
}

footer img {
  max-width: 1rem;
  max-height: 1rem;
}

@media (min-width: 1200px) {
  .container {
    width: 55vw;
    margin: auto;
  }

  header {
    flex-direction: row;
    gap: 5rem;
  }

  header li a {
    height: auto;
    margin: auto 0;
  }

  header #menu-button {
    display: none;
  }

  header #main-menu {
    display: flex;
    width: 100%;
    margin-right: 11rem;
  }

  header #main-menu.is-open {
    display: flex;
  }

  header ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
  }

  .title {
    width: 6rem;
  }
  
}