/* Mixins */
/* mukta-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mukta";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/mukta-v14-latin-300.woff2") format("woff2"), url("../fonts/mukta-v14-latin-300.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* mukta-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mukta";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/mukta-v14-latin-600.woff2") format("woff2"), url("../fonts/mukta-v14-latin-600.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* mukta-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Mukta";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/mukta-v14-latin-700.woff2") format("woff2"), url("../fonts/mukta-v14-latin-700.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* Reset & Default Style */
* {
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  /* Variables */
  --text: #050505;
  --background: #efefef;
  --primary: #267126;
  --primaryd: hsl(120, 50%, 40%);
  --primaryt: rgba(38, 113, 38, 0.5);
  --secondary: #edefef;
  --accent: #3b3ba5;
  font-family: "Mukta", sans-serif;
  line-height: 1.6;
  font-weight: 300;
}

strong {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
}
h1:is(h2, h3, h4, h5, h6),
h2:is(h2, h3, h4, h5, h6),
h3:is(h2, h3, h4, h5, h6),
h4:is(h2, h3, h4, h5, h6),
h5:is(h2, h3, h4, h5, h6),
h6:is(h2, h3, h4, h5, h6) {
  margin-bottom: 0.5em;
}

h1 {
  font-size: max(2rem, 3vmin);
  margin-bottom: 1rem;
}
@media screen and (min-width: 768px) {
  h1 {
    font-size: max(3rem, 5vmin);
  }
}

h2 {
  font-size: max(1.5rem, 2.5vmin);
}

h3 {
  font-size: max(1.2rem, 1.9vmin);
  color: var(--primary);
}

/* Styles */
header {
  position: relative;
  height: 100vh;
}
header .swiper {
  width: 100%;
  height: 100%;
}
header .swiper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
header .swiper .swiper-pagination {
  text-align: right;
  padding-right: 1rem;
}
header [role=button] {
  margin-top: 2rem;
}
header .subheadline {
  color: #fff;
}
header .header-content {
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  color: #fff;
}
@media screen and (min-width: 768px) {
  header .header-content {
    text-align: left;
    width: max(768px, 45vw);
    display: grid;
    place-items: center;
    padding: 0 3rem 0 max(20px, 10vmin);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
  }
}
header .header-content::before {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: -1;
  background-color: var(--primaryt);
}
header .header-content > div {
  max-width: 600px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  header .header-content > div {
    max-width: unset;
    margin: 0;
  }
}

[role=button]:not(.swiper-pagination-bullet) {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  padding: 0.5em 1.5em;
  background-color: var(--primary);
  color: #fff;
  border-radius: 9px;
}
@media (hover: hover) {
  [role=button]:not(.swiper-pagination-bullet) {
    -webkit-transition-duration: 250ms;
            transition-duration: 250ms;
  }
  [role=button]:not(.swiper-pagination-bullet):hover {
    -webkit-box-shadow: 0 0 0 4px var(--primaryt);
            box-shadow: 0 0 0 4px var(--primaryt);
    background-color: var(--primaryd);
  }
}

section > div {
  padding: calc(max(20px, 10vmin) / 1.5) max(20px, 10vmin);
}

.subheadline {
  font-weight: 600;
  color: var(--primary);
}
.subheadline:not(.nomargin) {
  margin-bottom: 0.5rem;
}

/* Tabs */
.tabs .nav {
  position: relative;
  margin-bottom: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.5rem;
}
.tabs .nav .indicator {
  position: absolute;
  height: 3px;
  background-color: var(--primary);
  -webkit-transition-duration: 500ms;
          transition-duration: 500ms;
  -webkit-transition-timing-function: cubic-bezier(0.7, -0.55, 0.25, 1.55);
          transition-timing-function: cubic-bezier(0.7, -0.55, 0.25, 1.55);
}
.tabs .nav p {
  display: inline;
  margin: 0;
  padding: 0.1em 0.2em;
  cursor: pointer;
}
.tabs .content {
  position: relative;
  min-height: 0;
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
}
.tabs .content .tab {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  top: 0;
  left: 0;
  translate: 0 15px;
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
  opacity: 0;
  pointer-events: none;
}
.tabs .content .tab.active {
  pointer-events: auto;
  opacity: 1;
  translate: 0 0;
}
@media screen and (min-width: 700px) {
  .tabs .content .tab {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

@media (min-width: 750px) {
  .tabs .nav {
    gap: 1.5rem;
  }
}
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
}
@media screen and (min-width: 1200px) {
  .flex {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 10vw;
  }
  .flex > * {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    width: 100%;
  }
}
.flex.small {
  gap: 2rem !important;
}

/* Popups */
:root {
  --popup-background: #fff;
  --popup-roundness: 10px;
}

.popups {
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
  /* Safari */
}
.popups.show {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .popups {
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
}
.popups .popup {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: fixed;
  z-index: 999;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--popup-background);
  border-radius: var(--popup-roundness);
  padding: 5vmin;
  max-height: 85vh;
  overflow-y: auto;
  translate: 0 30px;
  opacity: 0;
  pointer-events: none;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
@media (min-width: 850px) {
  .popups .popup {
    width: min(95%, 750px);
    -webkit-transform: translateX(-50%) scale(1.1);
            transform: translateX(-50%) scale(1.1);
    left: 50%;
    bottom: unset;
    top: 20%;
    padding: 2vmax;
  }
}
.popups .popup.show {
  -webkit-transform: translateX(-50%) scale(1);
          transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.popups .popup .popup-close {
  width: 1.5em;
  aspect-ratio: 1;
  position: sticky;
  top: 0;
  left: 96%;
  background-color: transparent;
  cursor: pointer;
}
@media (min-width: 768px) {
  .popups .popup .popup-close {
    width: 1.2em;
    left: 100%;
  }
}
.popups .popup .popup-close::before,
.popups .popup .popup-close::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background-color: #303030;
}
.popups .popup .popup-close::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.popups .popup .popup-close::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.tab {
  gap: 1rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (min-width: 768px) {
  .tab {
    gap: 2.5rem;
  }
}
.tab img {
  width: 100%;
  border-radius: 10px;
  min-width: 150px;
}
@media screen and (min-width: 600px) {
  .tab img {
    max-width: 200px;
  }
}
.tab [role=button] {
  margin-top: 1.5rem;
}

.card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(9px);
          backdrop-filter: blur(9px);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  text-align: center;
}
@media (min-width: 550px) {
  .card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    text-align: left;
    gap: 1.5rem;
  }
}
.card img {
  height: 100%;
  width: 100%;
  aspect-ratio: 1/1;
}
@media (min-width: 900px) {
  .card img {
    max-width: 150px;
  }
}
.card > div {
  padding: 1rem 1.5rem 1.5rem;
}
@media (min-width: 900px) {
  .card > div {
    padding: 0.5rem 0.5rem 0.5rem 0;
  }
}
.card > div p {
  opacity: 0.6;
}

#autor {
  position: relative;
  background: url("../images/grunge-texture.jpg") center center/cover;
  z-index: 2;
  color: #fff;
}
#autor [role=button] {
  margin-top: 2rem;
}
#autor::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: "";
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: var(--primary);
  opacity: 0.65;
}

footer {
  background-color: #3f4a3d;
  color: #fff;
}
footer a {
  color: #fff;
}
footer .logo {
  margin-bottom: 2rem;
}

.logo {
  max-width: 100%;
}

.center {
  text-align: center;
  max-width: 975px;
  margin-inline: auto;
}
.center [role=button] {
  margin-top: 2rem;
}

.underline {
  text-decoration: underline;
}

.contact {
  padding: calc(max(20px, 10vmin) / 6) max(20px, 10vmin);
}

a {
  color: var(--primary);
}

nav {
  position: fixed;
  z-index: 997;
  top: 0;
  right: 0;
  width: max(min(100%, 420px), 80vw);
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  background-color: var(--primaryt);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 5vmin;
  font-size: min(5vw, 3rem);
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition-duration: 350ms;
          transition-duration: 350ms;
}
@supports not (-moz-appearance: none) {
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
    nav {
      background-color: var(--primary);
      -webkit-backdrop-filter: none;
              backdrop-filter: none;
    }
  }
}
nav ul {
  list-style-type: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (max-width: 999.999px) {
  nav ul li {
    -webkit-transition-duration: 250ms;
            transition-duration: 250ms;
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  nav ul li.show {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
nav a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
}
nav.show {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
nav .logo {
  max-height: 90px;
  margin-bottom: 2rem;
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
}
@media screen and (min-width: 1000px) {
  nav {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: unset;
    padding: 1rem max(20px, 10vmin);
    font-size: 1.2rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    background-color: var(--primaryt);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
  nav.scrolled {
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
  }
  @supports not (-moz-appearance: none) {
    @media screen and (min-width: 1000px) and (-webkit-min-device-pixel-ratio: 0) {
      nav.scrolled {
        background-color: var(--primary);
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
      }
    }
  }
  nav.scrolled .logo {
    height: 55px;
  }
  nav .logo {
    margin: 0;
  }
  nav ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 2rem;
  }
}

.hamburger {
  position: fixed;
  z-index: 998;
  top: 1rem;
  right: 1.65rem;
  width: 28px;
  height: 28px;
  background-color: transparent;
  cursor: pointer;
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
}
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  right: 0;
  height: 2px;
  width: 100%;
  background-color: var(--popup-background);
  -webkit-transition-duration: 250ms;
          transition-duration: 250ms;
}
.hamburger::before {
  top: 35%;
}
.hamburger::after {
  top: 65%;
  width: 75%;
}
@media screen and (min-width: 1000px) {
  .hamburger {
    top: -2rem;
  }
}

body:has(nav.show) .hamburger::before, body:has(nav.show) .hamburger::after {
  width: 100%;
  right: 50%;
  top: 50%;
}
body:has(nav.show) .hamburger::before {
  -webkit-transform: translate(50%, -50%) rotate(45deg);
          transform: translate(50%, -50%) rotate(45deg);
}
body:has(nav.show) .hamburger::after {
  -webkit-transform: translate(50%, -50%) rotate(-45deg);
          transform: translate(50%, -50%) rotate(-45deg);
}