/* geral */

:root {
  --col: calc((100vw - 40px) / 12);
}

body {
  background-color: #fff;
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  color: #000;
  font-style: normal;
}

.haas {
  font-family: "neue-haas-grotesk-text", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.source {
  font-family: "source-serif-4", serif;
  font-weight: 400;
  font-style: normal;
}

ul {
  list-style: none;
}

a,
a:hover,
a:active,
a:visited {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}


h4, small, p {
  font-weight: 400;
}

h4,
h4 p {
  font-size: 28px;
  margin: 0px;
  line-height: 30px;
}
p, small, .small, .small p {
  font-size: 12px;
  line-height: 14px;
  margin-top: 0px;
}
.source p {
  font-size: 30px;
  line-height: 32px;
}

.col-bg {
  width: calc(var(--col) * 9);
}
.col-sm {
  width: calc(var(--col) * 3);
}

.pt-header {
  padding-top: 440px;
}

#sobre {
  padding-top: 220px;
}

/* header */

header {
  position: fixed;
  top: 150px;
  left: 0;
  padding: 20px;
  width: 100%;
  z-index: 9;
  pointer-events: none;
}

.menu-linguas-container {
  pointer-events: all !important;
}

/* project selection */

.download-projects {
  position: fixed;
  top: 150px;
  padding-top: 24px;
  text-transform: uppercase;
  left: calc(var(--col) * 6 );
  color: #c3c2bc;
  /* transition: ease 0.5s; */
  pointer-events: none;
  z-index: 999;
}

.download-projects.active {
  color: #000;
  pointer-events: all !important;
}

.download-projects .selections-container {
  display: none;
}

.download-projects.active .selections-container {
  display: flex;
}

.download-projects .projects-selections {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  cursor: pointer;
  gap: 1px;
}

.projects-selections li + li::before {
  content: ", ";
}

.download-projects a {
  color: inherit;
}

/* sidebar */

.sidebar {
  background-color: #f7f6f2;
  color: #c3c2bc;
  padding-left: 20px;
  padding-right: 20px;
  position: fixed;
  height: 100dvh;
  top: 0;
  right: 0;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.post,
.paper {
  margin-bottom: 50dvh;
}

.download-p {
  position: fixed;
  top: 150px;
  right: -calc(var(--col) * 3);
  padding-top: 19px;
}

/* projetos */

.projeto {
  margin-bottom: 200px;
}
.pl-bg {
  padding-left: calc(var(--col) * 2);
}
.sobre {
  padding-top: 50dvh;
}
.sobre p {
  line-height: 17px;
}
.content {
  padding-left: 20px;
  padding-right: 20px;
}
.projeto-txt {
  opacity: 0;
  /* transition: ease 0.5s; */
}
.projeto:hover .projeto-txt {
  opacity: 1;
  /* transition: ease 0.5s; */
}

.select {
  display: none;
  cursor: pointer;
}

.select.show {
  display: inline;
}

.horizontal {
  width: calc(var(--col) * 8);
}
.vertical {
  width: calc(var(--col) * 5);
  margin-left: calc(var(--col) * 2);
}

header .horizontal {
  width: calc((var(--col) * 8) + 32px);
}

.section-slide {
  height: 90dvh;
}

.slide-image {
  position: absolute;
  opacity: 0;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
  /* transition: opacity 0.5s ease; */
}
.slide-image.active {
  opacity: 1;
}

a small.btn-amanda {
  pointer-events: auto;
}


@media (max-width: 1024px) {
  .section-slide {
    height: 90vw;
  }
  .slide-image {
    width: 100%;
    height: auto;
    max-height: 100%;
  }
  .horizontal {
    width: 100%;
  }
  .vertical {
    width: 100%;
    height: 100%;
    margin-left: 0px;
  }

  .download-projects {
    top: 0px;
    left: 20px;
  }

  .projeto-txt {
    opacity: 1;
  }


  h4,
  h4 p {
    font-size: 22px;
    margin: 0px;
    line-height: 25px;
  }
  p, small, .small, .small p {
    font-size: 12px;
    line-height: 14px;
    margin-top: 0px;
  }
  .source p {
    font-size: 24px;
    line-height: 26px;
  }
}

@media (max-width: 680px) {
  .pt-header {
    padding-top: 220px;
  }
  body {
    overflow: hidden;
    height: 100dvh;
  }
  .wrapper {
    width: 100vw;
    height: 100dvh;
    overflow-x: scroll;
    overflow-y: hidden;
  }
  .wrapper-container {
    width: 170vw;
    height: 100%;
    position: relative;
  }
  .col-bg {
    width: 85vw;
  }
  .col-sm {
    width: 85vw;
  }
  .content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100dvh;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .content::-webkit-scrollbar {
    display: none;
  }
  .sidebar {
    position: absolute;
    right: auto;
    left: 85vw;
  }
  .projeto {
    margin-bottom: 100px;
  }
  .section-slide {
    height: 110vw;
  }

  .pl-bg {
    padding-left: 0px;
  }
  .projeto-txt {
    opacity: 1;
  }


  .post,
  .paper {
    margin-bottom: 150px;
  }

  header .col-bg {
    width: 100vw;
  }
  header small.ph5 {
    padding-right: 0px;
  }
  .download {
    position: fixed;
    top: 20px;
    left: 20px;
  }

  /* scrollbar */
  .wrapper {
    scrollbar-width: thin;
    scrollbar-color: black transparent;
  }
  .wrapper::-webkit-scrollbar {
    height: 4px;
  }
  .wrapper::-webkit-scrollbar-track {
    background: transparent;
  }
  .wrapper::-webkit-scrollbar-thumb {
    background-color: black;
    border-radius: 0;
  }
  .nav-menu {
    position: fixed;
    left: calc(85vw + 20px);
    padding-left: 0px;
    top: 150px;
    padding-top: 22px;
  }
  .nav-menu ul, .nav-menu li {
    padding: 0px;
    margin: 0px;
  }
  .download-projects {
    position: sticky;
    top: 0px;
    transform: translateY(-220px);
    padding-top: 20px;
  }
  .download-p {
    position: sticky!important;
    top: 0px;
    right: 0px;
    padding-top: 18px;
    line-height: 1;
    transform: translateY(-220px);
    display: flex;
    justify-content: flex-end;
  }
}
