-
Notifications
You must be signed in to change notification settings - Fork 0
/
Technovation2.0.css
231 lines (202 loc) · 3.85 KB
/
Technovation2.0.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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
body {
height: 900px;
}
body {
background-image: url(image/background.jpg);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
@media screen and(max-width:768px) {
body{
background-image: url(image/background.jpg);
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar {
position: absolute;
top: 0;
width: 100%;
height: 100px;
padding: 0 40px;
display: flex;
justify-content: space-between;
font-family: "Kobe", Helvetica, sans-serif;
font-weight: 350;
text-transform: uppercase;
line-height: 100px;
color: #6d6458;
z-index: 2;
}
.site-menu {
display: flex;
}
.menu-item {
margin-left: 60px;
text-decoration: none;
color: rgb(245, 240, 240);
font-size: 25px;
font-weight: bold;
}
.menu-item:hover{
scale: 1.15;
transition-duration: 0.5s;
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
color: rgb(99, 197, 197);
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* border: 1px solid red; */
width: 400px;
height: 300px;
}
.block {
position: absolute;
width: 100%;
height: 100%;
}
.b-1 {
background:url(image/download1.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-2 {
background: url(image/download2.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-3 {
background: url(image/download3.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-4 {
background: url(image/download4.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-5 {
background: url(image/download5.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-6 {
background: url(image/download6.jpeg) 50% 50% no-repeat;
background-size: cover;
}
.b-7 {
background: url(image/maxim-hopman-IayKLkmz6g0-unsplash.jpg) 50% 50% no-repeat;
background-size: cover;
}
.overlay {
position: absolute;
width: 100%;
height: 50vh;
bottom: -10rem;
/* background: #e3dcc7; */
}
.title {
margin-top: 20rem;
text-align: center;
font-family: "Canopee";
font-size: 8em;
color: #1ecfd2;
overflow: hidden;
}
.title .letter {
display: inline-block;
line-height: 1em;
}
#but{
height: 50px;
width: 160px;
color: black;
font-size: 20px;
border: 1px solid black;
border-radius: 8px;
background-color:burlywood;
padding-bottom: 2px;
position: fixed;
bottom: 60px;
right: 30px;
box-shadow: 0 0 5px cyan,
0 0 25px cyan;
}
#but:hover{
/* scale: 1.05;
transition-duration: .30s; */
/* background-color: rgb(234, 187, 125); */
box-shadow: 0 0 5px cyan,
0 0 25px cyan, 0 0 50px cyan,
0 0 100px cyan 0 0 200px cyan;
}
#descrp{
color: antiquewhite;
position: fixed;
bottom: 130px;
right: 30px;
font-size: 30px;
}
.footer{
/* border: 2px solid white; */
display: flex;
justify-content: space-around;
align-items: center;
position: fixed;
bottom: 0px;
}
.logo{
height: 50px;
margin: 10px;
}
/* Basic styling for the navbar */
.navbar {
/* background-color: #333; */
color: #fff;
padding: 10px;
}
/* Styling for the menu icon */
.menu-icon {
font-size: 20px;
cursor: pointer;
}
/* Styling for the site menu */
.site-menu {
display: flex;
justify-content: flex-end;
}
/* Styling for the menu list */
.menu-list {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
}
/* Styling for each menu item */
.menu-item {
margin-right: 15px;
}
/* Styling for links within menu items */
.menu-item a {
text-decoration: none;
color: #fff;
font-weight: bold;
}
/* Hover effect for menu items */
.menu-item a:hover {
color: #ffcc00;
}
@media screen and (max-width: 768px) {
.site-menu {
flex-direction: column; /* Stack items vertically */
align-items: flex-end; /* Align items to the right */
}
.menu-list {
margin-top: 10px; /* Add spacing between the menu and the rest of the content */
}
.menu-item {
margin-right: 0;
}
}