* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* > img {
  display: block;
  max-width: 100%;
}

:root {
  --blue300: #1b88cc;
  --blue400: #0975bb;
  --blue500: #0A76BC;
  --blue600: #355d7c;
  --blue700: #2b4d68;
  --blue900: #212529;

  --gray200: #d4d4d4;
  --gray300: #ededed;
  --gray400: #8f8f8f;
  --gray500: #797979;

  --green400: #55a518;
  --green500: #60bf19;
  --green600: #438a0d;

  --title-black: #000;
  --title-blue-primary: var(--primary-blue);

  --black: #000;
  --white: #fff;
  
  font-size: 10px;
}

@font-face {
  font-family: GothamBold;
  src: url("../assets/fonts/Gotham-Book/Gotham-Bold.otf");
  font-weight: normal;
}

@font-face {
  font-family: GothamBook;
  src: url("../assets/fonts/Gotham-Book/Gotham-Book.otf");
  font-weight: normal;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: GothamBold, sans-serif;
}

p, a, li, button, input, textarea {
  font-family:  'Montserrat', sans-serif;
}

.primary-button {
  display: block;
  padding: 12px 30px;
  width: max-content;
  font-size: 1.6rem;
  background-color: var(--blue600);
  color: #fff;
  font-weight: bold;
  font-family: 'Monstserrat', sans-serif;
  border: none;
  transition: all .3s;
}

.primary-button:hover {
  background-color: var(--blue700);
}

.secondary-button {
  display: block;
  padding: 12px 30px;
  width: max-content;
  font-size: 1.6rem;
  background-color: #FFF;
  color: var(--blue500);
  font-weight: 600;
  border: none;
  transition: all .3s;
}

.secondary-button:hover {
  background-color: var(--gray200);
} 

/* WhatsApp Float Form */

.main__float-form {
  position: fixed;
  bottom: 10px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 5;
  pointer-events: none;
}

.float-form {
  max-width: 250px;
  margin-right: 30px;
  background-color: #ebe5de;
  border-radius: 5px;
  overflow: hidden;
  pointer-events: all;
}

.--form-inactive {
  opacity: 0;
  transform: translateY(80px);
  visibility: hidden;
  transition: all .4s;
}

.float-form.--form-active {
  opacity: 1;
  transform: translateY(-10px);
  visibility: visible;
  transition: all .4s;
}

.float-form__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background-color: #053a33;
}

.float-form__header__perfil {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__perfil__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 10px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 5vw, 1.6rem);
  color: #fff;
  border-radius: 50%;
  background-color: #0A76BC;
}

.header__perfil__text h2 {
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  font-size: clamp(1.6rem, 5vw, 1.6rem);
  color: #fff;
}

.header__perfil__text p {
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  color: #fff;
}

.float-form__header__button-close {
  display: flex;
  align-items: center;
  cursor: pointer;
  pointer-events: all;
}

.float-form__wrapper-fields {
  width: 100%;
  padding: 16px;
  border: none;
  background-color: #e8e2db;
}

.float-form__wrapper-fields legend {
  float: left;
  max-width: 196px;
  padding: 9px;
  background-color: rgb(247, 247, 247);
  border: 1px solid rgb(229, 231, 235);
  border-radius: 7px;
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  font-size: clamp(1.2rem, 5vw, 1.2rem);
  line-height: 20px;
  color: #000;
}

.float-form__wrapper-fields__alert {
  float: right;
  width: 196px;
  max-height: 0px;
  padding: 0px;
  margin-top: 0px;
  font-size: clamp(1.1rem, 5vw, 1.1rem);
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  background: rgb(232, 255, 231);
  border-radius: 7px;
  transition: all .4s;
  transform: translateX(-200%);
  overflow: hidden;
}

.float-form__wrapper-fields__alert.--alert-active {
  max-height: 80px;
  height: auto;
  margin-top: 12px;
  padding: 9px;
  transform: translateX(0px);
}

.--alert-active span {
  font-size: 16px;
}

.float-form__wrapper-fields__wrapper-input {
  float: right;
}

.float-form__wrapper-fields__wrapper-input label {
  display: block;
  max-height: 0px;
  max-width: 0px;
  overflow: hidden;
}

.float-form__wrapper-fields__wrapper-input input {
  float: right;
  width: 196px;
  padding: 9px;
  margin-top: 12px;
  font-size: clamp(1.1rem, 5vw, 1.1rem);
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  background: rgb(232, 255, 231);
  border-radius: 7px;
  border: none;
}

.float-form__button-submit {
  position: relative;
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  background-color: rgb(5, 58, 51);
  border-radius: 7px;
  border: none;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-family: 'Sora', sans-serif;
  font-weight: normal;
  color: #fff;
}

/* Float form - WhatsApp Button */

.whatsapp-button {
  display: block;
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  transition: all .4s;
  box-shadow: 0px 6px 11px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  pointer-events: all;
  z-index: 6;
}

.whatsapp-button img {
  pointer-events: none;
}


.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: all .3s;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
