.formulario-container {
  padding: 60px;
  display: flex;
  justify-items: center;
  align-items: center;
  flex-direction: column;
  background-color: #EFF2F6;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2.formulario-title {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #D91147;
  width: 100%;
}

.from__container {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-direction: column
}

.form__description {
  font-size: 1.4rem;
  color: #262626;
  width: 100%;
  text-align: center;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 2rem;
  line-height: 1.7rem;
}

.form__group-names {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  box-sizing: border-box;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
}

.form-group-2 {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

label {
  display: block;
  margin-bottom: 5px;
}

.input-text {
  box-sizing: border-box;
  font-size: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 0.1px solid #00000021;
  outline: none;
}

.input-error {
  box-sizing: border-box;
  font-size: 0.9rem;
  width: 100%;
  padding: 1rem;
  border: 1px solid red;
  outline: none;
}

.input-email {

  font-family: Poppins, sans-serif;
  box-sizing: border-box;
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  outline: none;
}

.text__area {
  font-family: Poppins, sans-serif;
  padding-left: 1rem;
  padding-top: 0.5rem;
  box-sizing: border-box;
  font-size: 0.9rem;
  width: 100%;
  height: 190px;
  margin-bottom: 15px;
  border: 0.1px solid #00000021;
  outline: none;
}

.privacy_container {
  line-height: 1.7rem;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy_container p {
  display: inline;
  width: 120%;
  font-size: 13px;
  color: #8e8e8e;
  margin: 0px;
}

.privacy_container input {
  display: inline;
  width: 20px;
  font-size: 0.8em;
  color: #8e8e8e;
  margin: 0px;
}

.privacy_container p a {
  color: #8e8e8e;
  cursor: pointer;
  text-decoration: underline;
}

#button-formulario {
  width: 200px;
  padding: 10px 20px;
  background-color: black;
  /* Color por defecto */
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: not-allowed;
  /* Cursor por defecto */
  font-size: 16px;
  margin-bottom: 4rem;
  margin-top: 10px;
}

#button-formulario.active {
  background-color: #D91147;
  /* Color cuando todos los campos están llenos */
  cursor: pointer;
  /* Cursor cuando todos los campos están llenos */
}

button:hover {
  background-color: #D91147;
}


.secction-button {
  text-align: center;
  width: 100%;
}

.card-group {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.card-btn {
  border: 2px solid #000000;
  background-color: white;
  color: #000000;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 45%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.card-btn:hover {
  background-color: #000000;
  color: white;

}

.card-btn:hover svg {
  fill: white;
}

.card-btn.active {
  background-color: #000000;
  color: white;
  border-color: #000000;
}

.card-btn.active svg {
  fill: white;
}

@keyframes mensajeErrorEntrada {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.mensaje-error {
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  display: none;
  color: red;
  position: absolute;
  border-radius: 4px;
  font-size: 0.6rem;
  width: fit-content;
  top: calc(80% + 12px);
  left: 0px;
  animation: mensajeErrorEntrada 0.3s ease forwards;
}



@media screen and (min-width: 768px) {

  .formulario-container {
    min-width: 200px;
    width: 100%;
    padding: 60px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto;
    background-color: #EFF2F6;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .mensaje-error {
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    display: none;
    color: red;
    position: absolute;
    border-radius: 4px;
    font-size: 0.9rem;
    width: fit-content;
    top: calc(80% + 10px);
    left: 0px;
    animation: mensajeErrorEntrada 0.3s ease forwards;
  }

  .form__description {
    font-size: 2rem;
    color: #262626;
    width: 90%;
    text-align: center;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 2rem;
    line-height: 1.5rem;
  }

  .form__group-names {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
  }

  .form-group {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
  }

  .form-group-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
  }

  label {
    display: block;
    margin-bottom: 5px;
  }

  .input-text {
    box-sizing: border-box;
    font-size: 0.9rem;
    width: 100%;
    padding: 1rem;
    border: 0.1px solid #00000021;
    outline: none;
  }

  .privacy_container {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .privacy_container p {
    display: inline;
    width: 120%;
    font-size: 0.8em;
    color: #8e8e8e;
    margin: 0px;
  }

  .privacy_container input {
    display: inline;
    width: 20px;
    font-size: 0.8em;
    color: #8e8e8e;
    margin: 0px;
  }

  .privacy_container p a {
    color: #8e8e8e;
    cursor: pointer;
    text-decoration: underline;
  }

}

@media screen and (min-width: 1024px) {

  .formulario-container {
    min-width: 200px;
    padding: 60px;
    padding-bottom: 25px;
    width: 100%;
    height: auto;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto;
    background-color: #EFF2F6;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .from__container {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-direction: column
  }

  .form__description {
    font-size: 2rem;
    color: #262626;
    width: 90%;
    text-align: center;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 2rem;
    line-height: 2.5rem;
  }

  .form__group-names {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0px;
    margin: 0px;
  }

  .form-group {
    width: 48.4%;
    box-sizing: border-box;
    position: relative;
  }

  .form-group-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
  }

  label {
    display: block;
    margin-bottom: 5px;
  }

  .input-text {
    box-sizing: border-box;
    font-size: 0.9rem;
    width: 100%;
    padding: 1rem;
    border: 0.1px solid #00000021;
    outline: none;
  }

  .mensaje-error {
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    display: none;
    color: red;
    position: absolute;
    border-radius: 4px;
    font-size: 0.8rem;
    width: fit-content;
    top: calc(80% + 13px);
    left: 0px;
    animation: mensajeErrorEntrada 0.3s ease forwards;
  }

  .privacy_container {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .privacy_container p {
    display: inline;
    width: 120%;
    font-size: 0.8em;
    color: #8e8e8e;
    margin: 0px;
  }

  .privacy_container input {
    display: inline;
    width: 20px;
    font-size: 0.8em;
    color: #8e8e8e;
    margin: 0px;
  }

  .privacy_container p a {
    color: #8e8e8e;
    cursor: pointer;
    text-decoration: underline;
  }

  button {
    margin-top: 10px;
    width: 100px;
    padding: 10px 20px;
    background-color: #D91147;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
  }

}