forked from Qasim-Rokeeb/HTML
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
124 lines (106 loc) · 1.83 KB
/
style2.css
File metadata and controls
124 lines (106 loc) · 1.83 KB
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
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", Tahoma, sans-serif;
}
/* BODY */
body {
min-height: 100vh;
background: linear-gradient(135deg, #ffcf3f, #ff9f1c);
color: #5a2a00;
}
/* HEADER */
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 60px;
}
/* LOGO */
header img {
width: 70px;
}
/* NAV */
nav a {
margin: 0 20px;
text-decoration: none;
color: #5a2a00;
font-weight: 500;
transition: color 0.3s;
}
nav a:hover {
color: #000;
}
/* AUTH BUTTONS */
header div:last-child button {
padding: 10px 22px;
border-radius: 25px;
border: 1px solid #5a2a00;
background: transparent;
font-weight: 600;
cursor: pointer;
margin-left: 10px;
transition: all 0.3s ease;
}
header div:last-child button:first-child {
background: #5a2a00;
color: #fff;
}
header div:last-child button:hover {
background: #5a2a00;
color: #fff;
}
/* HERO SECTION */
section {
display: flex;
align-items: center;
justify-content: space-between;
padding: 80px 60px;
}
/* LEFT CONTENT */
section > div:first-child {
max-width: 520px;
}
h1 {
font-size: 3.2rem;
line-height: 1.2;
margin-bottom: 25px;
}
p {
font-size: 1rem;
margin-bottom: 35px;
color: #6b3a00;
}
/* CTA BUTTONS */
section button {
padding: 14px 28px;
border-radius: 30px;
border: none;
font-weight: 600;
cursor: pointer;
margin-right: 15px;
transition: all 0.3s ease;
}
section button:first-child {
background: #5a2a00;
color: #fff;
}
section button:first-child:hover {
background: #3f1c00;
}
section button:last-child {
background: transparent;
border: 1px solid #5a2a00;
color: #5a2a00;
}
section button:last-child:hover {
background: #5a2a00;
color: #fff;
}
/* HERO IMAGE */
section img {
width: 420px;
max-width: 100%;
}