body {
    width: 100%;
    margin: 0px auto;
    padding: 0;
    background-image: url(https://www.gifss.com/images/fondo.jpg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-attachment: fixed;
}

/*Cabecera*/
.contenedor-logo {
    max-width: 960px;
    border: 3px solid #fff;
    border-bottom: none;
    box-shadow: 0 0 40px #C3D9FF;
    margin: 0 auto;

}

#logo {
    width: 100%;
    margin: 0 auto;
    display: block;
}

header {
    max-width: 960px;
    background: #fff;
    margin: 0 auto;
}

#btn-menu {
    display: none;

}

header label {
    display: none;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-right: 1px solid #fff;
}

header label:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3)
}

.menu {
    max-width: 100%;
    background: #336699;
    border: 3px solid #fff;
}

.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;

}

.menu li {
    width: 25%;
    border-right: 1px solid #fff;
    flex-grow: 1;
    text-align: center;
}

.menu li:hover {
    background: rgba(0, 0, 0, 0.3)
}

.menu li a {
    display: block;
    padding: 10px 5px;
    color: #fff;
    text-decoration: none;
}

.menu li a:hover {
    color: #ffff00;
}
/*fin de Cabecera*/

/*inicio @media de cabecera*/

@media (max-width:768px) {


    header label {
        display: block;
        padding: 2px;
        

    }


    .menu {
        position:absolute;
        background: #336699;
        width:30%;
        margin-left: -70%;
        transition: 0.5s;
        font-size: 0.8em;
        border:none;
    }

    .menu ul {
        flex-direction: column;
    }

    .menu li {
        width: 100%;
        border-top: 1px solid #fff;

    }

    .main {
        position: absolute;
    
    }

    #btn-menu:checked ~ .menu {
        margin: 0px;

    }



}
/*fin @media de cabecera*/
main {
    display: block;
    max-width: 960px;
    margin: auto;
    
    background: white;
    box-shadow: 0 0 40px #C3D9FF;
    justify-content: center;


}

.titulo { 
  font-family: 'Calibri';
  text-align: center;
  margin: auto;
  font-size: 24px;
}

/*cuerpo*/
section {
    width: 100%;
    margin: auto;
    text-align: center;

}

.container {
    display: grid;
    max-width: 960px;
    grid-template-columns: 200px 200px 200px 200px;
    grid-template-rows: 150px 150px 150px 150px 150px;
    margin-left: 15px;
    margin-right: 15px;
    justify-content:center;
    grid-gap: 1rem;

  
}
.item{
    display: grid;
    justify-content: center;
    align-content: center;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 8px 8px rgba(0, 0, 0, 0.23);
    border-radius: 10px;
    border: 2px solid #C3D9FF;
  
}

.item2{
    display: grid;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    
  
}
.container>div>a {
    color:#336699;
    text-decoration: none;
    background-color: #C3D9FF;
    border-radius: 4px;
    border: 1px solid #fff;


}
.container>div>a:hover{ 
     cursor: pointer;
    background-color: #15426E;
     color: #ffff00;
    }

h2 {
  font-family: 'Calibri';
  color: #454545;
  text-align: center;
  margin: auto;
  margin-bottom: 5px;
  font-size: 1.3em;
  letter-spacing: 1px;

}

h4, h5, h6 {
  font-size: 1.2em;
  color: black;
}

/*fin de cuerpo*/
/*Inicio seccion gifs*/
.me-gusta {
    width: 100%;
    padding: 10px;
    text-align: center;
}

.relacionados {
    max-width: 960px;
    margin:0 auto;
    font-family: 'Calibri';
    font-size: 1.2em;
    font-weight: bold;
    background-color: #fff;
    text-align: center;
    color: #336699;
}

aside {
    display: grid;
    justify-content: center;
}
.adsense728 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;

}

.comentario { 
    text-align: left;
    padding: 10px;
    margin-left: 10px;
}
/*seccion*/

.secciones {
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    flex-flow: wrap;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 40px #C3D9FF;
    max-width: 960px;
    margin: auto;
}
.enlaces {
    box-sizing: border-box;

}
.enlaces ul {
    list-style-type: circle;
    margin-top: 5px;
    margin-bottom: 5px;
}

.enlaces ul li {
    margin-top: 5px;
    margin-bottom: 5px;

}

.lista {
    color: #000080;
    text-decoration: none;
    font-size: 1em;
}


.lista:hover {
    color: #336699;
    text-decoration: underline;
}

.enlace-2 {
    color: #336699;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin: auto;
    margin-top: 10px;
} 

/* OTHER STYLES */


/*fin de seccion*/
/*inicio footer*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    

}

footer {
    max-width: 960px;
    background: #4282C1;
    color: #E7E7E7;
    margin: auto;
    border: 3px solid #fff;
    box-shadow: 0 0 40px #C3D9FF;


}

.container-footer-all {
    width: 100%;
    margin: auto;
    padding: 20px;

}


.container-body {

    display: flex;
    justify-content:space-around;
}

.column1 {
    max-width: 320px;
}

.column1 p {
    color: #E7E7E7;
    font-size:  1em;
    padding-top: 20px;
    line-height: 30px;
}

.column2 {
    max-width: 320px;
    
}

.row {
    margin-top: 20px;
    display: flex;
    font-size: 1em;
    align-items: center
}

.row img {
    width: 36px;
    height: 36px;
}

.row label {
    margin-top: 0px;
    margin-left: 20px;
    color: #E7E7E7;

}

.column3 {
    max-width: 320px;
    

}

.row2 {
    display: flex;
    margin-top: 20px;
    font-size:  1em;
    align-items: center

}

.row2 img {
    width: 35px;
    height: 35px;
    margin: 3px;
}


.list li a {
    color: #FFF;
    
    margin-left: 20px;
    
}

.list li {
    list-style: none;

}

.list a {
    color: #fff;
    text-decoration: none;

}

.list a:hover {
    color:#ffff00;
    text-decoration: underline;
} 

.container-footer {
    width: 100%;
    border-top: 1px solid #fff;
    background-color: #336699;
    display: flex;
    padding: 15px;
    justify-content: center;
}

.copyright a {
    color: #ffff00;
    text-decoration: none
}

@media screen and (max-width:700px) {
    footer {
        border:1px solid #fff;
    }
    .container-body {

    flex-wrap: wrap;
    justify-content: flex-start

    }

    .column1, .column2,.column3 {
        padding-left: 5px;
    }
    
    .column1,
    .column2 {
        padding-bottom: 20px
    }
    
    .enlaces {
    width: 30%;


}
}
/*fin footer*/

/*Inicio @media*/
@media(min-width: 400px) {
    .publi_hogar {
        width: 468px;
        height: 60px;
    }
}

@media(min-width: 750px) {
    .publi_hogar {
        width: 728px;
        height: 90px;
    }
}
@media screen and (max-width:840px) {
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(7,130px) ;
    font-size: 1rem;
    margin-left: 15px;
    margin-right: 15px;
 }
    .container>div>img {
        max-width: 90%;
        max-height: 90%;
        margin: auto;
        padding: 4px;
    }  
    
 } 
@media screen and (max-width:620px) {
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(10,125px) ;
    font-size: 0.9rem;
    margin-left: 15px;
    margin-right: 15px;
 }
   .container>div>img {
        margin: auto;
        padding: 5px;

    }
    
.item{
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #C3D9FF;
  
}
    
    .item a{
        margin-top: 5px;
    }
    
 } 
@media screen and (max-width:600px) {
        

.titulo {
  margin-top: 5px;
  font-size: 19px;
  color: #454545;
}
 
 .relacionados { 
    font-size: 1.1em;
}
    
h2 {
  font-family: 'Calibri';
  font-size: 1.1em;
}   
        
}

