* {
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 0.5em;
    margin: 0 auto;
    color: aliceblue;
    background-color: rgb(32,32,32);
}

#banner {
    top: 0;
    position: relative;
    display: flex;
    align-items: center;   
    z-index: 1;

    background-image: url("../img/banner.png");
    width: 100%;
    height: 20vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgb(32,32,32);;
}

#menu {
    top: 0px;
    position: sticky;
    display: flex;
    margin: 2em;
    align-content: center;
    text-align: center;
    background-color: rgb(32, 32, 32);
}

.mainmenu {
    border: 2px white solid;
}

#menu ul {
    list-style-type: none;

}

#menu ul li {
    position: relative;
    display: inline-block;
    width: 140px;
}

#menu ul li a {
    display: inline-block;
    width: 120px;
    color: white;
    text-decoration: none;
    padding: 0.5em;
    font-size: 14px;
}

#menu ul li ul {
    position: absolute;
    top: 50px;
    left: -10px;
}

#menu ul li ul li{
    width: 130px;
}


#menu ul li ul li ul{
    position: absolute;
    left: 130px;
    top: -1px;
}


#menu ul li:hover a {
    color: rgb(0, 111, 131);
    border: rgb(0, 0, 0) solid 1px;
    transition: all 1s;
    background-color: rgb(179, 179, 179);
}

#menu ul li ul li:hover a {
    color: rgb(0, 0, 0);
}

#menu ul li ul li ul li:hover a {
    color: rgb(0, 111, 131);
    border: rgb(0, 0, 0) solid 1px;
}

#menu ul li ul {
    display: none;
}

#menu ul li ul li ul li{
    display: none;
}

#menu ul li:hover ul {
    display: block;

}

#menu ul li ul li:hover ul li{
    display: block;
}

#noticia {
    display: -ms-inline-grid;
    width: 600px;
    padding: 2.5em;
}

.noticias {
    margin: 1em auto;
    display: flex;
    align-items: center;
}
.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    justify-content: center;
    grid-template-areas: /*asignación de áreas del grid a cosas concretas*/
    "nintendo gamefreak pokemonlogo"
    "copy copy copy";
    width: 80%;
    height: 5vh;
}

.nintendo{
    background-image: url("../img/Nintendo.png");
    width: 100%;
    height: 20vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: nintendo; /*área de nintendo*/
}

.gamefreak{
    background-image: url("../img/gamefreak.jpg");
    width: 100%;
    height: 20vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: gamefreak; /*área de gamefreak*/
}

.pokemonlogo{
    background-image: url("../img/pokemonlogo.png");
    width: 100%;
    height: 20vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: pokemonlogo; /*área de pokemonlogo*/
}

.copy{
    color: aliceblue;
    justify-self: center;
    grid-area: copy; /*área del copy*/
    grid-column: 1/4; /*con esto expando las celdas a todas las columnas*/
}


/*prueba de galería*/

h1{
    border-bottom: 1px rgb(32, 32, 32) solid;
    text-align: center;
}

#general {
    display: grid;
    grid-template-columns: repeat(18, 1fr);
    grid-auto-rows: min-content;

}

.miniatura{
    display: inline-block;
    width: 100%;
    height: auto;

}

.maxi{
    display: none;
    top: 220px;
    width: 600px;
    height: 300px;
    position: fixed;
    top: 20%;
    left: 50%;
}

div div div img:hover{
    border: 1px aliceblue solid;
}

div div div:hover > div.maxi{
    display: inline-block; 
}

img.mini{
    width: 200%;
    height: auto;
    display: block;
}

img.imagen{
    width: 600px;
    height: auto;
    top: 0;
}

