
.video-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding: 5px;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (adjust as needed) */
    overflow: hidden;
  }
  
  #uploaded-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


  
.tabs {
    display: flex;
    justify-content: center;
}

.tablinks {
    flex: 1;
    padding: 10px;
    border: none;
    font-size: 15px;
    background-color: #f6f6f6;
    color: #969494;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.tablinks:hover {
    background-color: #e6e6e6;
}

.tablinks.active {
  background-color: #fff;
  color: #969494;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#recording-tab {
    display: block;
}

#uploading-tab {
    display: none;
}

#controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#controls button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #1c37d1d0;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#controls button:hover {
    background-color: #4a61e781;
}
  
  .video-input-container {

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top right, #bf7a6b 0%, #e6d8a7 100%);
    
  }
  
  .form {
    margin:10px;
  }
  
  .file-upload-wrapper {
    
    --default-color: #1c37d181;
    --height: 60px;
    
    position: relative;
    width: 100%;
    height: var(--height);
    background-color: #f6f6f6;
  }
  
  .file-upload-wrapper:after {
    content: attr(data-text);
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
    
    padding: 10px 15px;
    display: block;
    width: calc(100% - 40px);
    pointer-events: none;
    z-index: 20;
    height: calc(var(--height) - 20px);
    line-height: calc(var(--height) - 20px);
    color: #999;
    border-radius: 5px 10px 10px 5px;
    font-weight: 300;
  }
  
  .file-upload-wrapper:before {
    content: 'Upload';
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    height: var(--height);
    background: var(--default-color);
    color: #fff;
    font-weight: 700;
    z-index: 25;
    font-size: 16px;
    line-height: var(--height);
    padding: 0 15px;
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
  }
  
  .file-upload-wrapper:hover:before {
    background: #4b61dd81;
  }
  
  .file-upload-wrapper input {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: calc(var(--height) - 20px);
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    width: 100%;
  }
  :root {
    --color-black: hsl(0, 0%, 5%);
    --color-color: hsl(145, 62%, 28%);
    --color-html: hsl(102, 38%, 68%);
    --porcent-html: 95;
  }
  
  .progress-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    min-width: 270px;
    width: 100%;
    min-height: 100%;
}

.progress-bar {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 1em;
    transform: rotate(-90deg);
}

.progressbar__svg {
    position: relative;
    width: 100%;
    height: 100%;
}

.progressbar__svg-circle {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 10;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    stroke: var(--color-html);
    stroke-linecap: round;
    transform: translate(5px, 5px); /* stroke-width / 2 */
}

.shadow-html {
    filter: drop-shadow(0 0 5px var(--color-html));
}

.circle-html {
    animation: anim_circle-html 1s ease-in-out forwards;
}

.progressbar__text {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0.25em 0.5em;
    color: var(--color-color);
    font-family: inherit;
    border-radius: 0.25em;
    transform: translate(-50%, -50%) rotate(90deg);
}

/* @keyframes */

@keyframes anim_circle-html {
    to {
        stroke-dashoffset: calc(440 - (440 * var(--porcent-html)) / 100);
    }
}

