-
-
Notifications
You must be signed in to change notification settings - Fork 546
/
Copy pathstyle.css
80 lines (68 loc) · 1.16 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
color: #fff;
font-family: "Poppins", sans-serif;
}
nav {
position: absolute;
width: 100%;
display: flex;
padding: 3rem 10rem;
justify-content: space-between;
}
.container {
height: 100vh;
}
.container img {
width: 100%;
position: absolute;
height: 110vh;
object-fit: cover;
z-index: -1;
}
.main-title {
position: absolute;
top: 30%;
left: 50%;
font-size: 6rem;
transform: translate(-50%, -50%);
}
.content {
width: 100%;
background-color: rgb(24, 24, 24);
min-height: 110vh;
z-index: 2;
position: absolute;
}
.content-images {
display: flex;
justify-content: space-around;
align-items: center;
min-height: 60vh;
text-align: center;
}
.text {
padding: 2rem 20rem;
font-size: 1.1rem;
}
@media (max-width: 768px) {
nav,
.text {
padding: 2rem;
font-size: 1rem;
text-align: center;
}
.main-title {
font-size: 3rem;
}
.content-images {
flex-direction: column;
}
.content-images img {
max-width: 100%;
padding: 2rem 0 0.25rem;
}
}