/*Tablet*/
@media only screen and (min-width: 788px) and (max-width: 979px) {
  html, body{
    overflow-x: hidden !important; 
}

  .container_main {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -300px;
  }

  .sub_card {
    width: 300px;
    height: 250px;
    color: #fff;
    position: relative;
    top: 120px;
    background-color: #0270d4;
    -webkit-box-reflect: below 5px
      linear-gradient(transparent 60%, rgba(0, 0, 0, 0.2));
    transition: all 0.4s;
  }

  .sub_card img {
    position: relative;
    top: 70px;
    left: 40px;
    width: 100px;
  }

  .sub_card:hover {
    transform: translateY(-10px);
  }
  .sub_card:nth-child(2) {
    transform: scale(1.1);
  }
  .sub_card:hover:nth-child(2) {
    transform: translateY(-10px) scale(1.1);
  }

  .container_main h2 {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    top: -30px;
    right: -15px;
    font-size: 3rem;
    transition: all 0.4s;
    padding: 20px;
  }

  .sub_card:hover h2 {
    font-size: 6rem;
  }

  .btn {
    width: 130px;
    height: 40px;
    border-radius: 20px;
    background-color: white;
    color: #6d6875;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
  }

  .call {
    position: relative;
    top: 10px;
  }

  .projetos {
    margin-top: 50px;
    height: 690px;
  }

  .footer_redes ul li {
    margin-bottom: 5px;
  }

  .footer_redes ul li img {
    width: 35px;
    height: 35px;
  }
}
/*Mobile*/
@media only screen and (max-width: 787px) {
  html, body{
    overflow-x: hidden !important; 
}

  .btn- {
    display: block;
    margin-top: 20px;
    width: 150px;
    position: relative;
    left: 74px;
  }

  .introducao {
    height: 400px;
  }

  .introducao h2 {
    font-size: 36px;
  }

  .mensagem_sobre {
    top: 40px;
    left: 40px;
    padding-right: 120px;
  }

  .container_main {
    width: 100%;
    height: 100vh;
    display: block;
    justify-content: center;
    align-items: center;
    margin-top: -300px;
    margin-bottom: 800px;
  }

  .sub_card {
    width: 250px;
    height: 250px;
    color: #fff;
    position: relative;
    top: 280px;
    left: 75px;
    background-color: #0270d4;
    -webkit-box-reflect: below 5px
      linear-gradient(transparent 60%, rgba(0, 0, 0, 0.2));
    transition: all 0.4s;
  }

  .sub_card img {
    position: relative;
    top: 60px;
    left: 70px;
    width: 100px;
  }

  .sub_card:hover {
    transform: translateY(-10px);
  }
  .sub_card:nth-child(2) {
    transform: scale(1);
  }
  .sub_card:hover:nth-child(2) {
    transform: translateY(-10px) scale(1.1);
  }

  .container_main h2 {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    top: -30px;
    right: -15px;
    font-size: 3rem;
    transition: all 0.4s;
    padding: 20px;
  }

  .sub_card:hover h2 {
    font-size: 6rem;
  }

  .btn {
    width: 130px;
    height: 40px;
    border-radius: 20px;
    background-color: white;
    color: #6d6875;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
  }

  .projetos {
    margin-top: -130px;
    height: 500px;
  }

  .foto_equipe {
    display: none;
  }

  .missao p {
    padding-right: 40px;
  }

  .header_menu {
    position: absolute;
    top: 50px;
  }

  .header img {
    position: relative;
    left: 125px;
  }

  .mensagem_sobre {
    position: absolute;
    top: 200px;
  }

  
}
