-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css.txt
More file actions
104 lines (89 loc) · 1.45 KB
/
style.css.txt
File metadata and controls
104 lines (89 loc) · 1.45 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
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", Tahoma, sans-serif;
}
/* BODY */
body {
background: linear-gradient(135deg, #5b2a14, #8a4a23);
color: #fff;
min-height: 100vh;
}
/* HEADER */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
}
header img {
width: 80px;
}
/* NAVIGATION */
nav a {
margin-left: 30px;
text-decoration: none;
color: #f5e9dd;
font-weight: 500;
transition: color 0.3s;
}
nav a:hover {
color: #ffffff;
}
/* HERO SECTION */
section {
display: flex;
align-items: center;
justify-content: space-between;
padding: 80px 60px;
}
/* LEFT CONTENT */
section > div:first-child {
max-width: 500px;
}
h1 {
font-size: 3rem;
line-height: 1.2;
margin-bottom: 20px;
}
p {
font-size: 1rem;
color: #f0e2d3;
margin-bottom: 30px;
}
/* BUTTONS */
button {
padding: 14px 28px;
border-radius: 30px;
border: none;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
margin-right: 15px;
transition: all 0.3s ease;
}
/* BUY HAZELNUTS */
button:first-child {
background: #e6e6e6;
color: #5b2a14;
}
button:first-child:hover {
background: #ffffff;
}
/* BUY ALMONDS */
button:last-child {
background: transparent;
border: 1px solid #ffffff;
color: #ffffff;
}
button:last-child:hover {
background: #ffffff;
color: #5b2a14;
}
/* RIGHT IMAGE */
section img {
width: 420px;
max-width: 100%;
}