* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #2b2b2b;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  margin: 0;
  padding: 0;
  display: block;
}

.virtual_page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.virtual_page.dark-mode {
  background: #2b2b2b;
}

.page-wrap {
  /* display: flex;
    flex-direction: column; */
  /* height: 100%; */
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* STYLE AUTH ================================= */

.auth-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  flex-basis: auto;
  flex-grow: 3;
  margin-top: 0;
  margin-bottom: 1rem;
  height: 100%;
}
@media (min-width: 768px) {
  .auth-wrap {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    /* height: 90vh; */
  }
}

@media (min-width: 600px) and (max-width: 896px) and (orientation: landscape) {
  .auth-wrap {
    /* height: 85vh; */
    margin-top: 5rem;
    margin-bottom: 3.5rem;
  }
}

.auth__logo {
  margin-bottom: 1.5rem;
  margin-top: auto;
  width: 7rem;
  height: 7rem;
}

.auth__logo img {
  max-width: 100%;
  max-height: 100%;
}

.auth__content {
  margin-bottom: auto;
}

.auth__footer {
  font-family: "Roboto", sans-serif !important;
  font-size: 16px;
  color: #999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 32px;
  padding-bottom: 2rem;
}
.auth__footer a {
  color: inherit;
  text-decoration: none;
}
.auth__footer a:hover,
.auth__footer a:active {
  color: inherit;
}

.d-flex {
  display: flex;
}
.justify-content-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}
.h-100vh {
  height: 100vh;
}
.w-100vw {
  width: 100vw;
}
.form {
  display: flex;
  flex-direction: column;
}
.input {
  border: 0;
  font-family: "Roboto", sans-serif !important;
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  width: 100%;
  outline: none;
}
.input.dark-mode {
  background: transparent;
  color: #999;
}
.input:focus.dark-mode {
  color: #999;
}
.input::placeholder {
  color: #999;
  font-family: "Roboto", sans-serif !important;
  font-size: 18px;
  font-weight: 400;
}
.input::placeholder.dark-mode {
  color: #999;
}
.input::selection.dark-mode {
  color: #999;
}
.input:focus-visible {
  outline: 0;
}
.btn {
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s;
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  border: 0;
  outline: none;
  min-height: 41px;
}
.green_bg {
  background-color: #15ab96;
  color: #fff;
}
.green-bg-hover:hover {
  background: #00bfa5;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.input:focus ~ .label,
.input.input_active ~ label {
  top: -12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}
input:focus ~ .label.dark-mode,
input.input_active ~ label.dark-mode {
  color: #999;
}
.label {
  color: #999;
  font-size: 18px;
  font-weight: 400;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
.label.dark-mode {
  color: #999;
}
.group {
  position: relative;
  width: 100%;
}
.input_error {
  color: #f44336;
}
.btn_disable {
  opacity: 0.5;
  pointer-events: none;
}

/* BOTTOM BARS ================================= */
.bar {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: #999;
}
.bar:before,
.bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 0px;
  position: absolute;
  background: #999;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}
.bar:before {
  left: 50%;
}
.bar:after {
  right: 50%;
}

/* active state */
input:focus ~ .bar:before,
input:focus ~ .bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* STYLE MAIN ================================== */
.menu-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  flex-basis: auto;
  flex-grow: 3;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  height: 100%;
}

.menu_list {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

li {
  list-style: none;
}
.v-icon__svg {
  font-size: 36px;
  height: 36px;
  width: 36px;
  fill: rgba(0, 0, 0, 0.87);
}
.menu_item svg {
  margin-right: 10px;
}
.menu_item {
  box-shadow: 0 3px 1px -2px rgba(55, 71, 79, 0.2),
    0 2px 2px 0 rgba(55, 71, 79, 0.14), 0 1px 5px 0 rgba(55, 71, 79, 0.12);
  border-radius: 4px;
  background-color: #fff;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.5;
  font-size: 1.25rem !important;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal !important;
  font-family: Roboto, sans-serif !important;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 300px;
  padding: 1.4rem;
  cursor: pointer;
  margin: 12px 0;
}

#closed_shift {
  text-align: center;
  color: #6d6d6d;
  cursor: pointer;
  padding-bottom: 2.5rem;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*change these sizes to fit into your project*/
  width: 100px;
  height: 100px;
}

.loader hr {
  border: 0;
  margin: 0;
  width: 40%;
  height: 40%;
  position: absolute;
  border-radius: 50%;
  animation: spin 2s ease infinite;
}

.loader :first-child {
  background: #00e6aa;
  animation-delay: -1.5s;
}
.loader :nth-child(2) {
  background: #0032ff;
  animation-delay: -1s;
}
.loader :nth-child(3) {
  background: #cd00ff;
  animation-delay: -0.5s;
}
.loader :last-child {
  background: #f5ad8c;
}

@keyframes spin {
  0%,
  100% {
    transform: translate(0);
  }
  25% {
    transform: translate(160%);
  }
  50% {
    transform: translate(160%, 160%);
  }
  75% {
    transform: translate(0, 160%);
  }
}

canvas {
  display: none !important;
}

[page="rings"] canvas,
[page="gradients"] canvas,
[page="crystal"] canvas,
[page="figures"] canvas {
  display: block !important;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  min-width: 100vw;
}

[page="gradients"] canvas {
  pointer-events: none;
}

#rotateButton {
  z-index: 2;
}

#toggle-FullScreen {
  z-index: 2;
}

/* [page='rings'] #toggle-FullScreen{
    display: flex !important;
} */

#back_btn {
  z-index: 2;
  position: absolute;
  top: 2%;
  left: 2%;
  width: 60px;
  height: 60px;
  justify-content: center;
  align-items: center;
  background: transparent;
  outline: none;
  border: 0;
  cursor: pointer;
}

.modal-text {
  font-family: Commissioner, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 600;
}

@media (min-width: 440px) and (max-width: 767px) {
  .modal-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .modal-text {
    font-size: 2.5rem;
  }
}

@media (min-width: 667px) and (max-width: 999px) and (orientation: landscape) {
  .modal-text {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) and (orientation: portrait) {
  .modal-text {
    font-size: 2.5rem;
  }
}

@media (min-width: 1000px) {
  .modal-text {
    font-size: 2.5rem;
  }
}

[page="crystal"] .modal-content,
[page="figures"] .modal-content {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
#rotateButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
}
[page="figures"] #rotateButton {
  width: 360px;
  height: 520px;
}
[page="crystal"] #rotateButton {
  width: 130px;
  height: 340px;
}
@media (min-width: 360px) {
  #rotateButton {
    -webkit-width: 280px;
    -webkit-height: 280px;
    -moz-width: 280px;
    -moz-height: 280px;
    -ms-width: 280px;
    -ms-height: 280px;
    width: 280px;
    height: 280px;
  }
}

@media (min-width: 768px) and (orientation: portrait) {
  [page="crystal"] #rotateButton {
    width: 160px;
    height: 360px;
  }
  [page="figures"] #rotateButton {
    width: 630px;
    height: 910px;
  }
}

@media (min-width: 1000px) {
  #rotateButton {
    -webkit-width: 340px;
    -webkit-height: 340px;
    -moz-width: 340px;
    -moz-height: 340px;
    -ms-width: 340px;
    -ms-height: 340px;
    width: 320px;
    height: 320px;
  }
  [page="crystal"] #rotateButton {
    width: 140px;
    height: 340px;
  }
}
