/* MOBILE */

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

h2 {
    font-size: 26px;
    line-height: 36px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'circular_black';
    color: #004E7C;
}

p {
  font-size: 18px;
  line-height: 28px;
  color: #627986;
}

.frase h1 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.8px;
  text-align: center;
}

.frase h1 {
  width: 80%;
  margin: auto;
}


/* INTRO */


.scrolldown {
  position: absolute;
  bottom: 100px;
  transform: translateX(-50%);
  left: 50%;
}

  .scrolldown img { width: 30px; height: auto; }


.intro {
  background: url('_img/capa_m.jpg') no-repeat center;
  background-size: 100% auto;
  background-position: center bottom;
  background-color: #DDD;
  min-height: 140%;
}

.logo {
  position: relative;
  width: 60px;
  height: auto;
  top: 15px;
  left: inherit;
  transform: translateX(-50%); left: 50%;
}

  .logonav2 { position: relative; top: 12px; }

.menu {
  position: relative;
  top: 40px;
  right: inherit;
  display: block;
  transform: translateX(-50%); left: 50%;
}

.menu ul {
text-align: center;
}

.menu ul li {
  float: inherit;
  display: inline-table;
  margin-left: 5px;
  font-size: 16px;
}

.menu a { color: #627986; }


.nav2 {
    z-index: 999;
    width: 100%;
    position: fixed;
    top: 0;
    background: #fff;
    height: 60px;
    display: none;
}

.nav2 .logo { display: none; }
.nav2 .menu { top: 20px; }


.a_apres, .a_desafios, .a_videos, .a_apoie { cursor: pointer; display: block; }

.lettering {
  opacity: 0;
  transition: 0.2s;
  animation: showelement 1s forwards 0.5s;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 44%; left: 50%;
  text-align: center;
  width: 80%;
}

.lettering p {
  text-align: center;
  font-size: 17px;
  line-height: 28px;
  margin-top: 30px;
}

.desc1 {
  opacity: 0;
  transition: 0.2s;
  animation: showelement 1s forwards 1.5s;
  padding-bottom: 10px;
}

.desc2 {
  opacity: 0;
  transition: 0.2s;
  animation: showelement 1s forwards 2.5s;

}

.desc3 {
  opacity: 0;
  transition: 0.2s;
  animation: showelement 1s forwards 3.5s;

}

  @keyframes showelement {
      0%   {opacity: 0; }
      100% {opacity: 1; }
    }

.container {
  position: relative;
}

/* SOBRE */

.sobre {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 80px;
  padding: 80px 20px 0 20px;
  margin: 0 0 60px 0;
}

.sobre .s1 { grid-row: 1; }
.sobre .s2 { grid-row: 2; padding-bottom: 80px; border-bottom: 1px solid #ddd; }
.sobre .s3 { grid-row: 4; }
.sobre .s4 { grid-row: 3; }

.sobre div {
  position: relative;
  margin-bottom: 40px;
}

.sobre div img {
  width: 100%;
  height: auto;
}

.sobre div h2 {
  position: relative;
  margin-bottom: 30px;
  text-transform: uppercase;
  width: inherit;
  z-index: 2;
  top: inherit;
}

.sobre div h2.right { left: 0; }
.sobre div h2.left { right: 0; }

.sobre div p {
  display: block;
  position: relative;
  bottom: inherit;
}


/* DESAFIOS */

.desafios {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 20px;
  position: relative;
  padding: 0 20px;
  background: #E9EBEC;
}


  .desafio_interna {
      overflow-y: scroll;
      height: 100vh;
      padding-top: 50px;
  }

  .desafios .frase {
      grid-column: 1/6;
      grid-row: 1;
      margin: 60px 0;
  }

  .desafios .frase h1 {
    color: #627986;
  }

  .desafios .hero {
      grid-column: 1/6;
      grid-row: 2;
  }

      .desafios .hero img {
          position: relative;
          width: 100%;
          height: auto;
          z-index: 10;
      }

  .desafios .no {
      grid-column: 1/3;
      grid-row: 3;
      position: relative;
      margin-top: -60px;
      left: 10px;
      z-index: 20;
  }

      .desafios .no img {
          position: relative;
          width: 80%;
          height: auto;
      }

  .desafios .tit {
      grid-column: 1/6;
      grid-row: 4;
      position: relative;
      margin-top: 30px;
  }

      .desafios .tit h2 {
          font-size: 25px;
          line-height: 35px;
          text-transform: uppercase;
          font-weight: bold;
          letter-spacing: 4px;
          position: relative;
          bottom: inherit;
          color: #004E7C;
          margin-left: 0;
      }



  .desafios .text {
      grid-column: 1/6;
      grid-row: 5;
      margin: 20px 0 100px 0;
  }

      .desafio_interna .text ul li {
          margin: 0 0px 40px 0px;
          padding: 0 0 40px 60px;
          border-bottom: 1px solid #ccc;
          font-size: 20px;
          line-height: 26px;
      }

      .fonte { font-size: 16px; }

  .modal {
      background-color: #fff;
      position: fixed;
      z-index: 9999;
  }

      a.desafio1, a.desafio2, a.desafio3, a.desafio4 { cursor: pointer; }
      .modaldesafio1, .modaldesafio2, .modaldesafio3, .modaldesafio4 { display: none; opacity: 0;}

  /* videos */

  .videos {
      background: #004E7C;
      display: block;
      /*grid-template-columns: 1fr 1fr;
      grid-column-gap: 20px;*/
      position: relative;
      padding: 60px 20px 60px 20px;
  }

      .videos .frase {
        grid-column: 100%;
        grid-row: 1;
        text-align: center;
        margin-bottom: 60px;
      }

      .videos .frase h1 {
        color: #fff;
      }

      .videos .thumb {
        grid-column: inherit;
        margin-bottom: 40px;
      }

      .videos .thumb img {
        width: 100%;
        height: auto;
      }

      .video {
          background-color: #000;
          background: url('_img/bg_video_modal.png') no-repeat;
          background-size: cover;
          height: 100%;
          width: 100%;
          position: fixed;
          z-index: 9999;
          top: 0;
      }

      .close {
          position: absolute;
          top: 20px;
          right: 20px;
          z-index: 9999;
          cursor: pointer;
      }

      .showit { display: inherit; animation: showelement 1s forwards 0.5s; }
      .hideit { display: none; }

      .t_video1, .t_video2, .t_video3, .t_video4 { cursor: pointer; }

  /* footer */

  footer {
      height: auto;
      min-height: calc(100vh - 60px);
      text-align: center;
      padding: 0 20px;
      background: url("_img/bg_footer_m.jpg") center bottom no-repeat;
      background-size: cover;
      background-color: #ccc;
  }

      footer h2 {
          position: relative;
          padding-top: 0px;
          font-size:20px;
      }

      .extras {
          flex-direction: column;
      }

      .bottom {
          flex-basis: unset;
          padding: 20px 0;
      }

      .rights {
          font-size: 15px;
          flex-basis: unset;
          flex-direction: column;
          align-items: center;
          padding: 20px 0;
      }

      .rights img {
          margin-bottom: 90px;
          margin: 0 0 20px 0;
      }
      
      .rights a {
          margin-bottom:20px;
      }

      .imer {
          flex-basis: unset;
          margin-top: 80px;
          margin-bottom: 80px;
      }

      .bt {
          padding: 20px 20px;
          background: #48A8E1;
          color: #fff;
          margin: auto;
          margin-top: 60px;
          display: block;
          width: 60%;
          font-size: 24px;
      }

      .bt:hover {
          background: #004E7C;
          color: #fff;
          transition: 0.3s;
      }

      .bottom ul {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 250px;
          margin: auto;
      }

      .bottom ul li {
          display: inline;
      }

      ul li.bt_social {
          margin: 0 5px 10px;
          order: 3;
      }

      ul li.bt_social:first-of-type {
          order: 1;
      }
      ul li.bt_social:last-of-type {
          order: 2;
      }

      ul li.bt_social:hover {
          background: #48A8E1;
          border: 2px solid #48A8E1;
          transition: 0.3s;
      }

      ul li.bt_social img {
        position: relative;
        transform: translateY(-50%);
        top: 50%;
      }

  }
me