@import url('constants.css');

* {
  /*Typograph define*/
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: var(--font-size-desktop);
  line-height: normal;

  /*Reset spaces*/
  margin: 0;
  padding: 0;
  gap: 0;
}

body {
  height: 100vh;
  background-color: var(--light-color);
  overflow: hidden;
}

h1 {
  font-size: var(--h1-desktop);
  margin-bottom: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

h2 {
  font-size: var(--h2-desktop);
  margin: 0;
  color: var(--dark-color-up);
}

h3 {
  font-size: var(--h3-desktop);
  margin-bottom: 0;
  font-weight: 700;
}

h4 {
  font-size: var(--h4-desktop);
  margin: 0.5rem 0rem 1rem;
}


a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

tr {
  font-size: var(--h1-desktop);
  margin-bottom: 0;
  color: var(--secondary-color);
  font-weight: 700;
}

fs-big {
  font-size: 4rem !important;
}

thead,
modal-header {
  background-color: var(--light-color);
}

.primary {
  color: var(--primary-color);
}

.secondary {
  color: var(--secondary-color);
}

.normal {
  color: var(--dark-color-up);
}

.light {
  color: var(--light-color);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-color);
  z-index: 9999999;
}

#preloader .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.balls>div {
  display: inline-block;
  background-color: var(--primary-color);
  width: 25px;
  height: 25px;
  border-radius: 100%;
  margin: 3px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-name: animarBall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.balls>div:nth-child(1) {
  animation-duration: 0.75s;
  animation-delay: 0;
}

.balls>div:nth-child(2) {
  animation-duration: 0.75s;
  animation-delay: 0.12s;
}

.balls>div:nth-child(3) {
  animation-duration: 0.75s;
  animation-delay: 0.24s;
}

.position-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0px;
  z-index: 9;
}

.modal-content {
  background-color: var(--light-color);
}

.toast {
  width: auto;
  z-index: 9999;
}

.modal-footer {
  border: none;
  padding: 0px;
}

.modal-header {
  border-bottom: none;
}

.button-primary {
  color: var(--light-color-up) !important;
  background-color: var(--primary-color) !important;
  display: block;
  padding: 0.2rem;
  border: none;
  text-decoration: none;
  border-radius: 2rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  min-height: 25px;
}



.button-primary:hover {
  filter: brightness(1.1);
  color: var(--light-color-up) !important;
  color: var(--light-color-up) !important;
  background-color: var(--primary-color) !important;
}

.button-primary:focus {
  filter: brightness(1.1);
  color: var(--light-color-up) !important;
  border-color: var(--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--primary-color-shadow) !important;
}

.button-secondary {
  color: var(--light-color-up) !important;
  background-color: var(--secondary-color) !important;
  display: block;
  padding: 0.2rem;
  border: none;
  text-decoration: none;
  border-radius: 2rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  min-height: 25px;
}


.button-secondary:hover {
  color: var(--light-color-up) !important;
  background-color: var(--secondary-color) !important;
  filter: brightness(1.1);
  color: var(--light-color-up) !important;
}

.button-secondary:focus {
  filter: brightness(1.1);
  color: var(--light-color-up) !important;
  border-color: var(--secondary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--secondary-color-shadow) !important;
}

.activate {
  color: var(--light-color-up) !important;
  background-color: var(--primary-color) !important;
  border-style: solid;
  border-color: var(--primary-color) !important;
  border-width: 2px;
}

.disable {
  display: none;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  color: var(--dark-color);
}

.text-justify-last {
  text-align-last: justify;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-button {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-thumb {
  background: var(--dark-color-up);
  border: 0px none;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-color-up);
}

::-webkit-scrollbar-thumb:active {
  background: var(--dark-color-up);
}

::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none;
  border-radius: 100px;
}

::-webkit-scrollbar-track:hover {
  background: transparent;
}

::-webkit-scrollbar-track:active {
  background: transparent;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.slider-emoji {
  -webkit-appearance: none;
  height: 20px;
  width: 100%;
  border-radius: 20px;
  margin: 20px 0;
  background-color: var(--primary-color);
}

.slider-emoji::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 4.5rem;
  height: 4.5rem;
  background-image: var(--source);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  margin-top: -20px;
}

.slider-emoji:focus::-webkit-slider-thumb,
.slider-emoji:active::-webkit-slider-thumb,
.slider-emoji:hover::-webkit-slider-thumb {
  box-shadow: transparent;
  outline: transparent;
  border: transparent;
}

.slider-emoji::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 4.5rem;
  height: 4.5rem;
  background-image: var(--source);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  margin-top: -20px;
}

.float-content {
  opacity: 0;
  transition: opacity 2s;
}

.float-show {
  opacity: 1 !important;
}

.rounded {
  border-radius: 1rem !important;
}

.rounded-1 {
  border-radius: 0.8rem !important;
}

/*Config Google icons*/
.material-symbols-outlined {
  line-height: 1.3;
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48;
}

/**
* Config inputs forms
**/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.input-custom {
  border-radius: 50px;
  color: var(--dark-color);
  background-color: #fff;
  border-color: var(--primary-color);
  border: 1px solid #CCC;
}

.input-custom:focus {
  border-radius: 50px;
  color: var(--dark-color);
  background-color: #fff;
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem var(--primary-color-shadow);
}

.button-action {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 52px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 8px;
  transition: max-width 0.3s ease-in-out;
}

.button-action:hover {
  max-width: 200px;
}


.translate {
  width: max-content;
  background-color: var(--light-color-up);
  padding: 10px 15px;
  border-radius: 10px;
  position: absolute;
  top: 25px;
  z-index: 9;
  transition: var(--tran-02);
}

.translate-btn-item {
  border-radius: 7px;
}

.translate-btn-item:hover {
  background-color: var(--light-color-down) !important;
}

.translate-action {
  margin-right: 20px;
  max-width: 50px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 8px;
  transition: max-width 0.3s ease-in-out;
}

/*
.translate-action:hover {
  max-width: 200px;
}
*/
.translate-selected {
  background-color: var(--light-color-down) !important;
}



/*Brakepoints*/
/*Mobile*/
@media (max-width: 1200px) {

  .toast-container {
    top: 60px
  }

  .content {
    margin-top: 70px !important;
  }

}


/*Brakepoints*/
/*Mobile*/
@media (max-width: 576px) {

  * {
    font-size: var(--font-size-mobile);
  }

  h1 {
    font-size: var(--h1-mobile);
  }

  h2 {
    font-size: var(--h2-mobile);
  }

  h3 {
    font-size: var(--h3-mobile);
    margin-bottom: 0;
    font-weight: 700;
  }

  h4 {
    font-size: var(--h4-mobile);
    margin: 0.5rem 0rem 1rem;
  }

  p {
    font-size: var(--font-size-mobile);
  }

  tr {
    font-size: var(--h1-mobile);
  }

  .form-select {
    font-size: var(--font-size-mobile) !important;
  }

  .button-action {
   /* right: -5px;*/
    max-width: 49px;
  }

  
  .translate-action {
    /*margin-right: -5px;*/
    max-width: 49px;
  }

}

@keyframes animarBall {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  16% {
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
    opacity: 0.7;
  }

  33% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.rotate {
  animation: rotation 2s infinite linear;
}


@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}