
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden; 
}

ul {
  padding: 0;
}

li {
  list-style-type: none;
}


@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html {
  font-family: "Roboto", sans-serif;
  background-color: rgb(238, 238, 238);
}


h2 {
  margin: 0;
  display: inline-block;
}

header {
  height: 5rem;
}


.titlebar {
  height: 2.5rem;
  display: flex;
  align-items: center;
}

.heading {
  font-size: 1rem;
}

.title-img {
  height: 100%;
  object-fit: contain;
}

.menu-bar {
  display: flex;
  gap: 1rem;
  margin-left: 1rem;
  align-items: center;
  height: 50%;
}

footer {
  height: 3rem;
}


.menu {
  position: relative;
}

.menu-btn,
.menu-play-btn,
.menu-audio-btn {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}


.menu-items-speed,
.menu-items-vol {
  background-color: rgb(238, 238, 238);
  position: absolute;
  top: 100%;
  left: 0;
  width: 9rem;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  z-index: 100; 
}


li {
  padding: 0.25rem;
  cursor: pointer;
}

li:hover {
  background-color: #ddd;
}


.menu:hover .menu-items-speed,
.menu:hover .menu-items-vol {
  display: block;
}


.videoinput {
  display: none;
}


main {
  background-color: black;
  height: calc(100vh - 8rem);
  display: flex;
  justify-content: center;
  align-items: center;
}


.video {
  height: 100%;
  width: auto;
}
.toast {
    color: white;
    font-size: 2rem;
    position: fixed;
    top: 99px;
    right:50px;
    display:none;
}
.progress-container {
  height: 0.6rem;
  background-color: #C0C0C0;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 1rem;
  margin: 2px;
  position: relative;
  cursor: pointer;
}

.progress-circle {
 position: absolute;
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%);
      width: 16px;
      height: 16px;
      background: rgb(141, 157, 167);
      border-radius: 50%;
      pointer-events: none;
}
.progress-fill {
  height: 100%;
  background-color: #2196f3;
  border-radius: 4px;
  width: 0%;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:  1rem;
  
}
.controls {
  display: flex;
  margin-top: 5px;
  margin-left: 3rem;
  gap: 1.5rem;
}
.controls i {
  color:rgb(92, 91, 91);
  transition: transform 0.2s ease, color 0.2s ease;
}
.controls i:hover {
  transform: scale(1.3);
  color:rgb(96, 96, 96);
}

#currentTime {
  margin-left: 5px;
}
#totalTime {
  margin-right: 7px;
}






