@import url(./font.css);
*{
    box-sizing: border-box;
}


@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background: url('../img/back.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h2, h3 {
    text-align: center;
    color: white;
    font-family: sans-serif;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 5px;
}

p {
    text-align: center;
    font-size: 1.5em;
    color: white;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
}
.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-family: 'CAT-Arena', 'Courier', monospace;
    color: #fbff9c; /* Основной цвет текста */
    margin: 0 2%;
/*    letter-spacing: -5px;*/
    text-shadow: 0 0 15px rgba(255, 0, 0, 1), 0 0 20px rgba(255, 0, 0, 1); 
    background-image: url(../img/back_time.png);
    background-size: cover;
    padding: 2%;
    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;
    color: #fbff9c;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    font-family: "CAT-Arena", sans-serif;
    position: static;
    min-height: 140px;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    text-shadow: 0 0 30px rgba(255, 0, 0, 1), 0 0 20px rgba(255, 0, 0, 1); 
}


.content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
     flex: 1 0 auto;
}

.player-block, .playlist-block {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 48%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-height: 800px;
}
.cover_song{
    margin: 0 auto;
    width:300px;
    height: 300px;
}
.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:1px solid white;
    border-radius: 100%;
    margin:2% auto;

}

.current_song{
    font-family: sans-serif;
    font-size: 1.5em;
    letter-spacing: 2px;
    text-align: center;
    padding: 0 2%;
    text-align: center;
    flex-grow: 1;
    flex-basis: 300px;
    
}
.table{
    display: block;
    color: white;
    text-decoration: none;
    font-size: 2em;
    background-color: black;
    margin-top: 3%;
    padding: 1% 0;
    border-radius: 5px;
    font-family: 'CAT-Arena', 'Courier', monospace;
    color: #fbff9c;
    text-shadow: 0 0 15px rgba(255, 0, 0, 1), 0 0 20px rgba(255, 0, 0, 1);
}
.playlist-block{
    overflow-y:scroll;

}
.song_time, .song_name{
    font-family:  sans-serif;
    font-size: 1.6em;
}

.song_name{
    color: #a5d0fb;
/*    text-decoration: underline;*/
}
#my_player_custom{
    
    ./*display: flex !important;
    align-items: center;
    justify-content: space-between;*/
}
.my_player{
    display:block;!important;
    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 {
   justify-content: center;
    padding: 1% 0;
    width: 100%;
    text-align: center;
    display: flex;
}

.footer a {
    color: white;
    margin: 0 50px;
    text-decoration: none;
    font-size: 30px;
    font-family: "vsc", sans-serif;
}

.footer a:hover {
    text-decoration: underline;
}


