/* Styles for desktop screens */
@media (min-width: 1200px) {

    body,
    html {
      margin: 0;
      padding: 0;
      height: 100%;
    }

    #page-container {
      background-color: #114b5f;
      position: relative;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      height: 90%;
      border-radius: 15px;
    }

    #player-container {
      position: absolute;
      left: 0;
      margin-left: 29%;
      margin-top: -5%;

      top: 50%;
      transform: translateY(-50%);
      width: 63%;
      height: 70%;
    }

    .plyr {
      width: 100%;
      height: 100%;
      border-radius: 15px;
      box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.4);
    }

    :root {
      --plyr-color-main: #333;
    }

    #video-player {
      object-fit: cover;
    }

    #channels-container {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      margin-top: -5%;
      left: 8%;
      width: 18%;
      height: 70%;
      background-color: white;
      transition: left 0.3s;
      z-index: 2;
      overflow-y: scroll;
      overflow-x: hidden;
      border-radius: 5px;
    }



    #channels-container::-webkit-scrollbar {
      width: 10px;
    }

    #channels-container::-webkit-scrollbar-track {
      background-color: transparent;

    }

    #channels-container::-webkit-scrollbar-thumb {
      background-color: #d6dee1;
      border-radius: 20px;
      border: 2px solid transparent;
      background-clip: content-box;
    }

    #channels-container::-webkit-scrollbar-thumb:hover {
      background-color: #b1b6b7;
    }

    .channel {
      display: flex;
      background-color: white;
      color: #fff;
      cursor: pointer;
      width: 100%;
      height: 80px;
      opacity: 0.7;
      transition: all 0.3s ease;
      align-items: center;
    }

    .channel:hover {
      background-color: #f2f2f2;
      opacity: 1;
    }


    .chnl-number {
      position: absolute;
      font-size: 14px;
      font-family: Arial;
      color: black;
      margin-top: 70px;
      margin-left: 25px;
    }

    .chnl-name {
      font-size: 14px;
      font-family: Arial;
      margin-left: 20px;
      color: black;
      margin-right: 20px;
    }

    .chnl-img {
      width: 50px;
      height: 50px;
      margin-left: 20px
    }

    #channel-name {
      position: absolute;
      color: white;
      left: 0;
      font-family: Arial;
      margin-top: 3%;
      margin-left: 36%;
      font-size: 35px;
      height: 7%;
      width: 60%;
    }

    #change-btns {
      position: absolute;
      left: 0;
      bottom: 0;
      margin-left: 8%;
      margin-bottom: 8%;
      width: 18%;
      height: 7%;
      z-index: 5;
    }

    #chnlup {
      position: absolute;
      display: flex;
      right: 0;
      height: 100%;
      width: 40%;
      margin-right: 6%;
      background-color: white;
      text-align: center;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: rgb(78, 76, 76);
    }

    #chnldown {
      position: absolute;
      display: flex;
      left: 0;
      height: 100%;
      width: 40%;
      margin-left: 6%;
      background-color: white;
      text-align: center;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: rgb(78, 76, 76);
    }

    #chnlup:hover,
    #chnldown:hover {
      background-color: #f2f2f2;

    }
  }






  /* Styles for phones */
  @media (max-width: 1200px) {

    body,
    html {
      margin: 0;
      padding: 0;
      height: 100%;
      overflow: hidden;
    }

    #page-container {
      width: 100%;
      height: 100%;
      background-color: #114b5f;

    }

    #player-container {
      width: 100%;
      height: 40%;
      max-height: 40%;
      min-height: 40%;

    }

    .plyr {
      width: 100%;
      height: 100%;
    }

    :root {
      --plyr-color-main: #333;
    }

    #video-player {
      object-fit: contain;
    }

    #change-btns {
      left: 0;
      margin-top: 5%;
      width: 100%;
      height: 7%;
      z-index: 5;
    }

    #chnlup {
      position: absolute;
      display: flex;
      right: 0;
      height: 7%;
      width: 30%;
      margin-right: 19%;
      background-color: white;
      text-align: center;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: rgb(78, 76, 76);
    }

    #chnldown {
      position: absolute;
      display: flex;
      left: 0;
      height: 7%;
      width: 30%;
      margin-left: 19%;
      background-color: white;
      text-align: center;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.3s ease;
      color: rgb(78, 76, 76);
    }

    #chnlup:hover,
    #chnldown:hover {
      background-color: #f2f2f2;

    }


    #channels-container {
      position: absolute;
      margin-top: 5%;
      width: 100%;
      height: 50%;
      background-color: white;
      transition: left 0.3s;
      z-index: 2;
      overflow-y: scroll;
      overflow-x: hidden;

    }



    #channels-container::-webkit-scrollbar {
      width: 10px;
    }

    #channels-container::-webkit-scrollbar-track {
      background-color: transparent;

    }

    #channels-container::-webkit-scrollbar-thumb {
      background-color: #d6dee1;
      border-radius: 20px;
      border: 2px solid transparent;
      background-clip: content-box;
    }

    #channels-container::-webkit-scrollbar-thumb:hover {
      background-color: #b1b6b7;
    }

    .channel {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: white;
      color: #fff;
      cursor: pointer;
      width: 100%;
      height: 80px;
      opacity: 0.7;
      transition: all 0.3s ease;
    }

    .channel:hover {
      background-color: #f2f2f2;
      opacity: 1;
    }


    .chnl-number {
      position: absolute;
      font-size: 14px;
      font-family: Arial;
      color: black;
      margin-top: 70px;
      margin-left: 25px;
    }

    .chnl-name {
      font-size: 14px;
      font-family: Arial;
      margin-left: 20px;
      color: black;
      margin-right: 20px;
    }

    .chnl-img {
      width: 50px;
      height: 50px;
      margin-left: 20px
    }


  }