@charset "UTF-8";

#sobre-scdec {
    margin-top: 80px;
    padding: 5%;
    display: flex;
    gap: 170px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Estilo da imagem + nome */
#edimar {
    display: inline-flex;
    padding: 32px 35px;
    align-items: center;
    gap: 10px;
    border-radius: 40px;
    background: #53390A;
}

/* Imagem do Edimar */
.flex-edimar img {
    margin-bottom: 10px;
    width: 380px;
    max-width: 100%;
    height: auto;
}

/* Texto do Edimar */
.flex-edimar p {
    font-style: italic;
    font-size: 18px;
    text-align: center;
}

/* Bloco de texto da SCDEC */
.text-scdec {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-size: 25px;
    max-width: 100%;
    align-items: center;
}

/* Parágrafo da descrição */
.text-scdec p {
    color: #000;
    text-align: justify;
    font-family: Inter, sans-serif;
    font-size: 21px;
    width: 580px;
    max-width: 100%;
    font-style: normal;
    line-height: 200%;
}

/* Título "SCDEC" */
#scdec {
    color: #92521D;
    font-size: 70px;
    font-weight: bolder;
}

/* Responsivo para tablets e desktop */
@media (min-width: 1024px) {
  #sobre-scdec {
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 170px;
    justify-content: left;
    align-items: start;
  }

  .text-scdec {
    align-items: flex-start;
  }

  .text-scdec p {
    text-align: justify;
  }
}

/* RESPONSIVIDADE para CELULARES */
@media (max-width: 768px) {
  #sobre-scdec {
    flex-direction: column-reverse;
    gap: 40px;
    padding: 5%;
  }

  #edimar {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .flex-edimar p {
    font-size: 14px;
  }

  .text-scdec {
    font-size: 20px;
    gap: 20px;
  }

  .text-scdec p {
    font-size: 18px;
    width: 100%;
  }

  #scdec {
    font-size: 45px;
    text-align: center;
  }
}
