/* width */
.user-profile::-webkit-scrollbar {
  width: 10px !important;
}


/* Track */
.user-profile::-webkit-scrollbar-track {
  background: var(--navbar-bkgrnd);
  border-radius: 0 10px 10px 0;
  /* background-color: red!important; */
}

/* Handle */
.user-profile::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border: hsl(206, 40%, 10%) 2px solid;
  border-radius: 5px;
}

/* Handle on hover */
.user-profile::-webkit-scrollbar-thumb:hover {
  background-color: hsl(182, 50%, 50%);
}

.user-profile {
  position: absolute;
  display: inline-block;
  height: 510px;
  width: 420px;
  top: calc(var(--navbar-height) + 50px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  box-sizing: border-box;
  transform-style: preserve-3d;
  pointer-events: none;
  overflow: hidden;
}

.user-profile .user-profile-inner h2 {
  margin-top: 30px;
}

.user-profile img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  pointer-events: none;
}

.user-profile .submit-btn-container {
  display: flex;
  align-items: center;
}

#profile_pic_form .submit-btn-container {
  height: 100%;
}

.user-profile .submit-btn-container img {
  margin: auto;
  height: 50%;
  width: 50%;
}

.user-profile .logout-timer,
.user-profile .user-profile-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--navbar-bkgrnd);
  top: calc(var(--navbar-height) + 50px);
  top: 0;
  left: 0;
  color: var(--text-color);
  font-weight: 500;
  padding: 0 25px;
  pointer-events: all;
  overflow: visible;
}

.user-profile .user-profile-inner {
  padding: 20px 45px;
}

.user-profile .user-profile-inner h3 {
  margin-bottom: 15px;
}

.user-profile .user-profile-inner h2,
.user-profile .user-profile-inner h3 {
  text-align: center;
}

.user-display {
  position: relative;
  display: inline-block;
  top: 15px;
  z-index: 1;
  list-style: none;
  align-self: center;
}

.user-display li {
  white-space: nowrap;
  margin-bottom: 5px;
}

.user-display li:nth-child(2) input {
  outline: none !important;
  /* border: none !important; */
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

.user-display li:nth-child(2) {
  cursor: pointer;
}

.user-display span:first-of-type {
  display: inline-block;
  color: var(--hover-color);
  width: 110px;
  margin-right: 10px;
  text-align: right;
  font-weight: 700;
}

#enter_phone_num {
  min-width: 150px;
  color: var(--text-color);
  font-size: inherit;
  display: inline-block;
  width: 160px;
  cursor: pointer !important;
  box-sizing: border-box;
  border: none;
  outline: none;
  border-bottom: 1px solid transparent;
  caret-color: transparent;
}

#enter_phone_num::placeholder {
  color: var(--placeholder-color);
}

#enter_phone_num:focus-visible {
  border-color: var(--text-color) !important;
}

#user-preferences {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  bottom: 15px;
  transform: translateY(calc(100% - 50px));
  font-size: 16px;
  justify-content: space-between;
  height: 310px;
  left: 0;
  width: 75%;
  right: 0;
  margin: auto;
  transition: .5s;
  z-index: 100;
}

#user-preferences.active {
  transform: translateY(calc(4% - 55px));
  background-color: var(--solid-bkgrnd);
  box-shadow: 0 0 10px 20px var(--solid-bkgrnd);
}

#user-preferences p {
  width: 100%;
  flex-shrink: 0;
  text-align: center;
  font-size: 14px;
  opacity: 0;
  transition: 2s;
}

.done_auto_logout {
  width: 100%;
  text-align: center;
}

#user-preferences.active p {
  opacity: 1;
}

.logout-time-min {
  position: absolute;
  top: calc(var(--navbar-height) + 5px);
  left: 20px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  z-index: 1;
}

.user-profile .logout-timer {
  position: relative;
  top: -97%;
  width: 90%;
  height: 95%;
  margin: auto;
  color: var(--text-color);
  z-index: 100;
  display: none;
}

.logout-timer.active {
  display: block;
}

.logout-timer div.exit {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.logout-timer span {
  display: inline-block;
  width: 12px;
  text-align: center;
  white-space: nowrap;
}

.setLogoutTimer {
  display: flex;
  width: fit-content;
  margin: 20px auto;
}

.setLogoutTimer>* {
  margin: 0 3px;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 90px;
}

.setLogoutTimer>* span {
  width: 80%;
  max-width: 80%;
  text-align: center;
  letter-spacing: 2px;
}

#displayIp,
#displayKey {
  position: absolute;
  top: 40px;
  right: 20px;
  color: var(--text-color);
  width: fit-content;
  padding: 1px 7px;
}

#displayKey {
  left: 20px
}

#displayIp {
  right: 40px;
  top: 60px;
}

@media screen and (max-width: 500px) {

  .user-profile {
    height: 102vw;
    width: 84vw !important;
    max-width: 84vw !important;
    top: calc(var(--navbar-height) + 10vw);
  }

  .user-profile .user-profile-inner h2 {
    margin-top: 6vw;
  }

  .user-profile .logout-timer,
  .user-profile .user-profile-inner {
    font-size: 3.2vw;
    padding: 0 5vw;
  }

  .user-profile .user-profile-inner {
    padding: 4vw 9vw;
  }

  .user-profile .user-profile-inner h3 {
    margin-bottom: 3vw;
  }

  .user-display {
    top: 3vw;
  }

  .user-display li {
    margin-bottom: 1vw;
  }

  .user-display span:first-of-type {
    width: 110px;
    margin-right: 2vw;
  }

  #enter_phone_num {
    min-width: 30vw;
    width: 32vw;
    border-bottom: .2vw solid transparent;
  }

  #user-preferences {
    bottom: 3vw;
    transform: translateY(calc(100% - 10vw));
    font-size: 3.2vw;
    height: 62vw;
  }

  #user-preferences.active {
    transform: translateY(calc(4% - 11vw));
    box-shadow: 0 0 2vw 4vw var(--solid-bkgrnd);
  }

  #user-preferences p {
    font-size: 2.8vw;
  }

  .logout-time-min {
    top: calc(var(--navbar-height) + 1vw);
    left: 4vw;
    font-size: 3.6vw;
  }

  .logout-timer div.exit {
    top: 5vw;
    right: 5vw;
    font-size: 4vw;
  }

  .logout-timer span {
    width: 2.4vw;
  }

  .setLogoutTimer {
    margin: 4vw auto;
  }

  .setLogoutTimer>* {
    margin: 0 .6vw;
    width: 18vw;
  }

  .setLogoutTimer>* span {
    letter-spacing: .4vw;
  }

  #displayIp,
  #displayKey {
    top: 8vw;
    right: 4vw;
    padding: .2vw 1.4vw;
  }

  #displayKey {
    left: 4vw
  }

  #displayIp {
    right: 8vw;
    top: 12vw;
  }
}


/*
        Verify cellphone number
*/

#verify_cell_form_1,
#verify_cell_form_2 {
  background: var(--solid-bkgrnd);
  height: 185px;
  width: 95%;
  z-index: 0;
  position: absolute;
  font-size: 15px;
  font-weight: 300;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 10px 10px var(--solid-bkgrnd);
  transform: scale(.4);
  opacity: 0;
  transition: .5s;
}

#verify_cell_form_1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
}

#verify_cell_form_1 .formMsg {
  font-size: 18px;
  height: 90px;
  margin-bottom: 0;
  margin-top: 5px;
}

#verify_cell_form_1.active,
#verify_cell_form_2.active {
  transform: scale(.81);
  opacity: 1;
  z-index: 300;
}

#verify_cell_form_1 .confirm_txt_btns,
#verify_cell_form_2 .confirm_txt_btns {
  display: flex;
  justify-content: space-evenly !important;
  margin-top: 25px;
}

#verify_cell_form_1.errorMsg .confirm_txt_btns {
  display: none !important;
}

#verify_cell_form_1 .confirm_txt_btns .button,
#verify_cell_form_2 .confirm_txt_btns .button {
  width: fit-content;
}

#verify_cell_form_1 .confirm_txt_btns img,
#verify_cell_form_2 .confirm_txt_btns img {
  width: 31px;
  height: 31px;
}

.not_now_txt_btn.exitBtn {
  position: absolute;
  top: 5px;
  right: 20px;
  font-size: 25px;
  font-family: roboto;
  font-weight: 900;
  padding: 0;
  width: fit-content;
  cursor: pointer;
  display: none;
}

.errorMsg .not_now_txt_btn.exitBtn {
  display: block;
}

#whatTheFlock {
  font-family: "Arial";
  font-family: "Space Mono";
  background-color: var(--navbar-bkgrnd);
  color: var(--text-color);
  padding: 40px;
  font-size: 15px;
}

#whatTheFlock>span {
  width: 130px;
  text-align: right;
  margin-right: 10px;
  color: var(--hover-color);
}

#whatTheFlock>div {
  display: inline-block
}

#whatTheFlock .autologout-info-foot,
#whatTheFlock .autologout-info {
  font-size: 15px;
  text-align: center;
  width: 100%;
  display: block;
  color: var(--label-color);
  font-weight: 200;
  letter-spacing: 1px;
}

#whatTheFlock .autologout-info-foot {
  font-size: 13px;
  margin-top: 5px;
}

@media screen and (max-width: 500px) {

  #verify_cell_form_1,
  #verify_cell_form_2 {
    height: 37vw;
    font-size: 3vw;
    bottom: 6vw;
    padding: 2vw;
    box-shadow: 0 0 2vw 2vw var(--solid-bkgrnd);
  }

  #verify_cell_form_1 {
    padding: 3vw;
  }

  #verify_cell_form_1 .formMsg {
    font-size: 3.6vw;
    height: 18vw;
    margin-top: 1vw;
  }

  #verify_cell_form_1 .confirm_txt_btns,
  #verify_cell_form_2 .confirm_txt_btns {
    margin-top: 5vw;
  }

  #verify_cell_form_1 .confirm_txt_btns img,
  #verify_cell_form_2 .confirm_txt_btns img {
    width: 6.2vw;
    height: 6.2vw;
  }

  .not_now_txt_btn.exitBtn {
    top: 1vw;
    right: 4vw;
    font-size: 5vw;
  }

  #whatTheFlock {
    padding: 8vw;
    font-size: 3vw;
  }

  #whatTheFlock>span {
    width: 26vw;
    margin-right: 2vw;
  }


  #whatTheFlock .autologout-info-foot,
  #whatTheFlock .autologout-info {
    font-size: 3vw;
    letter-spacing: .2vw;
  }

  #whatTheFlock .autologout-info-foot {
    font-size: 2.6vw;
    margin-top: 1vw;
  }

}