:root {
  --brand: rgb(0, 96, 156);
  --brand-dark: #0077a1;
  --brand-darker: #325f7b;
  --brand-light: #00a7e2;
  --light-offwhite: #f2f0eb;
  --light-offwhite: #F6F9FC;
  --light-cyan: #93bcd5;
  --dark-blue: #001b2d;
  --brand-green: #11d48a;
  --brand-yellow: #f59e1e;
  --grid-line: #e7e7e747;
  --dark-gray: #a0a0a0;
  --brand-gray: #b8b6b3;
  --another-gray: #f7f9f8;
  --whatsapp: #53d161;
  --whatsapp-dark: #1e9f33;
  --baby-blue: #84dfff;
  --text-shadow: #000000cc;
  --dark-background: #00000040;

  --full-radius: calc(infinity * 1px);
}


html,
body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  font-family: "source-sans-pro", sans-serif;

  line-height: 100%;
  scroll-behavior: smooth;
}

#cookies {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
    background: rgba(48, 48, 48, 0.5);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.625rem;
    color: white;
    gap: 1rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    z-index: 50;
    transition: transform 0.3s ease-in-out;
}

#header {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  z-index: 29;
  padding-inline: 1rem;
}

#fixed-header {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  z-index: 32;
  padding-inline: 1rem;
}

.header-menu-container {
  position: fixed;
  top: 80px;
  width: 450px;
  background-color: rgba(0, 0, 0, 0.25);


  padding: 2rem;
  border-radius: 0.625rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: solid 1px rgb(250, 250, 250, 0.25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(60px);
  z-index: 30;
  
}

.small-header-menu-container {
  position: fixed;
  top: 80px;
  background-color: rgba(0, 0, 0, 0.25);

  padding: 2rem;
  border-radius: 0.625rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: solid 1px rgb(250, 250, 250, 0.25);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(60px);
  z-index: 30;
  
}


#nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem 0rem;
  border-radius: 0.625rem;
}

#fixed-nav-bar {
  display: flex;
  align-items: center;
  justify-self: center;
  height: 100%;
  padding: 2rem 0rem;
  border-radius: 0.625rem;
}

/*Header Image*/
#header-img {
  height: 2rem;
  width: auto;
  /*filter: invert(1);*/
  /*content: url('assets/images/logo_ifthenpay_white.svg');*/
}

/*@media (max-width: 1280px) {
  #header-img {
    background-image: url('assets/images/logo_ifthenpay_black.svg');
  }

  body:not([data-page="home"]):not([data-page="join"]):not([data-page="careers"]) #header-img {
    background-image: url('assets/images/logo_ifthenpay_white.svg');
  }
}*/

#header-links {
  display: none;
  color: white;
  font-size: 1rem;
  gap: 3rem;
}

.header-link:hover {
  color: #ffffff99
}

#fixed-header-links {
  display: none;
  color: white;
  font-size: 1rem;
  gap: 2em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

#mobile-menu-button {
  position: fixed;
  display: flex;
  justify-content: center;
  z-index: 40;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: rgba(48, 48, 48, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--full-radius);
  cursor: pointer;
}

#mobile-menu-icon {
  width: 1rem;
  object-fit: fill;
}

#backoffice-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right bottom, white, #ffffff00);
  background-color: white;
  color: var(--brand);
  height: 2.25rem;
  width: 8rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  transition: background ease-in-out 0.2s;
}

#backoffice-button:hover {
  background-color: var(--light-cyan);
}

#join-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.25rem;
  width: 8rem;
  background-image: linear-gradient(
    to right bottom,
    var(--brand-light),
    rgb(0, 96, 156, 0)
  );
  background-color: var(--brand);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  color: white;
  animation: pulse 6s infinite both;
  transition: background-color ease-in-out 0.3s;
}

#join-button:hover {
  animation: none;
  background-image: linear-gradient(
    to right bottom,
    var(--brand),
    var(--dark-blue)
  );
  
}

@keyframes pulse {
  0% {
    background-color: var(--brand);
  }
  50% {
    background-color: var(--brand-light);
  }
  100% {
    background-color: var(--brand);
  }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  color: white;
  gap: 1rem;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  height: 31rem;
}

#main-subtitle {
  display: none;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02rem;
  text-shadow: 0 2px 4px var(--text-shadow);
  padding-inline: 2rem;
}

#main-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  line-height: 130%;
  padding-inline: 1rem;
  text-shadow: 0 4px 4px var(--dark-background);
}

#hero-action-button {
  display: flex;
  justify-content: center;
  background: linear-gradient(
    to right bottom,
    var(--brand-light),
    var(--brand)
  );
  border: 1px solid #ffffff00;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px var(--dark-background);
  margin-left: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  cursor: pointer;
}

#methods-carousel {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.5rem;
  overflow: hidden;
  background: rgba(48, 48, 48, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.carousel-logos {
  display: flex;
  width: max-content;
  align-items: center;
  padding-left: 4rem;
  gap: 4rem;
  animation: logos-carousel 15s infinite linear !important;
}

#who-we-are {
  display: flex;
  justify-content: center;
  background-image: linear-gradient(
    to right bottom,
    var(--brand),
    var(--dark-blue)
  );
  padding: 2rem 0;
  color: white;
  box-shadow:
    inset 0 6px 4px var(--dark-background),
    inset 0 -6px 4px var(--dark-background);
}

.container {
  max-width: 80rem;
  width: 100%;
  gap: 1rem;
}

#about-us {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  order: 1;
  padding: 0 1rem;
}

.title {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  line-height: calc(1.75 / 1.25);
}

.title-2 {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  line-height: calc(1.5 / 1);
}

.title-3 {
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 0.08rem;
  line-height: calc(1.25 / 0.875);
}


.text-small {
  font-size: 0.75rem;
  text-align: center;
}

.benefits-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1 1 0%;
  padding: 1.375em 1rem;
  min-width: 11rem;
  aspect-ratio: 1.08 / 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.625rem;
  transition:
    background 0.3s ease-out,
    transform 0.3s ease-out,
    opacity 0.8s ease-in-out;
  transform: translateZ(0);
}

.stats-container {
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.625rem;
  margin: 0 1rem;

  padding: 0.5rem;
}

#how-does-it-work {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  background-color: var(--light-offwhite);
}

#how-does-it-work-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 2rem;
  grid-auto-rows: minmax(0, 1fr);
  
}

.how-does-it-work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--brand);
  border-radius: 0.625rem;
  border: 2px solid var(--brand);
  padding: 0.5rem;
  gap: 0.5rem;
  transition: opacity 0.7s ease-in-out;
}

#where-to-use-content {
  display: flex;
  flex-direction: row;
  overflow: scroll;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-inline: 1rem;
  scroll-snap-type: x mandatory;
}

.where-to-use-content-element {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
  gap: 1rem;
  scroll-snap-align: center;
  padding: 0.5rem 0 1rem 0;
}

.where-to-use-content-img {
  height: 15rem;
  min-width: 17.5rem;
  transition: all 0.3s ease-in-out;
  object-fit: cover;
  border-radius: 0.625rem;
}

.read-more-button {
  padding: 0.75rem;
  background-color: var(--light-offwhite);
  border-radius: 0.376rem;
  border: 1px solid var(--brand);
  text-align: center;
  cursor: pointer;
  color: var(--brand);
  font-size: 0.875rem;
}

#pricing {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  background-image: url("../images/online_payments.jpg");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  color: white;
  font-size: 0.75rem;
  text-align: center;
}

#pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.methods-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 1.75rem 0.5rem 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 250ms ease-out;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  height: 100%;
}

circle {
  pointer-events: stroke;
}

.default-button {
  flex: 1;
  padding: 0.75rem;
  background-color: white;
  color: var(--brand);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

#pos {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  background-image: url("../images/presential_payments.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

#footer {
  display: flex;
  justify-content: center;
  background: linear-gradient(to right bottom, var(--brand), var(--dark-blue));
  padding: 2rem 1rem;
  color: white;
  font-size: 1rem;
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

#chat {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(
    to right bottom,
    var(--brand),
    var(--brand-light)
  );
  width: 3.125rem;
  height: 3.125rem;
  z-index: 30;
  border-radius: var(--full-radius);
  
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

#chat-menu {
  position: fixed;
  display: flex;
  flex-direction: row;
  bottom: 0;
  right: 0;
  transform: translateX(100%);
  overflow: hidden;
  max-width: 36rem;
  width: 100%;
  height: 100%;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 27, 45, 0.5);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  transition: transform 0.5s ease-in-out;
  z-index: 30;
}

#virtual-assistant {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-content: center;
  bottom: 0;
  right: 0;
  transform: translateX(100%);
  overflow: hidden;
  max-width: 36rem;
  max-height: 45.4rem;
  width: 100%;
  height: 100%;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 27, 45, 0.5);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  transition: transform 0.5s ease-in-out;
  z-index: 31;
}

.chat-menu-option-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
  padding: 0.75rem;
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: -1px;
  border-radius: 0.625rem;
}

.input-field {
  display: flex;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(0, 27, 45, 0.3);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  outline: none;
}

.input-field:placeholder-shown {
  background-color: rgba(0, 0, 0, 0.3);
}

input[type="checkbox"] {
    display: flex;
    justify-content: center;
  height: 1.5rem;
  width: 4rem;
  max-width: 1.5rem;
  border-radius: 0.375rem;
  text-align: center;
  align-items: center;
  appearance: none;
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

input[type="checkbox"]:checked::before {
  display: block;
}

input[type="checkbox"]:before {
  display: none;
  content: "✓";
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: -1;
  transition: background-color 0.3s ease-in-out;
}

#mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  padding-top: 2rem;
  gap: 2rem;
  color: white;
  width: 100%;
  max-width: 30rem;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 31;
  overflow-y: scroll;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
  background: linear-gradient(
    to right bottom,
    rgba(0, 96, 156, 0.5),
    rgba(0, 27, 45, 0.5)
  );
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid white;
  border-radius: 0.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.card {
  min-width: 21rem;
  height: 29.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 3rem;
  color: white;
  background: rgba(48, 48, 48, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: solid 1px rgba(255, 255, 255, 0.25);
  border-radius: 0.625rem;
}

#methods-card {
  width: 21rem;
  height: 29.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem;
  color: white;
  background: rgba(48, 48, 48, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.625rem;
  background: linear-gradient(to right bottom, #ffffff, #93bcd5);
  color: rgb(0, 27, 45);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  border: none;
}

#inner-card {
  background: linear-gradient(
    to right bottom,
    var(--brand-light),
    var(--brand)
  );
  border: none;
}

#bottom-card {
  background: linear-gradient(to right bottom, var(--brand), var(--dark-blue));
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  border: none;
}

.slider-indicator-unselected {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--brand-light);
  opacity: 30%;
  border-radius: calc(infinity * 1px);
}

.slider-indicator-selected {
  width: 1.5rem;
  height: 0.75rem;
  background-color: var(--brand-light);
  border-radius: calc(infinity * 1px);
}

.chart-button {
  flex: 1;
  height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
  cursor: pointer;
  color: white;
}

.selected-chart-button {
  background-color: white;
  color: var(--brand);
  flex: 1;
  height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.uppercase {
  text-transform: uppercase;
}

@media (width >= 40rem) {
  #pricing-cards-container {
    max-width: 25rem;
  }

  .default-button {
    width: 21.875rem;
    align-self: center;
  }
}

@media (width >= 50rem) {
  #pricing-cards-container {
    gap: 0.625rem;
  }
}

@media (width >= 64rem) {

  .hero {
    height: 37.5rem;
  }

  #main-subtitle {
    display: flex;
    font-size: 0.875rem;
  }

  #main-title {
    padding-inline: 2rem;
    font-size: 2.25rem;
  }

  #hero-action-button {
    margin-left: 2rem;
    margin-bottom: 5.5rem;
    width: 22rem;
  }

  #who-we-are {
    padding: 4.5rem 0;
  }

  .container {
    gap: 0;
  }

  #about-us {
    grid-column: 8 span / 8 span;
    padding: 1rem;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.625rem;
  }

  .title {
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
  }

  .title-2 {
    font-size: 1.25rem;
    line-height: calc(1.75 / 1.25);
  }

  .title-3 {
    font-size: 1rem;
    line-height: calc(1.5 / 1);
  }



  .stats-container {
    
    margin-top: 1rem;
    margin-right: 1rem;
    margin-left: 0;
    padding: 1rem;
    grid-row: 1 span / 1 span;
    grid-column: 8 span / 8 span;
  }

  #how-does-it-work {
    padding: 4.5rem 0;
  }

  #how-does-it-work-cards {
    gap: 1rem;
  }

  .how-does-it-work-card {
    gap: 1rem;
    padding: 1rem;
  }

  .where-to-use-content-element {
    flex-direction: row;
  }

  .where-to-use-content-img {
    height: 100%;
  }

  #pricing {
    font-size: 1rem;
    padding: 4.5rem 2rem;
  }

  #pricing-cards-container {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    letter-spacing: 0.08rem;
    margin-bottom: 2rem;
    max-width: 64rem;
  }

  .methods-card {
    gap: 1.5rem;
    padding-top: 2.5rem;
    padding-bottom: 0.5rem;
  }

  .default-button {
    font-size: 1rem;
  }

  #footer {
    padding-block: 4.5rem;
  }

  .input-field {
    font-size: 1rem;
  }

  .chart-button {
    font-size: 1rem;
  }

  .selected-chart-button {
    font-size: 1rem;
  }
}

@media (width >= 80rem) {
  #header {
    padding-inline: 2rem;
    height: 2.875rem;
  }

  #fixed-header {
    position: fixed;
    justify-content: center;
    padding-inline: 2rem;
    height: 2.875rem;
  }

  #header-links {
    display: flex;
    font-weight: 600;
  }

  #mobile-menu-button {
    display: none;
  }

  .hero {
    height: 100vh;
  }

  #main-subtitle {
    
    font-size: 1.25rem;
  }

  #main-title {
    
    font-size: 3.75rem;
  }

  #hero-action-button {
    
    margin-bottom: 10rem;
    font-size: 1rem;
    background: none;
    border: 1px solid white;
  }

  #hero-action-button:hover {
    background: linear-gradient(
      to right bottom,
      var(--brand-light),
      var(--brand)
    );
    border: 1px solid #ffffff00;
  }

  .container {
    gap: 1rem;
    margin-inline: 1rem;
  }

  #about-us {
    gap: 2rem;
    padding: 2rem;
    margin-left: 0;
    grid-column: 8 span / 8 span;
  }

  .benefits-card {
    opacity: 0;
  }

  .benefits-card:hover {
    background: linear-gradient(to bottom right, white, var(--light-cyan));
    color: var(--dark-blue);
    transform: translateY(-0.5rem);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0);
  }

  .benefits-card:hover .icon-color {
    filter: brightness(0) saturate(100%) invert(11%) sepia(41%) saturate(3288%)
      hue-rotate(176deg) brightness(95%) contrast(94%);
  }

  .text-small {
    font-size: 0.875rem;
  }

  .stats-container {
    grid-column: 8 span / 8 span;
    margin: 0;
  }

  #how-does-it-work-cards {
    margin-bottom: 0;
    height: 100%;
    padding-bottom: 1rem;
  }

  .how-does-it-work-card {
    opacity: 0;
  }

  .how-does-it-work-card:hover {
    background: linear-gradient(
      to right bottom,
      var(--brand-light),
      var(--brand)
    );
    color: white;
  }

  #where-to-use-content {
    max-width: 616px;
    flex: 1;
  }

  .where-to-use-content-img:hover {
    rotate: 2deg;
    box-shadow: 4px 8px 4px rgba(0, 0, 0, 0.25);
  }

  .read-more-button {
    font-size: 1rem;
  }

  .read-more-button:hover {
    color: white;
    background: linear-gradient(
      to right bottom,
      var(--brand-light),
      var(--brand)
    );
  }

  #pricing-cards-container {
    gap: 1rem;
  }

  .methods-card {
    padding-block: 2.5rem 1rem;
    padding-inline: 1rem;
  }

  /* The hover effect on the methods card is only applied on larger screens to avoid layout shifts on smaller screens where the card takes up more space.*/
  @media (min-width: 1280px) {
    .methods-card:hover {
      background-color: transparent;
      background: linear-gradient(
        to bottom right,
        rgb(250, 250, 250, 1),
        rgb(147, 188, 213)
      );
      backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);
      color: var(--brand);
      translate: 0 -8px;
      box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
      border: 0;
    }
  }

  .default-button:hover {
    color: white;
    background: linear-gradient(
      to right bottom,
      var(--brand-light),
      var(--brand)
    );
  }

  #chat {
    bottom: 2rem;
    right: 2rem;
  }

  #chat-menu {
    height: auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
  }

  #virtual-assistant {

    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
    border-top-left-radius: 0.625rem;
    border-bottom-left-radius: 0.625rem;
  }

  .chat-menu-option-button:hover {
    outline: 1px solid transparent;
  }

  .language-picker {
    margin-bottom: 0;
  }

  .card {
    transition:
      border-radius 0.3s ease-in-out,
      rotate 0.3s ease-in-out;
  }

  #methods-card {
    transition:
      border-radius 0.3s ease-in-out,
      margin 0.3s ease-in-out;
  }

  #fixed-nav-bar {
    width: 80rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(48, 48, 48, 0.25);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
  }

  #fixed-header-links {
    display: flex;
  }

  #pos {
    padding-block: 4.5rem;
  }

  .chart-button:hover {
    color: var(--dark-gray);
  }
}

#nav-bar {
  width: 100vw;
  border: 1px solid transparent;

  transition:
    padding 0.45s ease-in-out,
    width 0.45s ease-in-out,
    background-color 0.35s ease-in-out,
    backdrop-filter 0.35s ease-in-out,
    border 0.35s ease-in-out,
    box-shadow 0.45s ease-in-out;
}

#header-links {
  transition: all 0.35s ease-in-out;
}

.footer-item {
  color: white;
  fill: white;
}

.footer-item:hover {
  color: #ffffff9d;
  fill: #ffffff9d;
}

.button-gradient {
  background: linear-gradient(to right, var(--brand-light), var(--brand));
}

.glass-menu {
  background: rgba(48, 48, 48, 0.3);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@keyframes logos-carousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.glass {
  background: rgba(48, 48, 48, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.glass-menu {
  background: rgba(48, 48, 48, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.lang-wrap { position: relative; width: 180px; }

  /* Closed bar */
  .lang-bar{
    width:100%;
    height:42px;
    display:flex;
    align-items:center;
    background: transparent;
    gap:16px;
    padding:0 12px;
    border-radius: 0.5rem;
    border:1px solid rgba(255,255,255,.25);
    cursor:pointer;
    transition: background ease-in-out 0.4s;
  }
  .lang-bar .icon{ width:16px; height:16px; }
  .lang-current{ flex:1; }
  .lang-chev{ width:12px; height:12px; transform: rotate(90deg); transition: all 0.2s; }

  .lang-bar:hover {
    background: linear-gradient(to right bottom, var(--brand), var(--brand-darker));
  }

  .active-lang-bar {
    width:100%;
    height:42px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:0 12px;
    border-radius: 0.5rem;
    border:1px solid rgba(255,255,255,.25);
    background: linear-gradient(to right bottom, var(--brand), var(--brand-darker));
    cursor:pointer;
  }

  /* Open panel */
  .lang-panel{
    position:absolute;
    left:0;
    bottom:calc(100% + 8px);
    width:100%;
    padding:8px;
    border-radius:10px;
    
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.15);
    transition: display ease-in-out 0.2s;
  }

  /* Selected pill */
  .lang-pill{
    width:100%;
    height:44px;
    border:0;
    border-radius:6px;
    background: linear-gradient(to right bottom, var(--brand), var(--brand-darker));
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 10px;
  }
  .lang-pill .check{
    width:22px;
    height:22px;
    display:grid;
    place-items:center;

  }

  /* List */
  .lang-list{ list-style:none; padding:8px 4px 4px; margin:0; }
  .lang-item{
    padding:10px 8px;
    border-radius:8px;
    height: 44px;
    display: flex;
    align-items: center;
    cursor:pointer;
    color:white;
    transition: background ease-in-out 0.2s;
  }
  .lang-item:hover{
    background: rgba(255,255,255,.1);
  }

.glass-whole-menu {
  background: linear-gradient(
    to right,
    rgb(0, 96, 156, 0.55),
    rgb(0, 27, 45, 0.55)
  );
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.green-glass {
  background: color-mix(in srgb, var(--brand-green) 15%, transparent);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.green-glass:hover {
  background: color-mix(in srgb, var(--brand-green) 30%, transparent);
}

.yellow-glass {
  background: color-mix(in srgb, var(--brand-yellow) 15%, transparent);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.yellow-glass:hover {
  background: color-mix(in srgb, var(--brand-yellow) 30%, transparent);
}

.white-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.light-blue-glass {
  background: color-mix(in srgb, var(--brand-light) 15%, transparent);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.light-blue-glass:hover {
  background: color-mix(in srgb, var(--brand-light) 30%, transparent);
}

.blur {
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.glass-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 250ms ease-out;
}

.glass-white:hover {
  background-color: transparent;
  background: linear-gradient(
    to right,
    rgb(250, 250, 250, 1),
    rgb(147, 188, 213)
  );
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  color: var(--brand);
  translate: 0 -8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border: 0;
}

/* Esconder scroll em todos os browsers */
.scrollbar-none::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

.scrollbar-none {
  -ms-overflow-style: none; /* IE / Edge */
  scrollbar-width: none; /* Firefox */
}

.grid-pattern {
  background: var(--light-offwhite);
  background-image:
    linear-gradient(var(--grid-line), 0.1em, transparent 0.1em),
    linear-gradient(90deg, var(--grid-line), 0.1em, transparent 0.1em);
  background-size: 3em 3em;
  position: relative;
  z-index: 0;
}

.grid-pattern::after {
  content: "";
  position: absolute;
  top: calc(1 * 3em);
  left: calc(1 * 3em);
  width: 3em;
  height: 3em;
  background: var(--grid-line);
  border: solid 1px var(--grid-line);
  z-index: -1;
}

.icon-color {
  height: 2rem;
  filter: brightness(1) saturate(1);
}



.foreground-color-filter:hover {
  filter: brightness(0) saturate(100%) invert(11%) sepia(41%) saturate(3288%)
    hue-rotate(176deg) brightness(95%) contrast(94%);
}

@media (min-width: 1280px) {
  .pos-card {
    margin-right: 0;
    transform: rotate(0deg);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(48, 48, 48, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition:
      transform 0.3s ease-in-out,
      margin-right 0.3s ease-in-out,
      border-top-right-radius 0.3s ease-in-out,
      border-bottom-right-radius 0.3s ease-in-out;
  }

  .pos-card.animate {
    transform: translateX(-48px) rotate(5deg);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: linear-gradient(
      to right bottom,
      var(--brand-light),
      var(--brand)
    );
    border: 0;
    color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pos-classic {
    transform: rotate(0deg);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: rgba(48, 48, 48, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition:
      transform 0.3s ease-in-out,
      margin-right 0.3s ease-in-out,
      border-top-left-radius 0.3s ease-in-out,
      border-bottom-left-radius 0.3s ease-in-out;
  }

  .pos-classic.animate {
    transform: translateX(48px) rotate(-5deg);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: linear-gradient(
      to right bottom,
      var(--brand),
      var(--dark-blue)
    );
    border: 0;
    color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pos-methods {
    background: rgba(48, 48, 48, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0;
    transition: border-radius 0.3s ease-in-out;
  }

  .pos-methods.animate {
    border-radius: 10px;
    color: var(--dark-blue);
    background: linear-gradient(to right bottom, white, var(--light-cyan));
    border: 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }
}

/*** Estilo para campos de formulário com erro */
#subscribe_form input,
#subscribe_form textarea, 
#subscribe_form input[type="checkbox"]{
  border: 1px solid transparent;
}

#contact_form input,
#contact_form textarea,
#contact_form input[type="checkbox"] {
  border: 1px solid transparent;
}

.form-field-error{
    -webkit-box-shadow: 0px 0px 0px 1px #e41919;     
    -moz-box-shadow: 0px 0px 0px 1px #e41919;
    box-shadow: 0px 0px 0px 1px #e41919;                
    margin-left: 1px;
} 

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

button:disabled:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.error-message {
  color: #e41919;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-align: center;
}

.success-message{
  color: #11d48a;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-align: center;
}

.result-message{
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-align: center;
}

#result {
  margin-top: -10px;
  margin-bottom: -10px;
}

#join-result {
  margin-top: -10px;
  margin-bottom: -10px;
}

/*** Estilo para truncar texto a 3 linhas com reticências */
.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* número de linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* número de linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Estilo para o conteúdo do blog */
.blog-content h3 {
  line-height: 2.25!important;
  font-weight: bold!important;
  padding-bottom: 8px;
  padding-top: 24px;
  text-transform: uppercase;
  font-size: 20px;
}

.blog-content p {
  padding-bottom: 16px;
  padding-top: 0px;  
}

.blog-content ul {
  list-style-type: disc;
  padding-left: 1.5rem; /* important for visibility */
}

.blog-content li {
  display: list-item;
}

/* Classe para esconder elementos */
.hide{
  display: none;
}

/* Esconder o badge do reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden;
}

/* Virtual Chat AI */
.virtual_ai{
  background-color: #0a1f2d!important;
}

/*** Set Margin to top and bottom to pages with background image to avoid content being hidden behind the fixed header */
.page-with-bg-image {
  /*margin-top: 32px;*/
  padding-bottom: 72px;
}



/* Adicionar margens laterais ao conteúdo da política de privacidade do Google Forms em telas maiores para melhorar a legibilidade */
@media (max-width: 1280px) {
  /*.text-mobile-content {
    padding-left: 64px!important;
    padding-right: 64px!important;
  }*/
}