-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle4.css
More file actions
152 lines (128 loc) · 2.35 KB
/
Copy pathstyle4.css
File metadata and controls
152 lines (128 loc) · 2.35 KB
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
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
/* Body */
body {
background-color: black;
color: white;
overflow-x: hidden;
}
/* Header */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
position: fixed;
width: 100%;
background: #032740;
z-index: 1000;
}
.logo {
font-size: 24px;
font-weight: bold;
color: lightskyblue;
}
.availability {
font-size: 12px;
color: white;
}
.menu-icon {
font-size: 18px;
cursor: pointer;
background: rgb(95, 174, 224);
color: black;
padding: 5px 10px;
border-radius: 5px;
}
/* Side Navigation Menu */
nav {
position: fixed;
top: 0;
right: -250px;
width: 250px;
height: 100%;
background: black;
display: flex;
flex-direction: column;
align-items: center;
transition: right 0.3s ease-in-out;
}
nav.active {
right: 0;
}
nav .close-btn {
align-self: flex-end;
margin: 20px;
cursor: pointer;
font-size: 20px;
}
nav ul {
list-style: none;
padding: 0;
text-align: center;
}
nav ul li {
margin: 20px 0;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
transition: 0.3s;
font-weight: 700;
}
nav ul li a:hover {
color: lightskyblue;
}
/* Hero Section */
.hero {
height: 26vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero h1 {
font-size: 40px;
}
/* Gallery Section */
.gallery {
padding: 50px 20px;
text-align: center;
}
.gallery h2 {
font-size: 32px;
margin-bottom: 20px;
}
.gallery-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 15px;
}
.gallery-item {
position: relative;
}
.gallery-item img {
width: 100%;
border-radius: 5px;
transition: transform 0.3s ease;
}
.gallery-item:hover img {
transform: scale(1.05);
}
.overlay {
font-size: 15px;
font-weight: 500;
position: absolute;
bottom: 0;
width: 100%;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 10px;
text-align: center;
}