@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@font-face {
    font-family: "Pokemon";
    src: url(recursos/Pokemon\ Solid.ttf);
}
/*
    font-family: 'Press Start 2P', cursive;
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-style: none;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(45deg,red,blue,green,black);
    background-size: 400% 400%;
    animation: cambiar 10s ease-in-out infinite;
    -webkit-animation: cambiar 10s ease-in-out infinite;
    
}

@keyframes cambiar{
    0%{background-position: 0 50%;}
    50%{background-position: 100% 50%;}
    100%{background-position: 0 50%;}
}

.titulo {
    color:#ffcc03;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
    font-family: "Pokemon";
    font-size: 35px;
    text-transform: uppercase;
    text-shadow: 2px 1.5px #0075BE, 4px 4px #004a79,5px 5px #004a9a, 7px 8px #003ca7,8px 8px #00426b, 9px 9px #0A285F ;
    flex-direction: column;
}

.imagenes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55vh;
}

.imagenes-container .imagen {
    position: relative;
    margin-right: -20;
    display: inline-flex;
    flex-direction: column;
}

.imagenes-container .imagen img {
    width: 250px;
    height: 250px;
    padding: 17px;
    position: relative;
    transition: transform 0.32s ease-in-out;
    -webkit-transition: transform 0.32s ease-in-out;
    -moz-transition: transform 0.32s ease-in-out;
    -ms-transition: transform 0.32s ease-in-out;
    -o-transition: transform 0.32s ease-in-out;
    box-shadow: 5px 1.5px 25px rgb(255, 255, 255);
    animation: cambiar 10s ease-in-out infinite;
    -webkit-animation: cambiar 5s ease-in-out infinite;
    cursor: url(imagenes/2.svg), auto;
}

.imagenes-container .imagen .nombre {
    position: absolute;
    background-color: black;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    color: white;
    display: none;
    min-width: 100px;
    width: 220px;
    top: -95px;
    left: 10px;
    right: 0;
    padding: 20px 15px;
    
    
}

.imagenes-container .imagen .nombre .text{
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    width:  150px;
    text-align: center;
    box-sizing: border-box;
    font-size: 15px;
    text-transform: uppercase;
    text-shadow: 1.2px 1.2px 2px white;
}

.imagenes-container .imagen:hover .nombre {
    display: inline-block;
    transform: translateY(-20px);
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
    
}

.imagenes-container .imagen .nombre::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 1px;
    left: 45%;
    bottom: -20px;
    border-top: 10px solid black;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.imagenes-container .imagen:hover img {
    transition-delay: 0.1s;
    animation: agrandar 1s both;
    -webkit-animation: agrandar 1s both;
}

@keyframes agrandar {
    0% {transform: translateY(0);}
    50% {transform: translateY(-40px) scale(1);}
    100% {transform: translateY(-40px) scale(1.1);}
}

#blastoise:hover {
    filter: drop-shadow(12px 12px 11px #749ccb);
    transition: 1.3s ease-in-out;
    -webkit-filter: drop-shadow(12px 12px 11px #749ccb);
}

#bulbasaur:hover {
    filter: drop-shadow(12px 12px 15px #83ba36);
    transition: 1.3s ease-in-out
}

#charizard:hover {
    filter: drop-shadow(12px 12px 15px #ee8328);
    transition: 1.3s ease-in-out
}

#gengar:hover {
    filter: drop-shadow(12px 12px 15px );
    transition: 1.3s ease-in-out
}

#squirtle:hover {
    filter: drop-shadow(12px 12px 15px #93c8d0);
    transition: 1.3s ease-in-out
}

#blastoise-txt {
   color: 	#749ccb;

}

#bulbasaur-txt {
    color: #83ba36;
}

#charizard-txt {
   color: #ee8328; 
}

#gengar-txt {
    color: #7D78A3;
}

#squirtle-txt {
    color: #93c8d0;
}

@media (max-width:680px) {
    
    
    header.titulo {
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .titulo-text {
        width: 25vh;
        font-size: 2rem;
        margin: 1rem;
        
    }

    .imagenes-container {
        display: flex;
        flex-direction: column;
        
    }
    .imagenes-container .imagen {
        top: 25rem;
    }
    
}