.svg-container {
  width: 3em; /* 이미지의 너비 */
  height: 100px; /* 이미지의 높이 */
  justify-items: center;
  align-items: center;
}
.skills {
  width: 100%;
  min-width: 300px;
  max-width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skills-header {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.skills-container {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
}

.skill-container {
  width: 100%;
  margin: 0 10px;
  padding: 10px 0;
  position: relative;
}

.skill-container p {
  margin: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.bar {
  width: 100%;
  background: #475472;
  display: block;
  height: 20px;
  border: none;
  border-radius: 100vw;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 8, 0.25, 1);
}

.bar span {
  height: 20px;
  float: left;
  background: #5271ff;
  border: none;
  border-radius: 100vw;
}

/* adding animation to skill bar */

.illustrator.animate,
.photoshop.animate {
  width: 80%;
  animation: illustrator_photoshop 3s;
}

.inDesign.animate {
  width: 50%;
  animation: InDesign 3s;
}

.premiere.animate {
  width: 50%;
  animation: premiere 3s;
}

.figma.animate {
  width: 30%;
  animation: figma 3s;
}

.mark.animate {
  width: 50%;
  animation: mark 3s;
}

@keyframes illustrator_photoshop {
  0% {
    width: 0%;
  }

  100% {
    width: 80%;
  }
}

@keyframes InDesign {
  0% {
    width: 0%;
  }

  100% {
    width: 50%;
  }
}

@keyframes premiere {
  0% {
    width: 0%;
  }

  100% {
    width: 50%;
  }
}

@keyframes figma {
  0% {
    width: 0%;
  }

  100% {
    width: 30%;
  }
}

@keyframes mark {
  0% {
    width: 0%;
  }

  100% {
    width: 50%;
  }
}

.percentage {
  content: "";
  position: absolute;
  top: 12px;
  width: 25px;
  height: 20px;
  background: #5271ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border-radius: 2px;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.percentage::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  margin: auto;
  width: 10px;
  height: 10px;
  background: #5271ff;
  z-index: -1;
}

/* adding animation to .percentage */

.illustrator-percentage.animate,
.photoshop-percentage.animate {
  left: 90%;
  animation: illustrator_photoshop_percentage 3s;
}

.inDesign-percentage.animate {
  left: 50%;
  animation: inDesign_percentage 3s;
}

.premiere-percentage.animate {
  left: 50%;
  animation: premiere_percentage 3s;
}

.figma-percentage.animate {
  left: 30%;
  animation: figma_percentage 3s;
}

.mark-percentage.animate {
  left: 50%;
  animation: mark_percentage 3s;
}

@keyframes illustrator_photoshop_percentage {
  0% {
    left: 0;
  }
  100% {
    left: 80%;
  }
}

@keyframes inDesign_percentage {
  0% {
    left: 0;
  }
  100% {
    left: 50%;
  }
}

@keyframes premiere_percentage {
  0% {
    left: 0;
  }
  100% {
    left: 50%;
  }
}

@keyframes figma_percentage {
  0% {
    left: 0;
  }
  100% {
    left: 30%;
  }
}
@keyframes mark_percentage {
  0% {
    left: 0;
  }
  100% {
    left: 50%;
  }
}

/* 모달 내 슬라이드 추가 CSS */
.modal-popup .slideshow-container {
  position: relative;
  max-width: 100%; /* 슬라이드 이미지가 모달 너비에 맞게 조정됩니다. */
}

.modal-popup .mySlides {
  display: none; /* 모든 슬라이드를 숨깁니다. */
  width: 100%; /* 슬라이드 이미지가 부모 요소에 맞게 조정됩니다. */
}

.modal-popup .mySlides:first-child {
  display: block; /* 첫 번째 슬라이드만 표시됩니다. */
}
img {
  pointer-events: none;
}

/* 화살표 아이콘 스타일 */
/* 이전 이미지 화살표 스타일 */

.modal-popup .prev {
  left: 10px;
  cursor: pointer;
}

.modal-popup .next {
  right: 10px;
  cursor: pointer;
}

/* 화살표 버튼 호버 효과 */
.modal-popup .prev:hover,
.modal-popup .next:hover {
  opacity: 0.8; /* 투명도 조절 */
  cursor: pointer;
}

/* 슬라이드 이미지 설명 및 카테고리 스타일 */
.modal-popup .modal-popup__desc,
.modal-popup .modal-popup__cat {
  margin-top: 10px; /* 이미지와의 간격 조정 */
}

img.mySlides {
  pointer-events: none;
}

.slider__btn a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  line-height: 50px;
  transition: all 0.2s;
  display: block;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__btn a:hover {
  background: #000;
  color: #fff;
}
.slider__btn a.prev {
  left: 0;
}
.slider__btn a.next {
  right: 0px;
}

/* 화살표 버튼 스타일 */
/* 화살표 버튼 스타일 */
