#rotate {
  z-index: 2147483647;
  background-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.phone {
  height: 50px;
  width: 100px;
  border: 3px solid white;
  border-radius: 10px;
  animation: rotate 1.5s ease-in-out infinite alternate;
  /* display: none; */
}

.message {
  color: white;
  font-size: 1em;
  margin-top: 40px;
  /* display: none; */
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-90deg);
  }
  100% {
    transform: rotate(-90deg);
  }
}

/* @media only screen and (orientation: portrait) and (min-aspect-ratio: 4/3) and (max-width: 996px) {
  #rotate {
    display: flex;
  }
} */
@media only screen and (orientation: portrait) and (max-width: 996px) {
  #rotate {
    display: flex;
  }
}
#loginrotate {
  z-index: 99;
  background-color: black;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
}

.loginphone {
  height: 50px;
  width: 100px;
  border: 3px solid white;
  border-radius: 10px;
  animation: rotate 1.5s ease-in-out infinite alternate;
  /* display: none; */
}

.loginmessage {
  color: white;
  font-size: 1em;
  margin-top: 40px;
  /* display: none; */
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-90deg);
  }
  100% {
    transform: rotate(-90deg);
  }
}

/* @media only screen and (orientation: portrait) and (min-aspect-ratio: 4/3) and (max-width: 996px) {
  #rotate {
    display: flex;
  }
} */
@media only screen and (orientation: landscape) and (max-width: 996px) {
  #loginrotate {
    display: flex;
  }
}
