*{
    box-sizing:border-box;
}


body{

    margin:0;
    background:#050505;
    color:white;
    font-family:Arial, Helvetica, sans-serif;

}


/* ======================
 HEADER
====================== */

.topbar{

    min-height:75px;
    background:#111;
    border-bottom:3px solid #0080ff;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 30px;

}


.logo{

    font-size:34px;
    font-weight:bold;
    color:#0080ff;

}


/* KATEGORITE */

.categories{

    display:flex;
    gap:12px;
    flex-wrap:wrap;

}


.categories a{

    text-decoration:none;

    color:white;

    background:#222;

    padding:12px 20px;

    border-radius:25px;

    font-size:16px;

}


.categories a:hover{

    background:#0080ff;

}



/* ======================
 MAIN
====================== */


.tv-container{

    display:flex;

    height:calc(100vh - 75px);

}



/* ======================
 CHANNELS
====================== */


.sidebar{

    width:350px;

    background:#101010;

    border-right:3px solid #0080ff;

    overflow-y:auto;

    padding:20px;

}



.sidebar h2{

    text-align:center;

    color:#0080ff;

    font-size:26px;

}



.channel{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;

    margin-bottom:12px;

    background:#1a1a1a;

    border-radius:12px;

    cursor:pointer;

    transition:.2s;

}



.channel:hover{

    background:#0080ff;

    transform:scale(1.03);

}



.channel img{

    width:65px;

    height:65px;

    object-fit:contain;

    background:white;

    border-radius:10px;

}


.channel span{

    font-size:18px;

}



/* ======================
 PLAYER
====================== */


.screen{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:20px;

}



video{

    width:95%;

    max-width:1200px;

    aspect-ratio:16/9;

    background:black;

    border-radius:15px;

}



.now{

    margin-top:20px;

    font-size:26px;

}



#current{

    color:#0080ff;

    font-weight:bold;

}



button{

    margin-top:20px;

    padding:14px 40px;

    background:#0080ff;

    color:white;

    border:none;

    border-radius:30px;

    font-size:18px;

}



/* ======================
 PHONE
====================== */


@media(max-width:900px){


.topbar{

    flex-direction:column;

    gap:15px;

    padding:15px;

}


.logo{

    font-size:26px;

}



.categories{

    justify-content:center;

}


.categories a{

    font-size:14px;

    padding:10px 15px;

}



.tv-container{

    flex-direction:column;

    height:auto;

}



.screen{

    order:1;

    padding:10px;

}



video{

    width:100%;

}



.sidebar{

    order:2;

    width:100%;

    height:auto;

    max-height:400px;

    border-right:none;

    border-top:3px solid #0080ff;

}



.channel{

    padding:12px;

}



.channel img{

    width:55px;

    height:55px;

}


}



/* ======================
 TABLET
====================== */


@media(min-width:901px) and (max-width:1400px){


.sidebar{

    width:300px;

}


video{

    width:90%;

}


}



/* ======================
 SMART TV
====================== */


@media(min-width:1900px){


.topbar{

    height:110px;

}


.logo{

    font-size:50px;

}


.categories a{

    font-size:25px;

    padding:18px 30px;

}


.sidebar{

    width:500px;

}


.sidebar h2{

    font-size:40px;

}


.channel{

    padding:25px;

}


.channel img{

    width:100px;

    height:100px;

}


.channel span{

    font-size:32px;

}


.now{

    font-size:40px;

}


button{

    font-size:28px;

    padding:20px 60px;

}


}
