-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
164 lines (154 loc) · 2.88 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
padding: 0;
margin: 0;
border: none;
outline: none;
text-decoration: none;
font-family: "Open Sans", sans-serif;
}
#hero {
padding: 0 15%;
overflow: hidden;
}
/* Header */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
border-bottom: 1px solid rgba(211, 211, 211, 0.6);
animation: zoomIn 0.8s ease-in-out forwards;
opacity: 0;
animation-delay: 0.2s;
}
.header-logo {
font-size: 32px;
font-weight: 800;
color: #01B388;
cursor: pointer;
}
.header-logo span {
color: #228FEB;
}
nav {
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
}
.nav-items {
font-size: 17px;
font-weight: 500;
color: grey;
cursor: pointer;
transition: 0.2s;
}
.nav-items:hover {
color: #01B388;
}
.header-cta-btn {
font-size: 17px;
font-weight: 600;
padding: 10px 25px;
background-color: #01B388;
color: white;
border-radius: 25px;
cursor: pointer;
transition: 0.2s;
}
.header-cta-btn:hover {
background-color: #009270;
}
/* hero content */
.hero-content {
display: grid;
grid-template-columns: 1fr 1.2fr;
padding-top: 75px;
padding-bottom: 75px;
}
.left-content {
display: flex;
align-items: center;
}
.left-content h1 {
font-size: 4rem;
font-weight: 800;
color: rgba(0, 0, 0, 0.8);
line-height: 1.3;
margin-bottom: 30px;
width: 80%;
animation: bottomIn 1s ease-in-out forwards;
opacity: 0;
animation-delay: 0.2s;
}
h1 span {
color: #228FEB;
}
.left-content p {
font-size: 16px;
font-weight: 500;
line-height: 1.8;
color: grey;
margin-bottom: 30px;
animation: bottomIn 1s ease-in-out forwards;
opacity: 0;
animation-delay: 0.3s;
}
.big-cta-btn {
font-size: 18px;
font-weight: 500;
text-transform: uppercase;
padding: 13px 40px;
background-color: transparent;
color: #01B388;
border: 2px solid #01B388;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s;
animation: bottomIn 1s ease-in-out forwards;
opacity: 0;
animation-delay: 0.4s;
}
.big-cta-btn:hover {
background-color: #01B388;
color: white;
}
.right-content {
display: flex;
align-items: center;
}
.hero-img {
width: 100%;
animation: zoomIn 1.2s ease-in-out forwards;
opacity: 0;
animation-delay: 0.2s;
}
/* Animations */
@keyframes bottomIn {
from {
transform: translateY(500px);
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes topIn {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes zoomIn {
from {
transform: scale(0.5);
}
to {
transform: scale(1);
opacity: 1;
}
}