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

body{
    font-family: Helvetica;

}

.hero{
    height:400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F07D00;
     color: rgb(255, 255, 255);
     font-size: 1.5rem;
     position: relative;
     padding-bottom: 2rem;
     padding: 2rem 0;
     position: relative; /* 🔹 Necesario para que las aves se ubiquen dentro */
  z-index: 1
}

.ave {
  position: absolute;
  width: 40px; /* tamaño de las aves, puedes ajustar */
  opacity: 0.8;
   z-index: 0; /* 🔹 Las manda detrás del texto */
    filter: brightness(0) saturate(100%) invert(84%) sepia(85%) saturate(400%) hue-rotate(360deg);
}

.ave1 { top: 60px; left: 10%; transform: rotate(-10deg); }
.ave2 { top: 80px; left: 15%; transform: rotate(5deg); }
.ave3 { bottom: 45px; left: 18%; transform: rotate(-15deg); }
.ave4 { top: 40px; left: 15%; transform: rotate(-10deg); }
.ave5 { bottom: 25px; left: 24%; transform: rotate(5deg); }
.ave6 { bottom: 30px; right: 20%; transform: rotate(-15deg); }
.ave7 { top: 30px; right: 10%; transform: rotate(-15deg); }
.ave8 { top: 60px; right: 20%; transform: rotate(-15deg); }

#texto{
  margin-bottom: 1rem;
}

.all-cards{
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    align-items: stretch;

}

.card{
    display: flex;
    flex-direction: column;
    flex: 0 1 500px;
    background-color: rgb(239, 237, 235);
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.card img{
    width: 100%;
  height: 300px;
  object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

.info{
    padding:  2rem 1rem;
    display: flex;
    flex-direction: column;
     flex: 1;
    gap: 15px;}

.title{
    font-size: 1.5rem;
    font-weight:bold;
}

.button-bro{
    display: flex;
    text-decoration: none;
    background-color: #F07D00;
    color: white;
    font-weight: bold;
    width: 70%;
    height: 2.5rem;
    align-self: center;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
      margin-top: auto; 
}

.button-bro:hover {
  background-color: darkorange;
  transform: translateY(-2px);
  transition: 0.2s;
}


.btn-delete img, .btn-edit img{
    width: 50px;
    height: 50px;
}

.btn-agregar {
    display: inline-block; /* o block si quieres que ocupe toda la fila */
    width: 30%; /* ahora sí funciona */
    margin: 20px 0 20px 35%; /* centrado horizontal con margen inferior */
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-agregar:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}


@media (max-width: 900px) {
    .card{
    flex: 0 1 300px;
}

.card img{
    height: 150px;
}

.hero{
    height: 360px;
}

.btn-delete img, .btn-edit img{
    width: 50px;
    height: 50px;
}
}

@media (max-width: 600px) {
    .hero{
       height: 220px;
       font-size: 20px;
    padding: 20px;
    }
    
    .btn-delete img, .btn-edit img{
    width: 50px;
    height: 50px;
}
}
