#burger {
  display: flex;
  width: 30px;
  height: 30px;
  transition: 0.25s ease-in-out;
  z-index: 3;
}

#burger * {
  stroke: white;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  position: fixed;
  padding: 20px;
  z-index: 5;
  background-color: transparent;
}

.menu-overlay {
  background-color: rgb(0, 0, 0);
  color: azure;
  height: 100%;
  width: 100%;
  position: fixed;
  text-align: start;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 100;
}

.menu-overlay.open {
  opacity: 12;
  visibility: visible;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  padding-left: 18%;
  padding-top: 70px;
  z-index: 4;
}

.prompt {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.list {
  list-style: none;
  font-weight: 600;
}

.nav-links1,
.nav-links2,
.nav-links3,
.nav-links4 {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 60px;
}

li a:hover {
  color: rgb(255, 112, 112);
}

@media only screen and (max-width: 768px) {
    .menu-overlay.open {
        padding-left: 0;
        justify-content: center;
        
    }

    .nav-links1,
.nav-links2,
.nav-links3,
.nav-links4 {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 50px;
}
}

@media only screen and (max-width: 412px) {
    .menu-overlay.open {
        padding-left: 0;
        justify-content: center;
        
    }

    .nav-links1,
.nav-links2,
.nav-links3,
.nav-links4 {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 30px;
}

#burger {
  width: 20px;
  height: 20px;
}

}

@media only screen and (max-width: 380px) {
    .menu-overlay.open {
        padding-left: 0;
        justify-content: center;
        
    }

    .nav-links1,
.nav-links2,
.nav-links3,
.nav-links4 {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 30px;
}
}