janahan-law/styles/BackgroundVideo.module.css
2025-08-08 11:53:47 +05:30

62 lines
1.1 KiB
CSS

/* Style the video: 100% width and height to cover the entire window */
.Video {
width: 100%;
height: 950px;
object-fit: cover;
}
/* Add some content at the bottom of the video/page */
.Content {
position: absolute;
top:50%;
width: 100%;
transform: translateY(-50%);
}
.SubContent {
text-align: center;
padding: 10px;
}
.SubContent p {
color: #eeeeeead;
font-size: 1.3rem;
}
.SubContent button {
font-weight: bold;
margin-top: 30px;
color: #f1f1f1;
border: #f1f1f1 1px solid;
padding: 10px 5px;
background-color: hsla(0, 0%, 0%, 0);
font-size: 1.25rem;
border-radius: 5px;
}
.SubContent button:hover {
background-color: #f1f1f1;
color: #000000c0;
}
.SubContent img {
width: 200px;
height: 200px;
border-radius: 50%;
display: block;
margin: 15px auto;
border: #f1f1f1 1px solid;
}
@media(max-width:991px){
.Video {
height: 600px;
min-height: 600px;
}
}
@media(max-width:530px){
.Video {
height: 400px;
min-height: 600px;
}
}