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

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: "Neue Montreal";
}

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

.nav {
  position: fixed;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  padding: 1.45em;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
}

.container .col {
  width: 50%;
  height: 100%;
}

.container .img-preview {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 1em;
}

.container .img-preview .img-preview-container {
  width: 160px;
  height: 220px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.container .img-names {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1em;
}

.container .img-names .img-name {
  position: relative;
  width: max-content;
  height: max-content;
  cursor: pointer;
}

.container .img-names .img-name .name {
  position: relative;
  top: 0;
  font-size: 26px;
  letter-spacing: -0.25px;
  text-transform: uppercase;
}

.container .img-names .img-name .name-revealer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.container .img-names .img-name .name-revealer:after {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 105%;
  height: 105%;
  background: #fff;
}

.img-modal {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}

.img-modal .img-view {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 500px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.img-modal .close-btn {
  position: absolute;
  right: 25%;
  width: max-content;
  height: max-content;
  margin: 1em;
  cursor: pointer;
}

.img-modal .close-btn .btn {
  position: relative;
  top: -20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.img-modal .close-btn .btn-revealer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.img-modal .close-btn .btn-revealer:after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 105%;
  height: 105%;
  background: #fff;
}

.img-modal-name {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: max-content;
  height: max-content;
}

.img-modal-name .modal-name {
  position: relative;
  top: -20px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.img-modal-name .modal-name-revealer {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.img-modal-name .modal-name-revealer:after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 105%;
  height: 105%;
  background: #fff;
}

@media (max-width: 700px) {
  .img-modal .close-btn {
    right: 30%;
  }

  .img-modal .img-view {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 400px;
  }

  .img-modal-name {
    top: 15%;
    right: 30%;
    left: unset;
    transform: translate(0, 0);
    margin: 1em;
  }
}
