body, button {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: white;
    border-bottom: 2px solid white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}


.right-side button {
    padding: 12px 20px; /* 패딩을 늘려 버튼 크기를 크게 만듦 */
    margin-right: 20px; /* 오른쪽 마진을 주어 다른 요소와 간격을 둠 */
    background-color: white; /* 배경색을 흰색으로 설정 */
    border: none; /* 테두리 제거 */
    color: #E7480C; /* 글자색을 주황색으로 설정 */
    font-size: 15px; /* 글자 크기를 늘림 */
    cursor: pointer; /* 커서를 포인터로 설정 */
    border-radius: 5px; /* 모서리를 둥글게 설정 */
    font-weight: bold;
}

.right-side button:last-child {
    margin-right: 50px; /* 마지막 버튼에 추가 마진 */
}

.right-side button:hover {
    background-color: whitesmoke; /* 호버 시 더 어두운 주황색으로 변경 */
}


main {
    padding-top: 60px; /* Adjust this value based on your header's actual height */
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
    text-align: center;
}

#section1 {
    background-color: white; /* 배경색 변경 가능 */
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    height: 100vh;
    flex-direction: column; /* 세로 방향 정렬 */
    padding-top: 20px; /* 상단 패딩 조정 */
    padding-bottom: 20px; /* 하단 패딩 조정 */
}

.image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 5px; /* 이미지와 텍스트 사이 간격 조정 */
    margin-top: -195px;
}

.image-container img {
    width: 70%;
    max-width: 300px; /* 최대 너비 설정 */
    height: auto; /* 자동 높이 설정으로 비율 유지 */
    transform: scale(0.7);

}

.text-container {
    text-align: center; /* 텍스트 중앙 정렬 */
    margin-top: -120px; /* 음수 마진으로 텍스트 컨테이너 위로 이동 */
    width: 100%; /* 텍스트 컨테이너 너비 */
    max-width: 600px; /* 최대 너비 설정 */
    position: relative;
}

.text-container h3 {
    font-size: 50px; /* 제목 폰트 크기 */
    color: #E7480C; /* 제목 폰트 색상 */
    margin-bottom: 5px; /* 제목과 본문 사이 간격 */
}

.text-container p {
    font-size: 24px; /* 본문 폰트 크기 */
    color: #333; /* 본문 폰트 색상 */
    margin-bottom: 20px; /* 본문과 버튼 사이 간격 */
    line-height: 1.2; /* 줄 간격 설정 */
    font-weight: bold;
}

.text-container button {
    padding: 12px 24px;
    background-color: #E7480C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-weight: bold;
}

.text-container button:hover {
    background-color: #e67e22; /* 호버 시 색상 변경 */
}



#section2 {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0; /* 패딩 제거 */
    margin: 0; /* 마진 제거 */
    overflow: hidden; /* 넘치는 내용 숨기기 */
}

#section2 .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section2 .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 비율을 유지하며 전체를 보여줌 */
    max-width: 120%;
    max-height: 120%;
    margin-top: 70px; /* 이미지를 아래로 내림 */
}

#section3 {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    align-items: center;
    height: 100vh;
    padding: 20px;
    background-color: white; /* 배경색 설정 */
}

#section3 .content-wrapper {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    width: 100%; /* 전체 너비 사용 */
    height: 100%; /* 전체 높이 사용 */
}

#section3 .image-container {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    align-items: CENTER;
    width: 80%; /* 이미지 컨테이너 너비 */
    height: 100%; /* 이미지 컨테이너 높이 */
    margin-right: 180px; /* 왼쪽으로 이동 */
    margin-top: 80px; /* 아래쪽으로 이동 */
}

#section3 .image-container img {
    width: 120%;
    height: 120%;
    max-width: none; /* 최대 너비 제한 없음 */
    max-height: none; /* 최대 높이 제한 없음 */
    object-fit: contain; /* 비율 유지하면서 이미지 조정 */
}

#section3 .text-container {
    width: 45%; /* 텍스트 컨테이너 너비 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 80px;
    margin-left: -100px;
}

#section3 .text-container h2 {
    font-size: 40px;
    color: #E7480C;
    margin: 0 0 10px 0;
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

#section3 .text-container p {
    font-size: 24px;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.5;
    text-align: left; /* 텍스트 왼쪽 정렬 */
    font-weight: bold;
}

#section3 .text-container button {
    padding: 12px 24px;
    background-color: #E7480C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-weight: bold;
}

#section3 .text-container button:hover {
    background-color: #e67e22; /* 호버 시 색상 변경 */
}


#section4 {
    display: flex;
    justify-content: flex-end; /* 오른쪽 정렬 */
    align-items: flex-end; /* 아래쪽 정렬 */
    height: 100vh;
    padding: 0; /* 패딩 제거 */
    margin: 0; /* 마진 제거 */
    background-color: white; /* 배경색 설정 */
}

#section4 .content-wrapper {
    display: flex;
    align-items: flex-end; /* 세로 아래 정렬 */
    width: 100%; /* 전체 너비 사용 */
    height: 100%; /* 전체 높이 사용 */
}

#section4 .text-container {
    width: 40%; /* 텍스트 컨테이너 너비 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 아래쪽 정렬 */
    align-items: flex-end; /* 텍스트 오른쪽 정렬 */
    padding: 0; /* 패딩 제거 */
    box-sizing: border-box;
    margin-bottom: 240px; /* 텍스트 컨테이너 아래쪽 여백 */
    margin-right: -20px; /* 이미지와 텍스트 사이의 간격 줄이기 */
}

#section4 .text-container h2 {
    font-size: 40px;
    color: #E7480C;
    margin: 0 0 10px 0;
    text-align: right; /* 텍스트 오른쪽 정렬 */
}

#section4 .text-container p {
    font-size: 24px;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.5;
    text-align: right; /* 텍스트 오른쪽 정렬 */
    font-weight: bold;
}

#section4 .text-container button {
    padding: 12px 24px;
    background-color: #E7480C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-weight: bold;
}

#section4 .text-container button:hover {
    background-color: #e67e22; /* 호버 시 색상 변경 */
}

#section4 .image-container {
    display: flex;
    justify-content: flex-end; /* 오른쪽 정렬 */
    align-items: flex-end; /* 아래쪽 정렬 */
    width: 80%; /* 이미지 컨테이너 너비 */
    height: 100%; /* 이미지 컨테이너 높이 */
    margin-right: -50px; /* 오른쪽 마진 제거 */
    margin-bottom: -40px; /* 아래쪽 마진 제거 */
}

#section4 .image-container img {
    width: 110%;
    height: 110%;
    max-width: none; /* 최대 너비 제한 없음 */
    max-height: none; /* 최대 높이 제한 없음 */
    object-fit: contain; /* 비율 유지하면서 이미지 조정 */
}


#section5 {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    align-items: center;
    height: 100vh;
    padding: 20px;
    background-color: white; /* 배경색 설정 */
}

#section5 .content-wrapper {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    width: 100%; /* 전체 너비 사용 */
    height: 100%; /* 전체 높이 사용 */
}

#section5 .image-container {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    align-items: center;
    width: 80%; /* 이미지 컨테이너 너비 */
    height: 100%; /* 이미지 컨테이너 높이 */
    margin-right: 180px; /* 왼쪽으로 이동 */
    margin-top: 80px; /* 아래쪽으로 이동 */
}

#section5 .image-container img {
    width: 120%;
    height: 120%;
    max-width: none; /* 최대 너비 제한 없음 */
    max-height: none; /* 최대 높이 제한 없음 */
    object-fit: contain; /* 비율 유지하면서 이미지 조정 */
}

#section5 .text-container {
    width: 45%; /* 텍스트 컨테이너 너비 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 80px;
    margin-left: -100px;
}

#section5 .text-container h2 {
    font-size: 40px;
    color: #E7480C;
    margin: 0 0 10px 0;
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

#section5 .text-container p {
    font-size: 24px;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.5;
    text-align: left; /* 텍스트 왼쪽 정렬 */
    font-weight: bold;
}

#section5 .text-container button {
    padding: 12px 24px;
    background-color: #E7480C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-weight: bold;
}

#section5 .text-container button:hover {
    background-color: #e67e22; /* 호버 시 색상 변경 */
}

#section6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    background-color: #E98D6B; /* 배경색 설정 */
}

#section6 .image-container {
    display: flex;
    justify-content: center; /* 이미지를 균등하게 배치 */
    align-items: center;
    width: 100%; /* 컨테이너 너비 조정 */
    margin-top: 50px;
    gap: 100px;
}

#section6 .image-container a {
    max-width: 100%; /* 각 링크의 최대 너비 설정 */
    height: auto; /* 비율 유지 */
    display: block;
    margin-bottom: 50px;
}

#section6 .image-container img {
    width: 1000px; /* 링크 내부 이미지는 링크 크기에 맞춤 */
    height: auto; /* 비율 유지 */
    display: block;
    border-radius: 15px; /* 둥근 모서리 설정 */
    transition: transform 0.3s; /* 애니메이션 추가 */
}

#section6 .image-container img:hover {
    transform: scale(0.9); /* 호버 시 이미지 크기 증가 */
}

#section6 .button-container {
    margin-top: 50px; /* 이미지와 버튼 사이 간격 */
}

#section6 .button-container button {
    padding: 12px 24px;
    background-color: #E7480C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
}

#section6 .button-container button:hover {
    background-color: #e67e22; /* 호버 시 색상 변경 */
}
