/* html {
  box-sizing: border-box;
}

*, ::before, ::after {box-sizing: inherit;} */


/* .box {
  position: absolute;
  width: 100px;
  height: 100px;
} */

#item1 {
  background-color: teal;
}

#item2 {
  background-color: blue;
  /*margin-left: 130px;*/
}

#item3 {
  background-color: red;
  /*margin-left: 250px;*/
}









/*popup */

.drawer .container {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 12px;
  width: auto; /* Adjust the width as needed */
  max-width: 400px; /* Maximum width for the chat drawer */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Add shadow for a popup effect */
  padding: 20px;
  text-align: center;
  resize: both;
  z-index: 999;
}
.drawer .cancel {
  position: absolute;

  top: 10px;
  right: 10px;
  cursor: pointer;
}
.word{
  word-wrap: normal;
  text-align: center;
}

/* .chatbox {
  width:320px;
  height:220px;
  background-color: firebrick;
  border-radius: 12px;
  margin-top: 10px;
  text-align: center;
} */
.img1 img {
  height: 70px;
  width: 100px;
  padding: 0px 12px;
}
.cbox {
  /* border: 2px solid black; */
  border-radius: 12px;
  width: 100%;
  
}
ul{
  margin: 0;
  padding: 0;
}
/* ul li:nth-child(odd) {
  background: #ececec;
} */
ul li:hover {
  background: #dad9d9;
}
input {
  margin: 0;
  border: none;
  border-radius: 0;
  width: 75%;
  padding: 10px;
  float: left;
  font-size: 16px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.addBtn {
  padding: 10px;
  width: 25%;
  background: #d9d9d9;
  color: #555;
  float: left;
  text-align: center;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}
* {
  box-sizing: border-box;
}
 .addBtn:hover {
  background-color: #bbb;
}
.cmnt{
  overflow-x:auto ;
  height: 300px;
  
}
::-webkit-scrollbar{
  width: 0px;
}

@media only screen and (max-width: 600px){
  *{
    padding: 0%;
    margin: 0%;
  }
  
  
}


/* navbar */

.unavbar {
  
  display: flex;
  justify-content: space-between;
  height: 55px;
  
}
.cancel{
  position: relative;
  text-align: right;
  margin-left: 14.5cm;
  padding-bottom: 15px;
}

.unavbar i {
  margin-top: 10px;
}

.unavbar img{
  height: 70px;
  width: 90px;
  margin-top: -5px;
  margin-left: 610px;
}

.Mnavbar {
  margin-top: 12px;
  display: flex;
  background-color: silver;
  overflow-x: auto;
}

.Mnavbar i {
  background-color: white;
  width: 20px;
  text-align: center;
}

.box-1 {
  padding: 0px 2px;
}

.Mmatch {
  display: flex;
  justify-content: space-between;
}
.match1 {
  width: 100px;
  height: 105px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 15px;
}
.match2 {
  width: 100px;
  height: 105px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 15px;

}

.time {
  background-color: white;
}

.popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
}

/* .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
} */

.popup-container h2 {
  font-size: 1.5em;
  color: #333;
}

.popup-container p {
  margin-bottom: 15px;
  color: #555;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.5em;
  color: #777;
  background: none;
  border: none;
}

/* live chat box */
.chat-container {
  max-width: 400px;
  margin: 20px auto;
}

.header {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#myUL {
  list-style-type: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  max-height: 300px;
  text-align: left;
}

.chat-message {
  margin-bottom: 10px;
  /* display: flex; */
  /* margin-left: 150px; */
  align-items: flex-end;
  overflow-wrap: break-word;
  background-color:#ececec ;
  border-radius: 15px;
  padding: 8.5px;
}

.user-name {
  /* border-radius: 50%; */
  width: auto; 
  height: auto;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  display: inline-block;
  /* margin-left: 60px; */
}


.message {
  flex: 1;
  padding-top: 5px;
  padding-left: 5px;
}

#name-container {
  display: flex;
  margin-top: 10px;
}

#name {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
}

.comment-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
}

.addBtn {
  cursor: pointer;
  background-color: #3498db;
  color: #fff;
  border-radius: 4px;
  padding: 8px;
  margin-left: 10px;
}

.addBtn i {
  margin-left: 5px;
}

.chat {
  background-color: rgba(0, 0, 0, 0.695);
  height: auto;
  /* overflow-x: auto; */
}

.img img {
  height: 50px;
  width: 70px;
  padding: 0px 12px;
}

.boxes {
  display: -webkit-box;
  overflow-x: auto
}
/* .drawerchatbox{
  margin-top: 10px;
} */
.chatbox {
  width: 330px;
  height: 220px;
  /* position: absolute; */
  border-radius: 12px;
  margin: 10px 12px;
  /* padding: 0.5px; */
}
.chatbox2 {
  width: 330px;
  height: 220px;
  background-color: beige;
  margin: 0px 12px;
  border-radius: 12px;
}
.chatbox3 {
  width: 330px;
  height: 220px;
  background-color: rebeccapurple;
  margin: 0px 12px;
  border-radius: 12px;
}
h2 {
  color: yellow;
  margin-left: 4px;
  
}
h3 {
  /* margin-top: 10px; */
  margin-left: 5px;
  text-align: center;
}
.img {
  display: flex;
  justify-content: center;
}

/* search bar */





/* slide bar */

.sidepanel {
  height: 250px; /* Specify a height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 40px; /* Place content 40px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
  /* padding: 8px 8px 8px 32px; */
  padding: 12px 12px 20px 32px;
  text-decoration: none;
  font-size: 20px;
  color: silver;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
  color: white;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* youtube shorts */

.yshorts {
  display: flex;
  margin-top: 24px;
  overflow-x: auto;
}

.yshorts .box iframe {
  height: 550px;
  width: 300px;
}

.yshorts .box {
  padding: 0px 12px;
}

/* tik-tok shorts */

.tshorts {
  display: flex;
  overflow-x: auto;
}

.tshorts .box {
  padding: 0px 12px;
}
.tshorts .box blockquote {
  height: 550px;
  width: 300px;
}

/* width */
::-webkit-scrollbar {
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(0, 0, 0);
  border-radius: 10px;
}

  


@media  screen and (max-width: 600px) {
  /* navnar */

  .unavbar {
    height: 20px;
   
  }

  .unavbar i {
    margin-top: 0px;
  }

  .unavbar img {
    height: 40px;
    width: 40px;
  }

  .match1 {
    width: 80px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 15px;
    font-size: 13px;
    white-space: nowrap;
  }
  .match2 {
    width: 80px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
  }

  .time {
    font-size: 13px;
  }

  /* chatbox */

  .chat {
    height: 155px;
  }

  .chat h2 {
    font-size: 12px;
    margin-top: 4px;
    /* position: fixed; */
  }

  

  .boxes {
    margin-top: -3px;

    .chatbox1 {
      width:320px;
      height: 220px;
      background-color: rgb(141, 111, 111);
      border-radius: 12px;
      margin: 10px 2px;
    }
    .chatbox2 {
      width: 155px;
      height: 120px;
      background-color: beige;
      margin: 0px 2px;
      border-radius: 12px;
    }
    .chatbox3 {
      width: 155px;
      height: 120px;
      background-color: rebeccapurple;
      margin: 0px 2px;
      border-radius: 12px;
    }

    .chatbox1,
    .chatbox2,
    .chatbox3 h3 {
      font-size: 10px;
    }
  }

  .img img {
    height: 22px;
    width: 22px;
    padding: 0px 5px;
  }

  ::-webkit-scrollbar {
    height: 0px;
  }

  /* youtube shorts */

  .yshorts {
    margin-top: 10px;
  }

  .yshorts .box iframe {
    height: 250px;
    width: 150px;
  }

  .yshorts .box {
    padding: 0px 5px;
  }

  /* tik-tok shortrs */

  /* .tshorts{
          margin-top: 4px;
        } */

  .tshorts .box blockquote {
    height: 250px;
    width: 150px;
  }

  .tshorts .box {
    padding: 0px 5px;
  }
  .tshorts .instagram-media {
    padding: 0px 5px;
  }
}






