@font-face {
    font-family: 'ComicSansMS';
    src: url('/fonty/comic_sans_ms.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg: #fef6e4;       
    --card: #fff3e0;     
    --accent: #ff6f61;   
    --muted: #333333;    
     font-family: 'ComicSansMS', Arial, sans-serif;
}

body {

    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fef6e4;
     font-family: 'ComicSansMS', Arial, sans-serif;
}

#container {
    width: 100%;
    background-color: black;
    color: white;
    height: 65px;
}

h1 {
    font-size: 24px;
    color: #ff6f61;
    margin-bottom: 4px;
    font-family: 'ComicSansMS', cursive, sans-serif;
}

h2 {
    font-size: 24px;
    color: #ff6f61;
    margin-bottom: 8px;
    font-family: 'ComicSansMS', cursive, sans-serif;
}

h3 {
    font-size: 22px;
    margin-top: 20px;
    color: #555;
}

#programTimes {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.obsah {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin-top: 20px;
}

.play-btn {
    padding: 10px 20px;
    font-size: 16px;
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: #ffb347;
    color: #333;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control input[type="range"] {
    width: 120px;
}

.time-display {
    font-size: 16px;
    color: #444;
}

.progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgb(255,132,89);
}

.progress > i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ffb347);
    width: 0%;
}

.time-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

canvas#viz {
    display: block;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01), transparent);
    margin-top: 12px;
}

.wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}



header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}

header::after {
    content: "🎵🎶";
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    opacity: 0.4;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6f61, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

a.logo  {
    text-decoration: none;
}

p.tag {
    font-size: 14px;
    color: rgb(0,150,216);
}

.moods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mood-btn {
    background: #fff1e0;
    border: 2px solid #ffb347;
    padding: 8px 12px;
    border-radius: 9px;
    color: #333;
    font-weight: bold;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 4px;
}

.mood-btn:hover {
    background: #ff6f61;
    color: white;
    border-color: #ffb347;
    
}

.mood-btn.active {
    background: var(--accent);
    color: white;
    border: 2px solid #ff6f61;

}

.small-btn {
    background: #fff3e0;
    border: 1px solid #ffb347;
    padding: 8px;
    border-radius: 10px;
    color: #333;
    cursor: pointer;

}

.small-btn:hover {
    background: #ff6f61;
    color: white;
    border-color: #ffb347;
}

/* Footer */
footer {
    background-color: #ffe5d9;
    color: #ff6f61;
    text-align: center;
    font-weight: bold;
    padding: 40px 20px;
    flex-shrink: 0;
}

.footer-distributed {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: rgb(254,206,182);
    padding: 50px 50px 60px 50px;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    gap: 20px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right,
.footer-distributed .footer-4 {
    flex: 1;
    min-width: 180px;
}

/* Footer specific */
.footer-distributed h3 {
/* velke nadpisy v bottom*/
    color:#FF6F61;
    font: normal 36px 'Cookie', cursive;
    margin: 0;
}

.footer-distributed h3 span {
    color: rgb(255,111,97);
    font-family: 'ComicSansMS', cursive, sans-serif;
}

.footer-distributed .footer-links {
    color: rgb(255,141,31);
    font-weight: normal;
    text-decoration: underline;
}

.footer-distributed .footer-links a {
/*faraba link v bottom*/
    display: inline-block;
    line-height: 1.8;
    text-decoration: underline;
    color: rgb(255,141,31);
}

.footer-distributed .footer-links a:hover {
/*faraba link v bottom*/
    display: inline-block;
    line-height: 1.8;
    text-decoration: underline;
    color: red;
}

.footer-distributed .footer-company-name {
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-center {
    padding-right: 5px;
    width: 30%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer-distributed .footer-right {
    width: 25%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footerwhitetext {
    color: black;
    font-size: 16px;
    font-weight: normal;    font-family: 'ComicSansMS', cursive, sans-serif;
}

/* Responsive */
@media (max-width: 720px) {
    header::after {
        display: none;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    .controls {
        flex-direction: column;
        gap: 10px;
    }

    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right,
    .footer-distributed .footer-4 {
        width: 100%;
        min-width: unset;
        margin-bottom: 20px;
    }
}
