body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: pink; /* 연분홍색 배경 추가 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, footer {
    background-color: #333; /* 회색 header와 footer 추가 */
    padding: 0px;
    width: 100%; /* 전체 너비로 확장 */
    height: 5VH;
    z-index: 1;
    left: 0;
    color: white;
    text-align: center;
    justify-content: center;
    line-height: inherit;
    align-items: center;
    font-size: 50%;
}

header {
    top: 0; /* 페이지 상단에 고정 */
    position: fixed;
}

footer {
    position : absolute;
    bottom: 0; /* 페이지 하단에 고정 */
}

.container {
    position: relative;
    margin: 0px auto;
    text-align: center;
    z-index: 0;
}
.container-wrapper {
    padding: 0px;
    box-sizing: border-box; /* padding이 요소의 크기에 포함되도록 함 */
}

.container h2 {
    text-align: center;
    font-size: 10vh;
}

input[type="text"] {
    margin-top: 0px;
    width: 100%;
    padding: 5px;
}

button {
    margin-top: 1vh;
    padding: 5px;
}

.white-box {
    background-color: white; /* 흰색 배경 */
    padding: 0px; /* 컨테이너 안 여백 설정 */
    border-radius: 10px; /* 모서리 둥글게 */
    height: 89vh; 
    position: relative;
    z-index: 9999;
    margin-top: 5VH;
    margin-bottom: 5VH;
    overflow: hidden;
    display: flex;
    justify-content: center; /* 수평 가운데 정렬 */
}

.background-image {
    position: relative;
    top: 0;
    background-image: url('img/tree_1.jpeg');    
    z-index: -1;
    width: 480px;
    height: 650px;
}

.object {
    position: absolute;
}
@media only screen and (max-width: 768px) {
    .object {
        width: 20px;
        height: 20px;
    }
}

/* 웹 환경에서의 추가 스타일 */
@media only screen and (min-width: 769px) {
    .object {
        width: 50px; /* 화면 전체 너비를 차지 */
        height: 50px; /* 화면 전체 높이를 차지 */
    }
}

/* 오브제들의 위치 */
/* 오브제들의 위치 */
.object1 {
    top: 100px;
    left: 90px;
}

.object2 {
    top: 180px;
    left: 150px;
}

.object3 {
    top: 260px;
    left: 80px;
}

.object4 {
    top: 320px;
    left: 160px;
}

.object5 {
    top: 370px;
    left: 250px;
}

.object6 {
    top: 240px;
    left: 220px;
}

.object7 {
    top: 190px;
    left: 300px;
}

.object8 {
    top: 290px;
    left: 300px;
}

.object9 {
    top: 450px;
    left: 300px;
}

.object10 {
    top: 400px;
    left: 80px;
}

.object11 {
    top: 430px;
    left: 190px;
}

.object img {
    width: 10vh; /* 원하는 크기로 조정 */
    height: auto; /* 너비에 맞게 자동 조정 */
}

.pink-bg {
    background-color: #FFC0CB; /* 연분홍색 배경 */
    min-height: 100vh; /* 화면 전체 높이로 설정 */
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
