@import url('https://fonts.googleapis.com/css2?family=Yeon+Sung&display=swap');

.yeon-sung-regular {
  font-family: "Yeon Sung", serif;
  font-weight: 400;
  font-style: normal;
}


#about {
  position: relative;
  font-size: 16px;
}

.windowAni {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  overflow: hidden;

  /* transition: transform 1s ease-in-out; */
}

.leftWindow {
  background-color: #d08c60;
  width: 50%;
  height: 100%;

  position: absolute;
  top: 0%;
  left: 0%;

  transition: transform 1s ease-in-out;
}

.rightWindow {
  background-color: #997b66;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 50%;

  transition: transform 1s ease-in-out;
}

.windowAni.open .leftWindow{
  transform: translate(-100%, 0%);
}

.windowAni.open .rightWindow{
  transform: translate(100%, 0%);
}

/*////////////////////////// */

.midSlide {
  width: 60%;
  height: 70%;
  overflow: hidden;

  position: absolute;
  top: 15%;
  left: 20%;

  box-sizing: border-box;
  z-index: 1;
}

.slideEffect {
  background: grey;
  width: 70%;
  height: 60%;

  position: absolute;
  top: 15%;
  left: 15%;

  z-index: 1;
  opacity: 0.5;
}

.aboutTable {
  background-color: ghostwhite;
  border-radius: 6px;
  width: 100%;
  height: 80%;
  margin-top: 10px;

  display: flex;
  flex-direction: row;
  font-size: 1rem;
  align-content: center;
  flex-wrap: wrap;

  /* overflow: hidden; */
  /* 이거 할까 말까 생각중 */
}

/* aboutTable의 레이아웃이 잘 안돼 어렵다 */
@media (max-width: 768px) {
  .midSlide {
    font-size: 0.75rem;
    scale: 1.0;
  }
}

@media (max-width: 1024px) {
  .midSlide {
    font-size: 1rem;
    scale: 1.2;
  }
}

@media (max-width: 1200px) {
  .midSlide {
    font-size: 1.125rem;
    scale: 1.2;
  }
}

@media (max-width: 1920px) {
  .midSlide {
    font-size: 1.25rem;
    scale: 1.2;
  }
}

.aboutMe {
  width: 50%;
  height: 30%;
  text-indent: 10px;
  padding: 1%;
  margin-top: 3%;
}

.aboutMe :nth-child(1) {
  width: 20%;
  height: 20%;

  font-size: 1.4rem;
  /* text-decoration: overline; */

  animation: text_shadow 0.6s ease-in-out 1s infinite alternate;
}

.aboutMe :nth-child(2) {
  width: 100%;
  height: 50%;
  margin-top: 3%;

  text-align: left;
  padding: 1%;
}

.education {
  width: 50%;
  height: 30%;
  align-items: center;

  text-indent: 10px;
  padding: 1%;
  margin-top: 3%;
}

.education>div {
  width: 20%;
  /* text-decoration: overline; */
  font-size: 1.4rem;

  animation: text_shadow 0.6s ease-in-out 1s infinite alternate;
}

.education>ul {
  width: 100%;
  margin-top: 3%;

  text-align: left;
  padding: 1%;

}

.skills {
  width: 100%;
  margin-top: 5%;

}

@keyframes text_shadow {
  0% {
    text-shadow: 1px 0px 0px rgba(0, 0, 0, 0);
  }

  100% {
    text-shadow: 2px 2px 2px rgba(87, 73, 73, 0.5);
  }
}

.skillLeft {
  /* text-decoration: overline; */
  text-align: center;
  font-size: 1.4rem;

  animation: text_shadow 0.6s ease-in-out 1s infinite alternate;
}

.skillRight {
  text-align: left;
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center; */

  position: relative;
}

.skillRight ul {
  padding: 1% 0% 2% 1%;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;

  margin-left: 11%;

}

.skillRight li {
  border-radius: 10px;
  /* background-color: #ffb703; */
  box-shadow: 2px 2px 2px rgb(0, 0, 0, 0.2);

  position: relative;
  /* 팁 메시지 위치용 */

  display: inline-block;
  padding: 2%;
  flex-direction: column;
  flex-wrap: wrap;
}

.skillRight li:hover {
  background-color: #fb8500;
}

/* hover 시의 팁 메시지 모양 */
.tip {
  background-color: yellow;
  border-radius: 5px;
  padding: 10%;

  /* 팁 크기 */
  width: 330%;


  position: absolute;
  bottom: 100%;

  opacity: 0;
  visibility: hidden;
}

.tip:after {
  content: '';
  position: absolute;
  top: 100%;
  /* 아래쪽 화살표 */
  left: 10%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 0.5em solid transparent;
  border-top-color: yellow;
  border-left: 0px;
}

.front li:hover .tip,
.backend li:hover .tip {
  visibility: visible;
  opacity: 1;
  transition: 0.3s ease-in-out;
}

.like {
  width: 30%;
  text-align: center;

  transition: background-color 0.3s ease-in-out;
}

.like::after {
  content: '☆';
  margin-left: -60px;
  color: black;
}

.animation_1:hover .like {
  animation: jelly 1s infinite;
}

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

  100% {
    width: 100%;
  }
}

.front {
  width: 100%;
  height: 100%;
}

.front li {
  margin-left: 10px;
  position: relative;

  display: flex;
  justify-content: center;
  align-content: center;

}

/* image 넣기기 */
.logoImage {
  background-size: cover;
  /* 이미지를 칸에맞게 자동조절 */

  width: 50px;
  height: 50px;
}

.html {
  background-image: url('../image/html.png');
}

.css {
  background-image: url('../image/css.png');
}

.js {
  background-image: url('../image/js.png');
}

.react {
  background-image: url('../image/react.png');
  width: 100px;
  height: 40px;
}

.java {
  background-image: url('../image/java.png');
}

.spring {
  background-image: url('../image/spring.png');
  width: 60px;
  height: 50px;
}

.aws {
  background-image: url('../image/aws.png');
  width: 60px;
  height: 50px;
}

.experience {
  width: 30%;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

.experience::after {
  content: '☆';
  margin-left: -68px;
  color: black;
}

.animation_2:hover .experience {
  animation: jelly 1s infinite;
}

.front,
.backend {
  /* border: 2px solid red; */
}

.backend {
  width: 80%;
}

.backend li {
  margin-left: 10px;
}

.animation_1,
.animation_2 {
  width: 51%;
}

@keyframes jelly {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.22, 0.77, 1);
  }

  /* 
    x축이 늘어났다가
    y축이 줄어들어야 하고
    그 반대가 되어야함 
    z는ㄴ 그대로
 */

  40% {
    transform: scale3d(0.77, 1.22, 1);
  }

  50% {
    transform: scale3d(1.22, 0.88, 1);
  }

  65% {
    transform: scale3d(0.99, 1.11, 1);
  }

  75% {
    transform: scale3d(1.11, 0.99, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}