* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "sans-serif";
}
body {
  background: #383b3f;
  color: #fff;
}

/* general */
.section-title {
  margin: 30px 0;
  color: #fac011;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

/* nav */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #24282e;

  color: #fff;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.burger {
  border: 0;
  background: transparent;
  font-size: 20px;
  color: #fff;
  display: none;
}
.burger:focus {
  outline: none;
}
nav ul li {
  margin: 0 15px;
  min-width: 80px;
  cursor: pointer;
}

nav ul li span {
  text-decoration: none;
  position: relative;
  color: #fff;
}

nav ul li span::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -18px;
  opacity: 0;
  transition: transform 0.2s ease;
}
.tab.active span {
  font-weight: 600;
  color: #14aaad;
}

nav ul li span:hover::after {
  transform: translateY(-15px);
  opacity: 1;
}
section {
  display: none;
}

.active {
  display: block;

}

/* MEDIA QUERIES */

@media (max-width: 480px) {
  .burger {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: 10%;
    width: 80%;
    flex-direction: column;
    text-align: center;
    background: #24282e;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  nav ul.show {
    transform: translateX(0);
  }
  nav ul li {
    margin: 15px;
  }
}
