header {
    outline-color: #333;
    outline-style: solid;
    outline-width: 5px;
    background-color: #ffcc00;
    padding: 20px;
    text-align: center; 
}

.header-title {
    position: relative;
    display:  flex;
    align-items: center;
    justify-content: center;
}

.voltorb-img-1 {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: auto;
    margin-left: 10px;
    margin-right: 30px;
}

.onomatopeya-der {
    position: absolute;
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px black;
    animation: pop 1s ease-out forwards;
    opacity: 0;
    right: 0;
    top: 90%;
    transform: translateY(+60%);
    margin-left: 10px;
    margin-right: 30px;
}

.voltorb-img-2 {
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: auto;
    margin-right: 10px;
    margin-left: 30px;
}

.onomatopeya-izq {
    position: absolute;
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: rgb(255, 255, 255);
    -webkit-text-stroke: 1px black;
    animation: pop 1s ease-out forwards;
    opacity: 0;
    left: 0;
    top: 90%;
    transform: translateY(+60%);
    margin-right: 10px;
    margin-left: 25px;
}

body {
    font-family: 'Bangers', cursive;
    border: 10px solid #333;
    margin: 0;
    background-color: #fdfdfd;
    padding: 0px;
    background-image: url("images/fondoPokemon.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-color: #fdfdfd;
}

p {
    font-family: 'Bangers', sans-serif;
    letter-spacing: 1px;
    color: black;
}

p.descripcion {
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
    color: rgb(38, 38, 38);
}

p.p-pie {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    color: white;
}

h1 {
    color: #ffffff;
    font-size: 64px;
    -webkit-text-stroke: 1.5px black;
}

h2 {
    color: white;
    -webkit-text-stroke: 1px black;
    letter-spacing: 3px;
    font-family: 'Bangers', bold;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: linenone;
    color: #333;
}

main {
    padding: 20px;
    float: center;
    min-height: 60vh;
}

.generaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 24px;
    min-height: 60vh;
}

section {
    border: 5px solid #333;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.inicio-section {
    background-color: #ffcc00;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 24px 24px 0 24px;
    text-align: center;
    line-height: 25px;
}

.imagenes-iniciales {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.imagenes-iniciales img {
    transition: transform 0.2s;
    cursor: pointer;
}

.imagenes-iniciales img:hover {
    transform: scale(1.15);
}

footer {
    text-align: center;
    background-color: #333;
    margin-bottom: 0px;
    margin-top: auto;
    padding: 15px;
    color: white;
}


@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
    