-
Notifications
You must be signed in to change notification settings - Fork 0
/
Episode3.css
145 lines (137 loc) · 2.73 KB
/
Episode3.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/* @import url('https://fonts.googleapis.com/
css?family=poppins:200,300,400,500,600,700,800,900&display=swap'); */
*{
margin:0;
padding: 0;
box-sizing: border-box;
font-family: 'Times New Roman', Times, serif;
}
header{
position: absolute;
top: 0;
left: 0;
width: 100%;
display: flex;
justify-content: space-between;
padding: 40px 100px;
z-index: 1000;
}
h3{
color: #fff;
font-weight: 900;
font-family: "bold";
}
.po{
text-transform: uppercase;
font-size: 50px;
font-weight: 700;
}
.banner{
position: relative;
width: 100%;
min-height: 100vh;
padding: 0 100px;
background: url(img/IMG_20240205_085425.jpg);
background-position: center;
background-size: cover;
display: flex;
justify-content: flex-start;
align-items: center;
}
.banner .content{
max-width: 550px;
}
.banner .content h2{
text-transform: uppercase;
font-weight: 400;
font-size: 2.5em;
letter-spacing: 0.1em;
color: #fff;
}
.banner .content h2 span{
font-weight: 800;
}
.banner .content p{
font-weight: 300;
font-size: 1.2em;
letter-spacing: 0.02em;
line-height: 1.5em;
color: #fff;
margin: 15px 0 35px;
}
.play{
position: relative;
display: inline-flex;
justify-content: flex-start;
align-items: center;
color: #fff;
text-transform: uppercase;
font-weight: 500;
text-decoration: none;
letter-spacing: 2px;
font-size: 1.2em;
}
.play img{
margin-right: 10px;
max-width: 50px;
}
.trailer{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 10000;
background: rgba(0, 0, 0, 0.95);
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
visibility: hidden;
opacity: 0;
}
.trailer.active{
visibility: visible;
opacity: 1;
}
.trailer video{
max-width: 900px;
outline: none;
}
.trailer .close{
position: absolute;
top: 30px;
right: 30px;
cursor: pointer;
filter: invert(1);
max-width: 32px;
}
@media (max-width: 991px){
header{
padding: 20px 50px;
}
header{
padding: 20px 50px;
}
header .logo{
max-width: 80px;
}
header .toggle{
max-width: 40px;
}
.banner{
padding: 100px 50px;
}
.banner .content h2{
font-weight: 400;
font-size: 2em;
letter-spacing: 0.05em;
}
.banner .content p{
font-size: 1em;
}
.trailer video{
max-width: 90%;
outline: none;
}
}