-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
60 lines (60 loc) · 1.09 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', serif;
}
body {
height: 100vh;
width: 100vw;
}
#top{
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
#top::before{
content:'';
position: absolute;
bottom: 0;
left: 0;
height:200px;
width: 100%;
background:linear-gradient(to top,#fff,transparent);
z-index: 1000;
}
#man{
top: inherit;
bottom: 0;
}
section img{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
pointer-events: none;
}
#text{
position: relative;
color:white;
font-size: 10rem;
}
#sec{
padding:100px;
}
#sec h2{
font-size: 4rem;
margin-bottom: 30px;
color:#20496a;
}
#sec p{
font-size: 1.2rem;
color:#20496a;
}