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

* {
  box-sizing: border-box;
}

body {
  /* font-family: 'Muli', sans-serif; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* height: 100vh; */
}

.text {
  text-transform: uppercase;
}

.logo {
  width: 200px;
}

.nav-btn {
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 20px;
}

.open-btn {
  color: white;
  font-size:3rem;
  position: fixed;
  top: 2.5rem;
  left: 5.5rem;

}

.icon {
  background: url('../../img/menu-white.svg');
  height: 20px;
  width: 20px;
  display: block;

  background: url('../../img/menu-white.svg');
  cursor: pointer;

}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform .3s ease-out;
}

.nav.visible {
  transform: translateX(0);
}

.nav-black {
  background-color: rgb(114, 139, 143);
  width: 30%;
  max-width: 20rem;
  min-width: 15rem;
  transition-delay: .4s;
}

.nav-black.visible {
  transition-delay: 0s;
}

.nav-red {
  background-color: rgb(196, 154, 156);
  width: 95%;
  transition-delay: .2s;

}

.nav-red.visible {
  transition-delay: .2s;
}
.nav-white {
  background-color: #fff;
  width: 95%;
  padding: 40px;
  position: relative;
  transition-delay: 0s;

}

.nav-white.visible {
  transition-delay: .4s;
}


.close-btn {
  opacity: .3;
  position: absolute;
  top: 40px;
  right: 30px;
}

.list {
  list-style-type: none;
  padding: 0;
}

.list li {
  margin: 20px 0;
}

.list li a {
  color: rgb(34, 31,31);
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.list ul {
  list-style-type: none;
  padding-left: 20px;
}

.list li a:hover {
  background-color: rgba(244, 232, 222, 0.8);
}

@media screen and (max-height: 570px) {

  .logo {
    width: 6rem;    
  }
  .list li {
    margin: 10px 0;
  }
}

