49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
|
.video-bg {
|
||
|
position: fixed;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
min-width: 100%;
|
||
|
min-height: 100%;
|
||
|
z-index: -1;
|
||
|
}
|
||
|
.overlay {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background: rgba(0, 0, 0, 0.5);
|
||
|
z-index: -1;
|
||
|
}
|
||
|
@media (max-width: 640px) {
|
||
|
.video-bg, .overlay {
|
||
|
display: none;
|
||
|
}
|
||
|
.reset-prompt {
|
||
|
margin-left: 0;
|
||
|
width: 100%;
|
||
|
max-width: none;
|
||
|
position: static;
|
||
|
height: 100vh;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
}
|
||
|
.shake {
|
||
|
animation: shake 0.3s ease-in-out;
|
||
|
}
|
||
|
@keyframes shake {
|
||
|
0%, 100% {
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
25% {
|
||
|
transform: translateX(-5px);
|
||
|
}
|
||
|
50% {
|
||
|
transform: translateX(5px);
|
||
|
}
|
||
|
75% {
|
||
|
transform: translateX(-5px);
|
||
|
}
|
||
|
}
|