/* global.css */

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2'),
    url('../fonts/Pretendard-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('../fonts/Pretendard-Bold.woff2') format('woff2'),
    url('../fonts/Pretendard-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard-ExtraBold';
    src: url('../fonts/Pretendard-ExtraBold.woff') format('woff'),
    url('../fonts/Pretendard-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* Body 스타일 설정 */
html,
body {
    margin: 0;
    font-family: Pretendard, sans-serif ;
    color: #333;
    background-color: #fff;
}

/* Heading 스타일 설정 */
h1, h2, h3, h4, h5, h6 {
    font-family: Pretendard, sans-serif ;
    margin: 0;
    font-weight: normal;
}

/* 이미지 기본 스타일 설정 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 공통 레이아웃 설정 */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.fixed-download-button {
    display: none; /* 기본적으로 숨기기 */
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px 20px;
}

.fixed-download-button .download-button {
    display: flex;
    height: 48px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    background-color: #143CD2;
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-family: Pretendard, sans-serif ;
    font-size: 18px;
    font-weight: 700;
}

.fixed-download-button .download-button:hover {
    background-color: #1030A8;
}

/* 다운로드 버튼 공간 확보를 위한 spacer */
.spacer {
    display: none;
    height: 100px; /* 버튼 높이만큼 공간 확보 */
}

@media (max-width: 1080px) {
    .spacer {
        display: block;
    }
}

/* 미디어 쿼리 - 반응형 디자인 */
/* 화면 너비가 1080px 이하일 때 적용 */
@media (max-width: 1080px) {
    .container {
        padding: 0 20px; /* 여백 축소 */
    }
}

/* 추가된 글로벌 설정 */
html, body {
    overflow-x: hidden; /* 전체 페이지에 대해 수평 스크롤 숨기기 */
}
