*,
::after,
::before {
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primaryColor: #9e572d;
  --primaryColor-50: rgba(229, 107, 111, 0.5);

  /* Fonts */
  --small-text: 0.875rem;

  /* Other */
  --letterSpacing: 0.1rem;
  --borderRadius: 0.25rem;
  --max-width: 1170px;
}

/* HTML Elements */
html {
  font-size: 100%;
} /*16px*/

body {
  background-color: #3a1509;
}

main {
  flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  margin-bottom: 1.38rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  text-transform: capitalize;
  letter-spacing: var(--letterSpacing);
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {
  font-size: 2.441rem;
}

h3 {
  font-size: 1.953rem;
}

h4 {
  font-size: 1.563rem;
}

h5 {
  font-size: 1.25rem;
}

small,
.text-small {
  font-size: var(--small-text);
}

a {
  color: #fff;
  text-decoration: none;
  letter-spacing: var(--letterSpacing);
}

a,
button {
  line-height: 1.15;
}
button:disabled {
  cursor: not-allowed;
}
ul {
  list-style-type: none;
  padding: 0;
}

.head {
  background: red;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

.text-primary {
  color: #fa4c3b;
}

.text-secondary {
  color: #1e1d1c;
}

.primary {
  background-color: #3a1509;
}

.secondary {
  background-color: #3a1509;
}

.main-bg {
  background-color: #3a1509;
}

.video-frame {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
  margin: 10px;
  border: 1px solid lightslategrey;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

/* *BODY  PAGE */

#home-page {
  background-color: #3a1509;
  color: #b37b55;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

main {
  flex-grow: 1;
}

#button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#create-meeting {
  padding: 3% 15% 3%;
}

#hr-or {
  padding-bottom: 3.5%;
}

#enter-code-join-meeting {
  width: 99%;
  margin-left: 5%;
}

#meetingJoinButton {
  border-radius: 5px;
  margin-left: 7px;
  margin-top: -5px;
  height: 50px;
  height: 40px;
}

/*
#want-to-join {
  margin-left: 5%;
} */


/* Containers */

.container-fluid {
  padding: 7% 15%;
}

.navbar-container {
  padding: 3% 15%;
}


/* Navigation Bar */

.navbar {
  padding: 0 0 0rem;
}

.navbar a.link-active {
  text-decoration: underline;
}

#brand {
  font-family: 'Ubuntu', sans-serif;
  color: bisque;
  font-size: 2rem;
  font-weight: bold;
}

#brand:hover {
  color:rgb(229, 107, 111);
}

.nav-item {
  padding: 0 18px;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Footer */

.footer-container {
  padding: 0.5% 15%;
}

.copyright {
  font-size: 0.8rem;
  margin: 0;
}


/* *JOINPAGE */
#joinPage,
.home-page {
  position: absolute;
  background-color: #3a1509;
  width: 100%;
  height: 100%;
  z-index: 999;
  /*overflow: hidden;*/
  padding: 0px;
  margin: 0px;
  top: 0px;
}

/* Chat-wrapper*/
.chat-wrapper {
  position: absolute;
  right: 0px;
  top: 0px;
}

.hide {
  display: none;
}

.class-control {
  position: relative;
}

input[type="text"] {
  background-color: #3a1509;
  color: aliceblue;
  height: 60px;
  width: 450px;
  border: 1px solid gray;
  border-radius: 5px;
  margin-top: -15px;
}

input[type="text"]:hover {
  background-color: #7a412d;
  color: aliceblue;
  border: 1px solid grey;
}

#meetingList {
  list-style-type: none;
  color: aliceblue;
}

.flex-container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-view {
  position: relative;
  width: 650px;
  height: 350px;
}

.video-view .video {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
  /* background-color: #ccc; */
}

.video-view .video-content {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
  margin-top: 280px;
  margin-left: 280px;
  color: aliceblue;
  /* background-color: #ccc; */
}

.btn-content {
  height: 53px;
  margin-top: -20px;
  width: 50px;
  background-color: #e0e0e0;
  padding: 15px;
  border-radius: 25px;
  margin-left: 30px;
}

.mute-btn-content {
  height: 50px;
  margin-top: -20px;
  width: 50px;
  background-color: #d3382d;
  padding: 15px;
  border-radius: 25px;
  margin-left: 30px;
}

.bi {
  margin-top: -20px;
}

#micButton:hover {
  border: none;
}

#camButton:hover {
  border: none;
}

.grid-page {
  background-color: #3a1509;
}

.vertical-line {
  margin-left: 30px;
  /* border-right: 1px solid white; */
}

.dropdown-item {
  color: white;
  background-color: #212032;
}

.dropdown-item:hover {
  color: white;
  background-color: #212032;
  cursor: pointer;
}

.copyContent {
  color: black;
  background-color: rgb(136, 132, 132);
  border-radius: 5px;
  position: absolute;
  visibility: hidden;
  width: 100px;
}

#btnCopy:hover .copyContent {
  visibility: visible;
}

.ms-1 {
  margin-left: 5px;
}

#video-frame-container {
  height: 400px;
  width: 90%;
  border-radius: 10px;
}

#videoContainer {
  height: 50vh;
  width: 50vw;
  /* border: 1px solid #d3382d; */
  /* overflow: scroll; */
  display: flex;
  flex-wrap: wrap;
  /* flex-direction: column; */
}

#videoContainer>div {
  border: "1px solid red ";
  /* max-width: 33.33%; */
  height: 100%;
  flex: 1 1 33.3333%;
}

.participant-wrapper {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0px;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.7s;
  padding-top: 60px;
  border: 1px solid lightslategrey;
  border-radius: 15px;
  background-color: #212032;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.closebtn {
  font-size: xx-large;
  color: #e0e0e0;
  position: fixed;
  right: 0;
  top: 0;
  margin-right: 7px;
  cursor: pointer;
  visibility: hidden;
}

#totalParticipants {
  /* font-size: xx-large; */
  color: #e0e0e0;
  position: fixed;
  top: 0;
  margin-top: 25px;
  margin-left: 7px;
  cursor: pointer;
  visibility: hidden;
}

#videoScreenShare {
  flex-grow: 1;
  /* position: absolute; */
  border-radius: 10px;
}

.chat-wrapper {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0px;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.7s;
  padding-top: 60px;
  border: 1px solid lightslategrey;
  border-radius: 15px;
  background-color: #212032;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

#chatHeading {
  color: #e0e0e0;
  position: fixed;
  top: 0;
  margin-top: 25px;
  margin-left: 7px;
  cursor: pointer;
  visibility: hidden;
}

#txtChat {
  position: fixed;
  bottom: 0;
}

#btnSend {
  position: fixed;
  bottom: 0;
  right: 0;
  margin-bottom: 10px;
  margin-right: 10px;
  height: fit-content;
  display: none;
}




/* Media Queries */

/* Medium Screens */

@media (min-width: 992px) and (max-width: 1199px) {
  .nav-item {
    padding: 0 17px;
  }
  
  .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 991px) {
  .title-heading-box {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .input-group-append {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #enter-code-join-meeting {
    width: 99%;
    margin-left: 0;
  }

  #meetingJoinButton {
    margin-top: 5%;
  }
}

/* Small Screens */

@media (max-width: 576px) {
  
  #brand {
    font-size: 1.25rem;
  }

  #bottom-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 460px) {
  #brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  #brand {
    font-size: 1.25rem;
  }
}

@media (max-width: 335px) {
  #brand {
    font-size: 1rem;
  }
}
