* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'DGM';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/DungGeunMo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-image: url("../img/voteview.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
}

/* 팀 이름 스타일 */
.team {
    font-family: 'DGM', sans-serif;
    position: fixed;
    top: 5vh;
    left: 0;
    right: 0; /* 가로 중앙 정렬 */
    font-size: 6vw; /* 폰트 크기 조금 더 키움 */
    font-weight: 600;
    color: rgb(252, 228, 255);
    z-index: -1;
    text-align: center; /* 텍스트를 가운데 정렬 */
    text-shadow: 0 6px 15px rgba(255, 146, 226, 0.75);
}

/* 버튼 영역 중앙 정렬 */
.buttons {
    flex: 1;
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    text-align: center;
}

/* 기본 버튼 스타일 */
.btn-hover {
    width: 100%; /* 버튼이 전체 너비를 차지할 수 있도록 설정 */
    max-width: 55vw; /* 최대 너비 설정 */
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    transition: all .4s ease-in-out;
}

/* 버튼 호버 효과 */
.btn-hover:hover {
    background-position: 100% 0;
}

.btn-hover:focus {
    outline: none;
}

/* 버튼 색상 및 위치 설정 */
.btn-hover.color-3 {
    position: fixed;
    top: 45vh; /* 버튼이 고정될 위치 */
    left: 45vw; /* 가로 중앙 정렬 */
    transform: translateX(-50%); /* 버튼을 가운데로 맞추기 위한 transform */
    width: 100%; /* 버튼이 전체 너비를 차지할 수 있도록 설정 */
    max-width: 55vw; /* 최대 너비를 55vw로 설정 */
    height: 6vh;
    background-image: linear-gradient(to right, #ea66d4, #da4ac2, #f174e9, #d62bcd);
    box-shadow: 0 4px 15px 0 rgba(219, 82, 182, 0.75);
}

/* 반응형 디자인 설정 */

/* 작은 디바이스(모바일) */
@media (max-width: 767px) {
    .team {
        font-size: 8vw; /* 작은 화면에서 폰트 크기 조금 더 키움 */
        bottom: 15vh;
    }

    .btn-hover {
        max-width: 80vw;
        height: 8vh;
    }

    .btn-hover.color-3 {
        max-width: 80vw;
    }
}

/* 중간 크기 디바이스(태블릿) */
@media (min-width: 768px) and (max-width: 1023px) {
    .team {
        font-size: 7vw;
        bottom: 18vh;
    }

    .btn-hover {
        max-width: 70vw;
        height: 7vh;
    }

    .btn-hover.color-3 {
        max-width: 70vw;
    }
}

/* 큰 디바이스(데스크탑) */
@media (min-width: 1024px) {
    .team {
        font-size: 5vw; /* 큰 화면에서는 폰트 크기를 상대적으로 작게 설정 */
        bottom: 20vh;
    }

    .btn-hover {
        max-width: 55vw;
        height: 6vh;
    }

    .btn-hover.color-3 {
        max-width: 55vw;
    }
}
