*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

*::-webkit-scrollbar {
    width: 5px;
}

*::-webkit-scrollbar-track {
    background: #000000;
}

*::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px none #ffffff;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: white;
}


#inputText{
    border-radius: 25px;
    height: 30px ;
    width: 50vw;
    max-width: 150px;
    padding: 0 10px;
    outline: none;
    border: none;
}

#sendButton{
    position: relative;
    transform: translate(0, 25%);
    transition: transform 220ms ease-in-out;
}

#sendButton:hover{  
    transform: scale(1.5, 1.5) translate(0, 20%);
    
}

.player {
    display: grid;
    grid-template-columns: repeat(10, 10%);
    grid-template-rows: repeat(10, 10dvh);
}

.playerContainer, .chatPage {
    padding: 10px;
}

#jwplayerDiv {
    min-width: 977.77px;
    max-width: 977.77px;
    min-height: 550px;
    max-height: 550px;
    border-radius: 25px;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow:0 0 20px rgba(119, 6, 119, 1);
}

.jwplayer.jw-flag-aspect-mode {
    min-height :100%;
    max-height :100%;

}
.jw-svg-icon-buffer path {
    display: none;
}

.playerContainer{
    grid-area: 1 / 1 / 11 / 8;
    position: relative;
}

.chatPage{
    grid-area: 1 / 8 / 11 / 11;
    text-align: center;
}



.header{
    padding-bottom: 10px;
    font-weight: bold;
}

/* india flag colour code*/
.header span:first-child,
.header span:nth-child(2) {
  color: #ff9933; /* Saffron */
}

.header span:nth-child(3) {
  color: #fff; /* White */
}

.header span:nth-child(4),
.header span:nth-child(5){
  color: #138808; /* Green */
}
/* india flag colour code ends */

.chat{
    height: 85dvh;
    overflow-y: scroll;
}

.message {
    font-size: smaller;
    padding: 3px;
    margin: 4px;
    border: 0;
    border-radius: 5px;
    max-width: 100%;
    min-width: auto;
    min-height: auto;
    font-weight:400;
    word-wrap: break-word;
}

.other-message {
    background-color: black;
    text-align: left;
    color:white;
}

.my-message {
    background-color: black;
    color: white;
    text-align: right;
}

.other-message #text{
    /* background-color: #262626; */
    background-color: #FF9933;
    display: inline-block;
    padding: 7px 10px;
    border-radius: 25px;
    max-width: 100%;
    text-align: left;
}

.my-message #text{
    /* background-color: rgb(119, 6, 119); */
    background-color: #138808;
    display: inline-block;
    padding: 7px 10px;
    border-radius: 25px;
    max-width: 100%;
    text-align: left;
}

/* @media screen and (max-width: 2600px){
    #jwplayerDiv {
        min-width: 1440px;
        max-width: 1440px;
        min-height: 810px;
        max-height: 810px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }

    .chat{
        height: 80dvh;
        overflow-y: scroll;
    }
} */

@media screen and (max-width: 1512px){
    #jwplayerDiv {
        min-width: 853.33px;
        max-width: 853.33px;
        min-height: 480px;
        max-height: 480px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
                
    }

    .chat{
        height: 80dvh;
        overflow-y: scroll;
    }
}

@media screen and (max-width: 1312px){
    #jwplayerDiv {
        min-width: 640px;
        max-width: 640px;
        min-height: 360px;
        max-height: 360px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }

    .chat{
        height: 75dvh;
        overflow-y: scroll;
    }
}


@media screen and (max-width: 1020px){
    .playerContainer{
        grid-area: 1 / 1 / 6 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 6 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 35dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 750px;
        max-width: 750px;
        min-height: 421.87px;
        max-height: 421.87px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 850px){
    .playerContainer{
        grid-area: 1 / 1 / 6 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 6 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 35dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 500px;
        max-width: 500px;
        min-height: 281.25px;
        max-height: 281.25px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 850px) and (max-height: 300px){
    .playerContainer{
        grid-area: 1 / 1 / 11 / 11;
        position: relative;
    }
    
    .chatPage{
        display: none;
        text-align: center;
    }

    .chat{
        height: 35dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 500px;
        max-width: 500px;
        min-height: 281.25px;
        max-height: 281.25px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 850px) and (min-width: 750px) and (max-height: 1200px) and (min-height: 1000px){
    .playerContainer{
        grid-area: 1 / 1 / 5 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 5 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 45dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 568.888px;
        max-width: 568.888px;
        min-height: 320px;
        max-height: 320px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }

    .message {
        font-size: smaller;
        padding: 3px 80px;
        margin: 4px;
        border: 0;
        border-radius: 5px;
        max-width: 100%;
        min-width: auto;
        min-height: auto;
        font-weight:400;
        word-wrap: break-word;
    }
}

@media screen and (max-width: 600px){
    .playerContainer{
        grid-area: 1 / 1 / 6 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 6 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 35dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 448px;
        max-width: 448px;
        min-height: 248px;
        max-height: 248px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-height: 425px){
    .playerContainer{
        grid-area: 1 / 1 / 11 / 8;
        position: relative;
    }
    
    .chatPage{
        grid-area: 1 / 8 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 80dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 420px;
        max-width: 420px;
        min-height: 236.25px;
        max-height: 236.25px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }

    *{
        font-size: xx-small;
    }
}

@media screen and (max-width: 550px){
    .playerContainer{
        grid-area: 1 / 1 / 5 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 5 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 35dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 355.55px;
        max-width: 355.55px;
        min-height: 200px;
        max-height: 200px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}
@media screen and (max-width: 550px){
    .playerContainer{
        grid-area: 1 / 1 / 5 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 5 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 40dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 355.55px;
        max-width: 355.55px;
        min-height: 200px;
        max-height: 200px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}
@media screen and (max-width: 500px){
    .playerContainer{
        grid-area: 1 / 1 / 4 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 4 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 55dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 355.55px;
        max-width: 355.55px;
        min-height: 200px;
        max-height: 200px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 500px) and (max-height: 670px){
    .playerContainer{
        grid-area: 1 / 1 / 5 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 5 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 45dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 330px;
        max-width: 330px;
        min-height: 185.62px;
        max-height: 185.62px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 500px) and (max-height: 750px){
    .playerContainer{
        grid-area: 1 / 1 / 4 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 4 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 45dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 330px;
        max-width: 330px;
        min-height: 185.62px;
        max-height: 185.62px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }
}

@media screen and (max-width: 300px){
    .playerContainer{
        grid-area: 1 / 1 / 4 / 11;
        position: relative;
    }
    
    .chatPage{
        grid-area: 4 / 1 / 11 / 11;
        text-align: center;
    }

    .chat{
        height: 55dvh;
        overflow-y: scroll;
    }

    #jwplayerDiv {
        min-width: 240px;
        max-width: 240px;
        min-height: 135px;
        max-height: 135px;
        border-radius: 25px;
        text-align: center;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow:0 0 20px rgba(119, 6, 119, 1);
    }

    *{
        font-size: x-small;
    }
}

@media screen and (max-width: 1020px) and (max-height: 860px) and (min-height: 430px) and (min-width: 730px){
  .playerContainer{
      grid-area: 1 / 1 / 11 / 7;
      position: relative;
  }

  .chatPage{
      grid-area: 1 / 7 / 11 / 11;
      text-align: center;
  }

  .chat{
      height: 60dvh;
      overflow-y: scroll;
  }

  #jwplayerDiv {
      min-width: 512px;
      max-width: 512px;
      min-height: 288px;
      max-height: 288px;
      border-radius: 25px;
      text-align: center;
      margin: auto;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      box-shadow:0 0 20px rgba(119, 6, 119, 1);
  }
    
}