/* 기본 스타일 */
html, body{
    margin: 0;
    padding: 0;
}
body{
    background-color: #000;
    position: relative;
    font-family: 'InfinitySans', -apple-system, BlinkMacSystemFont, sans-serif;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/mobile/25052104.png');
    background-attachment: fixed;
    background-size: 82px;
    background-position: calc(50% - 260px - 60px) 15%;
    background-repeat: no-repeat;
    filter: brightness(21%); /* 배경 이미지를 어둡게 */
    z-index: -1; /* 다른 내용 뒤에 배경 배치 */
}

/* Commond */
header, main, footer{
    max-width: 600px;
}
main{
    background-color: #000;
    background-color: rgba(16, 16, 16, 0.70);
    animation: border-effector 2.5s infinite ease-in-out;
    border: 1px solid #2b2b2b;
    border-radius: 8px; /* Optional for rounded corners */
}
@media (max-width: 600px) {
    main section button.text-base {
        font-size: 0.955rem;
    }
    footer{
        position: relative;
    }
    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../../img/mobile/25052104.png');
        background-size: 72px;
        background-position: left 2% center;
        background-repeat: no-repeat;
        filter: brightness(18%); /* 배경 이미지를 어둡게 */
        z-index: -1; /* 다른 내용 뒤에 배경 배치 */
    }
    footer a.home{
        font-size: 1.055rem;
    }
}


/* 테두리 효과 */
@keyframes border-effector{
    0% {
        border-color: #2b2b2b;
        box-shadow: 0 0 5px #2b2b2b;
    }
    50% {
        border-color: pink;
        box-shadow: 0 0 10px pink;
    }
    100% {
        border-color: #2b2b2b;
        box-shadow: 0 0 5px #2b2b2b;
    }
}

/* 로딩 아이콘 */
#loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
#loading > div{
    width: 80px;
    height: 80px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 기타 */
.text-red{
    color: #f44336;
}
.text-white{
    color: #bcbcbc;
}
.text-gray{
    color: #bab9b9;
}
.text-green{
    color: #20c997;
}
.text-blue{
    color: #2196f3;
}
.space-y-5\.5 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.38rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.38rem * var(--tw-space-y-reverse));
}