body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

INPUT {
    color: #ffffff;
    height: 20px;
    background-color: #000000;
    border-width: 1px;
    border-color: #AAAAAA;
    border-style: solid;
}

TEXTAREA {
    font-family: "Noto", sans-serif;
    font-size: 9pt;
    color: #777777;
    background-color: #EEF1F1;
    border-width: 1px;
    border-color: #AAAAAA;
    border-style: solid;
}

.text-white {
    font-family: "Noto", sans-serif;
    font-size: 9pt;
    color: #ffffff;
}

.text-black {
    font-family: "Noto", sans-serif;
    font-size: 9pt;
    color: #000000;
}

a {
    font-size: 9pt;
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


#bg-video {
    position: fixed;
    /* 화면 고정 */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    /* 비디오가 화면 전체를 덮도록 */
    z-index: -1;
    /* 다른 요소 뒤에 배치 */
}

a:link,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    color: black;
}

a:visited:hover {
    color: red;
}

a:visited:active {
    color: black;
}

.f1 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 9pt;
    color: red;
}

.input2 {
    border: none;
    font-family: "Noto", sans-serif;
    font-size: 9pt;
    color: black;
    background-color: black;
    height: 19px;
}

 /****************************************************************/
  /* 박스 스타일 */
  .refresh-box {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    
    width: 130px;
    height: 130px;
    padding: 10px;
    
    display: flex;
    flex-direction: column; /* 세로 방향 정렬 */
    align-items: center;
    justify-content: center;
    gap: 8px; /* 요소 간 간격 조절 */

    font-size: 14px;
    font-weight: bold;
    color: white;
    
    background: rgba(255, 255, 255, 0.2); /* 글라스 효과 */
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    animation: float 1s ease-in-out infinite alternate;
    z-index: 100;
}

/* 아이콘 스타일 */
.refresh-box i {
    font-size: 24px; /* 아이콘 크기 */
}

/* 텍스트 스타일 */
.refresh-box p {
    margin: 0;
    font-size: 12px;
    text-align: center;
}

/* 위아래 부드러운 애니메이션 */
@keyframes float {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(-30%);
    }
}

/* 작은 박스 */
.small-box {
    top: calc(20% + 140px);  /* 첫 박스 바로 아래 */
    width: 130px;
    height: 100px;
    font-size: 12px;
    gap: 5px;
}

.small-box i {
    font-size: 20px;
}

@media screen and (max-width: 1024px) {
    .small-box {
        top: calc(70% + 120px);  /* 미디어쿼리에서도 첫 박스 아래 */
        width: 110px;
        height: 85px;
    }
}

/* small-box 호버 효과 */
.small-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.small-box:hover {
    background: rgba(255, 105, 180, 0.5); /* 핑크 바탕 */
    border: 1px solid rgba(255, 105, 180, 0.7);
    transition: background 0.3s ease;
    cursor: pointer;
}

@keyframes blink-bolt {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.small-box:hover i {
    animation: blink-bolt 0.3s step-start infinite;
}