@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

* {
  font-family: "Inter", sans-serif !important ;
}

.chau {
  display: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

.p-hr {
  display: none;
}

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button,
.cerrarSesion {
  background-color: #4946ce;
  color: white;
  border-radius: 15px;
  padding: 0.8rem 1.2rem; /* Cambiado a unidades relativas */
  border: none;
  cursor: pointer;
  width: 19rem; /* Cambiado a unidades relativas */
  font-weight: 600;
  font-size: 1.2rem; /* Cambiado a unidades relativas */
  animation: fadeIn 2s;
}

/* The popup form - hidden by default */
.form-popup {
  border: none;
  width: 335px;
  height: fit-content;
  border-radius: 10px;
  background-color: none;
  transform: scale(1.2);
  padding: 0px;
}

#myForm::backdrop {
  background-color: rgba(0, 0, 0, 0.425);
}

/* Add styles to the form container */
.form-container {
  padding: 45px;
  background-color: #f5f5f5;
  color: black;
  border-radius: 20px;
  text-align: left;
}

.form-container label {
  font-size: 20px;
}

/* Full-width input fields */
.form-container input[type="text"],
.form-container input[type="password"] {
  padding: 15px;
  height: 45px;
  margin: 5px 0 22px 0;
  border: none;
  background: #d3d3e9;
}

/* When the inputs get focus, do something */
input:-webkit-autofill:focus,
.form-container input[type="text"]:focus,
.form-container input[type="password"]:focus {
  background-color: #d3d3e994;
  outline: none;
  -webkit-box-shadow: 0 0 0 30px #d3d3e994 inset !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #d3d3e9 inset !important;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #538a5f;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 600;
  width: 100%;
  margin-bottom: 10px;
}

.btn:active {
  box-shadow: inset 0px 4px 5px rgba(44, 30, 49, 0.397);
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: #bd5151;
  margin-bottom: 0;
}

/* Add some hover effects to buttons */
.form-container .btn:hover {
  background-color: #7ba885;
  color: white !important;
}

.form-container .cancel:hover {
  background-color: #bd7070;
  color: white !important;
}

.open-button:hover,
.cerrarSesion:hover {
  background-color: #d3d3e9;
  color: black;
}

.open-button:active,
.cerrarSesion:active {
  box-shadow: inset 0px 4px 5px rgba(47, 30, 49, 0.397);
}

/* MODO OSCURO */

.open-button.dark,
.cerrarSesion.dark {
  background: #d3d3e9;
  color: #2b2e30;
}

  .form-popup.dark {
    border: 3px solid #1f2123;
    background-color: #1f2123;
    border-top: none;
  }

  /* Add styles to the form container */

  .form-container.dark {
    background-color: #1f2123;
    color: rgb(194, 194, 194);
    border-radius: 20px;
  }

/* Full-width input fields */
.form-container.dark input[type="text"],
.form-container.dark input[type="password"] {
  border: none;
  background-color: #d3d3e994;
}

/* When the inputs get focus, do something */
input.dark:-webkit-autofill:focus,
.form-container.dark input[type="text"]:focus,
.form-container.dark input[type="password"]:focus {
  background: #d3d3e9;
  outline: none;
  -webkit-box-shadow: 0 0 0 30px #d3d3e994 inset !important;
}

  .form-container .btn.dark:hover {
    background-color: #7ba885;
  }

  .form-container .cancel.dark:hover {
    background-color: #bd7070;
  }

  .open-button.dark:hover,
  .cerrarSesion.dark:hover {
    background: #2b2e30;
    color: #d3d3e9;
  }



/* @media (min-width: 1366px) and (max-width: 1919px) {
  .open-button,
  .cerrarSesion {
    right: -16.4%;
    top: 2%;
    transform: scale(0.97);
  }

  .form-popup {
    transform: scale(1);
  }
}

@media (max-width: 1365px) {
  .open-button,
  .cerrarSesion {
    right: -24%;
    top: 1%;
    transform: scale(1);
  }

  .form-popup {
    transform: scale(0.95);
  }
}

@media (max-width: 768px) {

  .open-button,
  .cerrarSesion{
    left: 20%;
    top: 1%;
    transform: scale(1.5);
  }
} */