* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  border: 0;
  line-height: 1.66667;
  font-family: Inter,sans-serif;
  font-size: 18px;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  margin: 0;
  border: 0;
  background: #f5f5f5;
  align-items: center;
  z-index: 1;
}

.navbar {
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 1230px;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 30px;
  padding-bottom: 30px;
  line-height: 1;
}

.header-title {
  font-size: 20px;
  font-weight: 700;
}

.header-title a {
  color: black;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  font-size: 17px;
}

.nav-menu a {
  color: #777;
  text-decoration: none;
}

.nav-menu a:hover {
  color: black;
}

.nav-link {
  padding-left: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: black;
  transition: all 0.3s ease-in-out;
}

h1 {
  font-weight: 900;
  font-size: 42px;
  line-height: 3rem;
}

h2 {
  font-weight: 300;
  font-size: 36px;
  line-height: 2.6666666667rem;
}

.gallery {
  width: 100%;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 10px;
  padding-left: 25px;
  padding-right: 25px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-grid-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-grid-item img:hover {
  transform: scale(1.03);
  transform-origin: center;
}

.gallery-grid-item p {
  font-size: 16px;
  text-align: center;
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  padding-bottom: 20px;
  padding-left: 25px;
  padding-right: 25px;
}

.container img {
  width: 100%;
}

.paragraph {
  padding-bottom: 15px;
}

.page-grid {
  display: grid;
  grid-template-columns: calc(50% - 15px) calc(50% - 15px);
  grid-gap: 30px;
  align-items: center;
}

.page-grid-item img {
  width: 100%;
}

.video {
  padding-bottom: 15px;
}

iframe {
  border-width: 0px;
}

.selected-works-container {
  background: #f5f5f5;
}

.selected-works-title {
  font-size: 30px;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 5px;
}

.selected-works {
  width: 100%;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  background: #f5f5f5;
}

.grid {
  display: grid;
  grid-template-columns: calc(50% - 15px) calc(50% - 15px);
  grid-gap: 30px;
  padding-left: 25px;
  padding-right: 25px;
}

.grid-item p {
  font-size: 14px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.grid-item img {
  width: 100%;
}


@media screen and (min-width: 576px) {
  .grid {
    grid-template-columns: calc(33.33% - 20px) calc(33.33% - 20px) calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 101;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    flex-direction: column;
    background-color: #f5f5f5;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: 0.3s ease-in-out;
    z-index: 100;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    font-size: 30px;
    color: #444444 !important;
  }
  .page-grid {
    display: grid;
    grid-template-columns: 100%;
  }
}

@media screen and (min-width: 769px) {
  .gallery-grid {
    grid-template-columns:  calc(33.33% - 20px) calc(33.33% - 20px) calc(33.33% - 20px);
    grid-gap: 30px;
  }
  .gallery-grid-item p {
    margin-bottom: 0;
  }
  .grid {
    grid-template-columns: calc(25% - 22.5px) calc(25% - 22.5px) calc(25% - 22.5px) calc(25% - 22.5px);
  }
}

@media screen and (min-width: 992px) {
  .grid {
    grid-template-columns: calc(16.66% - 25px) calc(16.66% - 25px) calc(16.66% - 25px) calc(16.66% - 25px) calc(16.66% - 25px) calc(16.66% - 25px);
  }
}