/*----------------------GLOBAL----------------*/
body {
  font-family: "Montserrat", sans-serif;
  background-color: white;
  display: flex;
  justify-content: center;
  margin: 0;
  font-size: 18px;
}

h1 {
  font-style: normal;
  font-weight: bold;
  font-size: 42px;
  line-height: 51px;
  color: #201f1f;
  margin: 0;
}

h2 {
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  margin: 0;
  color: #201f1f;
}

h4 {
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #948f8a;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100vw - 128px);
  max-width: 1312px;
  padding-top: 102px;
  padding-bottom: 128px;
}

/* -----------------NAVBAR----------------- */
.navbar {
  display: flex;
  flex-direction: row;
  height: fit-content;
  position: fixed;
  width: 100%;
  justify-content: center;
  padding-right: 16px;
  padding-left: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: white;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  justify-content: flex-end;
}

.menu-button {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #201f1f;

  padding: 8px 16px;
  cursor: pointer;
}

.menu-button:hover {
  color: #696765;
}

a {
  text-decoration: none;
  color: #201f1f;
}

/* -----------------/NAVBAR----------------- */

/*----------------------/GLOBAL----------------*/

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.image-big {
  width: inherit;
  height: calc(100vh - 134px);
  object-fit: cover;
}

@media only screen and (max-width: 860px) {
  .navbar {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .navbar-content {
    justify-content: center;
    gap: 0px;
  }
  .container {
    width: calc(100vw - 32px);
  }
}

.container-portfolio {
  display: flex;
  flex-direction: column;
  gap: 256px;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: -webkit-fill-available;
  max-width: 700px;
  line-height: 150%;
}

ul {
  padding-left: 18px;
}

.grid-two-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.image-1 {
  width: 100%;
  min-width: 343px;
  object-fit: cover;
  grid-row: 1/3;
  height: 100%;
}

.image {
  width: 100%;
  object-fit: cover;
  max-height: 648px;
}

.image-normal {
  width: 100%;
  object-fit: cover;
}

.image-square {
  aspect-ratio: 1;
}

.small-gap {
  gap: 128px;
}
.pt-64 {
  padding-top: 64px;
}
.grid-3x3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.grid {
  display: grid;
  gap: 16px;
  width: 100%;
}

.colours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  width: min-content;
}

.colour {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

.colour-1 {
  background-color: #6a9990;
}

.colour-2 {
  background-color: #ee9241;
}

.colour-3 {
  background-color: #e5b852;
}

.colour-4 {
  background-color: #f4e0c0;
}

.grid-1-1-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

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

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

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

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

.long-image-6 {
  grid-column: span 6;
}
.grid-6x6 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.projects-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
}

.project-button {
  display: flex;
  flex-direction: row;
  gap: 32px;
  cursor: pointer;
}

.button-details {
  min-width: 256px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.previous-project-details {
  align-items: flex-end;
}

.next-project-details {
  align-items: flex-start;
}

.indicator {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.indicator-image {
  width: 32px;
  height: 32px;
}

.indicator-text {
  font-size: 18px;
  color: #f5774f;
}

.previous-project-name {
  font-weight: bold;
  font-size: 24px;
  text-align: right;
}

.previous-project-description {
  font-size: 18px;
  text-align: right;
}

.next-project-name {
  font-weight: bold;
  font-size: 24px;
  text-align: left;
}

.next-project-description {
  font-size: 18px;
  text-align: left;
}

.project-image {
  width: 133px;
  height: 133px;
  object-fit: cover;
}

.mobile-image {
  display: none;
}

.desktop-image {
  display: block;
}

@media only screen and (max-width: 1024px) {
  .projects-navigation {
    flex-direction: row;
  }
  .projects-navigation > a:nth-last-child(1) {
    margin-bottom: 32px;
  }
  .project-image {
    width: 80px;
    height: 80px;
  }

  .next-project-name {
    font-size: 20px;
  }
  .previous-project-name {
    font-size: 20px;
  }

  .indicator {
    gap: 16px;
  }
  .indicator-image {
    width: 20px;
    height: 20px;
  }
  .button-details {
    min-width: fit-content;
    width: 100%;
  }
}
.grid-three-wide {
  display: grid;
  gap: 16px;
  width: 100%;
}
.grid-two-square {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.grid-twelve-square {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  width: 100%;
}

@media only screen and (max-width: 860px) {
  body {
    font-size: 16px;
  }
  .grid-two-wide {
    grid-template-columns: 1fr;
  }
  .grid-3x3 {
    grid-template-columns: 1fr;
  }
  .grid-1-1-2 {
    grid-template-columns: 1fr;
  }
  .grid-two-square {
    grid-template-columns: 1fr;
  }
  .grid-four-square {
    grid-template-columns: 1fr 1fr;
  }
  .grid-6x6 {
    grid-template-columns: 1fr;
  }
  .image-1 {
    grid-row: 1;
    aspect-ratio: 1;
  }
  .long-image {
    grid-column: span 1;
  }
  .long-image-3 {
    grid-column: span 1;
  }
  .long-image-6 {
    grid-column: span 1;
  }

  .image-big {
    aspect-ratio: 1;
    height: auto;
  }
  .mobile-image {
    display: block;
  }
  .desktop-image {
    display: none;
  }
  .colours {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .container-portfolio {
    gap: 80px;
  }
  .small-gap {
    gap: 64px;
  }

  .container {
    padding-bottom: 64px;
  }
  .projects-navigation {
    flex-direction: row;
  }
  .project-image {
    display: none;
  }
  .indicator-text {
    display: none;
  }
  .previous-project-details {
    align-items: flex-start;
  }
  .next-project-details {
    align-items: flex-end;
  }
  .next-project-description {
    font-size: 14px;
  }
  .previous-project-description {
    font-size: 14px;
  }
}
