:root {
  --color-brand: #0a66c2;
  --color-brand-light: rgb(193, 228, 255);
  --color-text-base: rgb(117, 117, 117);
  --color-gray-dark: rgb(33, 33, 33);
  --color-gray-1: rgb(77, 77, 77);

  --color-red-logikom: #f40000;
  --color-error: #df4141;
  --color-field-error: #c76f6f;
}

html {
  background: white;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--color-text-base);
  letter-spacing: 0.5px;
  font-size: 1rem;

  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: antialiased; */
}

h1, p {
  margin-bottom: 20px;
}

.contentArea {
  width: 100%;
  overflow-x: hidden;
}

.unbreak {
  white-space: nowrap;
}

.link-brand:link, .link-brand:hover, .link-brand:visited {
  color: var(--color-brand) !important;
}

.icon-brand {
  fill: var(--color-brand) !important;
}

a {
  &:link, &:hover, &:visited {
    color: var(--color-gray-1);
  }

  &.link-social-red {
    background-color: var(--color-brand);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    line-height: 30px;

    &:hover {
      text-decoration: none;
    }
  }
}

.title-tagline {
  color: var(--color-brand);
  display: inline-block;
  position: relative;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
  padding-left: 20px;
  text-transform: uppercase;

  &:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent var(--color-brand) transparent;
    position: absolute;
    left: 0;
    top: 3px;
  }

  &._white {
    color: white;

    &:after {
      border-color: transparent transparent white transparent;
    }
  }
}

/* .title-tagline_white {
  color: white;
  display: inline-block;
  position: relative;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
  padding-left: 20px;
  text-transform: uppercase;

  &:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent white transparent;
    position: absolute;
    left: 0;
    top: 3px;
  }
} */

.page-title {
  font-size: 2.5rem;
  text-align: center;
  padding: 30px 20px;
  background-color: var(--color-brand-light);
  color: var(--color-gray-dark);
  font-weight: 600;
}

.page-subtitle {
  font-size: 1.75rem;
  text-align: center;
  padding: 30px 20px;
  font-weight: 600;
  color: var(--color-gray-dark);
}

.section-title {
  margin: 0;
  color: #222733;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 20px;
}

.btn-link {
  background: transparent;
  border: 0 none;
}

.ul-horizontal li {
  display: inline-block;
}

.btn {
  display: inline-block;
  border: 0 none;
  border-radius: 4px;
  padding: 10px 20px;
  text-decoration: none !important;
  background-color: black;
  color: white;
  transition: all .25s ease-in-out;
  margin-bottom: 10px;

  &.btn-no-margin {
    margin: 0;
  }

  &:not(.disabled):hover {
    background-color: rgba(0,0,0,.25);
    box-shadow: 0 0 10px 2px rgba(0,0,0,.3), 0 0 2px 1px rgba(0,0,0,.75);
    color: black;
  }

  &.btn-whatsapp {
    background: url('/app/resources/images/whatsapp-logo.svg') 20px / 20px no-repeat #25D366;
    padding-left: 50px;

    &:not(.disabled):hover {
      background-color: #1aa14c;
      box-shadow: 0 0 10px 2px rgba(0,0,0,.3), 0 0 2px 1px rgba(0,0,0,.75);
      color: white;
    }
  }

  &.btn-height-as-field {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  &.disabled {
    background-color: gray;
    cursor: default;
    color: white;
  }
}

.btn-small {
  padding: 10px 24px !important;
  font-size: 13px;
  line-height: 20px;
}

/* .field-top-label {
  text-align: center;
  font-size: 16px;
  color: #585858;
} */

#simple-chat-button--container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999999;

  #simple-chat-button--button {
    display: block;
    position: relative;
    text-decoration: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 6px 8px 2px rgba(0, 0, 0, .15);
    background: url('/app/resources/images/whatsapp-logo.svg') center / 44px 44px no-repeat #25D366;
    /* animation: floating-whatsapp-animation-2 5s 3s ease-out infinite; */
  
    &:before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      border-radius: 50%;
      animation: floating-whatsapp-animation 5s 3s ease-out infinite;
      z-index: -1;
    }
  }
}

/* .section-image {
  max-height: 300px;
} */

.section-image_rounded {
  border-radius: 10px;
}

.bottom-bar {
  background-image: linear-gradient(160deg, #0A66C2 0%, #004080 100%);
  padding: 70px 0 70px 0;
  color: white;
  /* margin-top: 50px; */
  text-align: center;
}

.ul-list {
  list-style: disc;
  margin-left: 40px;
  text-align: center;
  list-style-position: inside;

  li {
    margin-top: 10px;
  }
}

.feature-box {
  background: #fff;
  padding: 38px 40px;
  border-radius: 3px;
  box-shadow: 0 3px 25px rgb(0 0 0 / .07);
  margin-bottom: 24px;

  .feature-icon {
    flex: 0 0 50px;
    margin-right: 25px;
    margin-bottom: 0;
    position: relative;
    top: 5px;
    font-size: 40px;
    color: var(--color-brand);
  }

  .feature-title {
    font-size: 1.5rem;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-gray-dark);
  }
}

.feature-box.feature-icon-left {
  display: flex;
}

.absolute-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .75);
  color: white;
  font-size: 1.5rem;
  display: none;
  z-index: 9999;
  
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: auto;

  &.display {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.loading {
  border: 4px solid #f3f3f3; /* Light gray background for the circle */
  border-top: 4px solid #3498db; /* Blue color for the "swirl" part */
  border-radius: 50%; /* Makes the div a perfect circle */
  width: 40px; /* Size of the spinner */
  height: 40px; /* Size of the spinner */
  animation: spin 1s linear infinite; /* Applies the animation */
  display: inline-block;
}




@media (min-width: 64em) {
  .section-image {
    max-height: inherit;
  }

  .ul-list {
    text-align: left;
  }

  .bottom-bar {
    /* margin-top: 0; */
    text-align: left;
  }
}

@keyframes floating-whatsapp-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 2px rgba(0, 100, 0, .75), inset 0 0 1px rgba(0, 100, 0, .75);
  }

  20% {
    box-shadow: 0 0 40px transparent, inset 0 0 30px transparent;
    transform: scale(1.2);
  }

  21% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadebounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); } /* Start at 0 degrees rotation */
  100% { transform: rotate(360deg); } /* End at 360 degrees rotation */
}
