/*Animation */
@keyframes rolling{
    /*Sol 1.  margin ����ϴ� ���
    
    0%{
                margin-top: 0;
    }
    25%{        margin-top: -1.5em;
    }
    50%{        margin-top: -3em;
    }
    75%{        margin-top: -4.5em;
    }
    100%{
        margin-top: -6em;
    }
    
    */

    /*Sol 2. transform, translate Ȱ�� ��� (%���� �� �̵�)  */
    0%{         transform: translateY(0); 
    }
    25%{        transform: translateY(-20%);
    }
    50%{        transform: translateY(-40%);
    }
    75%{        transform: translateY(-60%);
    }
    100%{       transform: translateY(-80%);
    }

}


/*[����] CSS �۾��� �ռ� reset����!*/

/*
CSS �⺻ ���� 
1) block, inline element; ����� ������ �� ��ü ����
(block: ���� �ٹٲ��� ����Ű�� ���, inline: contextũ�� ��ŭ ����) 
2) context, padding, border, margin �ǹ�
[�����ڷ�]
1. ��Ȱ�ڵ� web2 - CSS(�ڽ���): https://youtu.be/MLjCVUspcDo?si=pOntIIy7U0ZfR4WS
2. �˻� ���α� ��: https://velog.io/@taeha7b/block-Inline-box-model 

*/


body, h1, h2, p, ul{
    margin: 0;
    padding: 0;
    
}

/*ul�� ���� ÷�� ����, html li�Ӽ��� ��Ÿ���� �ʵ��� �ϴ� ����*/
.profile-section-list{
list-style-type: none;
}


/*h�� ���� ũ��, ��ü ����*/
h1, h2{
    font-size: 100%;
    font-weight: normal;
}

/*a�� ����, ���� ���� �� ����*/
a{
    color: inherit;
    text-decoration: none;
}

/*[��] CSS �۾��� �ռ� reset����!*/


body{
    background-color: black;
    color: #999;
}

/*��� ��� �̹��� ���� �� ���� �κ�*/
.portrait 
{
    background-image: url(assets/me2.jpg);
    background-size: cover;
    /*
    background-size: cover�� ����, ���� �ҷ��� �̹����� ��ġ�ϴ� ���
    �����ڷ�:  https://www.w3schools.com/cssref/css3_pr_background-size.php
    */
    background-position: center; 
    padding-top: 59.95%; /*�̹��� ũ��*/
}


/* 1. 고정 높이 설정 제거 및 자동 조절 */
.profile {
    padding: 4%;
    /* min-height: 4500px;  <-- 이 줄을 삭제하거나 아래와 같이 auto로 변경하세요 */
    min-height: 100vh; 
    height: auto; 
}

/* 2. 섹션 간격 및 높이 유연화 */
.profile-header,
.profile-section {
    padding-bottom: 10vh; /* 고정 px보다 vh(뷰포트 높이) 단위가 유연합니다 */
    height: auto;         /* 내부 콘텐츠에 따라 늘어나도록 설정 */
    overflow: visible;    /* 내용이 넘쳐도 잘리지 않게 설정 */
}

/* 3. Sticky 제목의 배경 겹침 방지 */
.profile-section h2 {
    border-top: 5px solid;
    color: orangered; 
    font-size: 1.5rem;
    position: sticky;  
    top: 0;  
    background-color: #000; /* 배경색을 검정으로 확실히 지정 (글자가 겹쳐 보이지 않게 함) */
    z-index: 10;           /* 콘텐츠보다 위에 오도록 설정 */
    padding: 10px 0;
}

/* 4. 리스트 요소 간격 조정 (가독성) */
.profile-section-list strong {
    display: block;        /* 줄바꿈을 일으켜 제목처럼 보이게 함 */
    margin-top: 20px;
    color: white;
}

.profile-section-list p {
    margin-bottom: 5px;
}
.name{
    font-size: 30px;
    line-height: 1.5;
    font-style: italic; 
    /*tip, ������ ����, �ʹ� �پ� ������ ���ڰ� �Ϻ� ©���� ��찡 �ִ�.*/
    /*�̸��� ���������� �ö󰡴� �۾� ���ؼ�, ��ǥ �ʱ� ��ġ ����*/
    /*���������� �������� ����� �����ϱ� ���ؼ�, ����: 30px -> 30�̶�� ����! */
    margin-bottom: 30px; 
}

.name-job{
    display: inline-block;
    color: white;
    /*background-color: red;*/
    vertical-align: top; /*web�� ��� �κ� ���ߴ� �۾�*/

    /*���� �̸� �����̴� ����*/
    height: 1.5em; /*(���� ���ϱ�) ���� ����, ���̴� ������ �ְ� fontũ�⸦ ����*/
    overflow: hidden; /*(�����) �������� ����� ���� ����� */
    /*���� �̸� �ö󰡰� �ϴ� ����, ��ǥ �̵�*/
    /*margin ��Ҵ� �ڿ� ���� ��ҿ� ������ �ش�! so, html���� ������ �������� ������ �ش�*/

    /*������ �۾��� ©���� Ȯ��*/
    padding-right: 0.5em;
}

.name-job-list{
    /*margin-top: 0em; ������ ���������� ��ȭ�Ҽ� �ֵ��� ������ �δ� ��*/
    animation-name: rolling;
    animation-duration: 5s; /*�Ѿ�� �ӵ�*/
    animation-iteration-count: infinite; /*�ݺ��Ǵ� Ƚ�� loop*/
    /*animation ���� ����, animation-direction*/

}

.name-title{
    font-size: 1.5em; /*�̸� font�� ũ�� ��ȭ, name�̶�� div�� ������ ����Ͽ� ����*/
    line-height: 1; /*�� ����*/
    color: white;
}


#contact-font{
  font-size: 1.3em; 
  color: white;
}

#click_below{
  font-size: 0.7em; 
  color: white;
}
/*���� ��ư(email, tel, Linkedin) �Է��� �ֱ� ���ؼ� ���� css �ڵ�*/
 
/* .icons
{
    
}

.icons a{
    background-image: url("assets/icons.png");
    //�̹��� Ȱ���� ���ؼ� �̹��� ũ�� ������ �ʿ�����
    width: 30px; 
    height: 30px; 
    display: inline-block; //icon ���� ��ġ 
    //<a> tag ���� ����� ������ �ʵ����ϴ� ��, image replacement ���
    text-indent: -9999px;

    
}

//issue �̹��� ��ȯ�� �̷������ ����
.icons a.email { background-position: 0 0; }
.icons a.tel { background-position: -30px 0; } //center
.icons a.Linkedin { background-position: -60px 0; } right */


#contactlist {
    /*
    �������� ��ӹްڴٴ� �ǹ�. (���� ��� ������ viewport�� �ȴٰ� ��)
    [�����ڷ�] https://creamilk88.tistory.com/197 
    �ڷḦ ���ؼ��� ���� ���ذ� �����.. 
    w3school 
    >> https://www.w3schools.com/css/css_positioning.asp 
    */
    
    position: relative;
  }
  
  #contactlist li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 0;
  }
  
  #contactlist li, #contactlist a {
    height: 30px;
    display: block;
  }
  
  #email {
    left: 0px;
    width: 30px;
    background: url('assets/icons.png') 0 0;
  }
  
  #tel {
    left: 30px;
    width: 30px;
    background: url('assets/icons.png') -30px 0;
    
  }
  
  #Linkedin {
    left: 60px;
    width: 30px;
    background: url('assets/icons.png') -60px 0;
  }
  
  /*���콺 �����Ͱ� ���˵Ǿ����� ����, hover��� �Ѵ�. */
  #email a:hover {
    background: url('assets/icons.png') 0 -30px;
  }
  
  #tel a:hover {
    background: url('assets/icons.png') -30px -30px;
  }
  
  #Linkedin a:hover {
    background: url('assets/icons.png') -60px -30px;
  }

/*profile section (profile section�� ��ҵ鿡 ��� ����)*/
.profile-section-style h3
{
  border-top: 3px solid;
  
    color: orange;
    font-size: 1.2rem;

}

/*
easy_find ��ũ ���� �׾����� ȿ��
[�����ڷ�]: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration
*/

/*easy_find Link*/
#experience-link
{
  text-decoration: underline;
  color: rgb(77, 77, 233);
}

  #easy_find_role{
    /*ul �ױ� list��ҵ��� �������� ���� �������� �ϴ� ��*/
    list-style-position: inside;
  }


/*Mbti ��ũ ǥ��*/
#click_me{
  font-size: 0.75rem;
}

/*Reference ��ũ ǥ��*/

.Reference-link{
  text-decoration: underline;
}

.reference-subtitle{
  font-size: 1.15em;
  font-weight: bold; /*boldü ����, https://www.w3schools.com/cssref/pr_font_weight.php*/
}

.outline-list{
  list-style-position: inside;

}


  /*pc ȭ�� ũ�⿡ �����Ͽ� �������� ȭ�� ������ ���ؼ�*/ 
  /*media_query: ȭ���� ũ�⿡ �����ϴ� ������ ���� �����ϴ� ��. */
@media(min-width: 900px){ /*�ǹ�: ȭ�� ���� ���� > 900px �� ��� ����*/
  /*ȭ�� ���� ���� */  
   

  .portrait{ /*��� �̹���*/
      position: fixed; 
      left: 0; 
      top: 0; 
      width: 60vw; 
      height: 100vh;
      /*padding-top ����Ѵٸ� ���� ũ�⿡ width, height�� ���� ���� �ȴ�*/
      padding: 0; /*���� padding���� �ʱ�ȭ*/ 
      /*padding, margin �̶�? https://velog.io/@bami/CSS-%EB%A7%88%EC%A7%84margin%EA%B3%BC-%ED%8C%A8%EB%94%A9padding*/
      
      /*
      display: grid�� ���� Ȱ���Ϸ��� �Ͽ�����... 
      >> grid������ ������ ���� �ʴ´ٰ� �Ͽ���, border�� ����� ��ü��.
      >> ��������, https://stackoverflow.com/questions/45884630/css-grid-is-it-possible-to-apply-color-to-grid-gaps
      */
      border-right: 5px solid;
      border-color: orange;
    }
    .profile{ /*profile �����*/
      margin-left: 60vw;
    }
}