-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
100 lines (87 loc) · 1.68 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
body {
font-family: Arial, sans-serif;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-image: url('images/background.jfif');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.header {
width: 100%;
box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
.container {
border: 1px solid #ccc;
background-color: rgba(255, 255, 255, 0.7);
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 50%;
max-width: 800px;
margin: 0 auto;
}
@media screen and (max-width: 768px) {
.container {
width: 100%;
}
}
.row {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
width: 50%;
max-width: 800px;
flex-wrap: wrap;
}
.row:first-of-type {
margin-top: 70px;
}
.box-link {
flex: 0 0 48%;
text-decoration: none;
margin: 0 1%;
text-decoration: none;
color: inherit;
}
.box-link .fas, .box-link p {
color: inherit;
}
.box {
flex: 0 0 48%;
height: 150px;
background-color: rgba(52, 152, 219, 0.6);
cursor: pointer;
transition: 0.3s;
margin: 0 1%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
border-radius: 20px;
}
.header-row {
width: 100%;
color: #000000;
padding: 60px 0;
text-align: center;
margin-bottom: 20px;
}
.header-row h1 {
font-size: 2.5em;
margin: 0;
}
.box i {
margin-bottom: 10px;
}
.box:hover {
transform: scale(1.05);
}