/* GLOBAL */

@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

:root {
  --accent-color: #f49969;
  --green-color: #2d8285;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: auto;
}

.message {
  padding: 1em;
  margin: 0 auto 1em;
  background-color: #efefef;
}

/* HEADER */

.top-bar {
  height: 20px;
  background-color: var(--green-color);
}

header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  width: auto;
}

header img.logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

header ul {
  list-style-type: none;
  display: flex;
  gap: 40px;
}

/* header li {
  list-style-type: none;
  display: inline-block;
  margin: 5px 10px;
} */

header li > a {
  text-decoration: none;
  /* display: inline-block; */
  position: relative;
  color: var(--accent-color);
  text-transform: uppercase;
}

header li > a::after {
  position: absolute;
  content: "";
  display: block;
  margin: auto;
  height: 2px;
  width: 0;
  top: 25px;
  background: transparent;
  transition: all 0.3s;
}

li > a:hover::after,
li > a.active-nav::after {
  width: 100%;
  background: var(--accent-color);
}

@media (max-width: 980px) {
  header a.hamburger {
    display: block;
    text-decoration: none;
    font-size: 40px;
    line-height: 1em;
    margin: 0;
    display: flex;
    align-items: center;
  }
  nav.main {
    display: none;
  }
  header .container {
    padding: 20px;
  }
  .hero h1 {
    font-size: 1rem !important;
  }
}

@media (min-width: 981px) {
  header a.hamburger {
    display: none;
  }
}

/* MAIN */

main {
  min-height: 70vh;
}

/* FOOTER */

@media (max-width: 980px) {
  footer .container {
    display: flex;
    flex-direction: column;
  }

  footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  ul.social {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
  }
}

footer {
  background-color: var(--green-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

footer a {
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
}

footer .social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  filter: invert(100%) sepia(0%) saturate(2%) hue-rotate(185deg)
    brightness(116%) contrast(101%);
}

@media (max-width: 980px) {
  footer a {
    font-size: 12px;
  }

  footer ul {
    gap: 6px;
  }
}

footer li > a {
  text-decoration: none;
  position: relative;
  color: #fff;
  text-transform: uppercase;
}

footer nav li > a::after {
  position: absolute;
  content: "";
  display: block;
  margin: auto;
  height: 2px;
  width: 0;
  top: 25px;
  background: transparent;
  transition: all 0.3s;
}

footer li > a:hover::after,
footer li > a.active-nav::after {
  width: 100%;
  background: #ffffff;
}
