@import url('https://fonts.googleapis.com/css?family=Merriweather|Roboto:300');

:root {
  --primary: #F9F9F9;
  --dark: #333;
  --light: #fff;
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  --title: "Merriweather", serif;
  --body: "Roboto", sans-serif
}

html {
  box-sizing: border-box;
  color: var(--dark);
}

body {
  background: #F7F9FB;
  margin: 0 10px;
  line-height: 1.4;
}

.title {
  font-family: 'Merriweather', serif;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0;
  width: auto;
  height: auto;
  color: white;
  text-align: center;
}

.header {
  background: url('https://images.pexels.com/photos/109629/pexels-photo-109629.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 300px;
}

.contenedorIco h1 {
  font-family: 'Merriweather', serif;
  margin-left: 5%;
}

.contenedorIco hr {
  margin-left: -5%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  background-color: #1A1A1D;
  height: 30px;
  list-style: none;
  padding: 0;
}

nav a {
  margin-left: 10px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.8rem;
  color: var(--light);
  text-align: center;
  font-size: 0.7rem;
  font-family: "Merriweather", serif;
  margin-top: 15px;
}

li::before {
  content: '';
  display: block;
  background: white;
  height: 2px;
  margin-left: 8%;
  width: 0%;
}

li:hover::before {
  animation-name: before;
  animation-duration: 1s;
  animation-direction: reverse;
}

@keyframes before {
  0% {
    background: white;
    width: 0%;
  }
  50% {
    background: white;
    width: 90%;
  }
  100% {
    background: white;
    width: 0%;
  }
};

nav li:hover {
  transform: scale(1.03);
}

.contenedorIco {
  display: grid;
  grid-template-columns: 6fr 1fr;
}

.iconos {
display: flex;
justify-content: flex-end;
margin: 0 auto;
font-size: 40px;
margin-top: 3%;
margin-bottom: -40px;
transition: ease-in 500ms;
}

.btntw {
  color: #55ACEE;
  margin-left: 5px;
}

.btnig {
  color: #e95950;
  margin-left: 5px;
}

.btnf {
  color: #3b5998;
}

.iconosfooter {
  display: flex;
  justify-content: space-between;
  width: 7%;
  margin: 0 auto;
  font-size: 20px;
  margin-bottom: 10px;
}

footer .btntwi {
  color: #FFF;
}

footer .btnins {
  color: #FFF;
}

footer .btnfa {
  color: #FFF;
}

.organizer {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  font-family: "Merriweather", serif;
  width: 80%;
  margin-left: 10%;
}

.headarticle {
  width: 90%;
  margin-top: 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
}

.two {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.one {
  width: 100%;
}

.big1 {
  background: url('https://images.pexels.com/photos/356844/pexels-photo-356844.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  color: var(--dark);
  height: 300px;
  width: 450px;
  margin-left: 20px;
  margin-top: -2rem;
  box-shadow: var(--shadow);
}

.big2 {
  background: url('https://cdn.civitatis.com/paises-bajos/amsterdam/galeria/casas-barco-amsterdam.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  color: var(--dark);
  height: 300px;
  width: 450px;
  margin-left: 20px;
  margin-top: -2rem;
  box-shadow: var(--shadow);
}

.contenedor {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr;
  grid-template-rows: 130px;
  width: 90%;
  margin-top: 2rem;
  margin-left: 5%;
}

.uno {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: flex-start;
  box-shadow: var(--shadow);
  height: 130px;
}

.dos {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: flex-start;
  box-shadow: var(--shadow);
  height: 130px;
}

.tres {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: flex-start;
  box-shadow: var(--shadow);
  height: 130px;
}

.cuatro {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: flex-start;
  box-shadow: var(--shadow);
  height: 130px;
}

.img {
  height: 100%;
  top: 5%;
  width: 170px;
}

.info {
  height: 120px;
  width: 100%;
  text-align: justify;
  padding: 15px;
  padding-top: 0;
  font-family: "Roboto", sans-serif;
}

.info h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
  font-style: "Merriweather", serif;
}

.info p {
  font-size: 15px;
  margin-top: 0;
  font-style: "Robotic", sans-serif;
}


.nombre {
  width: 100%;
  background-color: rgba(0,0,0,.8);
  color: var(--light);
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
}

.info a {
  text-decoration: none;
  color: #000;
}

.nombre a {
  text-decoration: none;
  color: #FFF;
}

.columntitle {
  width: 84%;
  margin-left: 10%;
}

h3 {
  margin-top: 5rem;
  text-transform: uppercase;
  text-align: center;
  font-style: "Merriweather", sans-serif;
}

h4 {
  text-transform: uppercase;
  text-align: center;
  font-style: "Merriweather", sans-serif;
  margin-top: 4px;
}


.column {
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  text-align: justify;
  height: auto;
  padding: 20px;
  width: 80%;
  margin-left: 10%;
}

.column p {
  font-family: 'Roboto', sans-serif;
}

.photo {
  box-shadow: var(--shadow);
  height: 60px;
  width: 60px;
  display: inline-block;
  background: url('https://scontent.ftru3-1.fna.fbcdn.net/v/t1.0-9/24796698_1869748043038620_5885052987021779580_n.jpg?_nc_cat=101&_nc_ht=scontent.ftru3-1.fna&oh=98ceecf7bd98eb6355c1b50b123459f5&oe=5C97CB68');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.autor {
  display: inline-block;
  font-size: 1rem;
  margin-top: 18px;
  font-style: "Merriweather", serif;
  font-weight: normal;
}

.line {
  margin-top: -15px;
  width: 100%;
}

.iconosautor {
  display: flex;
  justify-content: flex-start;
  width: 20%;
  margin-top: -5px;
}

.author {
  display: inline;
  font-family: "Merriweather", serif;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  background: #1A1A1D;
  color: var(--light);
  width: 100%;
  text-align: center;
  font-family: "Merriweather", serif;
  font-size: 1rem;
  height: 80px;
}

@media only screen and (max-width: 800px) {

  nav ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 20px;
    text-align: center;
    height: auto;
  }

  .iconos {
    width: 40%;
    font-size: 30px;
  }

  .organizer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-columns: auto;
    grid-gap: 20px;
  }

  .contenedor {
    display: grid;
    grid-gap: 70px;
    grid-template-columns: 1fr 1fr;
    width: 97%;
    margin-top: 3rem;
  }

  .uno,
  .dos,
  .tres,
  .cuatro,
  .cinco,
  .seis {
    height: 00px;
  }
}

@media only screen and (max-width: 500px) {

  .iconos {
    width: 30%;
  }

  .organizer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-columns: auto;
    grid-gap: 20px;
  }

  .contenedor {
    display: grid;
    grid-gap: 70px;
    grid-template-columns: 1fr;
    width: 90%;
    margin-left: 5%;
    margin-top: 3rem;
  }

  .uno,
  .dos,
  .tres,
  .cuatro,
  .cinco,
  .seis {
    height: 300px;
  }
}
