/*header*/
* {
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 0.5em;
    margin: 0 auto;
    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*/

.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*/
}

/*formularios de contacto*/
body {
    background-color: rgb(32,32,32);

	font-family: Arial, sans-serif;
}

h1 {
	text-align: center;
    color: aliceblue;

}

form {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px;
	background-color: #fff;
	border-radius: 15px;
    background-color: rgb(179, 179, 179)
}

label {
	display: block;
	margin-bottom: 5px;
}

div {
    display: inline-block;
    margin: 20px;
}

input{
    display:block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: rgb(32, 32, 32) 1px solid;
}

select {
	display: block;
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	border: rgb(32, 32, 32) 1px solid;
}

input[type="radio"]{/*esto me selecciona el de entrada circular (el de género)*/
    display: inline-box;

}

input[type="checkbox"] { /*este me selecciona las cajitas (tipo de pokémon favorito)*/
	display: inline-block;
}

input[type="submit"] { /*botón de enviar*/
	background-color: rgb(32, 32, 32);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	border: none;
}

input[type="submit"]:hover {
	background-color: #979797;
}
