@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

header {
  background-color: rgba(15, 15, 15, 0.829);
  backdrop-filter: blur(2px);
  align-items: center;
  color: #e1e1e1;
  display: flex;
  position: fixed;
  top: 0;
  flex-direction: column;
  justify-content: center;
  height: 5rem;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  z-index: 100;
}
.container {
  width: 85%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-logo {
  font-size: 1.9rem;
  font-weight: 700;
}

#menu-nav {
  display: flex;
  align-items: center;

  height: 30px;
}

.menu-list {
  display: flex;
  list-style: none;
  align-items: start;
  width: max-content;
  gap: 20px;
}

.menu-list li a {
  font-size: 1.1rem;
  padding: 5px 10px;
  color: #e1e1e1;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.2s;
}

.menu-list li a:hover {
  background: rgba(59, 59, 59, 0.445);
  color: #00df5e;
}

#btn-mobile {
  display: none;
}

@media (max-width: 576px) {
  header {
    height: 5rem;
  }
  .container {
    width: 90%;
    justify-content: space-between;
  }
  #btn-mobile {
    height: 30px;
    width: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .rectangule {
    width: 40px;
    height: 4px;
    background-color: #06cc58;
    opacity: 1;
    transition: 0.5s;
  }

  #menu.active #rect1 {
    transform: translateY(13px) rotate(225deg);
  }

  #menu.active #rect2 {
    opacity: 0;
  }
  #menu.active #rect3 {
    transform: translateY(-13px) rotate(-225deg);
  }

  .menu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 5rem;
    width: 100%;
    align-items: center;
    visibility: hidden;
    height: 0;
    gap: 80px;
    transition: 1s;
    background-color: rgba(15, 15, 15, 0.829);
    overflow-y: hidden;
    z-index: 10;
  }

  .menu-list li a {
    font-size: 1.5rem;
  }

  #menu.active .menu-list {
    visibility: visible;
    height: 300px;
    transition: 0.5s;
  }

  .intro-right {
    display: none;
  }
}
