body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: Arial, sans-serif;
background-color: #222;
color: #fff;
position: relative;
}
#video-container {
position: relative;
width: 100%;
height: 100%;
background: #000;
display: flex;
justify-content: center;
align-items: center;
}
video {
width: 100%;
height: 100%;
object-fit: cover;
}
.play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: transparent;
padding: 20px 40px;
cursor: pointer;
border: 2px solid transparent;
font-size: 24px;
color: #fff;
border-radius: 50px;
outline: 0;
overflow: hidden;
transition: border-color .3s ease-in-out;
animation: pulse 2s infinite ease-in-out;
}
.play-button:hover {
border-color: #ff6f61;
}
.play-button:focus {
border-color: #1abc9c;
}
.play-button.hide {
opacity: 0;
pointer-events: none;
}
@keyframes pulse {
0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 rgba(255,111,97,.7); }
50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 10px rgba(255,111,97,0); }
100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 rgba(255,111,97,0); }
}
.copyright {
position: absolute;
bottom: 20px;
right: 20px;
font-size: 14px;
opacity: 1;
transition: opacity .3s ease-in-out;
}
.hide-copyright {
opacity: 0;
}
/* Styling for the no-JS message */
#no-js-message {
display: none; /* Hidden by default when JS is enabled */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #222;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
text-align: center;
z-index: 9999;
}