/* || SETUP GENERAL */
html, body {
  margin: 0 auto;
  padding: 0;
}

html {
  font-size: 20px;
  background-color: white;
}

body { 
    width: 100%; 
    margin: 0 auto;
}

main {
    width: 100%;
    margin: 0 auto;
}

/* || TIPOGRAFÍAS */

h1 {
font-size: 1.2em;
font-family: 'Work Sans', sans-serif;
color: black; 
text-transform: uppercase; 
font-weight: 300; 
}

nav ul li {
font-size: 1.2em;
font-family: 'Work Sans', sans-serif;
color: black; 
text-transform: uppercase; 
list-style: none;
font-weight: 400;

}

p {
font-size: 1.8em;
font-family: 'Helvetica Nueu', sans-serif;
color: black; 
font-weight: 300;
}

main .enlaces p {
font-size: 1.8em;
font-family: 'Helvetica', sans-serif;
color: black; 
}


/* || HEADER LAYOUT */


.layout {
margin-left: 3em;
margin-right: 3em;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 30px
}

.columna {
background-color: blue;
height: 1em;
width: 100%;
}

header {
display: flex;
flex-direction: row;
align-items: first baseline;
justify-content: space-between;
margin-left: 3em; 
margin-right: 3em;
}

nav ul {
display: grid;
grid-template-columns: 6.8em 12em 14em 6.8em;
column-gap: 30px;
}

nav ul li {
text-align: right;
}

header a {
text-decoration: none;
color: black;
}

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

header a:hover {
font-weight: 300;
}

/* || MAIN LAYOUT */


.contenedor1 {
margin-left: 3em;
margin-right: 3em;
margin-top: 5em; 
margin-bottom: 4em;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}

.descripcion {
padding-right: 8.5em;
}


.enlaces{
margin-left: 3em;
margin-right: 3em;
}

.descripcion p a, .enlaces p a {
text-decoration: none;
color: blue;
}

span {
color: blue;
}

.enlaces p {
line-height: 0.5;
}

/* || SMARTPHONES/VERTICAL LAYOUT */

@media screen and (max-width: 992px) {
.layout {
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}
}

@media screen and (max-width: 992px) {

header {
  display: flex;
  flex-direction: row;
  align-items: first baseline;
  margin-left: 1.5em;
  margin-right: 1.5em;
}

h1 {
  font-size: 1em;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

nav ul li {
  font-size: 1em;
  text-align: left;
}

.contenedor1 {
  display: block;
  margin-left: 1.5em;
  margin-right: 1.5em;
}
.descripcion{
  display: block; 
  padding: 0.2em;
}

img{
width: 100%;
}

.enlaces {
  margin-left: 1.5em;
  margin-right: 1.5em;
}

.enlaces p{
  line-height: normal; 
}
}