-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
207 lines (160 loc) · 2.9 KB
/
style.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
/* GLobal styles */
/* 1 rem is 10px */
html{
font-size: 62.5%
}
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'Poppins', sans-serif;
}
h1{
font-size: 2.6rem;
}
h2{
font-size: 4.8rem;
}
h3{
font-size: 2.6rem;
}
h4,h5{
font-size: 2.8rem;
}
a{
text-decoration: none;
color: white;
}
.main-Header{
background: #131c27;
color: white;
}
li,label,button,input,p{
font-size:2rem;
list-style: none;
}
nav{
display: flex;
flex-wrap: wrap;
align-items: center;
min-height: 10vh;
padding: 2rem;
width: 90%;
margin: auto;
}
.logo-Header{
flex: 1 1 40rem;
font-family: 'Pattaya', sans-serif;
}
nav ul {
flex: 1 1 40rem;
display: flex;
justify-content: space-around;
align-items: center;
}
.hero-Section{
background:linear-gradient( rgba(0,0,0,0.7),transparent), url(./images/travel.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
min-height: 90vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
text-align: center;
}
section button{
margin:2rem;
padding: 2rem 4rem;
border: none;
background-color: cyan;
cursor: pointer;
}
#locations{
background: url(./images/new-york-page.png);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
min-height: 100vh;
display: flex;
position: relative;
overflow: hidden;
}
.locations-head{
width: 90vw;
margin: auto;
}
.locations-head h2 {
padding: 2rem;
text-decoration-line: underline;
}
.locations-head h3{
padding: 1.8rem;
}
.cloud{
/* min-width: 30rem; */
position: absolute;
right: 0%;
top : 0%;
/* transform: translate(-10%,10%);
transition: all 3s ease-in-out infinite; */
}
.cloud1{
animation: cloudAnimation 3s infinite alternate ease-in-out;
}
.cloud2{
z-index: -2;
opacity: 0.5;
top: 20%;
animation: cloudAnimation 3.5s infinite alternate ease-in-out;
}
@keyframes cloudAnimation {
from {
transform: translate(10%, -10%);
}
to {
transform: translate(0%, 0%);
}
}
footer{
background: rgba(19, 28, 39, 1);
color: white;
}
.footer-wrapper{
min-height: 10vh;
padding: 2rem;
width: 90%;
margin: auto;
display: flex;
align-items: center;
flex-wrap: wrap;
/* justify-content: center; */
}
footer ul {
flex: 1 1 40rem;
display: flex;
justify-content: space-between;
align-items: center;
}
footer h5{
color: white;
flex: 1 1 40rem;
/* font-size: 2rem; */
}
/* mobile display */
@media screen and (max-width:932px){
html{
font-size: 45%;
}
/* nav{
text-align: center;
} */
.logo-Header{
padding: 2rem;
text-align: center;
}
}