/* __________________________________________ HEADER */

header {
  display: flex;
  height: 100vh;
}

#arcoiris {
  max-height: 100%;
  max-width: 20vw;
  box-shadow: 20px -5px 40px rgba(0, 0, 0, 0.7);
}

#trama {
  flex-grow: 4;
  background-image: url(/img/inicio/fondo-inicio.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #ebb049;
  z-index: -1;
}

#massoni {
  background-color: rgba(255, 255, 255, 0.603);
  padding: 15px 20px;
  position: absolute;
  width: 500px;
  min-height: 90px;
  top: 45%;
  left: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#fade-text {
  display: none;
  text-align: center;
}

/* __________________________________________ MAIN */

#iec-title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  z-index: 1;
  border-top: 40px solid transparent;
  margin-top: -40px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

#iec-title h1 {
  color: rgb(87, 114, 30);
}

#iec-title div {
  background-color: rgb(228, 225, 124);
  color: white;
  padding: 0 10px;
  margin-top: 5px;
  width: 100%;
}

#iec-title p {
  font-family: "Roboto Slab", serif;
  display: inline;
}

#iec-autores {
  font-size: 0.6rem;
  padding: 10px 0;
}

.seccion-circulo {
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

.seccion-circulo a {
  color: black;
  margin-top: 30px;
}

#title {
  border-top: 40px solid transparent;
  margin-top: -40px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  position: absolute;
  top: 0;
  left: 50px;
}

#title h3 {
  margin-bottom: 5px;
}

.wide-stripe {
  background-color: white;
  height: 300px;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.narrow-stripe {
  background-color: white;
  height: 50px;
  width: 100%;
  position: absolute;
  bottom: 350px;
}

.circle {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 55px 0;
}

.circle p {
  max-width: 350px;
  z-index: 1;
}

.circle ul {
  width: 50%;
  margin: 0;
}

i.fa-quote-left {
  font-size: 2rem;
  position: relative;
  bottom: 5px;
}

i.fa-quote-right {
  position: relative;
  top: 5px;
}

.libro {
  position: absolute;
  left: -350px;
  z-index: 1;
}

#novedades {
  text-align: center;
  padding: 100px 0;
}

#novedades h2 {
  text-transform: uppercase;
  color: rgb(87, 114, 30);
  margin-bottom: 20px;
}

#novedades .btn-subscribe {
  display: inline-block;
  background-color: #0d4287;
  color: white;
  box-shadow: 5px 5px 3px rgba(0, 0, 0, 0.253);
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: 2px;
  font-weight: bold;
  -webkit-transition: background-color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out;
  -o-transition: background-color 0.3s ease-out;
  transition: background-color 0.3s ease-out;
  outline: none;
}

#novedades .btn-subscribe:hover {
  background-color: var(--main-color);
}

.libro {
  position: absolute;
  right: 0;
}

#iec-abierta {
  width: 300px;
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 55%;
}

#barbero {
  border-bottom: 20px solid  #F3F3F3;
}

#foto-barbero {
  position: absolute;
  right: 0;
  bottom: 0;
}

#comunicare {
  width: 55%;
  margin: -40px auto 30px auto;
  display: flex;
  padding-top: 30px;
  border-top: 40px solid transparent;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

#comunicare p:first-of-type {
  padding: 10px 0 20px 0;
}

#comunicare p:last-of-type {
  margin-top: 20px;
}

.col-left .zarcillo {
  margin: 60px 14%;
}

#zarcillo_comunicare {
  fill: lightgray;
  display: block;
  margin: 50px auto;
  width: 300px;
}

.col-right {
  padding-right: 20px;
  margin-left: 20px;
}

.col-right p {
  letter-spacing: 1px;
}

.col-right img {
  margin-top: 20px;
}

.bajada {
  font-size: 0.8rem;
  padding-top: 0 !important;
}

/* __________________________________________ MEDIA QUERIES */
@media screen and (max-width: 1200px) {
  #arcoiris {
    max-width: 40vw;
  }

  .seccion-circulo {
    height: auto;
    flex-direction: column;
  }

  #foto-barbero {
    width: 400px;
  }

  .libro {
    left: 25px;
    opacity: 0.2;
  }

  #iec-title {
    width: 70%;
  }

  #title {
    position: unset;
    text-align: center;
  }
}

@media screen and (max-width: 992px) {
  .mas {
    z-index: 1;
  }
  #arcoiris {
    display: none;
  }

  #comunicare {
    width: 90%;
  }

  .col-left {
    display: none;
  }

  .col-right {
    padding-right: 0px;
    margin-left: 0px;
  }

  .col-right img {
    display: block;
    margin: 25px auto 0 auto;
  }

  #mob_photo {
    width: 300px;
    height: 460px;
    background-image: url(/img/inicio/premio-comunicare.jpg);
    background-size: cover;
    margin: 0 auto 12px auto;
  }

  #foto-barbero {
    width: 350px;
  }

  .libro {
    width: 90%;
  }

  #title {
    padding: 0 5px;
  }

  #iec-title {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  #trama {
    background-image: url(/img/inicio/arbol.jpg);
  }

  #title {
    text-align: center;
  }

  .circle {
    border-radius: 0;
    border: none;
    width: auto;
    height: auto;
    margin: 20px 0;
  }

  #foto-barbero,
  #iec-abierta {
    display: none;
  }

  .narrow-stripe {
    display: none;
  }

  #novedades iframe {
    height: 550px;
  }

  .seccion-circulo {
    background-color: #fff;
  }

  .wide-stripe {
    display: none;
  }

  #iec-title div {
    background-color: transparent;
    color: black;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #iec-title {
    position: initial;
    transform: translate(0);
    width: 100%;
  }

  #iec-title p {
    display: block;
  }

  .seccion-circulo {
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  header {
    margin-bottom: 20px;
  }

  .seccion-circulo {
    padding: 0 15px;
  }

  #mob_photo {
    width: 185px;
    height: 280px;
  }

  .circle ul {
    width: 90%;
  }
}
