* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    font-size: 18px;
    text-align: center;
}

.container {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /*justify-content: center; /* 완전 중앙 정렬 */
    align-items: center;
}

/* 헤더 스타일 */
header {
    position: relative; /* 내부 요소 절대 위치 조정을 위해 */
    display: flex;
    justify-content: space-between; /* 중앙 정렬 유지 */
    align-items: center;
    width: 100vw;
    padding: 6rem;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

header > p {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    position: absolute;
    top: 10px;
    left: 20px;
    padding: 0;
}

header > h1 {
  font-size:2.5rem
  }

header > ul {
    /*display: flex; /* 메뉴를 원래 정렬대로 유지 */
}

header > ul > li {
    list-style-type: none;
    margin-left: 20rem;
    margin-bottom: 2.2rem;
}

header > ul > li > a {
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    transition: color 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

header > ul > li > a:hover {
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

/* 섹션 스타일 */
section {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 중앙 정렬 */
    align-items: center;
    width: 100%;
    height: 60vh; /* 화면 중앙 유지 */
}

section > p:first-child {
    font-size: 6rem; /* 더 크고 가독성 좋게 */
    font-weight: 900;
    color: #222;
    text-align: center;
    margin-bottom: 1rem;
    
}

/* 설치하기 버튼 */
section > a {
    display: inline-block;
    border: 2px solid #007bff;
    background-color: #007bff;
    color: white;
    width: 280px; /* 더 넓게 */
    font-size: 2.2rem; /* 글씨 더 크게 */
    font-weight: 700;
    padding: 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    /*margin-top: 3rem;*/
    transition: background-color 0.3s ease-in-out, transform 0.2s;
    margin-bottom: 10rem;
}

section > a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }

    header > p {
        font-size: 2.6rem;
    }

    header > ul {
        margin-top: 1.5rem;
        flex-direction: column;
    }

    header > ul > li {
        margin: 0.8rem 0;
    }

    header > ul > li > a {
        font-size: 1.8rem;
    }

    section {
        height: 70vh; /* 모바일에서 더 중앙 배치 */
    }

    section > p:first-child {
        font-size: 4.4rem; /* 모바일에서도 더 크고 중앙 정렬 */
    }

    section > a {
        width: 300px; /* 모바일에서 터치하기 편하게 */
        font-size: 2.2rem;
        padding: 2rem;
    }
}