* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  background: #dad9d1;
  overflow: hidden;
}

.container {
  margin: 0 auto;
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

button {
  position: relative;
  background: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  font-family: "Neue Montreal";
  font-size: 60px;
  color: #9a9888;
  margin: 1em 2em 1em 2em;
}

button:after {
  content: "";
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  background: #9a9888;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.images {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  height: 80vh;
  margin: 0 auto;
  justify-content: space-between;
  align-items: space-between;
}

.img {
  position: relative;
  width: 200px;
  height: 120px;
  overflow: hidden;
  cursor: pointer;
}

img#main-img {
  transform: scale(1.25);
}

.hovered-img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

@media (max-width: 900px) {
  button {
    font-size: 4vw;
  }

  button:after {
    height: 2px;
  }
}
