.welcome {
  max-width: 1484px;
  margin: 0 auto;
  padding: 185px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome .h1 {
  color: #333333;
  text-align: center;
}
.welcome .h1 span {
  font-style: italic;
}
.welcome .h1 br {
  display: none;
}
.welcome .body {
  margin: 24px auto;
  max-width: 770px;
  text-align: center;
}

.welc-animation {
  position: relative;
  margin-top: 100px;
  width: fit-content;
  max-width: calc(100% - 32px);
}

.screen img {
  display: flex;
  max-width: 1220px;
  width: 100%;
}

.welc-img-rect {
  position: relative;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid white;
  width: 100%;
}
.welc-img-rect .image {
  aspect-ratio: 280/420;
  width: min(280px, 20vw);
  display: flex;
}
.welc-img-rect .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: Black;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
}

.welc-row {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
}

.welc-img2, .welc-img4 {
  transform: translateY(38px);
}

@media (max-width: 768px) {
  .welcome {
    padding: 82px 16px 52px;
  }
  .welcome .h1 br {
    display: block;
  }
  .welcome .body {
    text-align: center;
  }
  .welc-animation {
    max-width: 100%;
  }
  .welc-animation {
    margin-top: 64px;
  }
  .welc-row {
    transform: translate(-50%, -36%);
    gap: 10px;
  }
  .welc-img5 {
    display: none;
  }
  .welc-img-rect {
    border-radius: 5px;
    border: unset;
  }
  .welc-img-rect .image {
    width: 25vw;
  }
  .img-title {
    font-size: 14px;
    padding: 5px;
  }
}
.welc-animation {
  animation: flyYInWithOvershoot 0.6s;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.4, 1.2);
}

@keyframes flyYInWithOvershoot {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.welc-img-rect {
  animation: flyXInWithOvershoot 0.6s;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.4, 1.2);
}

@keyframes flyXInWithOvershoot {
  0% {
    transform: translate(calc(100% * var(--kX)), calc(1px * var(--kY)));
    opacity: 0;
  }
  100% {
    transform: translate(0, calc(1px * var(--kY)));
    opacity: 1;
  }
}