.progress .line { position: absolute; background: #feb302; height: 3px; z-index: 10; } .progress .time { position: absolute; top: 3px; left: 7px; font-size: 14px; color: #fff; z-index: 1; } .video { width: 100%; min-height: 600px; height: 100vh; position: relative; overflow: hidden; z-index: 1; } video{ position: absolute; width: 100%; height: 100%; object-fit: cover; } .btn-play { position: absolute; right: 0; left: 0; top: 23%; color: rgba(215, 35, 35, 1); background: rgba(255, 255, 255,0.5); border: 2px solid #fff; border-radius: 50%; padding: 12px 12px 12px 12px; cursor: pointer; font-size: 30px; width: 70px; height: 70px; margin: auto; } .btn-play::after { position: absolute; left: 50%; top: 50%; content: ""; height: 105%; width: 105%; border: 1px solid rgba(215, 35, 35, 0.8); animation: pulse-border 3s linear infinite; border-radius: 50%; } @-webkit-keyframes pulse-border { 0% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; } 100% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; } } @keyframes pulse-border { 0% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; } 100% { -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; } } .btn_volume_on, .volume_off { position: absolute; right: 5%; top: 10%; color: #fff; background: rgba(0,0,0,0.5); border: 2px solid #fff; border-radius: 30px; padding: 12px 12px 12px 12px; cursor: pointer; font-size: 21px; width: 50px; height: 50px; } .btn_volume_on, .volume_off { box-shadow: 0px 0px 5px rgb(0 0 0 / 50%); animation: pulse 2s infinite; } .btn_volume_on:hover, .volume_off:hover { animation: none; } -webkit-keyframes pulse { 0% { -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4); } 70% { -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0); } 100% { -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0); } } @keyframes button-puls { 0% { -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0.4); box-shadow: 0 0 0 0 rgba(204,169,44, 0.4); } 70% { -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0); box-shadow: 0 0 0 10px rgba(204,169,44, 0); } 100% { -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0); box-shadow: 0 0 0 0 rgba(204,169,44, 0); } }