@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wWw.ttf) format('truetype');
}

body {
  font-family: 'Lato', sans-serif;
  color: #dddddd;
  background-color: #202940;
  margin: 0px;
  padding: 0px;
}

.forter-bd {
  background-color: #202940;
  background-image: url(./lis.png);
  background-position: center;
  background-size: 4px;

  height: 120px;
  position: fixed;
  bottom: 0px;
  width: 100%;
  text-align: center;
  padding: 15px 0px;
  box-shadow: 0 -5px 5px -1px rgba(0, 0, 0, 0.3),
    0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
}

/* --- Buttons --- */

.button-bd {
  margin: 2%;
  background-color: #018934;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: appear 0.8s forwards;
  cursor: pointer;
}

.span-bd {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #dddddd;
  text-transform: uppercase;
  font-weight: 100;
  font-size: 20px;
}


.buttonli-bd {
  position: fixed;
  bottom: 170px;
  right: 15px;
  background-color: #01893527;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  animation: appear 0.8s forwards;
  cursor: pointer;
}


.tebouheader {
  position: fixed;
  z-index: 1;
  background-color: #202940;
  padding: 18px;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  height: 65px;
}

.titulolog {
  font-family: "Arial", serif;
  text-align: center;
  font-size: 25px;
  color: #f7f7f7;
  margin: 0;
  padding: 0;
}

.btmenus {
  position: absolute;
  left: 5px;
  top: 11px;
  background-color: #202940;
  border: none;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btmenus:hover {
  background-color: #00000030;
  color: #fff8;
  border-radius: 11px;
}

.bt-listas {
  background-color: #323a4f;
  border: none;
  color: white;
  padding: 5px 5px;
  text-align: left;
  text-decoration: none;
  display: inline-flex;
  font-size: 16px;
  margin: 4px 0px;
  cursor: pointer;
  width: 100%;
}

/*modal*/
.btn-outline-success {
  background-color: #018934;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.bt-hover:hover {
  background-color: #555555;
  color: #fff8;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  font-family: "Arial", serif;

}

.conteudo-modal {
  margin: 0 auto;
  max-width: 258px;
  background-color: #202940;
  color: #fff9;
  border-radius: 0px;
  left: 0;
  position: absolute;
  height: -webkit-fill-available;
}

.cabecalho-modal {
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  background-color: #202940;
  color: #d1cecb;
  box-shadow: 0 0 4px rgb(0 0 0 / 14%), 0 4px 8px rgb(0 0 0 / 28%);
}

.cabecalho-modal .cabecalho-titulo-modal {
  font-weight: bold;
  margin: 10px 0;
}

.cabecalho-modal .cabecalho-modal-fechar {
  padding: 18px 10px;
  cursor: pointer;
}

.corpo-modal {
  padding: 1px 8px 8px 8px;
}

.rodape-modal {
  border-top: solid #eee 1px;
  padding: 3px;
  background-color: #202940;
  text-align: right;
  bottom: 0px;
  position: inherit;
  width: -webkit-fill-available;
}


/* --- Hand --- */
.wrapper {
  position: fixed;
  top: 37%;
  left: 46%;
  transform: translate(-46%, -46%);
  width: 260px;
  height: 100px;
}



.hand {
  opacity: 0;
  z-index: 20;
  position: relative;
  width: 300px;
  height: 300px;
  border-bottom-left-radius: 120px;
  border-bottom-right-radius: 140px;
  border-top-left-radius: 60px;
  border-top-right-radius: 100px;
  background-color: #eeeeee;
  transition: width 1s, height 1s, background-color 1s, transform 1s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transform: scale(0.6);
  animation: appear 1s 0.5s forwards;
}

.hand::after {
  content: "";
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 170px;
  height: 200px;
  border-bottom-left-radius: 120px;
  border-bottom-right-radius: 140px;
  border-top-left-radius: 40px;
  border-top-right-radius: 80px;
  background-color: #e6e6e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
}

.finger {
  position: absolute;
  top: 0px;
  width: 66px;
  height: 40px;
  background-color: transparent;
}

.proximal {
  transition: 1s;
  z-index: 15;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 140px;
  border-radius: 25px;
  background-color: #e4e4e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.middle {
  transition: 1s;
  z-index: 14;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 120px;
  border-radius: 25px;
  background-color: #dfdfdf;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.distal {
  transition: 1s;
  z-index: 13;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 100px;
  border-radius: 40px;
  background-color: #dadada;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.phalanx-1,
.phalanx-2 {
  position: absolute;
  top: 0;
  left: 14px;
  width: 40px;
  height: 40px;
}

.phalanx-2 {
  left: 13px;
}

.finger-1 {
  top: 180px;
  left: -10px;
  transform: rotate(-50deg);
}

.finger-1 .proximal {
  height: 120px;
  background-color: #dfdfdf;
}

.finger-1 .middle {
  height: 120px;
  border-radius: 40px;
  background-color: #d5d5d5;
}

.finger-1 .distal {
  display: none;
}

.finger-1 .phalanx-1 {
  transition: 1s;
  transform: rotate(20deg);
}

.finger-2 {
  top: 20px;
  left: 0px;
}

.finger-3 {
  left: 78px;
  /* finger (66) + padding (12) */
}

.finger-3 .proximal {
  height: 150px;
}

.finger-3 .middle {
  height: 130px;
}

.finger-3 .distal {
  height: 110px;
}

.finger-4 {
  left: 156px;
}

.finger-5 {
  top: 50px;
  left: 234px;
}

.finger-5 .proximal {
  height: 120px;
}

.finger-5 .middle {
  height: 100px;
}

.finger-5 .distal {
  height: 90px;
}

/* --- Modifier --- */
.rotate-90 {
  transform-origin: center center;
  transform: rotate(90deg);
}

.move-left {
  transform: rotate(-15deg);
  transition: transform 1s;
}

.move-right {
  transform: rotate(15deg);
  transition: transform 1s;
}

.tight {
  transition: 1s;
  top: -50px;
}

.tight .proximal {
  transition: 1s;
  height: 0;
}

.tight .middle {
  transition: 1s;
  height: 0;
}

.tight .distal {
  display: block;
}

#f_1.tight {
  top: 180px;
  left: 0;
}

#f_1.tight .proximal {
  height: 140px;
}

#f_1.tight .middle {
  height: 120px;
}

#f_1.tight .distal {
  display: none;
}

#f_1.tight .phalanx-1 {
  transition: 1s;
  transform: rotate(85deg);
}

#f_5.tight {
  top: -30px;
}


@keyframes appear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


.select {
  position: relative;
  width: 350px;
  margin-bottom: 5vh;
}

.select-text {
  position: relative;
  font-family: inherit;
  background-color: transparent;
  width: 350px;
  padding: 10px 10px 10px 0;
  font-size: 18px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* Remove focus */
.select-text:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

/* Use custom arrow */
.select .select-text {
  appearance: none;
  -webkit-appearance: none;
}

.select:after {
  position: absolute;
  top: 18px;
  right: 10px;
  /* Styling the down arrow */
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* LABEL ======================================= */
.select-label {
  color: rgba(0, 0, 0, 0.26);
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 10px;
  transition: 0.2s ease all;
}

/* active state */
.select-text:focus~.select-label,
.select-text:valid~.select-label {
  color: #00adb5;
  top: -20px;
  transition: 0.2s ease all;
  font-size: 14px;
}

/* BOTTOM BARS ================================= */
.select-bar {
  position: relative;
  display: block;
  width: 350px;
}

.select-bar:before,
.select-bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #00adb5;
  transition: 0.2s ease all;
}

.select-bar:before {
  left: 50%;
}

.select-bar:after {
  right: 50%;
}

/* active state */
.select-text:focus~.select-bar:before,
.select-text:focus~.select-bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}