-
Notifications
You must be signed in to change notification settings - Fork 1
/
home.css
167 lines (152 loc) · 2.48 KB
/
home.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
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: 62.5%;
}
body {
display: block;
justify-content: center;
align-content: center;
padding: 6rem;
background-color: #f5f5f5;
font-family: "Inter", sans-serif;
}
@media (max-width: 60em) {
body {
padding: 3rem;
}
}
.flexible{
display: flex;
margin-top:40px;
}
.grid {
display: grid;
width: 114rem;
grid-gap: 6rem;
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
align-items: start;
}
@media (max-width: 60em) {
.grid {
grid-gap: 3rem;
}
}
.grid__item {
background-color: #fff;
border-radius: .4rem;
overflow: hidden;
box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: 0.3s;
}
.grid__item:hover {
transform: translateY(-1%);
box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.2);
}
.card__img {
display: block;
width: 100%;
height: 18rem;
object-fit: fill;
}
.card__content {
padding: 3rem 3rem;
}
.card__header {
font-size: 3rem;
font-weight: 500;
color: #0d0d0d;
margin-bottom: 1.5rem;
}
.card__text {
font-size: 1.5rem;
letter-spacing: .1rem;
line-height: 1.7;
color: #3d3d3d;
margin-bottom: 2.5rem;
}
.card__btn {
display: block;
width: 100%;
padding: 1.5rem;
font-size: 2rem;
text-align: center;
color: #000000;
background-color: #e6ecff;
border: none;
border-radius: .4rem;
transition: 0.2s;
cursor: pointer;
}
.card__btn span {
margin-left: 1rem;
transition: 0.2s;
}
.card__btn:hover, .card__btn:active {
background-color: #dce4ff;
}
.card__btn:hover span, .card__btn:active span {
margin-left: 1.5rem;
}
a{
text-decoration: none;
}
.heading{
margin-bottom: 25px;
font-size: 30px;
background:gray;
text-align: center;
padding:15px;
}
.footer{
box-sizing: border-box;
border: 1px solid grey;
margin-top:60px;
font-size:16px;
background-color: ivory;
}
.footer .column {
float: left;
width: 20%;
margin-bottom: 16px;
padding: 0 8px;
overflow: hidden;
}
@media screen and (max-width: 650px) {
.footer .column {
width: 100%;
display: block;
}
}
.footer .card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.footer .container {
padding: 0 16px;
}
.footer .container::after, .footer .row::after {
content: "";
clear: both;
display: table;
}
.footer .title {
color: grey;
font-size: 16px;
margin:5px 0px;
}
.footer h2{
margin:5px 0px;
}
.footer p {
margin:5px 0px;
}
.footer h1{
padding:15px;
}