-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhero.css
95 lines (94 loc) · 1.85 KB
/
hero.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
.hero{
position: relative;
display: grid;
grid-template-rows: 1fr;
min-width: auto;
max-width: 1000px;
align-self: center;
text-align: center;
margin-top: 80px;
margin-bottom: 80px;
margin-left: auto;
margin-right: auto;
padding: 50px 20px;
border-radius: 1rem;
background: rgba( 82, 82, 82, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 10px );
-webkit-backdrop-filter: blur( 4px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.top{
margin-bottom: 50px;
display: grid;
grid-template-columns: 1fr 1fr;
}
.text p{
font-size: 35px;
font-weight: 700;
color: white;
}
.text h1{
margin: 0;
font-size: 50px;
font-weight: 700;
color: rgb(250, 250, 106);
}
.textpara p{
margin: 5px;
font-size: 20px;
margin-top: 2px;
color: white;
}
.bottom{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.image-container{
margin: 20px;
border-radius: 1rem;
padding-top: -20px;
cursor: pointer;
transition: 0.4s;
}
.image-container:hover{
transform: scale(0.95);
}
.image-container a{
text-decoration: none;
}
.anime-image{
border: 1px solid white;
border-radius: 1rem;
width: 180px;
height: 180px;
}
.image-container h2{
color: white;
font-size: 20px;
}
.image-container p{
color: white;
font-size: 15px;
}
@media(max-width:768px){
.hero{
margin-left: clamp(50px, 10vw, 15%);
margin-right: clamp(50px, 10vw, 15%);
}
.top{
grid-template-columns: 1fr;
}
.bottom{
grid-template-columns: 1fr;
}
}
@media (min-width:768.1px) and (max-width:1200px){
.bottom{
grid-template-columns: 1fr 1fr;
}
.hero{
margin-left: clamp(50px, 10vw, 15%);
margin-right: clamp(50px, 10vw, 15%);
}
}