-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (86 loc) · 1.43 KB
/
Copy pathstyle.css
File metadata and controls
106 lines (86 loc) · 1.43 KB
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
body {
background: #000000;
margin: 0;
color: #fff;
}
.header {
width: 100%;
height: 100vh;
background: black;
}
video {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.5s ease;
}
.text-container {
width: 100%;
display: block;
position: absolute;
top: 50%;
transform: translateY(-50%);
transition: all 0 s ease;
}
.title {
position: relative;
color: white;
text-align: center;
display: block;
max-width: 900px;
margin: 0 auto;
}
h1 {
font-weight: bold;
font-size: 96px;
line-height: 1;
margin: 0;
}
h2 {
font-size: 50px;
}
p {
font-weight: lighter;
font-size: 22px;
margin: 20px 0 40px 0;
}
a {
font-size: 16px;
font-weight: 600;
letter-spacing: 0.2rem;
padding: 12px 30px;
border-radius: 50px;
border: 0px solid #479AA1;
background: #479AA1;
color: #fff;
text-transform: uppercase;
text-decoration: none;
}
@media only screen and (max-width: 768px) {
video {
height: 50%;
transition: all 2.5s ease;
}
.text-container {
position: relative;
top: 0;
transform: none;
transition: all 2.5s ease;
}
.title {
max-width: 100%;
padding: 20px;
text-align: left;
}
h1 {
font-size: 48px;
line-height: 1;
}
p {
font-size: 16px;
}
}
.main .container{
max-width: 700px;
margin: 50px auto;
}