/**************************** ESTILO GENERAL ****************************/

@font-face {
  font-family: titulos;
  src: url(../fonts/Downcome/DOWNCOME.TTF);
}

@font-face {
  font-family: textos;
  src: url(../fonts/Merriweather/Merriweather-Regular.ttf);
}

* {box-sizing: border-box;}

body {margin: 0; padding: 0;
    font-family: textos;
    background-color: black;
}

#wrapper {width: 90%;
        background-color: rgb(58, 58, 58);
        margin: auto;
        color: white;
}

/****************************** ESTILO DE NAV ******************************/

nav {position: sticky;
    top: 0;
    z-index: 999;
}

.topnav {background-color: grey;
        overflow: hidden;
}

.topnav a {float: left;
          display: block;
          text-decoration: none;
          color: white;
          text-align: center;
          padding: 14px 16px;
          font-family: titulos;
          font-size: 25px;
          transition: 0.3s;
}

.topnav a:hover {background-color: black;
                color: darkred;
}

.topnav .icon {
 display: none;
 padding: 14px;
}

@media screen and (max-width: 800px) {
 .topnav a:not(:first-child) {display: none;}
 .topnav a.icon {
   float: right;
   display: block;
 }
}

@media screen and (max-width: 800px) {
 .topnav.responsive {position: relative;}
 .topnav.responsive a.icon {
   position: absolute;
   right: 0;
   top: 0;
 }
 .topnav.responsive a {
   float: none;
   display: block;
   text-align: left;
 }
}

/**************************** ESTILO PERSONAJES ****************************/

#contenido {padding-left: 8%;
            padding-right: 8%;
            padding-bottom: 3%;
}

h1 {font-weight: normal;
    font-family: titulos;
    font-size: 4rem;
    color: darkred;
    text-align: center;
}

p {text-align: justify;
   padding: 2%;
}

img {width: 20%;
     float: right;
     margin-top: 3%;
     margin-left: 3%;
     margin-bottom: 3%;
}

#Limpiar {clear:both;} /* Para desactivar el float left/right */

/**************************** MEDIA QUERIES ****************************/

@media only screen and (width<=1000px){
    #wrapper {width: 90%;}
    img {width: 30%;}
}

@media only screen and (width<=600px){
    #wrapper {width: 100%;}
    img {float: none;
         width: 100%;}
}