-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
159 lines (140 loc) · 2.82 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
/* Global Styles */
body {
font-family: 'Helvetica Neue', sans-serif;
background-color: #141414;
margin: 0;
padding: 0;
}
/* Section 1 Styling */
.sec1 {
width: 100vw;
height: 700px;
position: relative;
overflow: hidden;
background-attachment: fixed; /* Parallax Effect */
}
.sec1::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url("https://assets.nflxext.com/ffe/siteui/vlv3/4da5d2b1-1b22-498d-90c0-4d86701dffcc/2151f7fd-6774-492c-8821-99c3b23be48d/PK-en-20240129-popsignuptwoweeks-perspective_alpha_website_large.jpg");
background-size: cover;
background-position: center;
opacity: 0.85;
z-index: 1;
}
.text {
position: relative;
width: 100%;
height: 100%;
z-index: 2;
color: white;
text-align: center;
}
.text-heading {
font-size: 3rem;
margin-top: 15%;
font-weight: bold;
}
.text-line-1,
.text-line-2 {
font-size: 1rem;
margin-top: 1.5%;
line-height: 1.4; /* Improved line height for better readability */
}
/* Navbar Styling */
.navbar {
display: flex;
justify-content: space-between;
padding: 2% 5%;
position: relative;
z-index: 2;
}
.navtext {
color: #e50914;
font-family: 'Protest Revolution', sans-serif;
font-size: 25pt;
padding-left: 10px;
}
.navbtn .signin-btn {
background-color: #e50914;
padding: 10px 20px;
border: none;
border-radius: 5px;
color: white;
font-size: 14pt;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.navbtn .signin-btn:hover {
background-color: #ff4040;
}
.navbtn .signin-btn:focus {
outline: 2px solid #ff4040;
transform: scale(1.05); /* Smooth transition effect on focus */
}
/* Input Field Styling */
.input {
display: flex;
justify-content: center;
margin-top: 2%;
}
.email {
height: 50px;
width: 300px;
padding-left: 15px;
border: 2px solid #333;
border-radius: 5px;
background-color: #1c1c1c;
color: white;
font-size: 14pt;
}
.email::placeholder {
color: #ccc;
}
.email:focus {
outline: 2px solid #e50914;
padding-left: 18px; /* Added padding on focus for better visibility */
}
/* Button Styling */
.btn {
height: 50px;
width: 150px;
background-color: #e50914;
border: none;
color: white;
border-radius: 5px;
margin-left: 10px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
background-color: #ff4040;
}
.btn:focus {
outline: 2px solid #ff4040;
transform: scale(1.05); /* Smooth transition effect on focus */
}
/* Shared Styles for Input and Button */
input,
button {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Responsive Design */
@media (max-width: 768px) {
.text-heading {
font-size: 2rem;
}
.text-line-1, .text-line-2 {
font-size: 1rem;
}
.email {
width: 250px;
}
.btn {
width: 120px;
}
}