@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap");
@font-face {
  font-family: 'DOSMyungjo';
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_eight@1.0/DOSMyungjo.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}


/* 전체 레이아웃 설정 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #3090D9;
}

/* Welcome Message */
.dashboard-header {
    width: 100%;
    text-align: center;
    color: white;
    padding-top: 110px;
    padding-bottom: 80px;
    font-size: 45px;
    font-weight: medium;
    margin-bottom: 20px;
    letter-spacing: 1px;
    max-width: 600px; 
    font-family: 'DOSMyungjo', Arial, sans-serif; /* 폰트 적용 */
    
    /* 가운데 정렬 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* 텍스트도 중앙 정렬 */
}

@media only screen and (min-width: 320px) and (max-width: 1024px) {
    .dashboard-header {
        padding-top: 60px;
        padding-bottom: 40px;
        font-size: 33px;  /* 폰트 크기 줄이기 */
    }

    .dashboard-header .logo {
        max-width: 142px;  /* 이미지 크기 90%로 줄이기 */
        height: auto;  /* 비율을 유지 */
    }

    #welcome-message {
        font-size: 30px;  /* 텍스트 크기 90%로 줄이기 */
    }
  
    #welcome-message + p {
        font-size: 30px;  /* 텍스트 크기 90%로 줄이기 */
    }
}

/* Dashboard Container */
.dashboard-container {
    display: flex; /* 가로 배치 */
    justify-content: center; /* 가로 가운데 정렬 */
    /* align-items: flex-start; 상단 정렬 */
    gap: 20px; 
    /* padding: 20px; */
    width: 100%;
    max-width: 600px; /* 부모 컨테이너 최대 너비 */
}

/* Profile Section */
.profile-section {
    text-align: center;
    background: white;
    padding-top: 25px;
    padding-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

.profile-image {
    width: 77px;
    height: 77px;
    border-radius: 50%;
    border: 2px solid #ccc;
    
}

#username-display {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}
.coin-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding-left: 23px;
    padding-right: 23px;
    /* padding: 17px; */
    box-sizing: border-box; /* 패딩을 포함하여 박스 크기 유지 */
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 100px;
    min-height: 50px;
    
}

.wrap {
    display: flex;
    flex-direction: column;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    margin: 16px;
}

.vstack {

    padding-top: 150px;
}



.coin-section h3 {
    font-size: 16px;
    color: #000000;
    
}


/* 
.coin-section p {
    font-size: 16px;
    /* font-weight: medium; */
    /* font-weight: 500;
    color: #121212;
} */ 

.coin-display {
    display: flex; /* 가로로 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    /* gap: 10px; 이미지와 텍스트 간격 */
}

.coin-icon {
    width: 40px; /* 아이콘 크기 */
    height: 40px;
}

.coin-text {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    color: rgb(17, 17, 17); /* 텍스트 색상 */
}

.coin-brand {
    font-size: 15px; /* 브랜드 텍스트 크기 */
    font-weight: 600; /* 매우 굵은 폰트 */
    color: rgb(17, 17, 17); /* 텍스트 색상 */
    margin: 0; /* 기본 마진 제거 */
}


#coin-count {
    font-size: 18px; /* 코인 텍스트 크기 */
     font-weight: medium;
    /* font-weight: 500; */
    margin: 0; /* 기본 마진 제거 */
}

/* Dashboard Container */
/* .ad-container {
    display: flex;  
    justify-content: center; /* 가로 가운데 정렬 */
    /* align-items: center; 세로 가운데 정렬 (필요한 경우 추가) */
    /* width: 100%; */
    /* max-width: 600px; 부모 컨테이너 최대 너비 */
/* } */ 

 
/* .ad-section {
    display: flex; 

    justify-content: center;

    background: white;
  
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600;
    min-height: 50px; 
} */


.ad-container {
    display: flex;  
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center; /* 세로 가운데 정렬 (필요한 경우 추가) */
    width: 100%;
    max-width: 600px; /* 부모 컨테이너 최대 너비 */
    margin: 0 auto; /* 중앙 정렬을 위한 추가 */
}
 
.ad-section {
    display: flex; 
    flex-direction: column; /* 자식 요소들을 세로로 배열 */
    justify-content: center;
    align-items: center; /* 자식 요소들을 중앙 정렬 */
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px; /* 단위 추가 */
    min-height: 50px; 
    padding: 20px; /* 내부 여백 추가 */
}

.ad-section p {
    color: #0b0b0b;
    font-size: 13px;
    margin: 10px 0; /* 위아래 여백 추가 */
    text-align: center; /* 텍스트 중앙 정렬 */
}

.ae-container {
    display: flex;  
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center; /* 세로 가운데 정렬 (필요한 경우 추가) */
    width: 100%;
    max-width: 600px; /* 부모 컨테이너 최대 너비 */
    margin: 0 auto; /* 중앙 정렬을 위한 추가 */
}
 
.ae-section {
    display: flex; 
    flex-direction: column; /* 자식 요소들을 세로로 배열 */
    justify-content: center;
    align-items: center; /* 자식 요소들을 중앙 정렬 */
    /* background: white; */
    border-radius: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    width: 100%;
    max-width: 600px; /* 단위 추가 */
    min-height: 50px; 
    /* padding: 20px; 내부 여백 추가 */
}

.ae-section p {
    /* color: #00FC43; */
    font-size: 15px;
    margin: 5px 0; /* 위아래 여백 추가 */
    text-align: center; /* 텍스트 중앙 정렬 */
    letter-spacing: 0.3px;
}




.ad-section h3 {
    font-size: 16px;
    color: #000000;
    
}

.total-container {
    display: flex;  
    justify-content: center; /* 가로 가운데 정렬 */
    align-items: center; /* 세로 가운데 정렬 (필요한 경우 추가) */
    width: 100%;
    max-width: 600px; /* 부모 컨테이너 최대 너비 */

    
}

.total-coin-section {
    background-color: #1e1e1e;
    padding: 20px;
    /* display: flex;  */
    /* justify-content: space-around;  */

    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.total-coin-section h3 {
    color: #00FC43;
    margin-bottom: 10px;
    padding: -15px;
}

/* .total-coin-section p {
    color: #fdfdfd;
    font-size: 16px;
    font-weight: bold;
} */
.hori-margin16 {
  
    padding-left: 16px;
    padding-right: 16px;
  }




.nav {
    width: 100%;
    padding: 35px 40px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: #3090D9;
    position: fixed;
    top: 0;  /* 화면 상단에 고정 */

    z-index: 9999;
  }
  
  
  
  
  
  .nav > .center {
    width: 30%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav > .center img {
    display: block;
    margin: 0 auto;
    position: relative;
    top: 0px;
  
    
  }
  

  
  @media only screen and (min-width: 320px) and (max-width: 1024px) {
    .nav > .center {
      display: block;
      align-items: center;
      
      
    }
  }


 .logo {
    max-width: 150px;  /* 원하는 최대 너비로 설정 */
    height: auto;      /* 비율을 유지하며 자동으로 높이 조정 */
    padding-right: 12px;
 }


 .left-ad {
    position: absolute;  /* Fixed position to stay on the page */
    top: 50%;          /* Vertically center the ad */
    left: 0;           /* Align to the left */
    transform: translateY(-50%);  /* Adjust the vertical position */
    z-index: 99999;    /* Ensure this ad is on top */
    padding-left: 36px;
}


.right-ad {
    position: absolute;  /* Fixed position to stay on the page */
    top: 50%;          /* Vertically center the ad */
    right: 0;           /* Align to the left */
    transform: translateY(-50%);  /* Adjust the vertical position */
    z-index: 99999;    /* Ensure this ad is on top */
    padding-right: 36px;
}



.left-ad, .right-ad, .bottom-ad {
    display: block !important; 
}

/* 모바일 화면에서 광고 숨기기 */
@media (max-width: 768px) {
    .left-ad, .right-ad, .bottom-ad {
        display: none !important; /* 모바일에서 강제로 숨김 */
    }
}


.mobile-ad {
    
    display: none !important; 
}

/* 모바일 화면에서 광고 숨기기 */
/* @media (max-width: 768px) { */

@media only screen and (min-width: 320px) and (max-width: 1024px) {
    .mobile-ad {
        display: block  !important; 
    }
}




/* 
.ad-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

/* 배경 흐림 효과 */
/* .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
} */ 