body {
  margin: 0px;
  padding: 0px;
  color: rgb(238, 238, 238);
  font-family: "Roboto";
  background-color: rgb(238, 238, 238);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

@media (max-width: 750px) {
  .menu-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.menu-outer-div {
  background-color: rgb(228, 228, 228);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  border-color: black;
  border-radius: 1px;
  outline-color: black;
  outline-width: 2px;
}

/*MENU 1 ####################### */

.inner-m1 {
  background-color: rgb(60, 60, 60);
  width: 60px;
  height: 60px;

  border-radius: 30px;
  display: flex;
  overflow: hidden;
  align-items: center;
  position: relative;
  transition: width 0.5s ease, left 0.5s ease;
}

input:checked ~ .inner-m1 {
  width: 310px;
}

input[type="checkbox"]:checked + .inner-m1 .span-div-m1 .bar2 {
  transform: rotate(45deg) translate(0.45rem, 10px); /* Apply the desired transformation */
}

input[type="checkbox"]:checked + .inner-m1 .span-div-m1 .bar1 {
  transform: rotate(-45deg) translate(0.45rem, -10px); /* Apply the desired transformation */
}

input[type="checkbox"]:checked + .inner-m1 .span-div-m1 .bar3 {
  width: 0%; /* Apply the desired transformation */
}

#checkID {
  display: none;
}

.bar {
  width: 100%;
  background-color: rgb(197, 197, 197);
  width: 100%;
  height: 0.4rem;
  border-radius: 2.5rem;
  padding: 0px;
  left: calc(50%);
  z-index: 1;
  transition: transform 0.5s ease, left 0.5s ease, width 0.2s ease;
}

.span-div-m1 {
  display: flex;
  flex-direction: column;
  height: 30px;
  width: 30px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-left: 0.9rem;
}

.label-m1 {
  background-color: rgba(0, 0, 255, 0);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 2;
  cursor: pointer;
}

.link-div-m1 {
  position: absolute;
  display: flex;

  margin-left: 60px;
  width: 100%;
}

.link-m1 {
  font-size: 18px;
  margin-right: 15px;
  color: rgb(238, 238, 238);
  text-decoration: none;
}

/*MENU 2 ####################### */

.accordion-m2 {
  background-color: rgb(60, 60, 60);
  color: white;
  cursor: pointer;
  padding: 18px;

  width: 50%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.active {
  background-color: #ff4949;
}

.inner-m2 {
  margin: 0px;

  background-color: white;
  width: 50%;

  overflow: hidden;
  margin-bottom: 10px;
  max-height: 0px;
  transition: max-height 0.2s ease-out;
}

.inner-text-m2 {
  color: black;
  padding-left: 8px;
  padding-right: 8px;
}

/*MENU 3##################*/
.scroll-outer-m3 {
  background-color: rgb(195, 195, 195);
  width: 300px;
  height: 100px;
  display: flex;
  align-items: center;
  overflow: scroll;
}

.scroll-outer-m3::-webkit-scrollbar {
  display: none;
}

.scroll-content-m3 {
  height: 90%;
  width: 90px;
  min-width: 90px;
  background-color: rgb(29, 29, 29);
  margin-right: 5px;
  margin-left: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-btn-m3 {
  width: 24px;
  height: 24px;
  margin: 10px;
  background-color: rgb(255, 164, 84);
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

#back-m3 {
}
#forward-m3 {
}

.div-m3 {
  position: relative;
  display: flex;
  align-items: center;
}

/*MENU 4##################*/
.menu-inner-m4 {
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 80%;
  height: 80%;
  max-width: 400px;
}
.buttons-m4 {
  background-color: rgb(218, 218, 218);
  margin-bottom: 5px;
  display: flex;
}

.btn-m4 {
  background-color: rgb(218, 218, 218);
  height: 60px;
  width: 100px;
  margin: 0px;
  padding: 0px;
  cursor: pointer;
  border-width: 0px;
}

.btn-m4:not(.btn-active-m4):hover {
  background-color: rgb(205, 205, 205);
}

.text-m4 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.tab-m4 {
  display: none;
  color: black;
}

.tab-active-m4 {
  display: block;
}

.btn-active-m4 {
  background-color: white;
}
