/* Variáveis CSS Globais */
:root {
  --margin-padding: 1vw;
  --type: 16px;
  --ff-sat: 'Satoshi', sans-serif;
  --ff-gar: "EB Garamond", serif;
  --bg-color: #FAF7F5;
  --bg-color-alpha: #FAF7F5B3;
}

body.mondo-about-page,
body.single-project,
main#secondary {
  --margin-padding: 4vw;
}

body.home {
  --margin-padding: 2vw;
}

/* Maior que 2000px */
@media (min-width: 2001px) {
  :root {
    --type: 20px;
  }
}

/* De 2000px a 1200px */
@media (min-width: 1200px) and (max-width: 2000px) {
  :root {
    --type: 1vw;
  }
}

/* De 1199px a 800px */
@media (min-width: 800px) and (max-width: 1199px) {
  :root {
    --type: 12px;
  }
}

/* De 799px a 600px */
@media (min-width: 600px) and (max-width: 799px) {
  :root {
    --type: 2vw;
  }
}

/* De 599px a 400px */
@media (min-width: 400px) and (max-width: 599px) {
  :root {
    --type: 12px;
  }
}

/* Menor que 400px */
@media (max-width: 399px) {

  :root,
  body.mondo-about-page,
  body.single-project,
  main#primary,
  main#secondary,
  body.home {
    --margin-padding: 8px;
    --type: 12px;
  }

  body:not(.home) .main-footer {
    margin-bottom: 8px;
  }
}

html {
  font-size: var(--type);
}

body {
  font-size: 1rem;
  font-family: 'Satoshi', sans-serif;
  background-color: var(--bg-color);
  transition: 0.2s;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* body.loading { */
body.popup-modal-active {
  background-color: #323131;
}

/* body.loading .site-branding { */
body.popup-modal-active .site-branding {
  color: #FFFFFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
}

.fs-sat-xxl {
  font-size: 12rem;
  letter-spacing: -0.05em;
}

.fs-sat-xl {
  font-size: 6rem;
  letter-spacing: -0.05em;
}

.fs-sat-l {
  font-size: 4rem;
  letter-spacing: -0.02em;
}

.fs-sat-m {
  font-size: 2rem;
}

.fs-sat-s {
  font-size: 1.5rem;
}

.fs-sat-xs {
  font-size: 1rem;
}

.fs-gar-xxl {
  font-size: 13.5rem;
  letter-spacing: -0.05em;
}

.fs-gar-xl {
  font-size: 6.75rem;
  letter-spacing: -0.05em;
}

.fs-gar-l {
  font-size: 4rem;
  letter-spacing: -0.02em;
}

.fs-gar-m {
  font-size: 2.25rem;
}

.fs-gar-s {
  font-size: 1.6875rem;
}

.fs-gar-xs {
  font-size: 1.125rem;
}

.ff-sat {
  font-family: var(--ff-sat);
}

.ff-gar {
  font-family: var(--ff-gar);
}

.marg-top-xxl {
  margin-top: 12rem;
}

.marg-top-xl {
  margin-top: 6rem;
}

.marg-top-l {
  margin-top: 4rem;
}

.marg-top-m {
  margin-top: 2rem;
}

.marg-top-s {
  margin-top: 1.5rem;
}

.marg-top-xs {
  margin-top: 1rem;
}

.marg-top-z {
  margin-top: 0;
}

.marg-bottom-xxl {
  margin-bottom: 12rem;
}

.marg-bottom-xl {
  margin-bottom: 6rem;
}

.marg-bottom-l {
  margin-bottom: 4rem;
}

.marg-bottom-m {
  margin-bottom: 2rem;
}

.marg-bottom-s {
  margin-bottom: 1.5rem;
}

.marg-bottom-xs {
  margin-bottom: 1rem;
}

.marg-bottom-z {
  margin-bottom: 0;
}

#primary {
  padding-left: var(--margin-padding);
  padding-right: var(--margin-padding);
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: var(--margin-padding);
}

.row-col {
  position: relative;
}

.span-1 {
  grid-column: span 1;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-9 {
  grid-column: span 9;
}

.span-10 {
  grid-column: span 10;
}

.span-11 {
  grid-column: span 11;
}

.span-12 {
  grid-column: span 12;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

#masthead {
  /* height: 10rem; */
  /* display: flex; */
  /* align-items: flex-start; */
  /* justify-content: center; */
  /* padding-top: 16px; */

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 6rem;
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  z-index: 600;
  transition: 0.2s;
}

body.popup-modal-active #masthead {
  background-color: #323131;
}

.site-branding {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.site-branding a {
  transition: 0.2s;
  color: #000;
  display: inline-flex;
}

.site-branding svg,
.site-branding img {
  width: 100%;
  height: 100%;
}

.site-branding svg {
  /* width: 84px; */
  /* height: 16px; */
  color: inherit;
  fill: currentColor;
}

.mondo-section--col--text {
  line-height: 133%;
  margin-top: 0.5rem;
  /* white-space: preserve-spaces; */
  white-space: preserve;
}

.mondo-section--col--video {
  overflow: hidden;
  border-radius: 0.5rem;
}

.mondo-section--col--video.video-type-upload {
  display: flex;
}

.mondo-section--col--video video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

hr.mondo-section-top-sep {
  background-color: #7D7C7B;
  margin: 0;
  margin-left: calc((var(--margin-padding)) * -1);
  margin-right: calc((var(--margin-padding)) * -1);
}

/* Navigation */
.toggle-nav {
  display: inline-flex;
  border-radius: 100px;
  padding: 4px;
  position: relative;
  list-style: none;
  margin: 0;

  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  background: rgba(239, 236, 234, 0.7);
  backdrop-filter: blur(10px);
}

.toggle-nav--item {
  position: relative;
}

.toggle-nav--item--link {
  display: flex;
  padding: 10px 20px;
  border-radius: 100px;
  color: #575656;
  text-decoration: none;
  position: relative;
  z-index: 1;
  font-size: 16px;
  width: 104px;
  align-items: center;
  justify-content: center;
}

.toggle-nav--item.active .toggle-nav--item--link {
  color: #000000;
}

.toggle-nav--item:hover .toggle-nav--item--link {
  cursor: pointer;
}

.toggle-nav .active-pill {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background-color: white;
  border-radius: 100px;
  z-index: 0;
  transition: left 0.3s ease, width 0.3s ease;
}

@media (max-width: 600px) {
  .toggle-nav {
    bottom: calc(48px + env(safe-area-inset-bottom));
  }
}

/* Navigation */

/* Loader */
#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Loader */

/* Modal */
#modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: calc(100% - 48px);
  background-color: white;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 1001;
  overflow-y: auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transition: bottom 0.5s ease;
  overflow: hidden;
}

#modal.active {
  bottom: 0;
}

#secondary {
  padding-left: var(--margin-padding);
  padding-right: var(--margin-padding);

  overflow-y: auto;
  height: 100%;
  box-shadow: 0px -4px 40px 0px rgba(0, 0, 0, 0.1);
}

body.popup-modal-active {
  overflow: hidden;
}

body.popup-modal-active #primary {
  opacity: 0.35;
}

.mondo-close-popup-nav {
  background: none;
  border: 0;
  padding: 0;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: 0.2s;
  z-index: 10;
}

.mondo-close-popup-nav:hover {
  background-color: rgba(239, 236, 234, 0.7);
}

.mondo-close-popup-nav svg {
  width: 13px;
  height: 13px;
}

/* Modal */

.mondo-homepage-img-caption-serif {
  font-size: 112.5%;
  margin: 10px 0 0;
}

body.home .mondo-section--col--img {
  display: flex;
}

.mondo-project-link-img {
  display: flex;
  width: 100%;
  transition: 0.2s;
}

.mondo-project-link-img:hover {
  opacity: 0.8;
}

body.home .mondo-section--col--img img {
  border-radius: 0.5rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.mondo-section--col--img img {
  border-radius: 0.5rem;
}

.mondo-project-link-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#secondary .entry-content>.row {
  margin-top: min(100px, 10vw);
}

.row-col-loop-project-link {
  display: flex;
}

.row-col-loop-project-link img {
  border-radius: 0.5rem;
}

.navigation.posts-navigation .nav-links {
  display: none;
}

.navigation.posts-navigation .loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.navigation.posts-navigation .spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #000;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.mondo-project-category-nav-button {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
  color: #000;
  display: inline-flex;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: 0.2s;
}

.mondo-project-category-nav-button:hover {
  background-color: rgba(239, 236, 234, 0.7);
}

.mondo-project-category-nav-button svg {
  color: inherit;
}

body.popup-modal-active .mondo-project-category-nav-button {
  display: none !important;
}

.mondo-project-category-nav-button[aria-expanded="false"] svg.mondo-project-category-nav-button-times {
  display: none;
}

.mondo-project-category-nav-button[aria-expanded="true"] svg.mondo-project-category-nav-button-filter {
  display: none;
}

.mondo-project-category-nav {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 3rem;
  padding-left: var(--margin-padding);
  padding-right: var(--margin-padding);
  background-color: var(--bg-color);
}

.mondo-project-category-nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 32px;
  align-items: stretch;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mondo-project-category-nav-list-item a {
  display: flex;
  height: 100%;
  align-items: center;
  text-decoration: none;
  padding: 0 16px 2px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  transition: 0.2s;
  background-color: var(--bg-color-alpha);
  backdrop-filter: blur(10px);
}

.mondo-project-category-nav-list-item a:hover,
.mondo-project-category-nav-list-item a.current {
  background-color: #000;
  color: #FFF;
  border-color: #000;
}

body.mondo-about-page .mondo-project-category-nav,
body.mondo-about-page .mondo-project-category-nav-button {
  display: none !important;
}

.mondo-project-category-nav-button--counter {
  background-color: #000;
  display: none;
  width: 12px;
  height: 12px;
  font-size: 8px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  border-radius: 50%;
  font-weight: bold;
  color: #FFF;
  border: 1px solid var(--bg-color);
  position: absolute;
  top: 2px;
  right: 0;
}

.mondo-project-category-nav-button--counter.active {
  display: inline-flex;
}

.mondo-project-category-nav-button[aria-expanded="true"] .mondo-project-category-nav-button--counter.active {
  display: none !important;
}

.main-footer {
  margin-top: 10rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 20px;
  margin-bottom: var(--margin-padding);
}

.main-footer p {
  margin: 0;
  line-height: 1.1;
}

.main-footer-col2 {
  text-align: right;
}

:root {
  --animate-duration: 1.7s;
}

body:not(.home) .main-footer {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1vw;
}

section.row {
  transition: 1.2s ease;
}

section.row:not(.active) {
  padding-top: 4rem;
  opacity: 0;
}