-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
193 lines (165 loc) · 5.18 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
183
184
185
186
187
188
189
190
191
192
193
@import url("https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap");
/* Set font for all text elements */
body, input, button, select, textarea {
font-family: Arial, Helvetica, sans-serif;
}
body {
background-image: url('https://i.postimg.cc/66nkP695/shutterstock-654727366-min-2048x1371.jpg');
background-size: cover; /* Cover the entire viewport */
background-repeat: no-repeat; /* Prevent background image from repeating */
background-position: center; /* Center the background image */
}
.container {
display: flex;
flex-direction: column; /* Change flex direction to row */
justify-content: center; /* Space between items */
align-items: center;
height: 100vh;
}
.form {
width: 300px;
height: auto;
background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
border-radius: 10px;
padding: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
margin-top: 20px; /* Add margin to the right */
}
.form h2 {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
color: rgba(255, 114, 0, 0.8); /* Semi-transparent orange color */
font-size: 24px;
border-radius: 10px;
padding: 8px;
margin: 0 auto 20px; /* Center the heading */
width: fit-content; /* Adjust width to fit content */
}
.form input {
width: calc(100% - 20px); /* Take full width minus padding */
height: 40px;
background: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
border: none;
border-bottom: 1px solid rgba(255, 114, 0, 0.8); /* Semi-transparent orange border */
color: #000;
font-size: 16px;
letter-spacing: 1px;
margin-top: 20px;
padding: 0 10px; /* Add padding */
transition: transform 0.3s ease; /* Add transition for smooth movement */
}
.form input:hover {
transform: translateY(-3px); /* Move the input field 3px upwards on hover */
}
.form input:focus {
outline: none;
border-color: rgba(255, 114, 0, 0.8); /* Semi-transparent orange border on focus */
}
::placeholder {
color: rgba(255, 114, 0, 0.8); /* Semi-transparent orange color */
}
.btnn {
width: 100%;
height: 40px;
background: rgba(255, 114, 0, 0.8); /* Semi-transparent orange background */
border: none;
margin-top: 30px;
font-size: 18px;
border-radius: 10px;
cursor: pointer;
color: #fff; /* White color */
text-decoration: none;
transition: 0.4s ease, color 0.4s ease;
display: inline-block;
}
.btnn:hover {
background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background on hover */
color: rgba(255, 114, 0, 0.8); /* Semi-transparent orange color on hover */
}
.btnn a {
text-decoration: none; /* Remove underline from link within button */
color: inherit; /* Inherit color from parent button */
}
.form .link {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
padding-top: 20px;
text-align: center;
}
.form .link a {
text-decoration: none;
color: rgba(255, 114, 0, 0.8); /* Semi-transparent orange color */
font-weight: bold;
}
.form .link a:hover {
text-decoration: underline; /* Show underline on hover */
}
.liw {
padding-top: 15px;
padding-bottom: 10px;
text-align: center;
}
@media only screen and (max-width: 600px) {
.welcomeText {
font-size: 24px; /* Adjust font size for smaller screens */
}
.container {
padding: 20px; /* Add padding for smaller screens */
flex-direction: column; /* Change flex direction to column for smaller screens */
align-items: center; /* Center align items for smaller screens */
}
.form {
width: 80%; /* Adjust form width for smaller screens */
margin-right: 0; /* Remove right margin for smaller screens */
margin-bottom: 20px; /* Add bottom margin for smaller screens */
}
}
.welcomeText {
font-family: "Rubik Dirt", cursive;
font-size: 30px; /* Adjust font size as needed */
color: whitesmoke;
text-align: center; /* Center align the text */
margin-bottom: 5px; /* Reduce margin at the bottom */
font-weight: bold;
}
.error-message {
color: rgba(255, 114, 0, 0.8);
font-size: 13px;
}
.caption {
font-family: 'Montserrat', sans-serif, bold;
font-size: 18px; /* Adjust as needed */
color: whitesmoke;
text-align: center;
margin-top: 0px; /* Adjust spacing as needed */
margin-bottom: 10px; /* Adjust spacing as needed */
font-weight: bold;
}
.social-icons {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
background-color: transparent;
}
.social-icons a {
margin: 0 10px;
text-decoration: none;
color: #333;
font-size: 30px;
}
/* Facebook icon color */
.social-icons a:nth-child(1) i {
color: #3b5998;
}
/* Instagram icon color */
.social-icons a:nth-child(3) i {
color: #e4405f;
}
/* YouTube icon color */
.social-icons a:nth-child(4) i {
color: #c4302b;
}
.social-icons a:nth-child(5) i{
color: #c4302b;
}