body {
    background: url('../image/background.png') no-repeat center center fixed;
    background-size: cover;
}

.main-image {
    max-width: 30%;
    height: auto; /* 이미지 비율 유지 */
}

.play-button-container {
    display: block; /* 컨테이너 항상 표시 */
    text-align: center;
    margin-top: 10px;
}

.play-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease; /* 부드러운 전환 효과 */
}

.play-button:hover {
    transform: scale(1.1) translateY(-5px); /* 버튼 크기를 1.1배로 키우고 위로 5px 이동 */
}

.server-info {
    color: #ffffff;
    padding: 10px;
    font-size: 0.8rem;
}


/* 아이콘 컨테이너 스타일 */
.icon-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* 아이콘 간 간격 */
    margin-top: 50px;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* 아이콘의 크기 */
    height: 80px; /* 아이콘의 크기 */
    overflow: hidden; /* 이미지가 넘치는 부분을 잘라내기 */
    transition: transform 0.3s ease; /* 부드러운 전환 효과 */
}

.icon-image {
    width: 100%; /* 아이콘 크기 맞추기 */
    height: 100%; /* 아이콘 크기 맞추기 */
    border-radius: 50%;
    object-fit: cover; /* 이미지가 잘리더라도 비율을 맞추기 */
    -webkit-user-drag: none;
    display: block;
}

/* 마우스를 올렸을 때 아이콘 효과 */
.icon-link:hover {
    transform: scale(1.2) translateY(-10px); /* 아이콘 크기를 1.2배로 키우고 위로 10px 이동 */
}

/* 각 내용 박스에 스크롤 마진 설정 (네비게이션 바의 높이를 고려) */
.term-box[id] {
    scroll-margin-top: 70px; /* 네비게이션 바의 높이에 맞게 여백 추가 */
}

/* 각 항목의 제목에 대해 스크롤 마진을 적용 */
h3[id] {
    scroll-margin-top: 70px; /* 네비게이션 바 높이에 맞게 여백 추가 */
}

@media (max-width: 576px) {
    .icon-link {
        width: 40px;
        height: 40px;
    }

    .minelist-icon {
        width: 40px;
        height: 40px;
    }
}
