@charset "utf-8";

/* ------------------- 1p. profile.css --------------------------- */
body {
    padding-bottom: 0px;     
    overflow-y: auto;
}

/* --- 섹션에 배경 동영상 깔기--- */
.sec {
    height: 75vh;
    position: relative;
    overflow: hidden;    
    background-color: rgba(0,0,0,1);    
}

.sec video {
  /* position: absolute;
  top: 0;
  left: 0; */
  min-width: 100%;
  min-height: 100%;  
  object-fit: cover;
  overflow: hidden;
  z-index: -1;
  transform: rotate(180deg);
  opacity: 1;
}

.video-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 1; 
  padding: 30px 30px 100px 30px;
}



/* 프로필 카드 시작 */
.video-content > h2 {
  /* padding: 20px; */
  color: rgb(14, 78, 82);
  font-size: 200%;
  text-shadow: 1px 1px 5px #AFDFF1;
}

.flex_wrap {
    /* border: 10px solid rebeccapurple; */
  width: 80vw; 
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap : 4%;
  flex-wrap: wrap;
  padding: 20px;    
}


.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding-top: 20px; 
  text-align: center;
  font-family: arial;
  flex: 0 0 48%;
  max-width: 350px;
  height: 530px; 
  background-color:rgba(240,248,255, 0.8);
  animation: wave 1.5s infinite alternate cubic-bezier(.87,.24,.72,.53) 
}


.card > img,
.b_wrap > img {  
  border-radius: 50%;
  display: block;
  width: 80%;  
  margin: 0px auto;
  /* margin-top: 20px; */
  aspect-ratio: 1/1 ;
  object-fit: cover;
  object-position: center LEFT;
  overflow: hidden;
}

.card > p {
  display: block;
  line-height: 160%;
  /* border: 1px solid red; */

}
.font {
  display: block;
  padding: 0;
  margin: 6px;
}

.font > a > i {
  font-size: 150%;
  padding-top: 10px;
}
.card > h1 {  
  padding-top: 10px;
}

.title {
  color: grey;
  font-size: 18px;
  line-height: 200%;
  padding-bottom: 10px;

}


a {
  text-decoration: none;
  font-size: 22px;
  color: black;
}

button:hover, a:hover {
  opacity: 0.7;
}

button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px; 
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

button > a {
  color: white;
}



/* 프로필카드 끝, 스킬바 시작 */
.bars {        
    background-color: rgba(212, 212, 192, 0.8);
    /* margin-top: 100px; */
    flex: 0 0 48%;
    max-width: 350px;
    height: 530px; 
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    animation: wave 1.5s infinite alternate cubic-bezier(.87,.24,.72,.53);  
}
.in_box {
  border: 1px solid white ;
  border-radius: 10px;
  padding: 10px 10px 20px 10px;
}

.b_wrap {
  display:flex;
  justify-content: space-between ;
  align-items: flex-end; 
  padding: 10px 5px;
  border-bottom: 1px outset antiquewhite;
}
.b_wrap > img {  
  width: 50% ;
  margin: 0;
  }

.b_wrap > p {  
  font-weight: bolder;
  font-size: 200%;
}

.s_wrap {
  margin-top: 55px;
}
.container {
  width: 100%;  
  background-color: #ddd;
  line-height: 50%;
}

.skills {
  text-align: right;
  padding: 10px;
  color: white;
}

.planning {width: 90%; background-color: #04AA6D;}
.visual {width: 90%; background-color: #2196F3;}
.css {width: 80%; background-color: #f44336;}
.js {width: 50%; background-color: #808080;}






@keyframes wave {
      0%, 100% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(20px);
      }   
    }



/* ---- 미디어 쿼리 ---- */
@media screen and (max-width:970px) {
  body {
    height: auto;
  }

  .sec {
    height: 1250px
}

.flex_wrap {
    /* border: 10px solid rebeccapurple; */
  display: block;
  margin: 0 auto;
  padding: 20px;    
}

.card, .bars {
  margin: 10px auto;
}

}



@media screen and (max-width:600px) {
  .sec {
    display: block;
  }
  
  .bars {    
    padding: 10%;
    }
  .card, .bars {
    height: auto;
  }
}


