#sobre_nos{
    background: linear-gradient(to bottom left, #000000 21%, #666666 100%);
    background-position: center;
    background-size: cover;
}

.top{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.titulo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
}


.titulo h1{
    color: var(--white);
    font-size: 45px;
}

.titulo .linha_titulo{
    height: 3px;
    background-color: var(--orange-dark);
    width: 120%;
    margin-top: 5px;
}

.top p{
    width: 50%;
    color: var(--white);
    font-size: 20px;
}

.bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-end;
}

.bottom .titulo_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.bottom .titulo_box h3{
    color: var(--white);
    font-size: 33px;
}

.bottom .box{
    width: 380px;
    height: 400px;
    background-color: var(--orange-text);
    border-radius: 10px;
    transition: 0.7s;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.bottom .box:hover{
    transition: 0.6s;
    scale: 1.05;
}

.bottom .box p{
    text-align: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 2rem;
}

.bottom .box img{
    width: 330px;
    border-radius: 20px;
    border: 2px solid var(--white);
}

.bottom .box.meio img{
    width: 330px;
}

@media screen and (min-width: 1100px) and (max-width: 1250px){
    .titulo h1{
    font-size: 26px;
}

.top p{
    width: 70%;
    font-size: 14px;
}

.bottom .titulo_box h3{
    font-size: 22px;
}

.bottom .box{
    width: 280px;
    height: 350px;

}

.bottom .box p{
    width: 280px;
    font-size: 14px;
}

.bottom .box img{
    height: 170px;
    width: 240px;
}
.bottom .box.meio img{
    width: 280px;
}

}

@media screen and (min-width: 1251px) and (max-width: 1400px){
    .titulo h1{
    font-size: 28px;
}


.top p{
    width: 60%;
    font-size: 15px;
}

.bottom .titulo_box h3{
    font-size: 25px;
}

.bottom .box{
    width: 290px;
    height: 300px;
}

.bottom .box p{
    width: 280px;
    font-size: 14px;
}

.bottom .box img{
    height: 140px;
    width: 240px;
}
.bottom .box.meio img{
    width: 250px;
}
}


@media screen and (min-width: 1400px) and (max-width: 1500px){
    .titulo h1{
    font-size: 38px;
}

.top p{
    width: 65%;
    font-size: 19px;
}

.bottom .titulo_box h3{
    font-size: 30px;
}

.bottom .box{
    width: 380px;
    height: 390px;
}

.bottom .box p{
    width: 330px;
    font-size: 20px;
    margin-bottom: 2rem;
}

.bottom .box img{
    height: 180px;
    width: 300px;
}

.bottom .box.meio{
    margin-bottom: 3rem;
}
.bottom .box.meio img{
    width: 310px;
}


}

@media screen and (min-width: 1500px){
    .titulo h1{
    font-size: 38px;
}

.top p{
    width: 65%;
    font-size: 20px;
}

.bottom .titulo_box h3{
    font-size: 35px;
}

.bottom .box{
    width: 430px;
    height: 430px;
}

.bottom .box p{
    width: 370px;
    font-size: 22px;
    margin-bottom: 2rem;
}

.bottom .box img{
    height: 230px;
    width: 330px;
}

.bottom .box.meio{
    margin-bottom: 3rem;
}
.bottom .box.meio img{
    width: 330px;
}

}

/* =================== MOBILE =================== */

/* ======= MOBILE: até 768px ======= */

@media (max-width: 768px) {

  #sobre_nos{
    height: 170vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    font-family: 'Inria Serif';
}

  #sobre_nos{
    padding: 28px 14px;
    box-sizing: border-box;
  }

  .top{
    gap: 18px;
    padding: 8px 6px;
  }

  .titulo h1{
    font-size: 28px;
    line-height: 1.05;
    margin: 0;
  }

  .titulo .linha_titulo{
    width: 120%;
    height: 3px;
    margin-top: 8px;
  }

  .top p{
    width: 100%;
    font-size: 11px;
    margin: 0 auto;
    line-height: 1.4;
  }

  .bottom{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 12px 0 24px;
  }

  .bottom .titulo_box{
    width: 100%;
    max-width: 680px;
    gap: 12px;
    padding: 0 8px;
  }

  .bottom .titulo_box h3{
    font-size: 25px;
    margin: 0;
  }

  .bottom .box{
    width: 80%;
    height: auto;               
    min-height: 220px;         
    padding: 14px;
    gap: 14px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .bottom .box p{
    font-size: 15px;
    margin: 0 8px 6px;
  }

  .bottom .box img{
    width: 90%;
    height: 160px;
    border-radius: 12px;
    border: 2px solid var(--white);
  }

  .bottom .box.meio img{
    width: 270px;
}

  .bottom .box:hover{
    transform: none;
  }
}


/* ======= EXTRA PEQUENOS: até 420px ======= */
@media (max-width: 420px) {
    #sobre_nos{
    height: 190vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    font-family: 'Inria Serif';
}
  .top{
    gap: 12px;
  }

  .titulo h1{
    font-size: 22px;
  }

  .titulo .linha_titulo{
    width: 70%;
  }

  .top p{
    font-size: 10px;
  }

  .bottom{
    gap: 60px;
    padding-bottom: 16px;
  }

  .bottom .titulo_box h3{
    font-size: 20px;
  }

  .bottom .box{
    min-height: 180px;
    padding: 14px;
  }

  .bottom .box p{
    font-size: 14px;
  }

  .bottom .box img{
    max-width: 100%;
  }
}






