
/* reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
 
/* estilos del header */
 header{
    background-color:#2b2b2b79;
    margin: 10px;
    border: 5px solid black
}

/* estilo de imagen del header */
header img{
    margin-left: 5%;
    margin-top: 3%;
    border: 5px solid black;
    width: 10%; 
}

/* estilo del menu de navegacion del header */
header nav ul{
 text-align: left;
 list-style: none;
 margin-left: 95px;
}


/* estilos del main */


main{
    background-color: black;
    margin: 10px;
    padding: 10px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border: 10px solid tomato;
}
/* estilos del titulo y subtilo del main */
main h1{
    text-align: center;
    background-color:brown;
    color: black;
    padding: 20px;
    margin-bottom: 10px;
    border: 5px solid white;
}

main h2{
    text-align: center;
    background-color: rgb(245, 245, 220);
    width: 40%;
    margin-left: 30%;
    margin-bottom: 10%;
    border: 5px solid yellow;
}

/* estilos de logos de main*/
.logo-uno{
    width: 200px;
    margin-left: 15%;
    margin-top: 8%;
    background-color: whitesmoke;
}

.logo-dos{
    width: 200px;
    margin-left: 16%;
     margin-top: 8%;
    background-color: whitesmoke
}
.logo-tres{
    margin-top: 8%;
    width: 200px;
    margin-left: 16%;
     background-color: whitesmoke
}

/* estilos main section*/
section{
    display: flex;
    justify-content: center;
    text-align: center;
    color: whitesmoke;
    gap: 20%;
    flex-wrap: wrap;
}

section div img{
    width: 80%;
    background-color: rgb(178, 181, 85);
    border: 2px solid rgb(255, 64, 0);
}


main .img-local{
    padding-left: 10px;
    text-align: center;
    color: aquamarine;
}

/* footer */
footer{
    color: whitesmoke;
    text-align: center;
    margin: 10px 10px;
    padding: 20px;
    border: 10px solid tomato;
    background-color: gray;
}
    
/* mq desktop */
@media (min-width: 1024px){ 
    main section div{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows:repeat(3,80px);
    width: 30%;
    
}
}

/* mq mobile */
@media (max-width: 600px){
    main section div{
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: repeat(2, 150px); 
    }
}
