-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlandingPage.css
216 lines (183 loc) · 5.38 KB
/
landingPage.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
/* CSS Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Your existing CSS styles go below the reset */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Font Face for Archivo */
@font-face {
font-family: 'Archivo';
src: url('path/to/Archivo-Regular.ttf') format('truetype'); /* Update the path to the Archivo Regular font file */
/* Add additional font formats and sources as needed */
}
/* Font Face for Archivo Bold (if needed) */
@font-face {
font-family: 'Archivo';
font-weight: bold;
src: url('path/to/Archivo-Bold.ttf') format('truetype'); /* Update the path to the Archivo Bold font file */
/* Add additional font formats and sources as needed */
}
header {
background-color: #0a1624; /* Change navigation bar color */
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
header img {
height: 80px; /* Increase logo size */
margin-left: 5px; /* Move the logo slightly to the left */
}
.navigation {
text-align: center; /* Align navigation links in the center */
}
.navigation ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.navigation ul li {
display: inline;
margin-right: 10px; /* Decreased margin-right */
position: relative; /* Position the dropdown */
}
.navigation ul li:last-child {
margin-right: 0;
}
.navigation ul li a {
color: #fff;
text-decoration: none;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 10px 20px; /* Add padding to create a button-like appearance */
border-radius: 20px; /* Add border-radius to create rounded corners */
position: relative; /* Added */
display: inline-block; /* Added */
}
.navigation ul li a:hover {
background-color: rgba(255, 255, 255, 0.2); /* Add background color on hover */
}
.contact-button {
background-color: #007bff; /* Blue color */
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 20px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.contact-button:hover {
background-color: #0056b3; /* Darker blue color on hover */
}
.dropdown {
display: none;
position: absolute;
background-color: #152537; /* Dropdown background color */
min-width: 100px; /* Adjust the width of the dropdown menu */
z-index: 1;
top: calc(100% + 5px); /* Position dropdown below the parent with a small gap */
left: 50%; /* Center dropdown horizontally */
transform: translateX(-50%); /* Adjust position to center */
border-radius: 30px; /* Add border-radius to create rounded corners */
overflow: visible; /* Hide overflow to prevent dropdown from overflowing */
}
.dropdown li {
display: block; /* Display items vertically */
text-align: center; /* Align text in the center */
}
.dropdown li a {
color: #fff;
padding: 10px 10px; /* Adjust vertical and horizontal padding */
text-decoration: none;
display: block;
}
.dropdown li a:hover {
background-color: rgba(255, 255, 255, 0.2);
}
.navigation ul li:hover .dropdown {
display: block;
margin-right: 0;
}
.flex-container {
display: flex;
align-items: center; /* Adjust this as needed */
justify-content: center; /* Adjust this as needed */
}
.text-box {
width: 400px; /* Fixed width for the text box */
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
text-align: center; /* Ensure the text inside is centered if it wraps */
height: 100%; /* Make sure it takes full height of its parent if not already */
}
.slideshow-container {
flex: 1; /* Takes up remaining space */
}
.content-sections {
display: flex;
flex-direction: column;
}
.content-section {
display: flex;
align-items: center;
margin-top: 20px; /* Adjust as needed */
}
.left-column {
flex: 1;
max-width: 50%; /* Set maximum width for the image */
}
.right-column {
flex: 1;
padding-left: 20px; /* Space between image and text */
}
.right-column p {
border: 1px solid #ccc; /* Add border to the description */
border-radius: 10px; /* Add rounded border */
padding: 10px; /* Add padding to the description */
font-family: 'Archivo', sans-serif; /* Apply Archivo font */
}
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}
/* Images in a box with a shadow */
.mySlides img {
display: block;
width: 100%;
height: auto;
/* border-radius: 10px; Remove rounded corners */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Shadow effect */
}
/* Fade animation */
.mySlides.fade {
animation: fade 9s infinite;
-webkit-animation: fade 9s infinite;
}
@keyframes fade {
0%, 100% {opacity: 0}
5%, 25% {opacity: 1} /* Adjusted for smoother transition */
33.3%, 66.6% {opacity: 0} /* Adjusted for smoother transition */
}
@-webkit-keyframes fade {
0%, 100% {opacity: 0}
5%, 25% {opacity: 1} /* Adjusted for smoother transition */
33.3%, 66.6% {opacity: 0} /* Adjusted for smoother transition */
}
/* Delay animations */
.mySlides.delay1 {
animation-delay: 3s;
-webkit-animation-delay: 3s;
}
.mySlides.delay2 {
animation-delay: 6s;
-webkit-animation-delay: 6s;
}