-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
114 lines (91 loc) · 1.61 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
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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
.container {
margin: 0;
width: 100%;
height: 100%;
}
.full {
width: 100%;
height: 100vh;
text-align: center; /* Center text */
z-index: 1;
position: relative;
}
.centered {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.background {
position: absolute;
width: 100%;
height:auto;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.background video {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
}
.title {
position: absolute;
top: 10%; /* Position the top edge of the element at the center of the container */
/* left: 10%; Position the left edge of the element at the center of the container */
transform: translate(-50%, -50%);
font-size: 120px;
z-index: 1;
white-space: nowrap;
}
#map {
width:100%;
height:100vh;
z-index: 1;
}
.story {
position: absolute;
top: 40px;
left: 2%;
z-index:2;
width:30%;
text-align: left;
}
.half {
padding: 0;
width: 100%;
height: 100vh;
z-index: 1;
display: flex;
flex-direction: row;
align-items: center;
}
.left{
padding-left: 2%;
width: 30%;
align-items: center;
}
.right {
width: 70%;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
.right img {
max-width: 70%; /* Ensures the image does not exceed the column width */
height: auto; /* Maintains the aspect ratio */
}