-
Notifications
You must be signed in to change notification settings - Fork 0
/
trailer.css
62 lines (54 loc) · 979 Bytes
/
trailer.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
body {
background: url(./img/mesh-gradients.svg) no-repeat;
background-position: center center;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.trailer-body {
position: relative;
padding: 15px;
border-radius: 15px;
overflow: hidden;
transition: transform 0.5s;
}
.trailer-body:hover {
border: 2px solid green;
}
.blur-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: gray;
filter: blur(5vw); /* Adjust blur intensity as needed */
z-index: -1;
}
.trailer-body h1 {
text-align: center;
margin: 10px 0px 15px;
color: white;
}
.trailer-body iframe {
border-radius: 7px;
}
@media (max-width: 630px) {
.trailer-body iframe {
width: 500px;
}
}
@media (max-width: 550px) {
.trailer-body iframe {
width: 450px;
}
}
@media (max-width: 500px) {
.trailer-body iframe {
width: 100%;
}
}