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


body{
  background-color: rgb(255, 255, 255);
  min-height: 100vh;
  margin: 0 auto;
  font-family: Helvetica;
  font-size: 1.2rem;
  display: grid;
  grid-template: 
    "header" 
    "hero" 400px
    "main" 
    "footer"  
}

.header{
    grid-area: header;
}

.hero{
    grid-area: hero;
    background-color: rgb(211, 4, 0);
}

.main{
    grid-area: main;
    background-color: rgb(255, 255, 255);
}

.footer{
    grid-area: footer;
}

.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #e20000;
     color: rgb(255, 255, 255);
     font-size: 1.5rem;
     position: relative;

     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); }


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

.card {
    background: hsl(30, 100%, 56%);
    flex: 1 1 500px;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    transition: transform 0.2s ease;
    height: auto;
    margin: 1rem;
    color: white;
}

.card:hover {
    transform: translateY(-5px);
}

.title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.video iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 5px;
}

.tipo_titulo-container {
    text-align: center;
}


.tipo_titulo {
    display: inline-block;
    font-weight: bold;
    font-size: 1.8rem;
    margin: 40px auto 5px;
    text-transform: uppercase;
    padding: .5rem .5rem .1rem;
    border-radius: 1.5em;
    border: 4px solid orange
}

.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: 600px) {
    body{
        grid-template: 
        "header" 
        "hero" 150px
        "main" 
        "footer" 
        
    }
    
    .card{
        max-width: 350px;
    }

    .video iframe{
        height: 200px;
    }
}

