-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (76 loc) · 1.56 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
:root {
--primary-green: #2E4E4F;
--montserrat-font-family: 'Montserrat', sans-serif;
--subtitle-color: #ececec;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
max-width: 100vw;
overflow-x: hidden;
font-family: var(--montserrat-font-family);
}
h1 {
text-transform: uppercase;
}
.video_container {
min-width: 100vw;
min-height: 100vh;
max-height: 100vh;
position: relative;
overflow: hidden;
background: var(--primary-green);
background-image: url('./media/cover.png');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.video_container video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.header {
position: fixed;
top: 0;
left: 0;
width: 280px;
min-height: 7rem;
z-index: 25;
color: white;
margin: 2%;
padding: 0 1%;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--montserrat-font-family), cursive;
background-color: rgba(128, 128, 128, 0.2);
border-radius: 3px;
}
.logo {
display: flex;
width: 5rem;
height: 5rem;
object-fit: contain;
margin-right: 10px;
}
.footer {
position: fixed;
color: white;
bottom: 0;
right: 0;
padding: 0 3%;
font-family: var(--montserrat-font-family), cursive;
min-height: 2rem;
}
.header.transparent {
background: transparent;
}