* {
    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;

    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*/
}

/* Cosas de index.html */
h2{
    text-align: center;
    color: aliceblue;
    border-bottom: aliceblue 1px solid;
}

/*botones instagram y fb y tktk*/

.redes{
    display: flex;
    justify-content: center;
}

.instagram{
    font-size: 1.1em;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none; /*quitamos el subrayado*/
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.facebook{
    font-size: 1.1em;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    background: #3A5795;
    background: linear-gradient(to bottom, #3A5795 0%, #2B4886 100%);
}

.tiktok{
    font-size: 1.1em;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    background: black;
    background: linear-gradient(to top,magenta 0%, black 50%, cyan 100%);

}

div.opcion_padre{
    display: inline-block;
    border: black solid 1px;
    width: 20%;
    text-align: center;
}

div.opcion{
   visibility: collapse;
   display: inline-block;
}

.padre:hover div{
    visibility: visible;
    border:aliceblue 1px solid;
    border-radius: 10px;
    text-align: center;
}

.opcion img{
    width: 100px;
    height: 100px;

}

