-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
177 lines (153 loc) · 3.14 KB
/
styles.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
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-image: url("https://i.ibb.co/5v9QGn2/booking-bg-img.jpg");
color: #333;
overflow-x: hidden;
}
header {
background: rgba(0, 0, 0, 0.5);
padding: 20px;
text-align: center;
transform: translateY(-100%);
animation: slideDown 1s ease-out forwards;
}
h1 {
margin: 0;
font-size: 3em;
color: #fff;
opacity: 0;
animation: fadeIn 2s ease-in forwards;
animation-delay: 1s;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 20px;
}
.hero img {
width: 100%;
max-width: 800px;
border-radius: 15px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
transform: scale(0.8);
animation: scaleIn 1.5s ease-out forwards;
animation-delay: 2s;
}
form {
background: rgba(255, 255, 255, 0.85);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
width: 100%;
max-width: 600px;
opacity: 0;
transform: translateY(50px);
animation: fadeInUp 1.5s ease-out forwards;
animation-delay: 2.5s;
}
form h2 {
margin-bottom: 20px;
font-weight: 600;
color: #ff7e5f;
border-bottom: 2px solid #ff7e5f;
padding-bottom: 10px;
}
.form-group {
margin-bottom: 20px;
opacity: 0;
animation: fadeInUp 1.5s ease-out forwards;
animation-delay: 3s;
}
label {
display: block;
font-weight: 500;
margin-bottom: 5px;
}
input, select, textarea {
width: 95%;
padding: 12px 15px;
border: 1px solid #ccc;
border-radius: 10px;
font-size: 1em;
transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus {
border-color: #ff7e5f;
outline: none;
}
button {
background: #ff7e5f;
color: #fff;
cursor: pointer;
font-size: 1.2em;
padding: 15px;
border: none;
border-radius: 10px;
width: 25%;
transition: background 0.3s, transform 0.3s;
}
button:hover {
background: #feb47b;
transform: scale(1.05);
}
#confirmation-message {
margin-top: 30px;
font-size: 1.2em;
opacity: 0;
animation: fadeIn 1s ease-in forwards;
}
.destination-wrapper {
display: flex;
align-items: center;
}
.destination-wrapper select {
flex: 1;
margin-right: 10px;
}
.destination-wrapper button {
background: #ff7e5f;
color: #fff;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
.destination-wrapper button:hover {
background: #feb47b;
}
@keyframes slideDown {
to {
transform: translateY(0);
}
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes scaleIn {
to {
transform: scale(1);
}
}
@media (max-width: 600px) {
h1 {
font-size: 2.5em;
}
form {
padding: 20px;
}
button {
font-size: 1em;
}
}