:root {
  --amarillo_inversion: #f1c40f;
  --amarillo_inversion2:rgb(210, 172, 22)f;
}

a {
    text-decoration: none;
    color: white;}

.navbar {
    text-decoration: none;
    forced-color-adjust: white;
    text-align: center;
    justify-content: center;

}

/* Fuente de letras */
.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.lobster-regular {
    font-family: "Lobster", sans-serif;
    font-weight: 500;
    font-style: normal;
  }

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
/* Fuente de letras */


/* Bordes de elementos */
.border {
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.border:hover {
  border-radius: 15px;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4);
}
/* Bordes de elementos */


#seccion-propiedades{
  border: 5px solid black;
  padding: 10px;
  margin: 10px;
  border-radius: 30px;
}

#seccion-propiedades:hover{
  border: 6px solid var(--amarillo_inversion);
  padding: 11px;
  margin: 11px;
  border-radius: 30px;
}

@media only screen and (max-width: 3720px) {
  .carousel-item img {
    height: 500px; /* Ajusta la altura para pantallas más pequeñas */
  }
}

@media only screen and  (max-width: 2185px) {
  .carousel-item img {
    height: 400px; /* Ajusta la altura para pantallas más pequeñas */
  }
}

@media only screen and  (max-width: 1535px) {
  .carousel-item img {
    height: 275px; /* Ajusta la altura para pantallas más pequeñas */
  }
}

@media only screen and  (max-width: 768px) {
  .carousel-item img {
    height: 250px; /* Ajusta la altura para pantallas más pequeñas */
  }
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

#fondo {
  background-image: linear-gradient(180deg, black, var(--amarillo_inversion));
  background: url(/static/img/importante/Fondo.png) no-repeat center;
  background-size: cover;
  height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  color: #f1c40f;
  font-size: 5vw;
  font-weight: bold;
  text-align: center;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
  padding: 2rem 1rem;
}

.dropdown-menu{
  background-color:  var(--amarillo_inversion);
  font-size: 1rem;
  color: black;
  border-radius: 20px;
}

a.dropdown-item, button.dropdown-item {
  background-color:  var(--amarillo_inversion);
  font-size: 1rem;
  color: rgb(255, 255, 255);
  text-align: center;
  justify-content: center;
  padding-inline-end: .25rem;
  transition: background-color 0.3s ease; /* Transición suave para el fondo */
  border-radius: 20px ;
}

.dropdown-menu {
  position: absolute; /* Make the dropdown menu positioned relative to its parent */
  top: 100%; /* Position the menu below the navigation bar */
  left: 0; /* Align the menu with the left edge of its parent */
  width: 100%; /* Make the menu span the full width of its parent */
  display: none; /* Hide the menu by default */
  border: black;
}

.dropdown:hover {
  display: flexbox; /* Show the menu when the parent is hovered over */
  background-color:  var(--amarillo_inversion);
  border-radius: 20px;
  box-shadow: 9px 9px #151515;
}
.dropdown-menu:hover{
  color: black;
}

a.dropdown-item:hover , button.dropdown-item:hover {
  background-color: black; 
  border-radius: 10px;
  color: var(--amarillo_inversion);
}

.divisor-hr {
  width: 50%; /* Ancho del 50% del contenedor */
  height: 5px; /* Altura del divisor */
  margin: 30px auto; /* Margen superior e inferior automáticos, centrado horizontal */
  background-color: var(--amarillo_inversion); 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra */
  position: relative; /* Posicionamiento relativo para los pseudoelementos */
}

.divisor-hr::before,
.divisor-hr::after {
  content: ""; /* Eliminar el contenido predeterminado */
  display: block; /* Convertir en un bloque */
  position: absolute; /* Posicionamiento absoluto dentro del contenedor */
  top: 50%; /* Posición vertical centrada */
  width: 100%; /* Ancho completo del contenedor */
  height: 2px; /* Altura del divisor */
  background-color: #000000; /* Color de fondo */
}

.divisor-hr::before {
  left: 0; /* Alineación a la izquierda */
}

.divisor-hr::after {
  right: 0; /* Alineación a la derecha */
}

.col.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

#encuentra-lo-que-buscas{
  color: var(--amarillo_inversion);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-size: 2rem;
  text-align: center
}

#encuentra-lo-que-buscas:hover{
  color: white;
  background-color: var(--amarillo_inversion);
}

#encuentra-lo-que-buscas.show{
  color: white;
  background-color: var(--amarillo_inversion);
}


#inversion-inmobiliaria{
  margin-left: 2px;
  color: white; 
  font-size: 1.5rem
}

.anuncio{
  color: white;
  font-size: 1.5rem;
  text-align: center;
}

.card-title {
  background-color: #c2a33d; /* Color dorado */
  color: white;
  padding: 5px;
  border-radius: 10px;
  display: inline-block;
}

.card-text {
  color: black; /* Color de texto base */
}

/* Opcional: animación suave al pasar el mouse */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Si quieres que todas las imágenes sean del mismo alto máximo */
.card-img-top {
  object-fit: cover;
  height: 220px; /* Ajusta según la altura que quieras */
  width: 100%;
}
