-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
166 lines (142 loc) · 2.29 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
* {
margin: 0;
padding: 0;
font-family: "gilroy";
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
}
#main {
width: 100%;
height: 100vh;
}
/* Front Part */
#front {
pointer-events: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: transparent;
}
#working {
position: relative;
margin: 0 auto;
width: 80%;
height: 100vh;
max-width: 1920px;
}
#nav {
width: 100%;
padding: 20px 0dvh;
display: flex;
justify-content: space-between;
align-items: center;
}
#nav img {
height: 60px;
}
#nleft,
#nright {
display: flex;
align-items: center;
gap: 60px;
}
#nav a {
pointer-events: all;
color: white;
font-size: 12px;
font-weight: 600;
text-decoration: none;
text-transform: uppercase;
}
#nav a:hover {
transform: scale(1.5);
transition: 0.5s;
opacity: 0.8;
}
#info {
position: absolute;
top: 50%;
left: 0;
display: flex;
justify-content: space-between;
transform: translate(0, -50%);
width: 100%;
min-width: 50%;
}
#infoleft {
min-width: 50%;
}
#infoleft .elem {
position: relative;
height: 9vw;
overflow: hidden;
}
#infoleft .elem h1 {
position: absolute;
top: 100%;
left: 0;
line-height: 0.9;
font-family: "kajiro";
color: white;
font-weight: 100;
font-size: 11vw;
}
#infoleft .elem h1:nth-child(1) {
top: 0;
}
#infoleft button {
pointer-events: all;
padding: 0.8vw 3vw;
margin-top: 2vw;
font-size: 3vw;
font-family: "kajiro";
cursor: pointer;
}
#infoleft button:hover {
transform: scale(1.1);
transition: 0.5s;
border: 2px solid white;
background-color: transparent;
color: white;
}
#inforight {
display: flex;
flex-direction: column;
align-items: flex-end;
width: 17%;
color: white;
}
#inforight p {
font-size: 14px;
font-weight: 300;
text-align: right;
}
#inforight #imagediv {
width: 100%;
height: 170px;
margin-top: 30px;
margin-bottom: 30px;
background-color: rgb(149, 144, 144);
background-image: url(images/joseph-keyser-R6ER3Ws6tzA-unsplash.jpg);
background-size: cover;
background-position: center;
}
#inforight p:nth-child(3) {
margin-bottom: 100px;
}
/* Back Part */
#back {
width: 100%;
height: 100vh;
}
#back img {
width: 100%;
height: 100%;
object-fit: cover;
}