* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.header{
display: flex;
}



.banner{
height: 50%;
width: 100%;
z-index: -1;
}

.boton{
  height: 30%;
  width: 16%;
  position: absolute;
  z-index: 1;
  margin-left: 4%;
  cursor: pointer;
}

.GameW{
  height: 10%;
  width: 7%;
  cursor: pointer;
}

#Game{
  text-align: right;
  position: relative;
  align-items: initial;
  margin: -60px 144px -4px;
}

/* Estilos del menu principal*/

a {
padding: 20px 40px 10px;
}

.principalMenuCategorie li:hover a, .principalMenuCategorie li a:focus {
background-color: cadetblue;
  
}

.principalMenuCategorie li a {
padding: 20px 40px 20px 80px;
}

/* Estilos de las subcategorías del menú principal */
#menu_general {
display: inline-block;
height: 100%;
position: fixed;  
background-color: #fff;
margin-left: 4%;
margin-top: 2.5%;
}

#menu_general li a {
display: flex;
align-items: center;
align-content: center;
text-decoration: none;
font-size: 22px;
line-height: 25px;
color: rgb(0, 0, 0);
justify-content: space-between;
flex-wrap: wrap;
margin-left: -16%;
}

#menu_general li ul {
height: 0;
overflow: hidden;
font-weight: bold;
}

#menu_general li:hover ul, #menu_general li:focus ul {
height: auto;
}

#menu_general li:hover li a, #menu_general li:focus li a {
font-family: 'Marcellus SC';
font-size: 16px;
line-height: 5px;
}

/*Estilos del filtro */

option {
font-size: 11px;
}

h1 {
font-size: 16px;
margin: 20px 20px 20px;
text-align: center;
}

h2 {
font-size: 116px;
color: #ffffff;
text-align: center;
margin: 20px 10px;
margin-top: -14px;
}

p {
font-size: 16px;
margin: 9px 20px;
}

li {
list-style-type: none;
}

div > li {
font-size: 16px;
margin: 3px;
margin-left: 38px;
}

/*Esto es para el buscador del menu principal*/

.container-4{
margin: 2.5% 0;
display: flex;
justify-content: center;
}

.container-4 input#search{
width: 100%;
height: 100%;
margin-top: 0px;
padding: 5%;
background: #336f8f;
border: none;
font-size: 12px;
color: #fff;
padding-left: 15px;
font-family: 'Marcellus SC';

}

.container-4 input#search::-webkit-input-placeholder {
color: white;
border: none;
}
.container-4 button.icon{
border: none;
font-size: 15pt;
margin-top: 0px;
}


/*Estilos del filtro */

#filterCategories {
  text-align: right;
  position: relative;
  align-items: initial;
}

#filterSelection {
  background: #336f8f;
  border-color: #659dbf;
  color: #ffffff;
  padding: 5px;
  margin: 20px 20px;
}

option {
  font-size: 11px;
}


/*------ Estilos tarjetas personajes -----*/

#show, #insertWands, #insertPotterSpells, #filterGryffindor, #filterSlytherin, #insertPotterRavenclaw, #insertPotterHufflepuff, #filterStudents, #filterStaff, #searchResults, #insertPotterCharacter {

display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center; 
color: #ffffff;
margin-left: 270px;
transition: width 2s, height 2s, transform 2s;
}

.pictureCharacter {
display: inline-block;
width: 200px;
height: 270px;
margin: 10%;
}

.card {
width: 350px;
height: 400px;
padding: 20px;
margin: 4px; 
}

.card-inside {
position: relative;
width: 80%;
height: 100%;
top: 40%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d; 
}

.card-front, .card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
margin-top: -50%;
}

.card-front {
background-color: gray;
}

.card-back {
color: #fff ;
transform: rotateY(180deg);
background-color: #3a3a3a;
text-align: left;
}

.card:hover .card-inside{
  transform: rotateY(180deg);
}

/* Tipografias */
.fontNameCharacter{
  font-family: 'Marcellus SC', serif;
  font-size: 20px;
  color: #050505;
}

h1 {
  font-size: 25px;
  margin: 25px 20px 18px -1px;
  text-align: center;
  font-family: 'Marcellus SC', serif;
}

#helloWands{
  color:white;
  text-align: center;
  font-size: 32px;
  margin: 55px 30px 26px 41px;
  font-weight: bold;
}

#helloPatronus{
  color:white;
  text-align: center;
  font-size: 31px;
  margin: 100px 30px 26px 41px;
}

.helloW li{
  text-align: center;
  margin: 16px 30px 16px 45px;
  font-size: 20px;
}

.titlesOcupation{
  font-size: 50px;
  margin: -1px -70px 18px -1px;
  color: #3a3a3a;
}

/*FOOTER*/
.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  height: 75px;
  padding-bottom: 16px;
  background: #111;
  background: rgba(0,0,0,.90);
  z-index:2000;
  margin-top: 10%;
    
}

.box .social {
  text-align: center;
  margin-top: 10px;
  margin-left: 49%;
  height: 50%;
  width: 80%;
  text-decoration: none;
    
  }


  .box .social [class^="fab fa"] {
    text-align: center;
    display: inline;
    color:white;
    text-decoration: none;
    font-size: 20px;
    margin: 3px -28px;
    line-height: 50px;
    cursor: pointer;
    text-decoration: none;
        
    }

    a:link, a:visited, a:active {
      text-decoration:none;
  }

  #developers {
    color:white ;
    text-align: left;
    margin-left: -11%;
    margin-top: -2%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  .menu-icon{
    display: none;
  }

/*RESPONSIVE */

@media (max-width:360px){

nav{
    top: 70px;
    left: 33px;
    width: 56%;
    display: none;

  }

#menu_general{
    display: none;

}

.menu-icon{
  display: block;
  width: 10%;
  height: 12%;
  margin-left: 5%;
  margin-top: 5%;
}

#filterSelection {
   display: none;

}
.boton{
  display: none;

}

  .GameW {
  display: none;
}

#show, #insertWands, #insertPotterSpells, #filterGryffindor, #filterSlytherin, #insertPotterRavenclaw, #insertPotterHufflepuff, #filterStudents, #filterStaff, #searchResults, #insertPotterCharacter {

  display: inline-block;
  flex-direction: column;
  justify-content: center; 
  color: #ffffff;
  margin-left: 30px;
  transition: width 2s, height 2s, transform 2s;
}

.pictureCharacter {
  display: inline-block;
  width: 120px;
  height: 165px;
  margin: 10%;
}

.icon{
  display: none;

}

.card-front, .card-back {
  position: absolute;
  width: 80%;
  height: 80%;
  backface-visibility: hidden;
  margin-top: -30%;
  margin-left: 20%;
}

h1 {
  font-size: 20px;

}

p {
  font-size: 13px;
  margin: 5px 36px;

}

.footer {
  bottom: -15px;
  height: 75%;
  margin-top: 31%; 

}

.box .social {
  text-align: center;
  margin-top: 10px;
  margin-left: 15%;
  height: 52%;
  width: 69%;

}

#developers {
color: white;
text-align: center;
margin-left: -2%;
margin-top: -2%;
width: 100%;

}

.iconMenu1, .iconMenu2{
  display: none;

}

.GameW, #Game{
  display: none;

}

.titlesOcupation {
 display: none;

}

}
  

@media (max-width:768px){
  .boton{
    height: 12%;
    width: 15%;
    margin-left: 9%; 
    margin-top: 0%;

}

.icon-search {
  cursor: pointer;
  color: #000000;
  margin-top: -14px;
  font-size: 24px;
  left: 86%;
  position: absolute;
  z-index: 1;
}

.searchbar {
width: 30%;
height: 30%;

}

.titlesOcupation {
  font-size: 28px;
  margin: -1px -194px 18px -1px;
}

#developers {
  margin-left: -19%;
 
}

.GameW, #Game{
  display: none;

}

#filterSelection {
  background: #336f8f;
  border-color: #659dbf;
  color: #ffffff;
  padding: 5px;
  margin: 23px 69px;
}

#show, #insertWands, #insertPotterSpells, #filterGryffindor, #filterSlytherin, #insertPotterRavenclaw, #insertPotterHufflepuff, #filterStudents, #filterStaff, #searchResults, #insertPotterCharacter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  color: #ffffff;
  margin-left: -4px;
  transition: width 2s, height 2s, transform 2s;
  margin-top: 19%;
} 

.titlesOcupation {
  font-size: 64px;
  margin: 14px -194px 32px 283px;
  width: 56%;
  height: 50%;
  padding: 4%;
}

.box .social {
  text-align: center;
  margin-top: 10px;
  margin-left: 49%;
  height: 52%;
  width: 69%;
  text-decoration: none;
}

}

