﻿html,body {
	margin:0px;
	padding:0px;
	background-color: #292929;
}

.videobox {
	position: relative;
    width: 800px;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
	box-shadow: 0px 0px 13px 6px rgb(0 0 0 / 60%);
	overflow: hidden;
	z-index: 1;
}
video#vplayer {
	width: 100%;
    height: 100%;
	mix-blend-mode:screen;
}
.videobox img {
    position: absolute;
    width: 100%;
    height: 100%;
	object-fit: fill;
    filter: blur(80px);
	z-index: -1;
}

#popupBtn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 15px;
  background: #292929;
  color: white;
  border: none;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  box-shadow: -1px 0px 8px 2px rgb(255 255 255 / 50%);
  transition: 0.3s;
}

#popupBtn:hover {
  background: #393939;
}

.popup-layer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(100vw, -50%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #292929;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  min-width: 300px;
  max-width: 80%;
  color: white;
  z-index: 1000;
}

.popup-layer.active {
  transform: translate(-50%, -50%);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  color: white;
  line-height: 1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.selectfile_title{
	position: absolute;
    top: 0;
    line-height: 1;
    background-color: #292929;
    padding: 0 9px 0 0px;
}
.upload-area {
	width:400px;
	height:auto;
	border:2px dashed #ccc;
	border-radius:10px;
	text-align:center;
	padding:20px;
	transition:border-color 0.3s;
}
.upload-area.highlight {
	border-color:#2196F3;
}
#file-input {
	display:none;
}
.upload-button {
	background:white;
	color:black;
	padding:10px 20px;
	border-radius:5px;
	cursor:pointer;
	margin-top:15px;
	display:inline-block;
	box-shadow: 0px 2px 10px 2px rgb(255 255 255 / 75%);
}
.upload-button:hover {
	background:#e8e5e5;
}
.upfile p{
	width: 135px;
    margin: 0 auto;
}
.preview {
	margin-top:20px;
}
