* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: rgb(77, 5, 5);
    color: rgb(250, 253, 253);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.main-content {
  flex: 1;
}

header {
    display: flex;
    justify-content: center;
    font-family: unset;
}

.h1 {
    padding: 30px;
    font-size: clamp(2rem, 5vw, 3.5rem); /*Evita px fijos para texto. Usa em, rem o clamp() para que escale bien */
    font-family: "Poppins", sans-serif;
    transform: scale(1); /* Valor inicial normal */
    transition: transform 0.3s ease, color 0.5s ease;
}

.h1:hover {
    color: greenyellow;
    transform: scale(1.1); /* Aumenta ligeramente al pasar el mouse */
     text-shadow: 0 0 10px greenyellow;
}

.text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

h2 {
    color: aliceblue;
    padding: 20px;
    font-family: "Poppins", sans-serif;
    transform: scale(1); /* Valor inicial normal */
    transition: transform 0.3s ease, color 0.5s ease;
}

h2:hover {
    color: rgb(23, 192, 79);
    transform: scale(1.1); /* Aumenta ligeramente al pasar el mouse */
     text-shadow: 0 0 10px greenyellow;
}

.button {
    width: 100px;
    height: 50px;
    background-color: greenyellow;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: 0.25s;
}

.button:hover {
    background-color: aqua;
    border-radius: 15px;
    cursor: pointer;
}

.text {
    display: flex;
    justify-content: center;align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  padding-bottom: 20px;
}

.container p{
    max-width: 750px;
}

.dinoImg {
    max-height: 300px;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
     width: 100%;
    height: auto;
    padding: 0 20px;
}

.textContainer {
    margin: 10 20;
}

.dinoDescription {
  margin: 10px 0;
  padding: 0 20px; /* Agrega espacio lateral */
  text-align: center;
}


.footer {
height: 50px;
background-color: blanchedalmond;
text-align: center;
color: black;

}

.footer p{
font-weight: bold;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .container {
    flex-direction: column;
    gap: 15px;
  }

  .button {
    width: 80%;
  }
}
