-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
167 lines (137 loc) · 2.75 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
165
166
167
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,400;0,900;1,300&display=swap');
:root {
--mid-blue: #3882f6;
--dark-blue: #1f2937;
--grey: #e5e7eb;
--white: #f9faf8;
}
* {
font-family: 'Roboto', sans-serif;
}
body {
margin: 0;
padding: 0;
background-color: var(--dark-blue);
}
button {
border-radius: 5px;
padding: 5px 20px;
color: var(--white);
background-color: var(--mid-blue);
font-size: 18px;
}
/* header styles */
header {
display: flex;
align-items: center;
justify-content: space-around;
padding: 20px 0;
}
header a {
color: var(--grey);
text-decoration: none;
font-size: 18px;
margin: 0 10px;
}
header #logo {
font-size: 24px;
font-weight: 700;
color: var(--white);
}
/* hero section styles */
#hero-section {
display: flex;
align-items: flex-start;
justify-content: center;
gap: 5em;
padding: 20px;
}
#hero-section img {
width: 600px;
height: 300px;
object-fit: cover;
}
#hero-section #hero-text {
color: var(--grey);
flex-basis: 400px;
}
#hero-section #hero-text h1 {
font-size: 48px;
font-weight: 900;
}
#hero-section #hero-text p {
font-size: 18px;
}
#hero-section button {
border: none;
}
/* info section styles */
#random-info {
background-color: var(--white);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#random-info #images {
display: flex;
align-items: center;
justify-content: center;
}
#random-info #images .image-info {
display: flex;
flex-direction: column;
flex-basis: 150px;
padding: 20px;
text-align: center;
}
#random-info #images .image-info img {
width: 150px;
height: 150px;
border: 3px solid var(--mid-blue);
border-radius: 15px;
}
/* testimonial styles */
#testimonial {
background-color: var(--grey);
display: flex;
flex-direction: column;
padding: 20px 500px;
}
#testimonial blockquote {
text-align: center;
font-style: italic;
font-size: 36px;
padding: 0;
margin: 0;
}
#testimonial cite {
text-align: right;
font-style: normal;
font-size: 26px;
padding: 0;
margin: 0;
}
/* call to action styles */
#call-to-action {
background-color: var(--white);
color: var(--white);
padding: 60px 400px;
}
#call-to-action #cta-container {
background-color: var(--mid-blue);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: space-around;
padding: 30px;
}
#call-to-action button {
border: 0.5px solid var(--white);
}
/* footer styles */
footer {
color: var(--grey);
text-align: center;
padding: 30px;
}