@font-face {
  font-family: "SB";
  src: url("../fonts/SB.woff2") format("woff2"), url("../fonts/SB.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SBI";
  src: url("../fonts/SBI.woff2") format("woff2"), url("../fonts/SBI.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TR";
  src: url("../fonts/TR.woff2") format("woff2"), url("../fonts/TR.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  -webkit-user-drag: none;
}

html,
body {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  padding: 0;
  background-color: #0e0e0e;
  color: #ffffff;
  font-family: "SB", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

::-moz-selection {
  color: #0e0e0e;
  background: #ededed;
}

::selection {
  color: #0e0e0e;
  background: #ededed;
}

body::-webkit-scrollbar {
  width: 0;
  display: none;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: transparent;
}

body::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

.scrollbar-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.responsive {
  width: 100%;
}

img.lazy {
  opacity: 0;
}

img:not(.initial) {
  transition: opacity 1s;
}

img.initial,
img.loaded,
img.error {
  opacity: 1;
}

img:not([src]) {
  visibility: hidden;
}

h1,
h2,
h3,
p,
a,
button {
  font-size: 0.73vw;
  font-weight: 400;
  line-height: 125%;
  margin: 0;
}

a,
a:hover {
  text-decoration: none;
}

@media (max-width: 1919px) {
  h1,
  h2,
  h3,
  p,
  a,
  button {
    font-size: 0.9vw;
  }
}

@media (max-width: 1024px) {
  h1,
  h2,
  h3,
  p,
  a,
  button {
    font-size: 1.4vw;
  }
}

@media (max-width: 768px) {
  h1,
  h2,
  h3,
  p,
  a,
  button {
    font-size: 1.8vw;
  }
}

@media (max-width: 560px) {
  h1,
  h2,
  h3,
  p,
  a,
  button {
    font-size: 3.1vw;
  }
}

/* HOMEPAGE STYLE *****************************************************************************************************/
nav {
  width: 100%;
  padding: 20px 20px 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(180deg, #0e0e0e 73%, rgba(14, 14, 14, 0) 100%);
  user-select: none;
  -webkit-user-select: none;
  position: sticky;
  top: 0;
  z-index: 999;
}

.name-logo,
.filter-options,
.selected-projects,
.information-link {
  width: 25%;
}

.name-logo {
  padding-right: 10px;
}

.name-logo a {
  color: #ffffff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.name-logo h1 {
  font-weight: 400;
}

.filter-options,
.selected-projects,
.information-link {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  color: #909090;
}

.bullet-nav {
  width: 0.45vw;
  height: 0.45vw;
  background: #909090;
  border-radius: 50px;
  margin-right: 7px;
  position: relative;
  transform: translateY(50%);
}

.filter-wrapper {
  width: 94%;
  padding-right: 10px;
}

.filter-options h1,
.selected-projects h1:nth-child(1),
.information-link h1 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.filter-options button,
.selected-projects a:nth-child(2),
.selected-projects a:nth-child(3) {
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  color: #909090;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.1s linear;
}

.filter-options button:hover,
.selected-projects a:nth-child(2):hover,
.selected-projects a:nth-child(3):hover,
.information-link h1:hover {
  color: #ffffff;
  transition: color 0.2s linear;
}

.filter-options button::after {
  content: ",";
}

.filter-options button:last-child::after {
  content: "";
}

.filter-options .btn.active,
.selected-projects a.active {
  color: #ffffff;
}

.selected-projects-wrapper {
  width: 94%;
  padding-right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.selected-projects h1:nth-child(1) {
  width: 100%;
}

.selected-projects-wrapper a:nth-child(2):after {
  content: ",";
  padding-right: 4px;
}

.information-link h1 {
  color: #909090;
  cursor: pointer;
  transition: color 0.1s linear;
}

.information-link h1.active {
  color: #ffffff;
}

.information-info-div {
  display: none;
}

.information-info-wrapper {
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  overflow: hidden;
  display: flex;
}

.info-text {
  width: 50%;
  padding-right: 10px;
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  color: #909090;
}

.info-text a {
  color: #ffffff;
  transition: color 0.1s linear;
}

.info-text a:hover {
  color: #909090;
  transition: color 0.2s linear;
}

.contact-info {
  width: 25%;
}

.contact-info h1 {
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.contact-info a {
  width: fit-content;
  display: block;
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  color: #909090;
  transition: color 0.1s linear;
}

.contact-info a:hover {
  color: #ffffff;
  transition: color 0.2s linear;
}

.main-wrapper {
  width: 100%;
  min-height: 51.8vh;
  padding: 120px 20px 0 20px;
}

.project-wrapper {
  position: relative;
  display: none;
  animation: fade-info 0.5s linear;
}

.header-project {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid #909090;
  user-select: none;
}

.header-project h1:nth-child(1) {
  width: 50%;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-right: 10px;
}

.header-project h1:nth-child(2) {
  width: 25%;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-right: 10px;
}

.circle-hover {
  cursor: pointer;
  border-top: 1px solid #909090;
  transition: border-top 0.4s linear;
}

.circle-hover:hover {
  border-top: 1px solid #ffffff;
  transition: border-top 0.2s linear;
}

.circle-hover:hover::after {
  content: "";
  width: 0.45vw;
  height: 0.45vw;
  border-radius: 50px;
  background-color: #ffffff;
  display: block;
  position: relative;
  position: relative;
  transform: translateY(50%);
}

.project-content {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  column-gap: 10px;
  padding-bottom: 40px;
  transition: width 0.1s linear;
}

img.button-full-screen,
img.button-minimize-screen {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.6;
  z-index: 20;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.1s linear;
}

.button-minimize-screen {
  display: none;
}

img.button-full-screen:hover,
img.button-minimize-screen:hover {
  opacity: 1;
  transition: opacity 0.2s linear;
}

.swiper {
  width: calc(25% - 10px);
  height: 100%;
  position: relative;
  margin: 0;
  transition: width 0.1s linear;
}

.swiper-wrapper {
  pointer-events: none;
}

.swiper-slide {
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.swiper-slide img,
.swiper-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination {
  z-index: 100;
  display: none;
}

.swiper-pagination-bullet {
  background: transparent;
  opacity: 0.6;
  border: 0.75px solid #ededed;
  width: 0.45vw;
  height: 0.45vw;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 7px 0 0;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 10px;
  top: var(--swiper-pagination-top, auto);
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
}

.swiper-pagination-bullet-active {
  opacity: 0.6;
  background: #ededed;
  border: 0.75px solid #ededed;
}

.swiper-button-prev {
  width: 50%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  color: transparent;
  left: 0;
  cursor: w-resize;
  display: none;
}

.swiper-button-next {
  width: 50%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  color: transparent;
  right: 0;
  cursor: e-resize;
  display: none;
}

.project-info {
  width: 25%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  position: relative;
  top: -3px;
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  color: #909090;
  cursor: default;
  transition: width 0.1s linear;
}

.live-site-button {
  width: fit-content;
  border: 1px solid #ededed;
  border-radius: 50px;
  line-height: 100%;
  background-color: #ededed;
  opacity: 0.6;
  margin: 10px 10px 0 0;
  padding: 4px 7px 5px 7px;
  user-select: none;
  cursor: pointer;
  transition: opacity 0.1s linear;
}

.live-site-button a {
  color: #0e0e0e;
}

.more-info-button {
  width: fit-content;
  border: 1px solid #ededed;
  border-radius: 50px;
  line-height: 100%;
  color: #ededed;
  opacity: 0.6;
  margin: 10px 10px 0 0;
  padding: 5px 7px 5px 7px;
  user-select: none;
  cursor: pointer;
  display: none;
  transition: opacity 0.1s linear;
}

.close-info-open {
  opacity: 0.8;
}

.live-site-button:hover,
.more-info-button:hover {
  opacity: 1;
  transition: opacity 0.2s linear;
}

.live-site-button a,
.more-info-button h1 {
  line-height: 80%;
}

.more-project-info {
  display: none;
  padding-top: 40px;
}

.more-project-info div {
  padding-top: 25px;
}

.more-project-info div:nth-child(1) {
  padding-top: 0;
}

.more-project-info div h1:nth-child(1) {
  font-family: "SB", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.more-project-info a {
  color: #ffffff;
  transition: color 0.1s linear;
}

.more-project-info a:hover {
  color: #909090;
  transition: color 0.2s linear;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 260px 0 20px 0;
  user-select: none;
}

.time-local {
  width: 50%;
  padding-right: 10px;
}

h1#lisbon-time {
  letter-spacing: 0.01em;
}

.local {
  color: #909090;
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
}

.contacts-footer {
  width: 25%;
  padding-right: 10px;
}

.contacts-footer h1 {
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.contacts-footer a {
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  color: #909090;
  transition: color 0.1s linear;
}

.contacts-footer a:hover {
  color: #ffffff;
  transition: color 0.2s linear;
}

.contacts-footer a::after {
  content: ", ";
}

.contacts-footer a:last-child:after {
  content: "";
}

.all-rights-reserved {
  width: 25%;
  font-family: "TR", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
}

.pointer-events {
  pointer-events: inherit;
}

.add-seventyfive {
  width: calc(75% - 10px);
  transition: width 0.2s linear;
}

@keyframes fade-info {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.show {
  display: block;
  animation: fade-info 0.5s linear;
}

.show-about {
  display: flex;
  animation: fade-info 0.1s linear;
}

.fade-animation {
  animation: fade-info 0.5s linear;
}

.appear {
  display: block;
}

.hide {
  display: none;
}

.ghosting {
  opacity: 0.1;
  pointer-events: none;
  overflow: hidden;
}

.dont-scroll {
  overflow: hidden !important;
}

@keyframes slide-info {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.slide-down {
  animation: slide-info 0.3s ease-in-out 0.05s backwards;
}

#warning {
  display: none;
  font-size: 18px;
  color: red;
}

@media (max-width: 1919px) {
  .bullet-nav,
  .circle-hover:hover::after {
    width: 0.55vw;
    height: 0.55vw;
    transform: translateY(55%);
  }

  .swiper-pagination-bullet {
    width: 0.55vw;
    height: 0.55vw;
  }

  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px 0 0;
  }
}

@media (max-width: 1280px) {
  .bullet-nav,
  .circle-hover:hover::after {
    margin-right: 5px;
  }
}

@media (max-width: 1024px) {
  nav {
    background: linear-gradient(180deg, #0e0e0e 90%, rgba(14, 14, 14, 0) 100%);
  }

  .main-wrapper {
    min-height: 69.7vh;
    padding: 80px 20px 0 20px;
  }

  .bullet-nav {
    width: 0.8vw;
    height: 0.8vw;
    transform: translateY(55%);
  }

  .filter-wrapper,
  .selected-projects-wrapper {
    width: 93%;
  }

  .swiper-pagination-bullet {
    width: 0.8vw;
    height: 0.8vw;
  }

  .circle-hover:hover::after,
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .footer {
    padding: 200px 20px 20px 20px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 10px 10px 20px 10px;
    background: linear-gradient(180deg, #0e0e0e 94%, rgba(14, 14, 14, 0) 100%);
  }

  .name-logo {
    width: 50%;
    order: 1;
  }

  .bullet-nav {
    width: 1vw;
    height: 1vw;
    transform: translateY(56%);
  }

  .information-link {
    width: 50%;
    order: 2;
  }

  .information-info-div {
    order: 3;
  }

  .information-info-wrapper {
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .info-text {
    width: 100%;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .contact-info {
    width: 100%;
  }

  .filter-options {
    width: 50%;
    order: 4;
    padding-top: 25px;
  }

  .filter-wrapper .btn {
    display: none;
  }

  .filter-wrapper .btn.active {
    display: inline-flex;
  }

  .filter-wrapper .btn.active::after {
    content: "" !important;
  }

  .show-filters {
    display: inline-flex !important;
  }

  .show-filters-content::after {
    content: ", " !important;
  }

  button.btn.active.show-filters::after {
    content: "," !important;
  }

  .selected-projects {
    width: 50%;
    order: 5;
    padding-top: 25px;
  }

  .main-wrapper {
    min-height: 66.4vh;
    padding: 80px 10px 0 10px;
  }

  .project-content {
    flex-wrap: wrap;
  }

  img.button-full-screen,
  img.button-minimize-screen {
    display: none;
  }

  .swiper {
    width: 100%;
  }

  .swiper-wrapper {
    pointer-events: inherit;
  }

  .swiper-pagination-bullet {
    width: 1vw;
    height: 1vw;
  }

  .project-info {
    width: 100%;
    top: 0;
    padding-top: 15px;
  }

  .live-site-button {
    padding: 2.5px 7px 4.5px 7px;
    margin-top: 10px;
  }

  .more-info-button {
    display: block;
    padding: 7px 7px 7px 7px;
    margin-top: 10px;
  }

  .swiper-pagination {
    display: block;
  }

  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    left: 50%;
    transform: translateX(-50%);
  }

  .more-project-info {
    width: 100%;
    padding-top: 25px;
  }

  .more-project-info div {
    padding-top: 20px;
  }

  .footer {
    padding: 140px 0 10px 0;
    flex-wrap: wrap;
  }

  .time-local {
    order: 1;
  }

  .contacts-footer {
    width: 50%;
    padding-right: 0;
    order: 2;
  }

  .all-rights-reserved {
    width: 100%;
    order: 3;
    padding-top: 30px;
    padding-left: 50%;
  }
}

@media (max-width: 560px) {
  .bullet-nav {
    width: 1.8vw;
    height: 1.8vw;
    transform: translateY(55%);
  }

  .main-wrapper {
    min-height: 50.5vh;
    padding: 60px 10px 0 10px;
  }

  .header-project h1:nth-child(1) {
    width: 83.3333333%;
  }

  .header-project h1:nth-child(2) {
    width: 16.6666667%;
    text-align: right;
    padding-right: 0;
  }

  .swiper-pagination-bullet {
    width: 1.8vw;
    height: 1.8vw;
  }

  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 7px;
    top: var(--swiper-pagination-top, auto);
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
  }

  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 3px 0 0;
  }
}
