forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newplantripstyle.css
168 lines (148 loc) · 2.91 KB
/
newplantripstyle.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
* {
margin: 0;
padding: 0;
text-decoration: none;
box-sizing: border-box;
}
html, body {
height: 100%;
overflow: hidden;
}
.navbar {
font-family: Calibri, "Segoe UI", Candara, "Bitstream Vera Sans", sans-serif;
background-color: #6bafea;
color: black;
padding: 1rem;
height: 15%;
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.plantrip{
display: flex;
justify-content: space-between;
gap: 2px;
}
.plantrip h1 {
font-size: 3rem;
color: white;
}
.plantrip img{
width: 100px;
height: 70px;
margin-bottom: 15px;
}
.nav-links {
display: flex;
align-items: center;
}
li {
list-style: none;
display: inline-block;
}
li a {
font-size: 1.75rem;
margin-right: 50px;
font-weight: bold;
color: black;
}
.nav-button a {
padding: 10px;
border-radius: 10px;
background-color: black;
color: white;
}
.burger-menu {
display: none;
font-size: 2rem;
background: none;
border: none;
cursor: pointer;
}
.nav-toggle {
display: none;
}
@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
width: 100%;
text-align: center;
background-color: cyan;
position: absolute;
top: 70px;
left: 0;
z-index: 10;
}
.nav-links li {
margin: 15px 0;
}
.nav-toggle:checked + .burger-menu + .nav-links {
display: flex;
}
.burger-menu {
display: block;
}
}
.background {
width: 100%;
height: 100vh; /* Full viewport height */
overflow: hidden;
position: relative; /* Ensure the navbar is above the background */
}
.background img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image covers the entire container */
display: block;
}
.form-container {
position: absolute;
top: 40%; /* Adjust this value as needed */
left: 50%;
transform: translate(-50%, -50%);
z-index: 1; /* Ensure the form is above the image */
width: 80%;
height: 60%;
max-width: 600px;
/* background-color: #add8e6e3; */
padding: 20px;
border-radius: 8px;
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}
form {
max-width: 600px;
margin: 20px auto;
background-color: #6fb3ed;
padding: 20px;
border-radius: 25px;
box-shadow: 10px 10px 8px 10px #3887cb;
}
label {
display: block;
margin-bottom: 8px;
}
input,
select {
width: calc(100% - 20px); /* Adjusted width to accommodate padding */
padding: 10px;
margin-bottom: 16px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #45a049;
}