@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

html {
  scroll-behavior: smooth;
}

:target:before {
  content: "";
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}

.sep {
  margin-bottom: 80px
}

body {
  background-color: #f4f3f3;
  font-family: 'Cabin';
  color: #818080;
  font-size: 1.2em;
  text-align: justify;
}

.btn-rounded {
  border-radius: 50px;
  padding: 5px 15px;
}

.ml-box {
  box-shadow: 0px 0px 50px #20202017;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Barlow', sans-serif;  
}
h1,
h2,
h3 {
  letter-spacing: -0.05rem;
}


h1 {
  color: #1b3647;
  font-weight: 800;
  margin-bottom: 2rem;
}



h2 {
  font-weight: 600;
  color: #1b3647;
}

h3 {
  font-weight: 600;
  color: black;
}

h5 {
  font-weight: 800;
  color: #1b3647;
}

hr {
  margin-bottom: 40px;
}

.topo {
  background-color: #09013d;
  background-image: url('../img/bg-top.jpg');
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 30%;
  height: 230px;
  

}

.topo-home {
  background-image: url('../img/bg-top.jpg');
  background-repeat: no-repeat;
  background-position-x: center;
  background-color: #09013d;
  height: 400px;

}

.topo-home .logo {

  margin-top: 68px;

}

.bg-blue {
  background: none
}

.header {
  margin-top: -80px;
  z-index: 100;
  position: relative;
}

.header h2 {
  font-weight: 900;
}

.bg-mala-escuro {
  background-color: #1c3647;
  color: #8cc4d5;
}

.bg-mala {
  background-color: #8cc4d5;
}

.modal-footer a {
  font-size: 1.5rem;
  color: #1b3647;
  padding-left: 5px;
}

.modal-footer a i:hover {

  color: #000;
}

footer {
  color: #1b3647;
  font-size: 0.8em;
}

footer a,
footer h5 {
  text-decoration: none;
  color: #1b3647;
}

.nav-item a {
  color: #ffffff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8em;
}

.nav-item a:hover {
  color: #8cc4d5;
}

.active {
  color: #8cc4d5;
  border-bottom: solid 3px #8cc4d5;
}

footer a:hover {
  color: #000;
}

.parceiros img {
  height: 60px;
  width: auto;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.parceiros img:hover {
  filter: grayscale(0%);
}

#modal-contato a{
  text-decoration: none;
  color: #000;
}

mark {
  
  background-color: #faefe3;
  color: #1b3647;

}


@media (min-width: 768px) {
  .transparencia-box {
    background-image: url('../img/transp.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 15%;
  }

  .apadrinhamento-box {
    background-image: url('../img/bg-apadrinhamento.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 15%;
  }

  .historia-box {
    background-image: url('../img/bg-historia.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 15%;
  }

  .colabore-doe-livros-box {
    background-image: url('../img/bg-doe-livros.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 22%;
  }

  .voluntarios-box {
    background-image: url('../img/bg-voluntarios.png');
    background-position: left;
    background-repeat: no-repeat;
    background-size: 22%;
  }

  .colabore-apadrinhamento-box {
    background-image: url('../img/bg-padrinho.png');
    background-position: left;
    background-repeat: no-repeat;
    background-size: 22%;
  }

  .parceiro-box {
    background-image: url('../img/bg-parceiro.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 22%;
  }

  .o-que-fazemos-box {
    background-image: url('../img/bg-home-box-inner.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 15%;
  }


}

@media (min-width: 768px) {
  .home-box {
    background-image: url('../img/bg-home-box.png');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 20%;
  }

  .home-box-inner {
    background-image: url('../img/bg-home-box-inner.png');
    background-position: right 75%;
    background-repeat: no-repeat;
    background-size: 18%;
  }

  .bg-blue{
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {

  body,
  p {
    font-size: 1rem;
  }

  .p-5 {
    padding: 2rem !important;
  }

  .mt-5 {
    margin-top: 1rem !important;
  }

  .sep {
    margin-bottom: 30px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: left;
  }

  hr {
    margin-bottom: 20px;
  }

  :target:before {
    content: "";
    display: block;
    height: 40px;
    margin-top: -40px;
    visibility: hidden;
  }
  footer div, footer h5{
    text-align: center;
  }
  .parceiros img {
    height: 42px;
    width: auto;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {

  body,
  p {
    font-size: 1.1rem;
  }

  .p-5 {
    padding: 2.2rem !important;
  }

  .sep {
    margin-bottom: 40px;
  }

}


#numeros h3 {
  font-size: 72px;
  font-weight: 800;
}


/* Diretoria */

figure {
  width: 120px;
  height: 120px;
  padding: 0;
  background: rgb(255, 255, 255);
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -khtml-border-radius: 50%;
  mask-image: radial-gradient(white, black);
}

.diretoria {
  top: 5px;
  background-color: #1b3647;
  position: relative;
  margin: 0;
  padding: 0;
  color: #acacac;
  text-decoration: none;
  text-align: center;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  opacity: 0.9;
  overflow: hidden;
  line-height: 1.3rem;
}

.diretoria p {
  font-size: 1rem;
}

.box-diretoria:hover div {
  top: -10px;
  opacity: 1;
}

.box-diretoria figure img {
  width: 120px;
  height: 120px;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;

}

.box-diretoria:hover img {
  transform: scale(1.1);
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.diretoria::after {
  background: linear-gradient(345deg, #c0f1f1 0, #8cc4d5 100%);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: bottom left;
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transition: all 300ms linear 0ms;
  -moz-transition: all 300ms linear 0ms;
  -ms-transition: all 300ms linear 0ms;
  -o-transition: all 300ms linear 0ms;
  transition: all 300ms linear 0ms
}

.box-diretoria:hover div:after {
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1)
}

.box-diretoria:hover h5 {
  color: #8cc4d5;
}

.box-diretoria:hover p {
  color: #ffffff;
}

.box-diretoria h5 {
  color: #ffffff;
}


#modal-contato .modal-footer {

  justify-content: center;

}

.google-maps {
  margin-bottom: -7px;
  font-size: 1rem;
}