h1 {
  color: #d02f46;
}

@keyframes letter-spacing {
  0% {
    letter-spacing: 0.5rem;
    color: rgb(255, 0, 43);
  }
  100% {
    letter-spacing: -0.151rem;
    color: #d02f46;
  }
}

@media (prefers-reduced-motion: no-preference) {
  h1 {
    animation: letter-spacing 1s cubic-bezier(0.2, 0.8, 0.3, 0.95) forwards;
  }
  .desc {
    opacity: 0;
    animation: opacity 1s var(--smooth-out-bezier) forwards;
    animation-delay: 0.1s;
  }
  h2 {
    opacity: 0;
    animation: opacity 1s var(--smooth-out-bezier) forwards;
    animation-delay: 0.5s;
  }
  .divider {
    opacity: 0;
    animation: opacity 1s var(--smooth-out-bezier) forwards;
    animation-delay: 0.6s;
  }
  .painting-div-container {
    opacity: 0;
    animation: opacity 1s var(--smooth-out-bezier) forwards;
    animation-delay: 0.8s;
  }
}

#wallets-img-container {
  margin: 0 auto;
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2vw;
}

#wallets {
  width: 90%;
}

.kabelka-div::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(var(--background-color) -70%, transparent);
  border-radius: inherit;
  z-index: 0;
  min-width: inherit;
}

#wallets a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--dark-white);
}

.kabelka-div {
  flex-shrink: 0;
  width: 30vw;
  height: 30vw;
  position: relative;
  border-radius: 15px;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  min-width: 400px;
  transition: transform 300ms ease-in-out;
  &:hover {
    cursor: pointer;
    outline: 3px solid rgba(255, 255, 255, 0.8);
  }
}

.kabelka-div img {
  position: absolute;
  top: 0;
  width: 100%;
  border-radius: inherit;
  z-index: -1;
  min-width: inherit;
}

.kabelka-div h4 {
  position: relative;
  text-align: center;
  z-index: 1;
  font-size: 1.2rem;
  margin: 10px 0;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

@keyframes horizontal-scroll {
  to {
    transform: translate(calc(-50% - 1vw));
  }
}

section {
  margin-top: 0 !important;
}

#wallets {
  margin-bottom: 1rem;
  .section-heading {
    margin-top: 0;
  }
}
.animate-img {
  aspect-ratio: 11/16;
  overflow: hidden;
  img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s;
  }
}

.text-container {
  position: absolute;
  top: 0;
  z-index: 999;
}

.folder-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2vw;
  row-gap: 5vh;
}

.folder {
  border-radius: 15px;
  width: 20%;
  aspect-ratio: 6/7 !important;
  min-width: 350px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  transition: all 300ms ease-in-out;
  overflow: hidden;
  &:hover {
    transform: scale(1.05);
  }
}

.folder img {
  width: 100%;
  position: absolute;
  top: 0;
  border-radius: inherit;
  transition: opacity 800ms;
}

.fade-content {
  border-radius: inherit;
  position: absolute;
  width: inherit;
  height: inherit;
  min-width: inherit;
  min-height: inherit;
  background-image: linear-gradient(
    to bottom,
    transparent -20%,
    var(--background-color) 200%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 999;
}

.fade-content * {
  margin: 15px 0;
}

.folder:hover::before {
  opacity: 1;
  transition: opacity 250ms ease;
}

.folder::before {
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.2),
    transparent 40%
  );
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  --webkit-tap-highlight-color: transparent;
}

.folder-image {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: inherit;
  transition: all 300ms ease-in-out;
  background-size: 110%;
}

.folder-link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  min-width: inherit;
  min-height: inherit;
  text-decoration: none;
  color: white;
  border-radius: 15px;
}
