html, body {
  width:100vw;
  height:100vh;
  overflow:hidden;
  background-color: #ff7db0;
  font-family: "IBM Plex Mono";
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin:0;
  padding:0;
}

.wrapper {
    width:fit-content;
    height:fit-content;
    position:absolute;
    bottom:20px;
    left:20px;
    z-index:10;
}

#window {
    width:fit-content;
    height:fit-content;
    padding: 25px;
    background-color:#a3d6fa;
    border-radius: 5px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.header {
    width: 28vw;
    color:#574cfa;
    display: flex;
    gap: 30px;
    flex-direction: column;
  }
  .header a {
    color: black;
    font-weight: bold;
  }
  
  .title {
    font-size: 30px;
    margin: 0;
    padding: 0;
    font-weight: 500;
  }

  .input {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  #webcam-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    object-fit: contain;
    background: #fcf5e4;
    border-radius: 5px;
  }
  
  #init {
    width: 100%;
    padding: 16px 0;
    background-color: #1778fb;
    font-family: "IBM Plex Mono";
    border: none;
    color: white;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  
  .footer {
    font-size: 0.9em;
    text-align: right;
    color: #dc3513;
    margin-top: 10px;
  }

  #closeBtn {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: #fcf5e4;
  color: #0057cc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 25px;
  bottom: 25px;
  cursor: pointer;
  border: none;
  font-family: "IBM Plex Mono";
  transform: rotate(0deg);
  transition: 0.4s;
}

#closeBtn p {
  font-size: 30px;
  transform: rotate(135deg);
  margin-left: 6px;
}

/* for interaction images */
.interaction .int {
  width: 100vw;
  height: 100vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 0;
  transition: 0.3s;
}

.int img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* for label */
.label li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.name {
    width: 80px;
  }
  
  progress {
    border-radius: 5px;
    display: block;
    height: 10px;
    background: #fcf5e4;
    width: 60%;
  }
  progress::-webkit-progress-value {
    background-color: #1778fb;
    border-radius: 5px;
  }
  progress::-webkit-progress-bar {
    border-radius: 5px;
    background: #fcf5e4;
  }
  .label {
    display: none;
    width: 100%;
    height: fit-content;
  }
  
  .label ul {
    padding: 0;
    width: 100%;
  }

  .value {
    color: #1778fb;
  }
  
  /* for file input */
  #file {
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
    align-items: center;
    width: 60vw;
    position: absolute;
    right: 0;
    height: 100vh;
  }
  
  .imgFiles {
    display: grid;
    width: fit-content;
    height: fit-content;
    grid-template-columns: repeat(3, 250px);
    grid-template-rows: repeat(2, 200px);
  }
  
  input[type="file"] {
    width: 90%;
    overflow: hidden;
    display: none;
  }

  input[type="file"]::-webkit-file-upload-button {
    border: none;
    padding: 5px;
    font-family: "IBM Plex Mono";
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
    text-align: center;
  }
  
  input[type="file"]::before {
    display: none;
    text-align: center;
  
    /* content: "add img for condition"; */
  }
  
  .inputWrapper {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    border: 2px dashed white;
    text-align: center;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: 0.4s;
  }
  
  .inputWrapper:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  label {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
  }
  
  .inputWrapper img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }
  