*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body{
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: #f4f8fb;
    color:#1e293b;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    -webkit-font-smoothing: antialiased;/*mac환경 호환*/
  -moz-osx-font-smoothing: grayscale;
}
/*상단 제목*/
.header{
    width:100%;
    padding:32px 0;
    margin-bottom: 40px;
    padding-bottom:32px;
    background-attachment: #c8d8fc;
    justify-content: center;
    background-color: #334155;
}
/*헤더 h1 글자 굵기 빼기 및 적응형*/
.header h1{
    font-weight:400;
    color:white;
    letter-spacing: -0.5px;/*제목 가독성 높이기 위해 -0.5px만큼 간격 줄였음*/
  padding:14px;
  margin-left: 14px;;
}

.app-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
/*중간 위의 두개 컨텐츠 배치 가이드*/
.main-content{
    display:flex;
    gap:48px;
    padding:0 24px;
}
/*좌우 컨텐츠간 간격은 일정하게. 수정될수 있음*/
.section-box{
    flex:1;
}
.section-title{
    font-size:24px;
    font-weight: 400;/*굵기 빼기*/
    color:#334155;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
/*앞에 놓인 번호 빼기*/
.large-link-list{
    list-style: none;
}

.large-link-list li{
    margin-bottom: 20px;
}

.large-link-list a{
    font-size:20px;
    font-weight: 400;
    color:#1e293b;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;/*ai의 힘을 빌림*/
    display: inline-block;
}

.large-link-list a:hover{
    color:#2563eb;/*마우스 올렸을때 좀 파랗게*/
    transform: translateX(4px);
}

.large-link-list a i{
    font-size:14px;
    margin-left:4px;
    color:#64748b;
}
/*프로젝트 하단 태그 설명 및 글씨*/
.large-link-list .desc {
  display: block;
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 400;
  margin-top: 4px;
}
/* 우측 자기소개 / 프로젝트 서브 블록 */
.sub-block {
  margin-bottom: 32px;
}
.sub-block h3 {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 12px;
}
/*자기소개 텍스트 꾸미기 위함*/
.intro-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334155;
}
/*박스(계정들 있는곳)*/
.account{
    margin-top:32px;
    padding-top:24px;
    border-top:1px solid #e2e8f0;
    padding-left: 24px;
}
/*아래 계정 나타내는 타이틀 모양 배치 컨테이너*/
.accounts-container{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.account-tile{
    width:88px;
    height:88px;
    background-color: #334155;
    display:flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;/*아주 미세하게 줘서 딱딱하지않게*/
      transition: transform 0.2s ease, background-color 0.2s ease;
    overflow: hidden;/*넘치는거 숨김*/
}
/*타일 내부 아이콘의 스타일*/
.account-tile i{
    color:#ffffff;
    font-size:48px;
}
/*타일 마우스 호버효과*/
.account-tile:hover{
    background-color: #2563eb;
    transform:translateY(-3px);
}

/*타일 내부 사이트 이미지*/
.account-tile.image-tile img{
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
}
.icon-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 36px;
  display: flex;
  gap: 32px;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.12); /* 푸른빛 감도는 그림자 */
}
.icon-link {
  color: #475569;
  font-size: 1.8rem; /*아이콘 크기 확대 */
  transition: color 0.2s, transform 0.2s;
}

.icon-link:hover {
  color: #2563eb;
  transform: scale(1.15);
}

.footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}
.footer p {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 300;
}
.hidden-page-design{
  width:100%;
  max-width: 100%;
  display:flex;
  flex-direction: column;
  margin: 0 auto;
  padding:0 24px 40px 24px;
}

/* ==================================================
   contact.html 전용 독립 스타일 (충돌 완벽 방지)
   ================================================== */

/* contact 전용 최상위 레이아웃 컨테이너 */
.contact-page-container {
  width: 100%;
  max-width: 620px; /* 카드 폭에 맞춰 깔끔하게 규격화 */
  margin: 0 auto;
  padding: 0 24px 60px 24px;
  display: flex;
  flex-direction: column;
}

/* 상단 메인으로 가기 링크 */
.contact-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 20px;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-back-link:hover {
  color: #2563eb;
  transform: translateX(-4px);
}

/* contact 전용 헤더 */
.contact-page-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.contact-page-header h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.contact-page-header p {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 300;
}

/* contact 전용 입체 카드 박스 */
.contact-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(148, 163, 184, 0.08);
}

.contact-field-group {
  margin-bottom: 22px;
}

.contact-field-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

/* contact 전용 입력 필드 */
.contact-input,
.contact-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background-color: #f8fafc; /* 살짝 밝은 회색으로 입체감 제공 */
  transition: all 0.2s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #94a3b8;
  font-weight: 300;
}

.contact-input:hover,
.contact-textarea:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); /* 은은한 파란 포커스 링 */
}

.contact-textarea {
  height: 160px;
  resize: vertical;
  line-height: 1.6;
}

/* contact 전용 버튼 그룹 */
.contact-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.contact-btn-submit {
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  padding: 11px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.contact-btn-submit:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.contact-btn-cancel {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 11px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-btn-cancel:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

/*codeforce 아이콘*/
.codeforce-icon{
        width:70%;
        height:70%;
        fill:#fafafa;
        stroke:#fafafa;

}
@media(max-width:768px){
    .main-content{
        flex-direction:column;
        gap:32px;
    }
    .section-title{
        font-size:22px;
        margin-bottom:17px;
    }
    .large-link-list a{
        font-size:1.1rem;
    }
    .account{
        padding-left:16px;
        padding-right:16px;
    }
     .account-tile{
            width: calc(50%-8px);
            height:80px;
      }
}
@media(max-width:480px){
.header{
 padding:16px 0;
 margin-bottom:24px;
}
.header h1{
 font-size:1.5rem;
 padding:0 16px;
 margin-left:0;
}
.main-content {
    flex-direction:column;
        padding: 0 16px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .large-link-list a {
        font-size: 1.05rem;
    }

    .account {
        padding-left: 16px;
        padding-right: 16px;
    }
  .account-tile{
        width: calc(50%-6px);
        height:64px;
  }
  .account-tile i{
    font-size:32px;
  }
}