:root {
  --bege: #FDF0DC;
  --vermelho: #B03624;
  --medida: 120px;
}
#wpadminbar {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0px!important;
}
::-webkit-scrollbar {
  display: none;
}
::selection {
  background-color: #EAD8AD;
}
.page {
  margin: 0px;
}
body {
  background-color: var(--bege);
  color: var(--vermelho);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-family: "aktiv-grotesk", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  /* 500 md, 600 sb, 700 bd */
}
a, a:hover, a:visited, a:active {
  color: var(--vermelho);
  text-decoration: none;
  transition: all 0.5s ease;
}
.bg-vermelho {
  background-color: var(--vermelho);
}
.bg-bege {
  background-color: var(--bege);
}
.bege {
  color: var(--bege);
}

@font-face {
  font-family: 'Maroni';
  src: url('./Maroni-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@keyframes fade {
  0% {
    opacity: 0;
    transform: translate(0, 2rem);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
.in-view {
  animation: fade .4s .4s both;
}
.not-in-view {
  opacity: 0;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Maroni';
  line-height: 1;
}
h3 {
  font-size: 48px;
}
h4 {
  font-size: 32px;
}
h5 {
  font-size: 20px;
}
small {
  font-size: 13px;
}
.container-cs {
  width: 100%;
  padding-left: 10vw;
  padding-right: 10vw;
}
.pt-h {
  padding-top: var(--medida);
}
.pv-h {
  padding-top: var(--medida);
  padding-bottom: var(--medida);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gap-1 {
  gap: 10px;
}
.gap-2 {
  gap: 20px;
}
.gap-4 {
  gap: 40px;
}
.gap-6 {
  gap: 60px;
}
ul, ol {
  margin: 0px;
  padding: 0px;
}
.ratio-1x1 {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.ratio-4x3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ratio-16x9 {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.w-fit {
  width: fit-content;
}
.cover {
  object-fit: cover;
  object-position: center;
}
.col-2 {
  column-count: 2;
  column-gap: 40px;
}

header {
  transition: all 0.5s ease;
  z-index: 999;
}
#menu-link,
#menu-box {
  display: none;
}
footer a small {
  color: var(--bege)
}
.textura {
  background-repeat: repeat;
}
header img {
  height: 50px;
}



/* realizacao */

.accordion strong {
  font-family: 'Maroni';
  font-weight: normal;
}
.accordion-item,
.accordion-header {
  background-color: transparent!important;
  color: var(--vermelho)!important;
  padding-left: 0px;
}
.accordion-header {
  font-size: 20px;
}
.accordion-body div {
  width: 400px;
}
.accordion-item,
.accordion-flush>.accordion-item:last-child {
  border-bottom: 1pt solid var(--vermelho)!important;
}
.accordion-button:not(.collapsed) {
  box-shadow: none!important;
}
.accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B03624'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B03624'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}



.textura-01 {
  width: 100%;
  height: 50px;
  background-size: contain;
  background-repeat: repeat;
  background-image: url("./textura01.png");
}
.textura-02 {
  width: 100%;
  height: 50px;
  background-size: contain;
  background-repeat: repeat;
  background-image: url("./textura02.png");
}
.textura-03 {
  width: 100%;
  height: 50px;
  background-size: contain;
  background-repeat: repeat;
  background-image: url("./textura03.png");
}



/* livros */

.filtros-livros select {
  color: var(--vermelho);
  background-color: var(--creme);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid var(--vermelho);
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a02020' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.filtros-livros select option {
  color: var(--vermelho);
  background-color: var(--creme);
}
.livro-item:nth-child(3n + 1) div.ratio-1x1 {
  background-image: url("./textura04.png");
  background-repeat: repeat;
  background-size: contain;
}
.livro-item:nth-child(3n + 2) div.ratio-1x1 {
  background-image: url("./textura02.png");
  background-repeat: repeat;
  background-size: contain;
}
.livro-item:nth-child(3n + 3) div.ratio-1x1 {
  background-image: url("./textura03.png");
  background-repeat: repeat;
  background-size: contain;
}
.livro-item img {
  max-width: 80%;
  max-height: 80%;
  object-fit: cover;
}
.livro-carousel .carousel-inner {
  width: 100%;
  height: 100%;
}
.livro-carousel .carousel-item {
  height: 100%;
  text-align: center;
}
.livro-carousel img {
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}





@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .w-100-md {
    width: 100%!important;
  }
  #menu-link,
  #menu-box {
    display: flex;
  }
  .nav {
    display: none;
  }
  #menu-box {
    background-color: var(--vermelho);
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 999;
    transition: transform 0.5s ease;
    transform: translateY(-120%);
  }
  #menu-box.abre {
    transition: transform 0.5s ease;
    transform: translateY(0);
  }
  #menu-box a h5 {
    color: var(--bege);
    margin-bottom: 8px;
  }
}

@media (max-width: 760px) {
  .container-cs {
    padding-left: 20px;
    padding-right: 20px;
  }
  h3 {
    font-size: 32px;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .w-100-sm {
    width: 100%!important;
  }
  .col-2 {
    column-count: 1;
    column-gap: 0px;
  }
  .textura-01 {
    height: 35px;
  }
  .textura-02 {
    height: 48px;
  }
  .textura-03 {
    height: 45px;
  }
  .flex-reverse-sm {
    flex-direction: column-reverse;
  }
  .livro-carousel {
    margin-bottom: 40px;
  }
  .livro-carousel .w-80 {
    width: 90%!important;
  }
}
