-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
202 lines (171 loc) · 3.69 KB
/
style2.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Gill Sans", sans-serif;
font-stretch: condensed;
}
body {
height: 100vh;
background-color: #081120;
margin: 0; /* Remove default body margin */
display: flex;
flex-direction: column;
}
li {
list-style: none;
}
a {
text-decoration: none;
color: #fff;
font-size: 1rem;
}
a:hover {
color: #2F5C88;
}
header {
position: relative;
padding: 0 2rem;
}
.navbar {
width: 100%;
height: 60px;
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar .links{
display:flex;
gap: 2rem;
}
.logo.img img {
display: block;
max-width:131px;
max-height:53px;
width: auto;
height: auto;
/* Adjust the width as needed */
margin-right: 1rem; /* Add margin to separate the logo from the text */
}
.logo-text {
color: #fff; /* Set the text color to white */
font-size: 28px; /* Adjust the font size as needed */
}
main {
margin-top: 50px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex: 15; /* Take up remaining space in the body */
}
img {
display: block;
max-width: 80%;
max-height: 80%;
width: auto;
height: auto;
}
p {
color: white;
font-size: 24px;
}
.gallery-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
margin-top: 20px; /* Adjust the margin-top to reduce the distance from the top */
}
.responsive {
width: 35%;
height: auto; /* You can adjust this value based on your design */
margin-bottom: 20px; /* Adjust the margin-bottom to reduce the distance */
margin-left: 5px;
}
.gallery {
position: relative;
border: 5px solid #ccc;
margin: 5px;
padding: 15px 10px; /* Add padding to the top and bottom (15px) and left and right (5px) */
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
background-color: #2C3E50;
}
.gallery img {
width: 90%;
height: auto;
}
.gallery a {
display: flex;
justify-content: center;
align-items: center;
}
/* Update the styles for the .desc class to make buttons block elements */
.desc {
margin-top: 10px;
color: #fff;
text-align: center; /* Center the text */
}
/* Style the buttons */
.desc button {
display: block; /* Make buttons block elements */
margin: 10px auto; /* Center buttons and add space around them */
background-color: #2F5C88;
color: #fff;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.desc button:hover {
background-color: #20405C;
}
button {
background-color: #2F5C88;
color: #fff;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #20405C;
}
.contact-container {
text-align: center;
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #F2F2F2; /* Light gray background color */
border-radius: 10px;
}
.contact-container h2 {
color: #2F5C88; /* Dark blue text color */
}
.contact-container p {
color: #333; /* Dark gray text color */
font-size: 16px;
}
.contact-container ul {
list-style: none;
padding: 0;
}
.contact-container li {
margin-bottom: 10px;
}
.contact-container a {
color: #2F5C88; /* Dark blue link color */
text-decoration: none;
font-weight: bold;
}
.contact-container a:hover {
color: #1D3D5D; /* Darker blue on hover */
}