/*reset*/

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
}

/*body pagina principal*/
body{
    background-color: rgba(219, 219, 219, 0.74);
}
.layout{
    display:grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

/*navegación*/

.cabeza { 
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.img-logo{
    display: block;
    width: 120px;
    height: 120px;
    margin-left: 1rem;
    margin-top: 1rem;
}

.img-logo img{
    max-width:100%;
}

.botones {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    justify-content: center;
    color: #090909;
    padding: 0.7rem 1.7rem;
    font-size: 16px;
    border-radius: 1rem;
    background: #e8e8e8;
    cursor: pointer;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    box-shadow: 4px 4px 8px #c5c5c5, -4px -4px 8px #ffffff;
}
.botones:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}
.nav-inicio {
    display: flex;
    flex-direction: column;
    width: 90px;
    gap: 1.5rem;
    margin-left: 0.5rem;
    margin-bottom: 1.5rem;
}

.iconos-menu{
    width: 2rem;
    height: 1.5rem;
    margin-right: 0.2rem;
}

/* contenido */

 h1{
    margin-top: 1rem;
    text-decoration: underline;
    color: #000000;
    font-size: 1.7rem;
}

main h2{
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    color: #000000;
    font-size: 2rem;
}
.texto-corto{
    color: #000000;
    font-size: 1.7rem;
    font-style: italic;
    padding-right: 0.5rem;
}
.texto-largo{
    color: #000000;
    font-size: 1.7rem;
    font-style: italic;
    padding-right: 0.5rem;
    padding-left: 0.5rem;   
}

.listas {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.galeria {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-left: 0.5rem;
}

.visual {
    width: 120px;
    height: 120px;
    background-color: black;
}


/* footer*/
footer {
    display: flex;
    background-color: #888888;
    justify-content: center; 
}
footer summary{
    display: flex;
    justify-content: center;
    color: rgb(196, 202, 168);
    font-size: 1rem;
}
.pies{
    display: flex;
    background-color: #888888;
    justify-content: center; 
}

/*tablet*/

@media (min-width: 768px){
.layout{
    display: flex;
    flex-direction: column;
 }

 .cabeza h1{
    flex-wrap: wrap;
    margin-left: 2rem;
 }
 .cabeza {
        margin-bottom: 2rem;
 }
 .nav-inicio{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
 }
 .galeria{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
 }
 .visual{
     width: 140px;
     height: 140px;
 }
 h1{
     font-size: 3rem;
 }
 .texto-corto{
     font-size: 2rem;
 }
 .texto-largo{
    font-size: 2rem;
 }
}

@media (min-width: 1024px) {
 .botones{   
     padding: 1.4rem 3.4rem;
     font-size: 2rem;
     }
 .iconos-menu{
     width: 3rem;
     height: 2.5rem;
     margin-right: 0.5rem;
     }
 .visual{
     width: 180px;
     height: 180px;
     }    
 .texto{
    font-size: 2rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
 }     
}


/*CPU* gpu*/

.visual-componente{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.ico-componente{
    width: 200px;
    height: 170px;
}
.nav-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.texto-cpu{
    margin-left:0.5rem ;
    margin-right:0.5rem ;
    font-size: 1.5rem ;

}
.botones-2 {
    display: flex;
    flex-direction: row;
    gap: 2px;
    align-items: center;
    justify-content: center;
    color: #090909;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    border-radius: 1rem;
    background: #e8e8e8;
    cursor: pointer;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    box-shadow: 4px 4px 8px #c5c5c5, -4px -4px 8px #ffffff;
}
.botones-2:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}



.comparacion-cpu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
