@font-face {
    font-family: 'Metal Mania';
    src: url("{{ url_for('static', filename='fonts/MetalMania-Regular.woff2') }}") format('woff2');
    font-weight: normal;
    font-style: normal;
}




*{
    font-family:'Metal Mania', sans-serif;
}


header{
    align-items:center;
    text-align:center;

    background-color:white;
    height:auto;
    margin-bottom:30px;
                        
}

header img:hover{
    opacity:0.6;
    transform:scale(1.05);
}
nav {
    background-color: grey;
    padding: 0.5rem;
    text-align: center;
}
nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;

}

nav a:hover{
    color:rgb(99, 91, 91);
}

.logo{
    width:100px;
    position:relative;
    border-radius:5px;
    top:10px;
}



h2{
    color:black;
    background-color:white;
    width:400px;
    
}

.main{
    background-color:rgba(255, 255, 255, 0.141)
}
.section{
    display:flex;
    background-color:rgba(255, 255, 255, 0.141);
}
.section-white{
    display:flex;
    flex-direction:column;
    color:white;
    background-color:rgba(255, 255, 255, 0.141);
    font-size:25px;
}
.broadcast-section{
    display:inline-block;
}


.player-wrapper{
    position:relative;
    width:400px;
    height:450px;
}

.button{
    width:80px;
    height:50px;
    background-color: orangered;
    border-radius:5px;
    opacity:1;
    cursor:pointer;
    z-index:10;
}

.button:hover{
    opacity:1;
}

.bottom-left{
    bottom:10px;
    left:10px;
}

.bottom-right{
    bottom:10px;
    right:10px;
}

.song-history-button{
    font-size:20px;
    background-color:orange;
}
.song-history-content{
    display: none;
}

#maintenance-display{
    display:none;
}
#empty-chat-message{
    color:black;
    font-size:20px;
}
.chat-section{
    background-color:white;
    width:400px;
}

.chat-box{
     border: 1px solid #ccc;
    border-radius: 5px;
    height: 400px; /* or any height you want */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: white; /* adjust for your theme */
    color: #eee;
}

.chat-messages{
       flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#chat-form {
    display: flex;
    flex-direction:column;
    padding: 10px;
    border-top: 1px solid #444;
    background-color: #222;
    gap:8px;
}

#chat-form input[type="text"] {
   width:auto;
   padding:8px;
   border:none;
   border-radius:5px;
   font-size:1rem;
}

#chat-form textarea[name="message"]{
        width: auto;
        min-height: 80px;
        /* height of the message box */
        padding: 8px;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        resize: vertical;
        /* allows user to resize if desired */
}

.delete-form{
    display:inline-block;
    margin-left:10px;
    background-color:white;
}

.button.delete-btn{
    background-color:red;
    display:inline-block;
    width:auto;
    height:auto;
}

.button.delete-btn:hover{
    background-color: rgb(146, 55, 55);

}

.button.ban-btn{
    display:inline-block;
    margin-left:10px;
    background-color: yellow;
    width:auto;
    height:auto;
}
.button.ban-btn:hover{
    background-color:rgb(202, 136, 12);
}

#chat-form button {
    padding: 5px 10px;
    border: none;
    background-color: #555;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

.comment {
    padding: 5px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.5s ease;
}

.comment.deleted{
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    height: 0;
    margin: 0;
    padding: 0;
}

.comment .deleted-label{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    color:red;
    font-weight:bold;
    font-size:1.2em;
    opacity:1;
    pointer-events:none;
    transition:opacity 2.8s ease;
}
h4{
    background-color:white;
}


#previous-shows{
    background-color:white;
    max-height:400px;
    border-radius:10px;
    font-size:15px;
    align-items:center;
    /* I wasn't sure between align-items and text-align. Figured both would suffice.*/
    text-align:center;
    width:400px;
    overflow-y:auto;
}

#previous-shows audio {
    width: 100%;
    /* fills container width */
    margin-bottom: 8px;
    /* spacing between tracks */
}

.show-item{
    color:white;
    background: linear-gradient(145deg, #0b0b0b, #1c1c1c);
    border: 2px solid #5500ff;
    /* mystical purple accent for symphonic metal vibe */
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(85, 0, 255, 0.5);
    /* subtle glow effect */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.show-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 0 25px rgba(85, 0, 255, 0.8);
}
h5{
    color:black;
    background-color:white;
    border-radius:5px;
    text-align:center;
    
}

footer{
    background-color:white;
    color:black;
    width:auto;
    height:auto;
    text-align:center;
    font-size:28px;
}



h7{
    color:white;
}

.hidden {
    display: none; /* hides element */
}

.visible {
    display: block; /* shows element */
}

@media (max-width:768px){
    .section,
    .section-white,
    .broadcast-section,
    header,
    nav,
    .player-wrapper, 
    .chat-section,
    .previous-shows{
        display:flex;
        flex-direction: column;
        width:400px;
    }

    .player-wrapper{
        width:100% !important;
        height:auto;
        align-items: center;
    }
    .player-wrapper iframe{
        width:100%;
        height:425px;
    }
    .chat-section{
        width:100%;
        margin-top:5px;
    }

    body{
        overflow-x:hidden;
    }
    h1, h2, h3, h4, h5{
        text-align: center;
    }
    .logo {
        width: 80px;
        margin: 0 auto;
    }

    footer{
        width:400px;
    }
}