body, header, main, h1, i, div, img, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hepta Slab", serif;
}

body {
  background-color: #121214;
  background-image: url(../assets/noise-effect.png);
  background-size: contain;
  background-repeat: repeat;
}

header {
  position: fixed;
  max-width: 385px;
  top: 140px;
  left: 111px;
}
header h1 {
  font-size: 48px;
  color: #fff;
}
header i {
  font-size: 32px;
  color: #fff;
  margin-top: 32px;
  display: inline-block;
}

main {
  padding: 140px 134px 140px 506px;
  display: grid;
  gap: 32px;
}
main .grid {
  display: grid;
  gap: 32px;
}
main .grid .image-container {
  position: relative;
  outline: 4px solid transparent;
  transition: outline 0.4s;
}
main .grid .image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}
main .grid .image-container p {
  color: #fff;
  font-size: 20px;
  padding: 24px;
  position: absolute;
  background-image: linear-gradient(to bottom, transparent, black 80%);
  bottom: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s, visibility 0.4s;
}
main .grid .image-container:hover {
  outline-color: #fff;
}
main .grid .image-container:hover p {
  visibility: visible;
  opacity: 1;
}
main .grid .horizontal {
  grid-column: 1/3;
}
main .grid .horizontal img {
  aspect-ratio: 16/9;
}
main .grid-model-1 .image-container:nth-child(1) {
  grid-row: 1/3;
}
main .grid-model-1 .image-container:nth-child(1) img {
  aspect-ratio: 9/16;
}
main .grid-model-2 .image-container:nth-child(3) {
  grid-row: 1/3;
}
main .grid-model-2 .image-container:nth-child(3) img {
  aspect-ratio: 9/16;
}

@media (max-width: 1300px) {
  body header {
    max-width: 300px;
  }
  body header h1 {
    font-size: 40px;
  }
  body main {
    padding-left: 400px;
  }
}
@media (max-width: 1000px) {
  body header {
    max-width: 200px;
    left: 80px;
  }
  body header h1 {
    font-size: 30px;
  }
  body header i {
    margin-top: 15px;
  }
  body main {
    padding-left: 280px;
    padding-right: 80px;
  }
}
@media (max-width: 850px) {
  body header {
    position: absolute;
    top: 50px;
    left: initial;
    max-width: initial;
    width: 100%;
    text-align: center;
  }
  body header h1 {
    font-size: 40px;
  }
  body main {
    padding: 180px 80px 80px 80px;
  }
  body main .grid .image-container p {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  body header h1 {
    font-size: 30px;
  }
  body main {
    padding: 180px 10px 50px 10px;
  }
  body main .grid .image-container p {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */