/* * { border: 1px solid red } */

body.concurso { 
  background: url(img/bg-paper.webp) top center;
  background-size: 130% auto }

@media(max-width:767.98px){
body.concurso{
  background: url(img/bg-paper-xs.webp) no-repeat fixed;
  background-position: -40px top;
  background-size: 115% auto }
}

main, section { overflow-x: hidden }

.home .navbar{
  --flex-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

header .navbar-toggler { border: 0 }

header.navbar {
  /* --flex-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
  --flex-navbar-toggler-border-color: rgba(0,0,0,.5);
  --flex-navbar-padding-y: 1rem }

header .nav-link {
  color: #000;
  transition: 300ms all;
}

.home header .nav-link {
  color: #FFF;
}

header .nav-link:hover,
header .nav-link.active {
  color: var(--flex-danger) !important;
}

@media(max-width:991.98px){

    .navbar-brand img { height: 60px }
  
    header .navbar-collapse { 
      /* background:#F9F8F2 url(img/bg.webp) fixed center; */
      background: var(--flex-light);
      background-size: 110% auto;
      width: 100%;
      position: fixed;
      z-index: 100000;
      top: 0;
      left: 0  }
  
    header .navbar-nav {
      justify-content: center;
      width: 100%;
      height: 100vh }  
  
    header .nav-link { 
      text-align: center;
      color: #000 !important;
      padding: .75rem 3rem !important; 
      width: 100% }

    header a { font-size: 120% !important }

    header .dropdown { width: 100% }

    header .dropdown-menu {
      border: 0;
      border-radius: 0;
      width: 100%;
      background-color: rgba(0,0,0,.125) }

    header .dropdown-menu a { 
      text-align: center;
      padding: .5rem 1rem;
      color: #FFF }
}

#hero .h1 { font-size: clamp(3rem, 4rem + 2vw, 5vw) !important}


@media(max-width:767.98px){
  #hero .translate-middle { transform: translate(-50%, -150%) !important }
  #hero { background: #000 }
  #hero img { opacity: .75 }
}

.mosaic {
  column-gap: 1rem;
}

.mosaic-md-2 {
    column-count: 2;
}

.mosaic-md-3 {
    column-count: 3;
}

.mosaic-md-4 {
    column-count: 4;
}

.mosaic > div {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 3rem;
    break-inside: avoid;
    grid-row: 1 / -1;
    grid-column: 1;
}
#photos .mosaic > div:hover { z-index: 2 }

#photos .mosaic img {
  transition: 300ms all;
  scale: 1
}

#photos .mosaic > div:hover img { 
  scale: 1.15}

@media(max-width:767.98px){
  .mosaic-1 {
      column-count: 1;
  }

  .mosaic-2 {
    column-count: 2;
  }
}

.mosaic p { margin: 0 }