-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
103 lines (103 loc) · 1.96 KB
/
index.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
html {
min-height: 100%;
display: flex;
}
.header {
margin-bottom: 20px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.first-title {
font-size: 48px;
font-weight: bolder;
}
.language-menu {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
font-size: 24px;
}
.language-item {
cursor: pointer;
}
body {
margin: 0;
background: url(/img/zip/index-bg.jpg);
background-size: cover;
background-position: center;
}
.background-image {
object-fit: cover;
width: 100%;
height: 100%;
position: fixed;
z-index: -1;
object-position: center;
}
.main-containt {
padding: 50px;
color: white;
}
.main-menu {
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-content: center;
width: 100%;
}
.main-menu-item {
width: 300px;
height: 100px;
color: white;
text-decoration: none;
background-color: rgba(240, 88, 86, 0.9);
text-align: center;
line-height: 100px;
font-size: 24px;
margin-right: 10px;
margin-bottom: 10px;
transition: background-color 0.2s, transform 0.2s;
}
.main-menu-item:hover {
background-color: rgba(240, 88, 86, 1);
cursor: pointer;
transform: scale(1.2, 1.2);
}
.footer {
position: absolute;
bottom: 10px;
left: 50%;
margin-left: -75px;
color: white;
}
@media screen and (max-width: 1100px) {
.main-menu-item {
width: 48%;
min-width: 300px;
height: 300px;
font-size: 50px;
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
justify-content: center;
}
.language-menu {
font-size: 38px;
}
.footer {
display: none;
}
}
@media screen and (max-width: 700px) {
.main-menu-item {
width: 80%;
min-width: 300px;
}
.footer {
display: none;
}
}