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

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

a {
  font-weight: 500;
}

.navigation {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  width: 300px;
  height: 250px;
  background-color: black;
  transition: 0.3s;
  overflow: hidden;
  visibility: hidden;
  z-index: 20;
}

.start {
  position: absolute;
  width: 300px;
  height: 250px;
  top: 0;
  left: 0;
  z-index: 20;
}

.logo {
  position: absolute;
  width: 30%;
  top: 70px;
  left: 180px;
  z-index: 30;
}

.logo2 {
  position: absolute;
  width: 150px;
  height: 70px;
  top: 0px;
  left: 0px;
  z-index: 0;
  opacity: 0;
}

.nav_area {
  width: 150px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav_area ul {
  margin-top: 50px;
}

.nav_area ul li {
  list-style: none;
  text-align: center;
  padding: 6px 0px;
}

.nav_area li a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
}

.img_area {
  position: relative;
  width: 150px;
  height: 250px;
}

.img_area img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav_area ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: -1;
  opacity: 0;
  transition: 0.5s;
}

.nav_area ul li:nth-child(1)::before {
  background-color: #f42b3c;
}
.nav_area ul li:nth-child(2)::before {
  background-color: #7a9c19;
}

.nav_area ul li:nth-child(3)::before {
  background-color: #4a4e69;
}

.nav_area ul li:nth-child(4)::before {
  background-color: #7e2f1f;
}

.nav_area ul li:nth-child(5)::before {
  background-color: #484e60;
}

.nav_area ul li:hover::before {
  opacity: 1;
}

.nav_area ul li a:hover {
  color: white;
}

/* Code below for the button */

.btn {
  height: 30px;
  width: 150px;
  background-color: rgb(0, 0, 0);
  position: fixed;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  left: 10px;
  z-index: 100;
  color: white;
  box-shadow: none;
  border: none;
  font-size: 15px;
  border: 1px solid black;
}

.btn:hover {
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

#pause {
  left: 10px;
  top: 260px;
}
