@font-face {
    font-family: 'Metal Mania';
    src: url("/static/fonts/MetalMania-Regular.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}
/*                    <stop offset="0%" stop-color="#bbb" />
                    <stop offset="25%" stop-color="#fff" />
                    <stop offset="50%" stop-color="#999" />
                    <stop offset="75%" stop-color="#eee" />
                    <stop offset="100%" stop-color="#bbb" />*/

:root {
    --bg-main: #0b0d14;
    --bg-panel: #151821;
    --accent-primary: #6b3cff;
    --accent-secondary: #bfc3d9;
    --text-main: #e6e6f0; 

    --metal-text-bg:linear-gradient( 
        #bbb 0%,
        #fff 25%, 
        #999 50%,
        #eee 75%,
        #bbb 100%
    );
    --metal-text-bg-black:linear-gradient(90deg,
            /* left to right gradient*/
            #0a0a0a 0%,
            #6f6f6f 20%,
            #000000 50%,
            #4a4a4a 80%,
            #111111 100%);
    

    --metal-text-bg-black-2: linear-gradient(0deg,
            /*Top to bottom gradient*/
             #636262 0%,
             #0a0a0a 20%,
             #000000 50%,
             #0a0a0a 80%,
             #6f6f6f 100%);

    --header-background-color:linear-gradient(to bottom,
                #0b0d14,
                #151821);
}


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

.metal-text{
    font-family:'Metal Mania', sans-serif;
    font-size:28px;

    background: var(--metal-text-bg);

    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    -webkit-font-smoothing: antialiased;
    background-clip:text;
    color:transparent;

    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(255, 255, 255, 0.3),
        -1px -1px 2px rgba(255, 255, 255, 0.2);
}

.metal-text-black {
    font-family: 'Metal Mania', sans-serif;
    font-size: 28px;

    background: var(--metal-text-bg-black);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-font-smoothing: antialiased;
    background-clip: text;
    color: transparent;

    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(255, 255, 255, 0.3),
        -1px -1px 2px rgba(255, 255, 255, 0.2);
}

.metal-button {
    background: linear-gradient(145deg,
            #bbb 0%,
            #fff 20%,
            #999 50%,
            #eee 80%,
            #bbb 100%);
            /* ^ This assigns these colors along a 145 degree line*/
        
        border:2px solid #666;
        border-radius:10px;
        padding:10px 18px;
        font-family:"Metal Mania", sans-serif;
        font-size:18px;
        color:#111;
        cursor:pointer;
}

.metal-button:hover{
    transform:translateY(-1px);
    /*^ This raises the button up one pixel when hovered over.*/

    box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.7),
    inset 0 -2px 3px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.7);
    /*Insets = layers, this is a layered shadow.*/
}

.metal-button:active{
    transform:translateY(1px);
    box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.6),
    inset 0 -1px 1px rgba(255, 255, 255, 0.3),
    0 2px 6px rgba(0,0,0,0.5); 
}
header{
    background: linear-gradient(to bottom,
                #0b0d14,
                #151821);
        border-bottom: 2px solid var(--accent-primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);

    text-align:center;
    justify-content:center;
                        
}

.embellish{
    width: 200px;
    height:200px;
    position: relative;
    border-radius: 5px;
    top: 10px;
}

.top-control-panel{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    width:100%;
}

.top-control-panel .metal-button{
    flex: 0 0 auto;
    min-width:150px;
    max-width:200px;
    text-align: center;
}
 h3, h4{
    text-align:center;
    color:white;
}


.main{
    display:flex;
    flex-direction:row;
    gap:40px;
    background-color:rgba(255, 255, 255, 0.141);
}




.tooltip{
    display: none;
    color: gray;
    font-size: 15px;
    margin-top: 5px;
}

.general-broadcast-section{
    flex-direction: row;
    gap: 40px;
    /* space between player and chat */
    flex: 1;
    /* take available width */
}
.player-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    /* clips iframe corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background: #000;
    /* fallback while loading */
}

.player-wrapper iframe{
    width:100%;
    height:440px;
}



.song-history-content{
    display: none;
}

#maintenance-notice{
    display:block;
    background: var(--metal-text-bg-black);
    width:100px;
    height:100px;
    font-size:20px;
}


#empty-chat-message{
    display:none;
    color:white;
    font-size:20px;
    text-align: center;
}

#new-chat-message{
    display:none;
    font-size:20px;
    text-align:center;
    justify-content: center;
    color:white;
}

#map-and-setlist-button-div{
   display:flex;
   justify-content: center;
   margin:20px 0;
}
#map-and-setlist-button{
    width:auto;
    height:50px;
    font-size:15px;
    text-align:center;
}

.map-and-setlist{
    display:none;
    flex-direction: row;
}

.map-and-setlist.is-open{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    background:var(--header-background-color);
    color:white;
    width: 100%;
    height: 450px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    opacity: 1;
    gap:30px;
}


.map{
    width:50%;
}

.map iframe{
    width:100%;
    border-radius:15px;
    height:370px;
}
.setlist{
    justify-content: center;
    border-radius:10px;
    width:50%;
    height:fit-content;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.setlist-picture{
    width:auto;
    height:370px;
    border-radius:15px;

}




h5{
    color:white;
    font-size:25px;
    text-align: center;
}

.chat-section{
    background:var(--header-background-color);
    
    margin-right:20px;
    border-radius:10px;
    padding-top:10px;
    width:100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow:visible;
    max-height: 0;
    opacity: 1;
}




.chat-box{
    background: var(--header-background-color);
     border: 1px solid #ccc;
    border-radius: 5px;
    height: 400px; /* or any height you want */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color:white;
}



.chat-messages{
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size:24px;
    text-align:center;
}

.warning{
    /*Warning messages that display in chat*/
    color: red;
    text-align: center;
    margin-bottom: 5px;
}

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

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

#chat-form textarea[name="message"]{
        width: auto;
        min-height: 80px;
        /* height of the message box */
        padding: 8px;
        border: none;
        border-radius: 5px;
        font-size: 20px;
        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;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.comment {
    padding: 5px;
    border-radius: 3px;
    opacity:1;
    transform:translateY(0);
    
}
.comment.is-new {
    animation: popIn 250ms ease-out;
}




.chat-messages .replies{
    margin-left:20px;
    margin-top:6px;
    padding-left:12px;
    border-left: 2px solid #444;
    color:pink;
}

.chat-messages .replies .comment{
    margin-top:6px;
    font-size:0.95em;
    color: pink;
}

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







/* BEGIN ARCHIVE PAGE */


.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.help-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #bbb;
    color: #bbb;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
    cursor: help;
    user-select: none;
}

.help-tooltip {
    position: absolute;
    top: 120%;
    background: #111;
    color: #eee;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #555;
    font-size: 0.9em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Show tooltip on hover OR keyboard focus */
.help-icon:hover+.help-tooltip,
.help-icon:focus+.help-tooltip {
    opacity: 1;
}
#show-search{
    width:300px;
    padding:8px 12px;
    font-size:1em;
    border-radius:8px;
    border: 2px solid #bbb;
}

#show-search:focus{
    outline:none;
    box-shadow:0 0 8px #fff;
}
#previous-shows{
    background-color:white;
    max-height:400px;
    width:100%;
    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;
    overflow-y:auto;
}

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

.show-item{
        background: linear-gradient(145deg, #333, #555, #222);
        border: 2px solid #bbb;
        border-radius: 12px;
        padding: 12px;
        margin: 10px 0;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
        color: #eee;
        transition: transform 0.2s, box-shadow 0.2s;
}

.show-item:hover{
    transform: scale(1.02);
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.7);
}

.show-item p{
    font-size:1.1em;
    background:linear-gradient(to right, #bbb, #fff, #999);
    -webkit-background-clip: text;
    color: transparent;
}


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){


    .header-logo{
       padding:10px 0;
       display:flex;
       flex-direction: row;
    }
    header svg {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
   
    .header-logo svg {
        width: 320px;
    }
        
    /* Reduce curve text size without redoing SVG */
    svg text {
        font-size: 120%;
        }

    .archive-link {
        background-color: #000;
        text-align: center;
    
    }
    
    .embellish {
        max-width: 80px;
        max-height: 80px;
    }

    body{
        background-image:none;
    }
    main{
        
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:20px;
    }

    .metal-button{
        font-size:15px;
    }

    .player-wrapper{
        min-width:370px;
        max-width:380px;
        background-color: var(--header-background-color);
        border-radius:15px; /*Smooth corners*/
        overflow:hidden; /* Contains iFrame, keeps from spilling out*/
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* subtle depth */
    }

    /* --- Metallic text scaling --- */
    .metal-text {
        font-size: clamp(18px, 6vw, 24px);
    }




    .map-and-setlist.is-open{
        background:var(--header-background-color);
        display:flex;
        flex-direction: column;
        gap:30px;
        margin-bottom:20px;
        border-radius:15px;
        overflow-y:auto;
    }

    .map{
        border-radius:15px;
        width:100%;
        min-height:300px;
        max-height:400px;
        margin-bottom:30px;
        overflow:hidden;
    }

    .map iframe{
        max-width: auto;
        min-height:250px;
        max-height: 300px;
        border-radius:15px;
        overflow:hidden;
    }
    .setlist {
        background-color:none;
        margin-top: 20px;
        width:350px;
        height:300px;

    }
    h5{
        font-size:15px;
    }
    .chat-section{
        max-height:none !important;
        opacity: 1 !important;
        overflow:visible !important;
        position:relative;
        width:100%;
        font-size:20px;
    }

    .chat-box{
        height:300px;
        overflow-y:auto;
    }

    .chat-messages{
        font-size:15px;
    }

    .chat-toggle{
        display:block;
    }



    }
@media (min-width: 769px) {
    .chat-toggle {
        display: none;
    }

    .chat-box {
        max-height: none;
        opacity: 1;
    }

 
}
