/* Main */
.main-container {
  height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Text */
.hero-container {
  display: flex;
  align-items: center;
  height: 25%;
  width: 100%;
}

.hero-text {
  padding: 0 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: end;
  text-align: right;
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-text h1 {
  font-weight: 700;
  text-transform: lowercase;
  font-size: 8.3vw;
  line-height: 10.79vw;
}

.hero-text span.pictures-link,
.hero-text span.stories-link {
  position: relative;
}

.hero-text span.pictures-link a:hover,
.hero-text span.stories-link a:hover {
  color: grey;
}

.hero-text span.pictures-link a::before,
.hero-text span.stories-link a::before,
.hero-text span.stories-link a::after {
  position: absolute;
  font-size: 2.7vw;
  line-height: 2.7vw;
  text-align: right;
  color: grey;
  transition-delay: 0s;
  transition-duration: 0.3s;
  opacity: 0;
}

.hero-text span.pictures-link a::before {
  content: "see more";
  top: 4vw;
  right: 2.4vw;
}

.hero-text span.stories-link a::before {
  content: "read \00a0\00a0\00a0\00a0 a little";
  top: 4vw;
  right: 0.3vw;
}

.hero-text span.stories-link a::after {
  content: "about me";
  position: absolute;
  bottom: 3vw;
  right: 0.3vw;
}

.hero-text span.pictures-link a:hover::before,
.hero-text span.stories-link a:hover::before {
  opacity: 1;
  transform: translateY(-4vw);
  -webkit-transform: translateY(-4vw);
}

.hero-text span.stories-link a:hover::after {
  opacity: 1;
  transform: translateY(4.5vw);
  -webkit-transform: translateY(4.5vw);
}

.hero-text h1 span.thin-font {
  font-weight: 300;
}

/* Hero Image */
.img-container {
  height: 60%;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
}

.img-container::before,
.img-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99;
}

.img-container::before {
  left: 0;
  mask: linear-gradient(90deg, black 40%, transparent);
  -webkit-mask: linear-gradient(90deg, black 40%, transparent);
}

.img-container::after {
  right: -1px;
  mask: linear-gradient(270deg, black 40%, transparent);
  -webkit-mask: linear-gradient(270deg, black 40%, transparent);
}

.img-slider {
  animation: 30s slide-x infinite linear;
  height: 85%;
}

.img-wrapper {
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  display: inline-block;
}

.img-wrapper img {
  height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.img-wrapper.loaded img {
  opacity: 1;
}

.img-skeleton {
  position: relative;
  overflow: hidden;
}

.img-skeleton::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  background-color: #aaaaaa;
  z-index: -1;
}

.img-skeleton.img-potrait::before {
  width: 64%;
  height: 85%;
}

.img-skeleton.img-landscape::before {
  width: 85%;
  height: 64%;
}

.img-skeleton::after {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.6) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1.6s infinite;
  content: "";
  z-index: -1;
}

/* Footer */
.footer-container {
  padding: 0 30px 30px 30px;
  display: flex;
  justify-content: end;
  width: 100%;
  height: 15%;
  align-items: end;
  font-size: 10px;
  font-weight: 300;
  line-height: 18px;
}

.footer-container .copyright {
  width: 28%;
  text-align: left;
}

.footer-container .description {
  width: 72%;
  text-align: right;
}

@media only screen and (max-height: 450px) {
  .img-container {
    height: 45%;
  }

  .hero-container {
    height: 30%;
  }

  .footer-container {
    height: 25%;
  }
}

@media only screen and (min-width: 431px) {
  .img-container {
    height: 50%;
  }

  .hero-container {
    height: 35%;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(21px, 4.9vw, 42px);
  }

  .hero-text h1 br {
    display: none;
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before,
  .hero-text span.stories-link a::after {
    font-size: clamp(0px, 1.6vw, 13.7px);
    line-height: clamp(0px, 1.6vw, 13.7px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before {
    top: 3vw;
  }
  .hero-text span.pictures-link a::before {
    right: 1.5vw;
  }

  .hero-text span.stories-link a::before {
    right: 0.2vw;
  }

  .hero-text span.stories-link a::after {
    bottom: 2vw;
    right: 0.2vw;
  }

  .hero-text span.pictures-link a:hover::before,
  .hero-text span.stories-link a:hover::before {
    transform: translateY(-3vw);
    -webkit-transform: translateY(-3vw);
  }

  .hero-text span.stories-link a:hover::after {
    transform: translateY(3vw);
    -webkit-transform: translateY(3vw);
  }

  .footer-container {
    font-size: clamp(0px, 1.6vw, 11px);
    line-height: clamp(0px, 2.88vw, 19.8px);
  }
  .footer-container .copyright {
    width: 30%;
  }

  .footer-container .description {
    width: 70%;
  }
}

@media only screen and (min-height: 575px) and (min-width: 431px) and (max-width: 767px) {
  .hero-text {
    align-items: end;
    text-align: right;
  }

  .hero-text h1 {
    font-size: clamp(21px, 8vw, 61px);
    line-height: clamp(30px, 11.2vw, 79.3px);
  }

  .hero-text h1 br {
    display: block;
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before,
  .hero-text span.stories-link a::after {
    font-size: clamp(0px, 2.6vw, 20px);
    line-height: clamp(0px, 2.6vw, 20px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before {
    top: 3vw;
  }
  .hero-text span.pictures-link a::before {
    right: 2.16vw;
  }

  .hero-text span.stories-link a::before {
    right: 0.5vw;
  }

  .hero-text span.stories-link a::after {
    bottom: 2vw;
    right: 0.5vw;
  }

  .hero-text span.pictures-link a:hover::before,
  .hero-text span.stories-link a:hover::before {
    transform: translateY(-3vw);
    -webkit-transform: translateY(-3vw);
  }

  .hero-text span.stories-link a:hover::after {
    transform: translateY(3.5vw);
    -webkit-transform: translateY(3.5vw);
  }

  .footer-container {
    font-size: clamp(0px, 2vw, 12px);
    line-height: clamp(0px, 3.6vw, 21.6px);
  }
}

/* For Landscape Tablet and Up  */
@media only screen and (min-width: 768px) {
  /* Main */
  .main-container {
    height: calc(100vh - 68px);
    max-width: 1200px;
    margin: auto;
  }

  /* Hero Text*/
  .hero-text {
    align-items: end;
    text-align: right;
  }

  .hero-text h1 {
    font-size: clamp(42px, 5.5vw, 57px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before,
  .hero-text span.stories-link a::after {
    font-size: clamp(0px, 1.8vw, 18.6px);
    line-height: clamp(0px, 1.8vw, 18.6px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before {
    top: 3vw;
  }
  .hero-text span.pictures-link a::before {
    right: 1.5vw;
  }

  .hero-text span.stories-link a::before {
    right: 0.2vw;
  }

  .hero-text span.stories-link a::after {
    bottom: 2vw;
    right: 0.2vw;
  }

  .hero-text span.pictures-link a:hover::before,
  .hero-text span.stories-link a:hover::before {
    transform: translateY(-3vw);
    -webkit-transform: translateY(-3vw);
  }

  .hero-text span.stories-link a:hover::after {
    transform: translateY(3vw);
    -webkit-transform: translateY(3vw);
  }

  .img-container {
    width: 100vw;
  }

  .img-container::before,
  .img-container::after {
    width: 150px;
  }

  .img-slider img {
    height: 100%;
    width: auto;
  }

  .img-container:hover .img-slider {
    animation-play-state: paused;
  }

  .footer-container {
    font-size: clamp(0px, 1.6vw, 14px);
    line-height: clamp(0px, 2.88vw, 25.2px);
  }

  .footer-container .copyright {
    width: 35%;
  }
  .footer-container .description {
    width: 65%;
  }
}

@media only screen and (min-height: 800px) and (min-width: 768px) and (max-width: 1023px) {
  .hero-text h1 {
    font-size: clamp(0px, 8vw, 76px);
    line-height: clamp(0px, 11.2vw, 106.4px);
  }

  .hero-text h1 br {
    display: block;
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before,
  .hero-text span.stories-link a::after {
    font-size: clamp(0px, 2.6vw, 24.8px);
    line-height: clamp(0px, 2.6vw, 24.8px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before {
    top: 3vw;
  }
  .hero-text span.pictures-link a::before {
    right: 2.16vw;
  }

  .hero-text span.stories-link a::before {
    right: 0.8vw;
  }

  .hero-text span.stories-link a::after {
    bottom: 1.5vw;
    right: 0.8vw;
  }

  .hero-text span.pictures-link a:hover::before,
  .hero-text span.stories-link a:hover::before {
    transform: translateY(-3vw);
    -webkit-transform: translateY(-3vw);
  }

  .hero-text span.stories-link a:hover::after {
    transform: translateY(3vw);
    -webkit-transform: translateY(3vw);
  }
}

@media only screen and (min-width: 1024px) {
  .img-container {
    height: 55%;
  }
  .hero-container {
    height: 30%;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: clamp(0px, 5.5vw, 68px);
    line-height: clamp(0px, 11.2vw, 87.78px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before,
  .hero-text span.stories-link a::after {
    font-size: clamp(0px, 1.8vw, 22.2px);
    line-height: clamp(0px, 1.8vw, 22.2px);
  }

  .hero-text span.pictures-link a::before,
  .hero-text span.stories-link a::before {
    top: 3vw;
  }
  .hero-text span.pictures-link a::before {
    right: 1.3vw;
  }

  .hero-text span.stories-link a::before {
    right: 0.4vw;
  }

  .hero-text span.stories-link a::after {
    bottom: 2.3vw;
    right: 0.4vw;
  }

  .hero-text span.pictures-link a:hover::before,
  .hero-text span.stories-link a:hover::before {
    transform: translateY(-3vw);
    -webkit-transform: translateY(-3vw);
  }

  .hero-text span.stories-link a:hover::after {
    transform: translateY(3vw);
    -webkit-transform: translateY(3vw);
  }

  .footer-container {
    height: 15%;
  }

  .footer-container .copyright {
    width: 40%;
  }
  .footer-container .description {
    width: 60%;
  }
}

@media only screen and (max-height: 360px) {
  .img-container {
    height: 100%;
  }
  .hero-container {
    height: 30%;
  }
  .hero-text {
    justify-content: center;
  }
  .footer-container {
    display: none;
  }
}

@media only screen and (min-width: 1024px) and (max-height: 450px) {
  .img-container {
    height: 100%;
  }
  .hero-container {
    height: 30%;
  }
  .hero-text {
    justify-content: center;
  }
  .footer-container {
    display: none;
  }
}

@keyframes slide-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
