@font-face {
    font-family: 'Mulmaru';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-4@1.1/Mulmaru.woff2') format('woff2');
    font-weight: normal;
}
@font-face {
    font-family: 'Sweet';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Regular.woff2') format('woff2');
    font-weight: 400;
}
@font-face {
    font-family: 'SchoolSafetyNotification';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-R.woff2') format('woff2');
    font-weight: 400;
}

   body{
        font-family:Sweet;
       background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),url('https://i.pinimg.com/736x/02/c1/05/02c1055169ff3bb943966a30d3d948eb.jpg');
       overflow-y: auto; 
    overflow-x: hidden;
    height: 100%;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: pink; 
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: mistyrose;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: PeachPuff;
   
    
    
    }
    a:link { color: black !important; }
a:visited { color: gray !important; }

    ::selection{ color: transparent;
text-shadow: 0 0 2px #000;
transition: all 250ms ease-in;}
::-moz-selection{
color: transparent;
text-shadow: 0 0 2px #000;
transition: all 250ms ease-in;}
 
    
    #clock{
     width:750px; position: relative; margin:auto;
      }
    
      #MyClockDisplay{
        position:absolute;
        left: 26%;
        transform: translateX(-50%);
                 font-family:Mulmaru;
        font-size: 15px;  letter-spacing: 0px;text-align:center; color:#640003;
        background-color:#ffd6d6;
        border:3px ridge #FF7690; padding-top: 2px;
        width:150px; border-radius: 10px;

    }
    
    #container{
        padding:5px;
        height: 100%;
        width:750px;
        margin-top:15px;
       position: relative;
        left: 50%;
        transform: translateX(-50%);
background-color: MistyRose;
        border:4px ridge #FF7690;   border-radius: 30px;
    }
        
  #section-1, #section-2, #section-3 {
    box-sizing: border-box;
}
    #section-1{
       position: relative;
        width:100%;
        border-radius:0px 0px 0px 25px;
        background-color:#FFFAE7; border:1px solid gray; padding:4px;
        
        display: flex;
    flex-direction: column;
    min-height: 400px;
    }
    
    /* - - - - - - - - - - - */
    
    #section-2{
       position: relative;
        width:100%;
        text-align:center;
         background-color:#FFFAE7; border:1px solid gray; padding:4px;
    }
  
    /* - - - - - - - - - - - */ 
    
    #section-3{
       position: relative;
        width:100%;
        text-align:center;
                border-radius:0px 0px 25px 0px;
                 background-color:#FFFAE7; border:1px solid gray; padding-top:4px;
    }   
    
    
    
    #news-text-inner{    
        padding:5px;        
        height:100%;
        overflow-y:auto;
    }
        
.nav-btn{
  padding:8px;
  background:#7F4447;
  border:3px solid #B88689;
  color:#FCBABE;
  width:100%;
  text-align:left;
  font-family:SchoolSafetyNotification;
}

.nav-btn.active{
  background:#FCBABE !important;
  border-color:#FEE9EA !important;
    color:#7F4447;
} 

#confetti-button {
margin-top: auto;
    bottom: 10px; 
    cursor: pointer;
}


.image-box {
  text-align: center;
  display: flex;
  align-items: center;
  height: 200px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.image-box img {
  max-width: 100%;
  object-fit: cover;
}


/* 본체 */
.player-body {
    position: relative; width: 115px; height: 115px;
    background: #FCBABE; border-radius: 20px; border:3px ridge #FF7690;
    box-shadow: 0 0 2px rgba(0,0,0,0.2), 0 8px 20px rgba(0,0,0,0.1);
    display: flex; justify-content: center; align-items: center;
}

.player-body::before {
    content: ''; position: absolute;
    width: 99px; height: 99px; border-radius: 50%;
    background: conic-gradient(
        #f0f0f0 0deg 252.5deg,  
        #646464 252.5deg 287.5deg,  
        #f0f0f0 287.5deg 360deg
    );
    z-index: 0; 
}

/* 전원 버튼 */
.power-button {
    position: absolute; bottom: 7px; right: 7px;
    width: 10px; height: 10px;
    background: #7F4447;
    border-radius: 50%; border: 2px solid #B88689;
    cursor: pointer; transition: background 0.3s;
    z-index: 10;
}
.power-button.on { background: #B88689; }

/* CD 디스크 */
.cd-disk {
    width: 90px; height: 90px;
    background-image: url('img/CD.jpg');
    background-size: cover; background-position: center;
    border-radius: 50%; border: 1px solid #ccc;
    position: relative; flex-shrink: 0; z-index: 5;
}

/* CD 중앙 구멍 디테일 */
.cd-disk::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 8px; height: 8px; background: #646464;
    border: 4px solid #888; border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.8), 0 0 2px rgba(0,0,0,0.3);
}





