@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&display=swap');

/* 문서 전체의 기본이 되는 body 영역에 스타일 적용 */
body {
  padding: 0;
  margin: 0;
  font-family: 'Do Hyeon', sans-serif;
  color: #35465d;
  background-color: rgb(35, 39, 42); 
}

/* 상단 해더영역 스타일 적용 */
.header {
  padding: 10px 0; 
  background-color: rgba(48, 48, 48, 1); 
}

/* h1 태그(제목), h3 태그(부제목), h4 태그 스타일 적용 */
h1, h2, h4 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: #f2f2f2;
  }
  
  /* h3 태그(부제목) 강조 스타일 */
  h3 {
    color: #333333; /* 어두운 색상으로 변경 */
    font-weight: bold; /* 글꼴을 굵게 설정 */
    font-size: larger; /* 글자 크기를 더 크게 설정 */
    text-decoration: underline; /* 밑줄 추가 */
  }
  

/* 중간 컨텐츠 영역 스타일 적용 */
.container {
    background-color: white; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    min-width: 350px; 
    max-width: 650px; 
    min-height: 400px; 
    padding: 20px 0;
    margin: 0 auto;
    margin-bottom: 30px; /* container 영역의 아래쪽에 여백 추가 */
    border: 1px solid lightgrey;
    border-radius: 10px;

    
  }
  

/* 내부 area 영역 공통 스타일 적용 */
.area {
  position: relative;
  background-color: rgba(255, 255, 255, 0.06); 
  width: 60%; 
  min-width: 300px; 
  max-width: 600px; 
  border: 2px dashed rgba(255, 255, 255, 0.7); 
  border-radius: 10px;
  margin: 0 auto; 
  padding: 20px; 
  text-align: center; 
}

/* 파일 업로드 영역 스타일 적용 */
#upload-area {
  cursor: pointer; 
}

/* 재선택 영역 스타일 적용 */
#retry-area {
  cursor: pointer; 
  margin-top: 20px; 
}

/* 파일 업로드 영역, 재선택 영역 마우스 오버 시, 스타일 적용 */
#upload-area:hover,
#retry-area:hover {
  background-color: rgba(255, 255, 255, 0.1); 
}

/* area 내부의 이모지(카메라, 로딩) 스타일 적용 */
.guide-image {
    width: 300px;
    height: 500px;
    font-size: 120px;
    color: #f2f2f2; 
  }
  
/* img 태그 스타일 적용 */
#upload-image {
  width: 55%; 
  max-width: 540px; 
  filter: brightness(0.8); /* 이미지를 어둡게 만듭니다. */
}
/*로딩스피너 구현*/
.loading-spinner {
    position: relative;
    left: 150px; /* 원하는 만큼의 수평 거리를 조정하세요 */
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2); /* 검정색으로 변경 (투명도 유지) */
    border-radius: 50%;
    border-top-color: #000000; /* 검정색으로 변경 */
    animation: spin 1s linear infinite;
}
.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.social-share p {
    margin-bottom: 0;
    font-weight: bold;
    color: #ffffff; /* 밝은색으로 변경합니다. 원하시는 색상으로 변경하실 수 있습니다. */
}


.social-share a {
    text-decoration: none;
    font-weight: bold;
    color: #35465d;
    padding: 10px;
    border-radius: 50%;
    font-size: 24px;
}

.facebook-share {
    background-color: #3b5998;
    color: #ffffff;
}

.twitter-share {
    background-color: #1da1f2;
    color: #ffffff;
}

.social-share a:hover {
    opacity: 0.8;
}

.recommended-pc {
  position: relative;
  color: #ffffff;
  margin-top: 10px;
  text-align: center; /* 추가된 코드 */
}

.donate-link {
  color: #333; /* 변경된 코드 */
  background-color: #f1f1f1; /* 변경된 코드 */
  border-color: #e1e1e1; /* 변경된 코드 */
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}

.ad-area {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 10px;
}




@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
