/**
 * Feuille de style pour la vue histoire
 *
 * @author Aurélien Monnat
 * @since 03.06.2024
 */

.gen, .gen th, .gen td {
    border-style: solid;
    border-color: black;
    border-collapse: collapse;
}

.gen {
    margin-bottom: 10px;
}

.gen td {
    text-align: center;
}

.titres {
    text-align: left;
}

.numeros {
    text-align: right;
    padding-right: 10px;
}

#contenuEtTab {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#infos-gen {
    margin: auto;
    transition: all 0.5s ease; /* Transition de toutes les propriétés */
    overflow: hidden; /* Pour gérer les changements de hauteur en douceur */
}

#satoshi-img, #ken-img {
    width: 150px;
    display: none;
    position: absolute;
    transition: 0.75s;
}

#satoshi, #ken {
    color: blue;
}

#satoshi:hover #satoshi-img, #ken:hover #ken-img {
    display: block;
    border: 7px solid #a4a4a4;
    border-radius: 25px;
    margin: 0;
    transition: 0.75s;
}

#satoshi:hover, #ken:hover {
    color: rgb(43, 49, 226);
    text-decoration: underline;
}

.texte-debut > p {
    font-size: 16pt;
    font-weight: 100;
}

.a-img {
    display: inline-flex;
    flex-direction: column;
}

#ville-poke {
    width: 75%;
}

.ville-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.typesTab {
    width: 35%;
    height: 100%;
}

.sprites {
    width: 40%;
}

.imageType {
    width: 50%;
}

.imagePokemon {
    display: block;
}

.shinyImagePokemon {
    display: none;
}

.imagePokemon, .shinyImagePokemon {
    width: 100%;
}

#generations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

#generations > button {
    height: 50px;
    width: 150px;
    background-color: #a3a5ac;
    border-radius: 15px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    text-decoration: none;
    transition: 0.5s;
}

#generations > button:hover {
    transform: scale(1.1);
    background-color: #6f6f78;
    transition: 0.5s;
}