-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (113 loc) · 2.31 KB
/
style.css
File metadata and controls
127 lines (113 loc) · 2.31 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');
.container::after {
content: "";
position: absolute;
inset: 0;
background: #000;
animation: fadeOut 1.2s ease forwards;
z-index: 3;
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.container::after {
display: none;
}
}
body {
margin: 0;
font-family: 'Raleway', sans-serif;
}
.container {
position: relative;
width: 100vw;
height: 100svh;
overflow: hidden;
}
video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none;
}
header {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #faf4e8;
text-align: center;
z-index: 2;
}
header span{
font-weight: 500;
font-size: 1.75rem;
text-transform: uppercase;
line-height: 1;
}
header h1{
font-weight: 800;
font-size: 7rem;
display: block;
}
.description{
position: absolute;
bottom: 2%;
width: 50%;
left: 0;
right: 0;
margin: auto;
background-color: #000;
color: #fff;
border-radius: 20px;
opacity: 0.7;
padding: 1.5rem;
}
.description p{
text-align: justify;
max-width: 42rem;
margin-inline: auto;
line-height: 1.5;
}
.copyright{
font-size: 0.65rem;
}
.copyright a{
color: #fff;
text-underline-offset: 1.8px;
}
@media screen and (max-width: 1200px) {
.description{
position: absolute;
width: 91vw;
bottom: 0;
border-radius: 20px 20px 0 0;
margin: auto;
padding: 0.6rem 1.5rem;
}
}
.text-gradient {
font: 700 4em/1 Arial, sans-serif;
text-align: center;
background: -webkit-gradient(linear, left top, right top, from(#e30e3c), to(#028e4a));
background: linear-gradient(to right, #e30e3c, #028e4a);
color: transparent;
-webkit-background-clip: text;
background-clip: text;
}
.text-gradient::-moz-selection {
color: #fff;
background: #028e4a;
}
.text-gradient::selection {
color: #fff;
background: #028e4a;
}