

@import url(./font.css);
* {
    box-sizing: border-box;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

body {
    background: url('../img/rock_back.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    color: #ccc;
    font-size: 18px;
    text-shadow: 0 0 5px #000;
}



h2, h3 {
    font-weight: bold;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #c9d5e5;
    text-shadow: 0 0 10px #222, 0 0 20px #000;
}

p {
    font-size: 1.6em;
    line-height: 1.4;
    color: #aaa;
    text-shadow: 0 0 5px #000;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #333;
    padding: 15px 20px;
    margin: 0;
}

.moscow-time {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    color: white;
    font-family: "CAT-Arena", sans-serif;
    font-size: 2em;
}

.moscow-time p {
    margin: 0;
    text-align: left;
}

.eng {
    font-size: 2em;
}

.header_left {
    display: flex;
    align-items: center;
    flex-grow: 1;
    position: static;
}

.time {
    font-size: 4em;
    font-weight: bold;
    color: #ddd;
    text-shadow: 0 0 10px #111, 0 0 20px #222;
    background: #111;
    border: 2px solid #444;
    box-shadow: 0 0 10px #222;
    padding: 1% 3%;
    text-align: center;
    position: static;
}

.logo {
    flex-grow: 2;
}

.logo-img {
    max-height: 100px;
}

.social-icons {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}

.social-icons a {
    display: block;
}

.marquee {
    font-size: 6em;
    font-weight: bold;
    color: #bbb;
    background-color: #111;
    padding: 15px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    font-family: "CAT-Arena", sans-serif;
    text-shadow: 0 0 10px #222, 0 0 20px #444;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

.content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.player-block, .playlist-block {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid #333;
    box-shadow: 0 0 15px #111;
    border-radius: 0;
    padding: 20px;
    color: #ccc;
    font-family: monospace;
    width: 48%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-height: 800px;
}

.cover_song {
    margin: 0 auto;
}

.my_play_wrapper {
    text-align: center;
}

.my_play {
    min-width:60px; 
    width: 120px;
    min-height:60px;
    height: 120px; 
    background-image:url('../img/play.png');
    background-size: cover;
    border:2px solid #444;
    border-radius: 100%;
    margin:2% auto;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.my_play:hover {
    background-color: #444;
    color: #eee;
    text-shadow: 0 0 10px #666;
}

.current_song {
    font-family: sans-serif;
    font-size: 1.5em;
    letter-spacing: 2px;
    text-align: center;
    padding: 0 2%;
    flex-grow: 1;
    flex-basis: 300px;
}

.table {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 2em;
    background-color: #222;
    margin-top: 3%;
    padding: 1% 0;
    border-radius: 5px;
    font-family: 'CAT-Arena', 'Courier', monospace;
    color: #888;
    border: 2px solid #444;
    text-shadow: 0 0 5px #000;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.table:hover {
    background-color: #444;
    color: #eee;
    text-shadow: 0 0 10px #666;
}

.playlist-block {
    overflow-y: scroll;
    border: 2px solid #333;
}

.song_time, .song_name {
    font-family: sans-serif;
    font-size: 1.6em;
}

.song_name {
    color: #c9d5e5;
    font-weight: bold;
    text-shadow: 0 0 5px #000;
}

.my_player {
    display: block;
    width: 100%;
}

.other_wrapper {
    display: flex;
    margin-top: 10%;
}

.volume_wrapper {
    flex: 0 1 100px;
    display: flex;
    align-items: center;
    flex-basis: 80px;
}

.volume_wrapper img {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

.album-cover {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
}

#volume-control {
    width: 150px;
    margin-left: 10px;
}

.visualizer {
    margin-top: 10px;
    text-align: center;
}

canvas.my_visualizer {
    background-color: transparent;
    border: none;
}

.last_song {
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: left;
    margin: 3px;
}

.footer {
    background: #111;
    border-top: 2px solid #333;
    padding: 1% 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    background: #111;
    border-top: 2px solid #333;
    flex: 0 0 auto;

}
}

.footer a {
    color: #888;
    text-decoration: none;
    font-size: 30px;
    font-family: monospace;
    text-shadow: 0 0 5px #000;
    margin: 0 30px;
}

.footer a:hover {
    text-shadow: 0 0 10px #666;
    color: #eee;
}