body,
main,
h1,
h2 {
  margin: 0;
}

h2 {
  font-size: 2rem;
}

body {
  font-family: "Oswald", sans-serif;
  scroll-behavior: smooth;
  background: url("../../img/investigacion/iec/iec-head.jpg") no-repeat fixed
    center;
  background-size: cover;
}

section {
  padding: 20px 0;
  margin: -40px 15% 0 15%;
  border-top: 40px solid transparent;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

section:first-of-type {
  margin-top: 0;
}

main {
  background-color: white;
}

.background {
  background-color: rgb(248, 250, 248);
  padding: 0 25px 60px 25px;
}

/* header */

header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

iframe {
  margin-top: 20px;
  max-width: 100vw;
}

#video {
  display: none;
  position: absolute;
}

#head-text {
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 350px;
}

#play {
  color: white;
  font-size: 3rem;
  margin-top: 20px;
  cursor: pointer;
}

#play:active,
#play:hover {
  color: rgb(124, 182, 49);
}

#head-text p {
  font-family: "Roboto Slab", serif;
  margin: 0;
}

#head-text h1 {
  font-size: 3.5em;
}

#head-text h2 {
  font-size: 1.4rem;
}

/* nav */

nav {
  background-color: black;
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

#web-massoni {
  position: absolute;
  left: 15%;
}

#web-massoni:active,
#web-massoni:hover {
  color: #fafafa;
}

a {
  text-decoration: none;
  color: white;
  margin: 20px;
}

a:active,
a:hover {
  color: rgb(124, 182, 49);
}

nav a:last-of-type {
  margin-right: 15%;
}

/* descripcion */

#descripcion {
  margin-left: 10%;
  margin-right: 10%;
}

#description-toggler {
  display: flex;
}

.title {
  color: gray;
  cursor: pointer;
  margin-right: 20px;
}

.title.title-selected {
  color: black;
}

.descontent {
  display: none;
}

.descontent.descontent-selected {
  display: block;
}

/* autores */

.autor {
  display: flex;
  margin-top: 20px;
}

.autor p {
  margin-top: 0;
}

#autores h3 {
  margin: 5px 0;
  width: 200px;
}

.circulo {
  min-width: 200px;
  height: 200px;
  background-size: contain;
  margin-right: 20px;
  border-radius: 50%;
}

.circuloS {
  background-image: url(/img/investigacion/iec/sandra.jpg);
}

.circuloM {
  background-image: url(/img/investigacion/iec/mateo.jpg);
}

.redes a {
  margin: 0 10px;
}

.redes a:first-of-type {
  margin-left: 0;
}

.redes i {
  color: darkgray;
  font-size: 2rem;
}

.redes i:active,
.redes i:hover {
  color: rgb(124, 182, 49);
}

/* reseñas */
#reviews {
  max-width: 1309px;
  margin-bottom: 20px;
  padding: 20px;
}

.review {
  max-width: 600px;
  margin: 10px auto 50px auto;
}

.review:last-child {
  margin-bottom: 0;
}

.review-title {
  color: rgb(124, 182, 49);
  margin: 0;
  padding: 0;
}

.review-author span {
  display: block;
  font-style: italic;
  color: darkgray;
}

/* descripcion */
#logo {
  margin: 180px auto;
  width: 100%;
  background-color: white;
  padding: 50px 0;
}

#logo img {
  width: 200px;
  display: block;
  margin: auto;
}

.download {
  color: rgb(124, 182, 49);
  display: inline;
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 5px;
}

i {
  color: rgb(124, 182, 49);
  font-size: 1.2em;
}

/* footer */
footer {
  background-color: rgba(0, 0, 0, 0.527);
  width: 100%;
  height: 150px;
  text-align: center;
  color: #fafafa;
}

footer p {
  margin: 0;
  padding-top: 20px;
}

#share-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  margin: 0;
}

footer i {
  font-size: 3rem;
  margin: 20px;
  color: #fafafa;
}

footer i:active,
footer i:hover {
  color: rgb(124, 182, 49);
}

@media screen and (max-width: 1200px) {
  body {
    background: url("../../img/investigacion/iec/iec_mobile.jpg") no-repeat
      fixed top;
    background-size: cover;
  }

  section {
    margin: -40px 5px 0 5px;
  }

  #descripcion {
    margin-left: 5%;
    margin-right: 5%;
  }

  nav a:last-of-type {
    margin-right: 20px;
  }

  #web-massoni {
    left: 5px;
  }

  .circulo {
    min-width: 150px;
    height: 150px;
  }
}

@media screen and (max-width: 768px) {
  #description-toggler {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  .autor {
    flex-direction: column;
    align-items: center;
  }

  .circulo {
    width: 150px;
    margin-right: 0;
  }

  #autores h2 {
    text-align: center;
  }

  #autores h3 {
    text-align: center;
    margin: 5px auto 10px auto;
  }
}

@media screen and (max-width: 480px) {
  #web-massoni {
    left: 0;
  }

  nav a {
    margin: 10px;
  }

  nav a:last-of-type {
    margin-right: 10px;
  }
}
