/* ===== info icons section ===== */

.info-icons-sec {
  padding-block: min(28vw, 14rem);

  position: relative;
  overflow: hidden;

  background: linear-gradient(
    rgba(222, 92, 199, 0),
    rgba(222, 92, 199, 0.6),
    rgba(222, 92, 199, 1),
    rgba(222, 92, 199, 1),
    rgba(222, 92, 199, 0.6),
    rgba(222, 92, 199, 0)
  );
}

.ocean {
  position: absolute;
  left: 0;
  right: 0;

  /* height: 5%;
  background: var(--white); */
}

.ocean:nth-of-type(1) {
  top: 0;
}

.ocean:nth-of-type(2) {
  bottom: 0;
}

.wave {
  background: url(../../img/wave.svg) repeat-x;
  position: absolute;
  width: 6400px;
  height: min(11rem, 22vw);

  opacity: 0.8;
}

.wave-bottom {
  top: max(-11rem, -22vw);
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave-bottom:nth-of-type(2) {
  top: max(-10rem, -20vw);
  animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite,
    swell 7s ease -1.25s infinite;
}

.wave-top {
  bottom: max(-11rem, -22vw);
  animation: wave 9s cubic-bezier(0.36, 0.45, 0.63, 0.53) 0.5s infinite;

  transform: rotate(180deg);
}

.wave-top:nth-of-type(2) {
  bottom: max(-10rem, -20vw);
  animation: wave 9s cubic-bezier(0.36, 0.45, 0.63, 0.53) 0.2s infinite,
    swell 9s ease -1.25s infinite;
}

@media (prefers-reduced-motion) or (max-width: 480px) {
  .wave {
    animation: none;
  }

  .wave:nth-of-type(2) {
    animation: none;
  }
}

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {
  0%,
  100% {
    transform: rotate(180deg), translate3d(0, -1.5rem, 0);
  }
  50% {
    transform: rotate(180deg), translate3d(0, 0.5rem, 0);
  }
}

.info-icons-sec__files-cards {
  font-size: 2vw;

  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  align-items: top;
  justify-content: space-around;
}

.info-icons-sec__file-card {
  flex-basis: clamp(8rem, 30%, 25rem);

  display: grid;
  place-items: center;
  gap: min(1.5em, 1rem);

  text-align: center;
}

.info-icons-sec__file-card svg {
  width: min(6em, 15rem);
  aspect-ratio: 1;
}

.info-icons-sec__doc-name {
  font-size: min(2.5em, 2rem);
  letter-spacing: min(2px, 0.25vw);

  text-transform: uppercase;

  color: var(--whitesmoke);
}

.info-icons-sec__doc-text {
  color: var(--white);
}

.info-icons-sec__doc-text > a {
  color: inherit;
}

.info-icons-sec__doc-text > a:hover,
.info-icons-sec__doc-text > a:focus {
  color: var(--blue-clr-light);
}
