@import url("https://fonts.googleapis.com/css?family=Lora:wght@300;400;500;700,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
/*******************
    1.General
*******************/
body {
  font-size: 0.9rem;
  color: #333333;
  font-family: "Lora", serif;
  background-color: #f6f6f6; }

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #343a40;
  font-family: "Roboto", sans-serif;
  font-weight: 700; }

h1 {
  text-transform: uppercase;
  font-size: 1.8rem; }

h5 {
  font-weight: 300; }

a {
  outline: none;
  color: #57B8FF;
  transition: color 0.2s ease-in-out; }

a:hover {
  color: #24a2ff; }

p {
  line-height: 1.8;
  font-size: 15px; }

.navbar-light .navbar-toggler {
  border: 0;
  background: #f6f6f6;
  padding: 8px 10px; }

form {
  margin-bottom: 25px; }

.scroll-top {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 60px;
  right: 5%;
  background-color: #f6f6f6;
  display: none; }

.scroll-top i {
  display: inline-block; }

.title {
  position: relative; }

/*******************
    2.Helper
*******************/
header {
  text-align: center;
  margin: 25px auto; }

.input-group-addon {
  border: 0; }

.help.text-muted {
  display: none; }

.input-group > .custom-select:not(:first-child), .input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0; }

input.form-control, select.form-control, textarea.form-control {
  background: none;
  background-color: #ffffff;
  border: 2px solid #efefef;
  border-radius: 5px !important;
  box-shadow: none;
  -webkit-transition: none;
  color: #6e6e6e;
  height: 44px;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 25px;
  padding: 6px 12px;
  box-shadow: inset 2px 2px 5px #c9cbd3, inset -2px -2px 10px #FFF;
  background-color: #f6f6f6;
  transition: all 0.2s ease-in-out; }

input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
  border-color: #ced4da;
  outline: 0;
  box-shadow: none;
  color: #555;
  box-shadow: inset 1px 1px 2px #BABECC, inset -1px -1px 2px #FFF;
  background-color: #EBECF0; }

.deft .input-group, .terme .input-group {
  width: 100%;
  border-radius: 5px;
  transition: all 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.deft .input-group-addon {
  width: 20%; }

.deft .form-control {
  width: 100%; }

.terme .input-group-addon {
  width: 80%;
  text-align: left;
  white-space: normal; }

#form .has-success .form-control {
  color: #34D1BF;
  border-color: #34D1BF; }

#form .has-success .input-group-addon {
  color: #ffffff;
  background-color: #34D1BF;
  border-color: #34D1BF; }

#form .form-group {
  margin-bottom: 25px; }

input {
  text-transform: lowercase; }

input.terme {
  text-transform: capitalize; }

.inner-addon {
  position: relative; }

/* style glyph */
.inner-addon .ti {
  position: absolute;
  width: 28px;
  height: 28px;
  line-height: 27px;
  pointer-events: none;
  color: #34D1BF;
  font-size: 12px;
  border: 1px solid #34D1BF;
  border-radius: 30px;
  text-align: center; }

.inner-addon .ti-close {
  color: #f32c52;
  border: 1px solid #f32c52;
  border-radius: 30px; }

.inner-addon .ti-pencil {
  color: #adb5bd;
  border: 1px solid #adb5bd;
  border-radius: 30px; }

.has-warning .form-control {
  border-color: #faa5b5; }

.has-warning .input-group-addon {
  color: #343a40;
  background-color: #e9ecef;
  border-color: #ced4da; }

.box-def {
  margin-bottom: 12px;
  padding: 0px;
  box-shadow: -5px -5px 20px #FFF, 5px 5px 20px #dcdcdc;
  transition: all 0.2s ease-in-out;
  background: #fbfbfb; }

.box-def p:first-letter {
  text-transform: uppercase; }

.btn-default {
  background-color: #efefef; }

.btn-danger {
  background-color: #f32c52;
  color: #ffffff;
  border: 0; }

.btn, .navbar-toggler {
  text-transform: uppercase;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  box-shadow: -5px -5px 14px #FFF, 5px 5px 8px #d3d4db;
  transition: all 0.2s ease-in-out; }

.custom-submit, .custom-default {
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
  width: auto;
  padding: 7px 40px;
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 15px; }

.navbar-toggler:active, .btn:active {
  box-shadow: inset 1px 1px 2px #BABECC, inset -1px -1px 2px #FFF; }

.custom-submit {
  background-color: #f32c52;
  color: #ffffff;
  margin-right: 18px; }

.custom-submit:hover {
  background-color: #df0d35;
  color: #ffffff; }

.box-note {
  display: none; }

.modal-body, .help {
  color: #f32c52;
  font-family: "Roboto", sans-serif; }

.modal-header, .modal-footer {
  border: 0; }

.modal-content {
  background-color: #f6f6f6; }

.modal-footer {
  -ms-flex-pack: center;
      justify-content: center; }

.modal-body h1 {
  font-size: 47px; }

.modal-body h2 {
  font-size: 20px; }

.input-group-addon {
  line-height: normal; }

.right-addon .ti {
  right: 10px;
  z-index: 25;
  display: none;
  top: 7px;
  box-shadow: -5px -5px 20px #FFF, 5px 5px 20px #BABECC;
  transition: all 0.2s ease-in-out; }

.right-addon input {
  padding-right: 44px; }

.help {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  margin-top: 4px;
  color: #f32c52 !important; }

.point {
  display: block;
  font-size: 25px; }

.footer {
  background: #393939;
  color: #fff;
  margin-top: 70px;
  padding: 10px;
  font-family: "Roboto", sans-serif; }
  .footer p {
    margin-bottom: 0; }

/***** TIMER **/
.timer {
  position: absolute;
  top: 0;
  right: 0;
  margin-bottom: 15px; }

.base-timer {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  font-family: "Roboto", sans-serif; }

.base-timer__svg {
  -ms-transform: scaleX(-1);
      transform: scaleX(-1); }

.base-timer__circle {
  fill: none;
  stroke: none; }

.base-timer__path-elapsed {
  stroke-width: 3px;
  stroke: #ced4da; }

.base-timer__path-remaining {
  stroke-width: 3px;
  stroke-linecap: round;
  -ms-transform: rotate(90deg);
      transform: rotate(90deg);
  -ms-transform-origin: center;
      transform-origin: center;
  transition: 1s linear all;
  fill-rule: nonzero;
  stroke: currentColor; }

.base-timer__path-remaining.green {
  color: #8cffaf; }

.base-timer__path-remaining.orange {
  color: #ffe68c; }

.base-timer__path-remaining.red {
  color: #ff8c8c; }

.base-timer__label {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  font-size: 20px; }

@media screen and (max-width: 768px) {
  .timer {
    position: relative; } }

@media screen and (max-width: 640px) {
  .deft .input-group-addon, .terme .input-group-addon {
    width: 100%;
    text-align: center; }
  .deft .input-group-addon, .input-group-addon:last-child {
    border: 1px solid #ccc; }
  .deft .input-group-addon {
    border-bottom: 0; }
  .input-group .form-control, .input-group-addon, .input-group-btn {
    display: block;
    border-radius: 0; }
  .terme .input-group-addon {
    padding-top: 39px;
    padding-top: 50px;
    min-height: 85px; } }

@media screen and (max-width: 452px) {
  .custom-submit {
    margin-right: 0; } }
