* {
    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;
}
/* hasta aquí el menú, ahora empiezo las novedades*/

.contenedor{
    color: aliceblue;
    border:rgb(212, 255, 193) 2px solid;    
}

.item {
    border: 1px solid yellow;
    width: 50%;
    text-align: center;
}

/*footer*/
.footer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    justify-content: center;
    border: 1px black solid;
    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*/
}

/* TABLA NATURALEZAS */

.tabla{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    justify-content: center;
    border: white 1px solid;
    grid-gap: 1em;
    
}

.nombre{
    color: rgb(92, 166, 231);
    margin: 0 auto;
    text-align: center;
    border:rgb(0, 111, 131) 1px solid;
}

div div.tabla div{
    width: 100%;
    text-align: center;
}

.atq{
    background: rgb(255, 202, 133);
    background: linear-gradient(0deg, rgb(255, 113, 31) 0%, rgba(253,187,45,1) 100%);
}

.def{
    background: rgb(21, 184, 0);
    background: linear-gradient(6deg, rgb(177, 255, 174) 0%, rgb(0, 126, 17) 100%);
}

.atesp{
    background: rgb(243, 155, 255);
    background: linear-gradient(6deg, rgb(255, 15, 223) 0%, rgb(97, 8, 85) 100%);
}

.defesp{
    background: slateblue;
    background: linear-gradient(6deg, rgb(104, 23, 255) 0%, rgb(147, 163, 255) 100%);
}

.vel{
    background: rgb(112, 234, 255);
    background: linear-gradient(6deg, cyan 0%, rgb(65, 217, 255) 100%);
}

/* HOVERS */

div div div:hover{
    color: rgb(26, 26, 26);
    background:rgb(255, 254, 215);
    transition: 1s linear;
    font-size: x-large;
    border: cyan 1px solid;
}