body {
  font-family: 'Roboto', sans-serif;
  background-color: #eee;
  padding: 0px;
  margin: 0px;
}
  /* Styles for the report modal */
  #reportModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 50%;
    max-width: 400px;
  }
  
  .modal-content h2 {
    margin-top: 0;
  }
  
  .close {
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  /* Dropdown styles */
  .dropdown {
    position: relative;
    display: inline-block;
    width: 200%;
  }
  
  .dropdown select {
    width: 100%;
    padding: 12px; /* Increase padding */
    font-size: 16px; /* Increase font size */
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
  }
  
  .dropdown select:focus {
    outline: none;
  }
  
  /* Custom arrow for dropdown */
  .custom-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    border: solid #555;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-right: 5px;
    transform: rotate(45deg);
  }
  .bxx{
    width: 400px;
  }
  
  @media screen and (max-width: 420px) {
    .bxx{
      width: 150px !important;
    }
    #beta{
      margin-right: 9px !important;
    }
    .button2{
     
      margin-right: 0px !important;
      height:40px !important;
    }
  }
  @media screen and (max-width: 600px) {
    .bxx{
      width: 150px !important;
    }
    #beta{
      margin-right: 12px !important;
    }
   
  }
p {
  padding: 0px;
  margin: 0px;
}

/* general styles */
.button {
  background-color: #4285f4;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  padding: 5px;
  cursor: pointer;
}
.button:active {
  background-color: #007aff;
}
.mirror {
  transform: scaleX(-1);
}

/* main container styles */
#main {
  height: 100vh;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: 8% auto 9%;
  grid-template-columns: 30% auto;
  grid-template-areas:
    'top top'
    'vid msg'
    'vid inp';
}

/* top bar styles */
#top-bar {
  grid-area: top;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 30px;
  border: solid 1px;
  border-color: lightgray;
  align-items: center;
  background-color: white;
  box-shadow: 0 0.1em 0.3em #ccc;
  -moz-box-shadow: 0 0.1em 0.3em #ccc;
  -webkit-box-shadow: 0 0.1em 0.3em #ccc;
}
#logo {
  height: 100%;
}
#logo img {
  opacity: 0.9;
  height: 110%;
  width: 120px !important;
}
#logo h1 {
  cursor: pointer;
  text-align: left;
  font-size: 2.5rem;
  font-weight: 500;
  margin: 0px;
}
#top-right {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#peopleOnline p {
  color: #166af4;
  font-size: 20px;
  font-weight: 500;
  padding: 0;
  margin: 10px;
  margin-right: 20px;
}
#feedback-btn {
  margin: 0;
  padding: 8px;
  background-color: #4caf50; /* Green */
}
#feedback-btn:active {
  background-color: #419544; /* Green */
}

/* video container */
#videos {
  grid-area: vid;
  margin: 10px;
  margin-right: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

#self {
  
  overflow: hidden;
  margin-top: 5px;
}

#peer {
  border: #ffffff6c solid 2px;
  margin-bottom: 5px;
  overflow: hidden;
  position: relative;
}
#peer img {
  position: absolute;
  width: 25%;
  left: 10px;
  bottom: 10px;
  z-index: 10;
  opacity: 0.7;
}

.video-player {
  width: 100%;
  height: 100%;
  background-color: #666;
  object-fit: cover;
}

#peer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#peer-video-loader {
  position: absolute;
  width: 110%;
  text-align: center;
  left: 34%;
  top: 70%;  /* Slightly above halfway to account for text height */
  color: white;
  z-index: 999;
  font-size: 24px;
}

/* message area */
#message-area {
  scrollbar-width: thin;  /* Thin scrollbar for Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.238) rgba(0, 0, 0, 0.1);
  background: #fff;
  grid-area: msg;
  margin: 8px;
  padding: 10px;
  overflow-y: auto;
  font-size: 20px;
}

.message-status {
  font-family: monospace;
  margin: 8px;
  margin-bottom: 16px;
  font-weight: bold;
}

.message {
  font-family: cursive;
  margin: 8px;
}

.message .you {
  color: #4285f4;
}

.message .strange {
  color: #4caf50;
}

/* input area */
#input-area {
  grid-area: inp;
  display: flex;
  padding: 0;
  padding-bottom: 6px;
  min-width: 0;
}

#skip-btn {
  background-color: red;
  margin: 0 8px;
  transform: scale(1.19);
  margin-left: 30px;
  margin-right: 20px;
  padding: 0px 40px;
  border-radius: 2px;
  font-size: 28px;
  font-weight: bold;
  min-width: 0;
}
#skip-btn span {
  display: block;
  font-size: 18px;
  min-width: 0;
}

#message-input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 20px;
  max-width: 80%;
  min-width: 0;
}

#send-btn {
  margin: 0 8px;
  padding: 5px 40px;
  font-size: 20px;
}
#send-btn span {
  display: block;
  font-size: 12px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* feedback popup */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  border-radius: 25px;
  background-color: #fefefe;
  margin: 3% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#feedbackText {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  resize: vertical;
}
#submit-btn {
  border-radius: 20px;
  background-color: green;
  padding: 10px 20px;
}

.darkmode-layer--button {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  right: 34px !important;
  bottom: 132px !important;
  left: unset;
}

.darkmode-toggle {
  padding-bottom: 5px;
  background: #3e3e42;
  width: 3rem;
  height: 3rem;
  font-size: 20px;
  position: fixed;
  border-radius: 50%;
  border: none;
  right: 34px !important;
  bottom: 132px !important;
  left: unset;
  cursor: pointer;
  transition: all 0.5s ease;
  display: flex
;
  justify-content: center;
  align-items: center;
}





@media (max-width: 768px) {
#gif-loader{
 
    left: -36px !important;
    bottom: -26px !important;
    z-index: 10;
  width: 200px !important;
  
}

.darkmode-layer--button {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  right: 14px !important;
  bottom: 82px !important;
  left: unset;
}

.darkmode-toggle {
  padding-bottom: 5px;
  background: #3e3e42;
  width: 3rem;
  height: 3rem;
  font-size: 20px;
  position: fixed;
  border-radius: 50%;
  border: none;
  right: 14px !important;
  bottom: 82px !important;
  left: unset;
  cursor: pointer;
  transition: all 0.5s ease;
  display: flex
;
  justify-content: center;
  align-items: center;
}


}