/*
Theme Name: Biabum
Text Domain: biabum
Description: Theme developed exclusively for Biabum.
Author: design by Equipe Biabum | webdevelopment by Somar Desenvolvimento Web
Version: 1.8.7
*/

:root {
  --bb-site-margins: min(max(15px, 1.5dvw), 26px);
  --bb-header-height: min(max(35px, 8dvh), 82px);
  --bb-font-family-1: "Athletics", sans-serif;
  --bb-font-family-2: "Sharpgroteskbook", sans-serif;
  --bb-font-family-3: "Sharpgroteskmedium", sans-serif;
}

@media(max-width: 767px) {
  :root {
    --bb-header-height: 35px;
  }
}

@font-face {
  font-family: "Athletics";
  src: url("./assets/fonts/6451200a62d821500fffe483_Athletics_Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Athletics";
  src: url("./assets/fonts/6451200a62d82182c8ffe47e_Athletics_Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Athletics";
  src: url("./assets/fonts/6451200a62d8212086ffe48b_Athletics_Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Sharpgroteskbook";
  src: url("./assets/fonts/6451200962d82161e9ffe36d_SharpGroteskBook-20.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sharpgroteskmedium";
  src: url("./assets/fonts/6451200962d82107e2ffe36c_SharpGroteskMedium-20.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: sans-serif;
  height: 100%;
}

body {
  min-height: 100%;
  color: #000;
  background-color: #fff;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  cursor: auto;
  object-fit: none;
  flex-flow: column;
  align-items: stretch;
  font-family: Sharpgroteskbook, sans-serif;
  overflow: visible;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.masthead {
  padding-left: var(--bb-site-margins);
  padding-right: var(--bb-site-margins);
  height: var(--bb-header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFF;
  transition: 0.4s;
  opacity: 1;
}

.masthead.header-hidd {
  top: calc((var(--bb-header-height)*-1) - 1px);
  opacity: 0;
}

.masthead--site-home {
  display: flex;
}

.masthead--site-home svg {
  display: inline-flex;
  width: min(max(90px, 10dvw), 137px);
  height: auto;
  aspect-ratio: 300/68;
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);
  transform-style: preserve-3d;
  transition: 0.2s;
}

.masthead--site-home:hover svg {
  transform: translate3d(0px, 0px, 0px) scale3d(0.7, 0.7, 1) rotateX(0deg) rotateY(0deg) rotateZ(-20deg) skew(0deg);
  transform-style: preserve-3d;
  will-change: transform;
}

body.single-post .masthead::after,
body.blog .masthead::after,
body.archive.category .masthead::after {
  height: 3px;
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(100% - (2 * var(--bb-site-margins)));
  background-color: #000;
  transform: translateX(-50%);
}

body.single-post .site-info::after,
body.blog .site-info::after,
body.archive.category .site-info::after {
  height: 3px;
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(100% - (2 * var(--bb-site-margins)));
  background-color: #000;
  transform: translateX(-50%);
}

@media(max-width: 991px) {

  body.single-blog .masthead::after,
  body.blog .masthead::after,
  body.archive.category .masthead::after,
  body.single-post .site-info::after,
  body.blog .site-info::after,
  body.archive.category .site-info::after {
    height: 2px;
  }
}

.header--primary-menu .primary-menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  font-size: min(max(19px, 2dvw), 34px);
  text-transform: lowercase;
  font-weight: 400;
  font-family: var(--bb-font-family-1);
}

.header--primary-menu .primary-menu li a {
  color: #000;
  text-decoration: none;
  padding: 2dvh 2vw;
  transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg);
  transform-style: preserve-3d;
  transition: 0.2s;
  display: flex;
}

@media (min-width: 992px) {
  .header--primary-menu .primary-menu li:hover a {
    transform: translate3d(0px, 0px, 0px) scale3d(0.7, 0.7, 1) rotateX(0deg) rotateY(0deg) rotateZ(-20deg) skew(0deg);
    transform-style: preserve-3d;
    will-change: transform;
  }
}

.header--languages-menu ul.languages-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  margin-right: -.4dvw;
}

.header--languages-menu ul li a,
.bordered-link {
  border: 2px solid transparent;
  font-size: min(max(19px, 2dvw), 34px);
  font-weight: 400;
  color: #000;
  text-decoration: none;
  border-radius: 100dvw;
  padding: calc(.1dvw + 4px) .7dvw .1dvw;
  display: flex;
  font-family: var(--bb-font-family-1);
  background-color: transparent;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 0.8;
}

.bordered-link {
  border-color: #000;
  display: inline-flex;
  flex-wrap: nowrap;
  width: auto;
  align-items: center;
  white-space: nowrap;
}

.bordered-link span {
  display: inline-flex;
  height: 100%;
  align-items: center;
  width: 22px;
  justify-content: center;
  position: relative;
  top: -2px;
}

.bordered-link svg {
  height: 74%;
  width: 100%;
}

@media screen and (min-width: 1280px) {

  .header--languages-menu ul li a,
  .bordered-link {
    border-width: .2vw;
    padding-left: .8vw;
    padding-right: .8vw;
  }
}

@media screen and (min-width: 1440px) {

  .header--languages-menu ul li a,
  .bordered-link {
    border-width: min(3px, .2vw);
  }
}

@media screen and (min-width: 1920px) {

  .header--languages-menu ul li a,
  .bordered-link {
    border-width: .15vw;
  }
}

.header--languages-menu ul.languages-menu li.current-lang a,
.header--languages-menu ul li a:hover {
  border-color: #000;
}

.header--nav-container {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.header--primary-menu {
  margin: auto;
}

.header--mobile-menu-toggle {
  display: none;
}

footer.site-footer .site-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--bb-header-height);
  padding: 0 var(--bb-site-margins);
  gap: 30px;
  overflow: hidden;
}

footer.site-footer .site-info p {
  margin: 0;
}

footer.site-footer .site-info--name {
  font-size: min(max(19px, 2.3dvw), 39px);
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-family: var(--bb-font-family-1);
  font-weight: 500;
  position: relative;
  top: 7px;
  white-space: nowrap;
  line-height: 0.9;
}

footer.site-footer .site-info--recadinho {
  font-size: min(max(16px, 2dvw), 31px);
  font-family: var(--bb-font-family-1);
  font-weight: 500;
  transition: 0.4s;
  cursor: pointer;
  transform-origin: right;
}

@media(min-width: 768px) {

  body.post-type-archive-project footer.site-footer .site-info--recadinho:hover,
  body.single-project footer.site-footer .site-info--recadinho:hover {
    transform: scale(1.5);
  }
}

.site-footer {
  background-color: #FFF;
  position: relative;
  z-index: 50;
}

.lgc-column.lgc-first .inside-grid-column {
  padding-left: 0;
}

.lgc-column.lgc-last .inside-grid-column {
  padding-right: 0;
}

@media(max-width: 991px) {
  .header--nav-container {
    display: none;
    position: fixed;
    top: var(--bb-header-height);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--bb-header-height));
    background-color: #FFF;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header--nav-container.is-active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .header--primary-menu .primary-menu {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: min(max(42px, 5.7dvw), 56px);
    line-height: 1em;
  }

  .header--languages-menu {
    margin-top: 2rem;
  }

  .header--mobile-menu-toggle--open,
  .header--mobile-menu-toggle--close {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .header--mobile-menu-toggle--open svg {
    width: 100%;
    height: auto;
  }

  .header--mobile-menu-toggle--close svg {
    width: 100%;
    height: auto;
  }

  .header--mobile-menu-toggle[aria-expanded="false"] .header--mobile-menu-toggle--close {
    display: none;
  }

  .header--mobile-menu-toggle[aria-expanded="true"] .header--mobile-menu-toggle--open {
    display: none;
  }

  .header--mobile-menu-toggle {
    display: flex;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    width: 28px;
  }

  .header--languages-menu ul li a {
    font-size: min(max(42px, 5.7dvw), 56px);
    line-height: 0.6;
    border-width: 3px;
    padding: 14px 22px 7px;
  }

  .header--primary-menu .primary-menu li a {
    padding: 20px;
  }

  .bordered-link {
    padding-left: 10px;
    padding-right: 10px;
  }

  .archive-filter-btn .archive-filter-btn--icon svg {
    right: 0;
  }
}

@media(max-width:767px) {
  footer.site-footer .site-info {
    height: 60px;
  }

  footer.site-footer .site-info--name {
    top: 2px
  }

  footer.site-footer .site-info--recadinho {
    text-align: right;
    line-height: 1em;
  }

  .header--primary-menu .primary-menu li a {
    padding: 17px;
  }

  .header--mobile-menu-toggle {
    width: 24px;
  }

  .header--mobile-menu-toggle[aria-expanded="true"] {
    width: 20px;
  }

  .bordered-link {
    border-width: 2px;
  }

  .bordered-link {
    font-size: 16px;
  }
}

@media(max-width: 479px) {
  footer.site-footer .site-info {
    height: 53px;
  }

  footer.site-footer .site-info--recadinho {
    display: none;
  }
}