@import url("global.css");

#header-perfis {
  width: 100%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  transition: 0.3s ease;
}

#header-perfis.hide {
  transform: translateY(-100%);
}

header .button-voltar {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
  padding: 1px 6px;
  border-radius: 15px;
  color: var(--text-color);
}

header .button-voltar:hover {
  color: var(--primary-color);
  background-color: var(--text-color);
}

header .button-voltar p {
  display: flex;
  align-items: center;
  text-align: center;
}

header .button-voltar .bi {
  font-size: 1.4rem;
}

header img {
  width: 9rem;
}

.artigo-principal-section {
  max-width: 90vw;
  margin: 95px auto;
  padding: 0 20px;
  color: var(--dark-text-color);
}

strong {
  color: var(--primary-color);
  font-weight: 600;
}

.artigo-principal-cabecalho {
  margin-bottom: 3rem;
}

.artigo-principal-titulo {
  font-size: 2.3rem;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.artigo-principal-corpo {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.artigo-principal-corpo .box-bolsista {
  background-color: #fff;
  max-width: 550px;
  border-radius: 15px;
  padding: 2rem;
  border: 1px #c1c1c1 solid;
  transition: .3s ease;
}

.artigo-principal-corpo .box-bolsista:hover {
  transform: translateY(-10px);
  border: 1px var(--secondary-color) solid;
}

.foto {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
}

.foto img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

.box-bolsista h2 {
  background: linear-gradient(155deg, var(--primary-color) 35%, var(--secondary-color));
  width: fit-content;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 1.3rem;
  margin-top: 35px;
  margin-bottom: 10px;
}

.box-bolsista p {
  line-height: 1.7;
  font-size: .85rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Redes sociais dos bolsistas */
.nome-e-icones {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;  
}

.bolsistas .social-icons {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

.bolsistas .social-icons .btn-sociais .bi {
  font-size: 1.8rem;
  background: linear-gradient(155deg, var(--primary-color) 35%, var(--secondary-color));
  background-clip: text;
  color: transparent;
  transition: 0.5s;
  margin-right: 9px;
}

.bolsistas .social-icons .btn-sociais i:hover {
  background: linear-gradient(155deg, var(--secondary-color) 35%, var(--primary-color));
  background-clip: text;
  color: transparent;
}


/* Responsividade */
@media (max-width: 768px) {

  .artigo-principal-section {
    max-width: 100vw;
    margin: 95px auto;
    padding: 0 15px;
  }

  .artigo-principal-corpo .box-bolsista {
    max-width: 550px;
    border-radius: 15px;
    padding: 1.5rem;
  }

  .box-bolsista h2 {
    font-size: 1.8rem;
  }

  .box-bolsista p {
    font-size: 1.2rem;
  }

  .artigo-principal-info {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 500px) {

  header img {
    width: 7rem;
  }

  .artigo-principal-corpo .box-bolsista {
    max-width: 550px;
    border-radius: 15px;
    padding: 1.5rem;
  }

  .foto {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
  }

  .foto img {
    width: 110px;
    height: 110px;
  }

  .artigo-principal-section {
    padding: 0 8px;
  }

  .box-bolsista h2 {
    font-size: 1rem;
    margin-top: 35px;
    margin-bottom: 5px;
  }

  .bolsistas .social-icons .btn-sociais .bi {
    font-size: 1.1rem;
    margin-right: 9px;
  }

  .box-bolsista p {
    line-height: 1.6;
    font-size: .7rem;
  }
}