/* Variables */
/**/
/* Reset */
/* *, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.025s;
} */

/* ----------- Generic ----------- */
html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: transparent;
  font-family: "Poppins", Helvetica, sans-serif;
}

.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
  supported by Chrome, Edge, Opera and Firefox */
}
/* ----------- All-Off ----------- */

/* Define transition for all elements under .switch_penal and .switch_penal */

.switch_penal .bkp_on,
.switch_penal .plate_on,
.switch_penal .btn_on,
.switch_penal .switch-on,
.switch_penal .tap_on,
.switch_penal .led_on,
.switch_penal .light_on
 {
  transition: all 0.5s ease-in-out;
  
}

/* transition: all 0.5s ease-in-out; */

.switch_penal .bkp_off,
.switch_penal .plate_off,
.switch_penal .btn_off,
.switch_penal .switch-off,
.switch_penal .tap_off,
.switch_penal .led_off,
.switch_penal .light_off
 {
  transition: all 0.5s ease-in-out;
}

/* ----------- Background ----------- */

.bgwall {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: all 10s ease-in-out;
}

.bgwall_on {
  background-image: radial-gradient(circle, #c6c6ce, #d6d6de);
}

.bgwall_off {
  background-image: radial-gradient(circle, #032234, #000f18);
}

.bgwall_on:before {
}

/* ----------- Tick Button ----------- */
.tickbtn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Penal */

/* .penal.center {
  position: relative;
  width: 100%;
  min-height: inherit;
} */

/* .penal {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
} */

/* ----------- Switch Penal ----------- */

.switch_penal {
  width: 100%;
  max-width: 460px;
  max-height: 408px;
  margin: auto;
}

/* ----------- Penal Plate ----------- */

.bkp_on {
  position: static;
  /* width: 460px; */
  /* height: 360px; */
  border-radius: 50px;
  background-image: linear-gradient(to top, #d5bfbd 30%, #ffffff);
  box-shadow: 0 10px 15px #98849b;
  z-index: 1000;
  padding-top: 5px;
  padding-bottom: 5px;
}

.bkp_off {
  background-image: linear-gradient(
    to top,
    #8a4b90,
    #416491 40%,
    #416491 85%,
    #9ec6b8
  );
  box-shadow: 0 10px 15px #000f18;
}

/* ----------- Front Plate ----------- */

.plate_on {
  margin: auto;
  max-width: 450px;
  /* height: 350px; */
  background-color: #e7e7e7;
  border-radius: 45px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.plate_off {
  background-image: linear-gradient(to bottom, #487492, #564a91 90%);
}

.switch_penal h1 {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  margin-top: 0px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.switch_penal form {
  margin: auto;
  max-width: 350px;
  padding: 15px;
}

.switch_penal form .btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.switch_penal form .btn:hover,
.switch_penal form .btn:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.switch_penal form .form-control:focus {
  border-color: #ced4da;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
}

.switch_penal .logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
  /* text-align: center; */
  color: rgba(255, 255, 255, 0.65);
}

/* ----------- Logo ----------- */

#toggleLogo {
  display: block;
  margin: 0 auto;
}

/* ----------- Form ----------- */

.switch_penal .form-control {
  /* background: rgba(255, 255, 255, 0.9); */
  width: 100%;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  outline: none;
  padding: 15px;
  font-size: 13px;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  box-shadow: inset 0 -5px 45px rgba(100, 100, 100, 0.2),
    0 1px 1px rgba(255, 255, 255, 0.2);
  -webkit-transition: box-shadow 0.5s ease;
  -moz-transition: box-shadow 0.5s ease;
  -o-transition: box-shadow 0.5s ease;
  -ms-transition: box-shadow 0.5s ease;
  transition: box-shadow 0.5s ease;
}

.switch_penal .form-check {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
}

.switch_penal .form-check label {
  font-size: 0.9em;
}

.switch_penal .form-check input {
  margin-right: 0.5em;
  /* background-image: linear-gradient(to bottom, #487492, #564a91 90%);*/
  background-color: #487492;
}

.switch_penal .form-check input:checked {
  background-color: #9ce060;
  border-color: #81c63f;
}

.switch_penal .form-floating:focus-within {
  z-index: 2;
  color: #fff;
}

.switch_penal input[type="email"] {
  margin-bottom: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.switch_penal input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ----------- Button ----------- */

.btn_on {
  display: flex;
  border-radius: 8px;
  border: 1px solid #bdb5bd;
  cursor: pointer;
  background-image: linear-gradient(to top, #d5bfbd 50%, #ffffff);
  flex-direction: column;
}

.btn_off {
  display: flex;
  background-image: linear-gradient(
    to top,
    #8a4b90,
    #416491 40%,
    #416491 50%,
    #d5e6e0
  );
  border: 1px solid #19265c;
  box-shadow: inset 0 4px 5px #416491;
  flex-direction: column-reverse;
}

/* ----------- Tap ----------- */

.tap_on {
  position: relative;
  width: 200px;
  height: 125px;
  margin: 0px 2px 1px 2px;
  background-color: #ececec;
  border-radius: 8px;
  box-shadow: 0 2px 5px #b4b4b4;
  z-index: 100;
  border-radius: 8px;
  overflow: hidden;
}

.tap_off {
  border-radius: 8px;
  background-image: linear-gradient(
    to top,
    #4d5b91,
    #474a81 30%,
    #474a81 85%,
    #675489
  );
  box-shadow: none;
  overflow: hidden;
}

/* ----------- Shine ----------- */

.tap_on:hover .shine {
  transform: skewX(20deg) translateX(300px);
}

.tap_off:hover .shine {
  transform: skewX(20deg) translateX(300px);
}

.shine {
  width: 15px;
  height: 126px;
  border-radius: 2px;
  transition: all 0.3s linear;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(20deg) translateX(0);
  margin-left: -3rem;
  opacity: 0.3;
}

/* ----------- LED ----------- */

.led_on {
  position: relative;
  width: 204px;
  height: 16px;
  border-radius: 8px;
  background-color: #d5bfbd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.led_off {
  background-color: #9ec6b8;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------- Light ----------- */

.light_on {
  width: 25px;
  height: 4px;
  border-radius: 10px;
  background-color: #40ce98;
}

.light_off {
  background-image: linear-gradient(to top, #d27b91, #c55571);
}

/* ----------- Switch ----------- */

.switch_on {
  padding: 40px 25px;
  font-weight: 700;
  font-size: 2rem;
  position: absolute;
  text-shadow: 0 -4px 3px rgba(255, 255, 255, 0.3), 0 3px 4px rgba(0, 0, 0, 0.2);
  color: #aaaaaa;
}

.switch_off {
  padding: 40px 25px;
  font-weight: 700;
  font-size: 2rem;
  position: absolute;
  text-shadow: 0 2px 3px rgba(255, 255, 255, 0.3), 0 -1px 2px rgba(0, 0, 0, 0.2);
  color: #cccccc;
}

/* svg {
  filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
} */
