-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
115 lines (102 loc) · 2.26 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
/* Overall page styling */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #5fefff, #7be4fe);
color: #333;
}
/* Header styling */
header {
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
text-align: center;
padding: 2rem 1rem;
border-bottom: 2px solid #fff;
}
header h1 {
font-size: 2.5rem;
text-transform: uppercase;
letter-spacing: 2px;
text-shadow: 2px 2px #000;
}
/* Section styling */
.visiting-places {
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
}
.visiting-places h2 {
font-size: 2rem;
margin-bottom: 2rem;
text-shadow: 2px 2px #000;
}
/* Place card styling */
.place-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 1rem;
margin: 1rem;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s, box-shadow 0.3s;
max-width: 320px;
text-align: center;
}
.place-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}
.place-card img {
max-width: 100%;
border-radius: 10px;
margin-bottom: 1rem;
}
/* Button styling */
.place-button {
background: #ff4081;
color: white;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 1.2rem;
transition: background 0.3s;
text-transform: uppercase;
margin-bottom: 1rem;
}
.place-button:hover {
background: #ff79b0;
}
.booking-buttons a {
display: inline-block;
margin: 0.5rem;
padding: 0.5rem 1.5rem;
color: white;
background: #4CAF50;
border-radius: 25px;
text-decoration: none;
transition: background 0.3s;
text-transform: uppercase;
}
.booking-buttons a:hover {
background: #66bb6a;
}
/* Responsive styling */
@media (min-width: 600px) {
.visiting-places {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.place-card {
margin: 1.5rem;
}
}
footer {
background-color: #007bff;
color: white;
padding: 10px;
margin-top: 20px;
text-align: center;
}