forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loginPage.css
161 lines (146 loc) · 3.22 KB
/
loginPage.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
}
.main-container {
min-height: 100vh;
min-width: 100vw;
background-image: url("./img/img1.jpeg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
}
.form-container {
display: flex;
gap: 2rem;
justify-content: center;
align-items: center;
color: white;
backdrop-filter: blur(8px);
padding: 2rem 1rem;
background-color: rgba(44, 57, 104, 0.2);
border-radius: 20px;
}
.content {
display: flex;
flex-direction: column;
gap: 2rem;
justify-content: center;
align-items: center;
padding: 2rem 0;
font-weight: 600;
flex-wrap: wrap;
}
.content h1 {
font-weight: 700;
font-size: 3rem;
text-shadow: 0px 0px 20px #010618, 0px 0px 40px #010618;
text-align: center;
position: relative;
}
.content p {
width: 100%;
font-size: 1.5rem;
color: white;
opacity: 1;
font-weight: 600;
text-shadow: 0px 0px 20px #010618, 0px 0px 40px #010618;
text-align: center;
}
text{
color:aquamarine
}
.register-link {
font-weight: bold;
color: white;
text-decoration: none;
transition: color 0.2s ease-in-out;
}
.register-link:hover {
color: #f39c12; /* Change to your desired hover color */
}
.passForget{
color: rgb(234, 35, 35);
font-weight: bold;
}
.content button {
font-size: 1.5rem;
padding: 1rem 2rem;
border-radius: 0.5rem;
border: none;
background: linear-gradient(
109.6deg,
rgb(5, 85, 84) 11.2%,
rgb(64, 224, 208) 91.1%
);
color: white;
font-weight: 700;
box-shadow: 0px 0px 10px rgb(10, 64, 88);
transition: all 0.2s ease-in-out;
letter-spacing: 1.1px;
}
.content button:hover {
transform: scale(1.02);
box-shadow: 0px 0px 10px rgb(10, 64, 88), 0px 0px 20px rgb(10, 64, 88),
0px 0px 30px rgb(10, 64, 88);
transition: all 0.2s ease-in-out;
}
form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
}
form > input {
font-size: 1.3rem;
padding: 0.5rem 0.5rem;
width: 20rem;
background: transparent;
border: 2px solid white;
border-radius: 6px;
color: white;
transition: outline 0.2s ease-in-out;
outline: none;
}
form > input::placeholder {
color: white;
}
form > input:focus {
outline: 3px solid #010618;
transition: outline 0.2s ease-in-out;
border: none;
}
@media screen and (max-width: 815px) {
.form-container {
flex-direction: column;
}
.content {
box-shadow: 0px 0px 20px #010618, 0px 0px 40px #010618;
padding: 2rem 0rem;
border-radius: 10px;
}
}
@media screen and (max-width: 510px) {
.content h1 {
font-size: 2rem;
}
.content p {
width: 50%;
}
}
form>input {
font-size: 1rem;
padding: 0.5rem 0.5rem;
width: 14rem;
background: transparent;
}