.pie-pagina {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the start (left) */
  flex-wrap: wrap; /* Allow items to wrap */
}

footer {
  display: flex;
  justify-content: space-between; /* Align items to the left */
  align-items: left; /* Center items vertically */
  text-align: left;
  background-color: #282828;
}

.enlaces {
  list-style-type: none;
  font-weight: 700;
  font-size: 20px;
  color: #cdcdcd;
  text-decoration: none;
}

.enlaces:hover {
  color: #fff;
}

/* General Styles */
body {
  font-family: "Poppins";
  color: #cdcdcd;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #121212;
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  padding-top: 60px; /* Adjust this value based on your nav height */
}

.navbar {
  background-color: #282828;
  list-style-type: none;
  padding: 10px;
}

/* Responsive Styles for Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header {
    width: 100%;
    justify-content: space-between;
  }

  .logo {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .links {
    width: 100%;
    flex-direction: column; /* Align links vertically */
  }

  .link-item a {
    width: 100%;
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .links {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .link-item a {
    width: 100%;
    margin: 0;
    text-align: left;
  }

}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.links {
  list-style-type: none;
  font-weight: 500;
  margin: 10px;
  font-size: 16px;
  display: flex;
  color: #cdcdcd;
  text-decoration: none;
}

.links:hover {
  color: #fff;
}

.logo {
  width: 300px;
  height: auto;
}

.main {
  text-align: center;
  padding: 20px;
  flex-grow: 1;
}

.model {
  display: block;
  max-width: 100%;
  max-height: 350px;
  min-width: auto;
  height: auto;
  margin: 0 auto;
}

.caja-new,
.caja {
  width: 100%;
  max-width: 1000px;
  padding: 40px;
  margin: 0 auto;
  border-radius: 2em;
  background-color: #191919;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: left;
  /* Align items horizontally */
  justify-content: left;
  /* Align items vertically */
}

.highlight {
  color: #c58d68;
}

.conectame,
.conectame-secondary {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  padding: 10px 50px;
  width: 100%;
  font-family: inherit;
  border: none;
  border-radius: 25px;
}

.conectame:hover,
.conectame-secondary:hover {
  cursor: pointer;
}

.input {
  border: none;
  margin-bottom: 10px;
  color: #cdcdcd;
  border-radius: 25px;
  height: 60px;
  padding-left: 20px;
  font-family: poppins;
  background-color: #121212;
  font-size: 19px;
  outline: none;
  transition: all 0.4s;
}

.input:focus {
  opacity: 1;
}

.input::placeholder {
  color: #cdcdcd;
  /* Add padding or margin to the left side of the placeholder */
}

.registrate,
.hora {
  color: #cdcdcd;
  margin-bottom: 0;
  text-align: left;
}

.botones {
  display: flex;
  justify-content: flex-end;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
  }

  .links {
    margin-top: 10px;
    justify-content: center;
  }

  .link-item {
    margin: 5px;
  }

  .logo {
    margin-bottom: 10px;
  }

  .botones {
    flex-direction: column;
    align-items: center;
  }
}

/* Additional Styles */

.container {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  grid-auto-rows: auto;
  gap: 20px;
  width: 100%;
}

.square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #121212;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.options-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 20px;
}

.square-results,
.square-opciones {
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container,
  .options-container {
    grid-template-columns: 1fr;
  }
}

.results {
  font-weight: 600;
  margin-top: 0;
}

.result {
  font-weight: bold;
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 0;
}

.monto-options {
  align-items: left;
  display: flex;
  margin: 0;
}

.monto-option {
  flex: 1;
  margin: 0 5px;
}

.results,
.result {
  text-align: left;
  padding-left: 10px;
}

.cuota {
  text-align: left;
  margin-left: 0;
}

.prestamo {
  text-align: left;
}

.square-results,
.square-opciones {
  background-color: #121212;
  border-radius: 25px;
  width: 100%;
}

.registrate {
  margin-top: 25px;
  margin-bottom: 0;
  color: #cdcdcd;
  font-size: 25px;
  text-align: left;
}

.hora {
  font-weight: 400;
  font-size: 18px;
  color: #cdcdcd;
  text-align: left;
  margin-bottom: 25px;
  margin-top: 0;
}

.prestamos {
  font-size: 19.5px;
  margin-bottom: 0;
  /* Add this to reduce the margin */
  font-weight: 500;
  text-align: left;
}

.conectamos {
  font-size: 6.4vw;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
}

/* Optional: Adjust font size for smaller screens */
@media (max-width: 768px) {
  .conectamos {
    font-size: 10vw;
    text-align: justify;

    /* Adjust font size for smaller screens */
  }
}

/* Optional: Adjust font size for smaller screens */
@media (max-width: 768px) {
  .prestamos {
    font-size: 4vw;
    /* Adjust font size for smaller screens */
    text-align: justify;
    margin-top: 6vw;
    /* Adjust margin for smaller screens */
  }
}

.btn-primary {
  border: none;
  padding: 15px 0;
  /* Adjust padding to control button height */
  background-color: #cdcdcd;
  width: 100%;
  margin-top: 60px;
  color: #191919;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.4s;
}

.btn-primary:hover {
  background-color: #282828;
  color: #cdcdcd;
  font-weight: 700;
}

.btn-tertiary {
  border: solid;
  padding: 15px 0;
  /* Adjust padding to control button height */
  margin-top: 60px;
  background-color: transparent;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.4s;
}

.btn-tertiary:hover {
  background-color: #121212;
  color: #cdcdcd;
}

.button-container {
  display: flex;
  margin-top: 60px;
  justify-content: space-between;
  /* Distribute buttons evenly across the container */
}

.button-container button {
  flex: 1;
  /* Make buttons take up equal space */
  margin: 0 5px;
  /* Optional: Add margin between buttons */
}

@media (max-width: 768px) {
  .button-container {
    flex-direction: column;
    /* Display buttons in one column */
  }

  .button-container button {
    width: 100%;
    /* Set button width to 100% */
    height: 100%;
    margin: 5px 0;
    /* Optional: Add vertical margin between buttons */
  }
}

.contenedor-opciones {
  margin-top: 20px;
}

/* new content june 6/20/24 */

.contact-text {
  text-align: center;
}

/* The Warning Modal (background) */
#warningModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  padding-top: 60px;
}

/* Warning Modal Content/Box */
#warningModal .modal-content {
  background-color: #191919;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border-radius: 10px;
  height: 403px;
  width: 400px; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#warningModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#warningModal .close:hover,
#warningModal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.textcentering-container {
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center; /* Vertical center */
}

@media (max-width: 768px) {
  #warningModal .modal-content {
    margin-top: 180px;
  }





}