-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (82 loc) · 1.49 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@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;
padding-bottom:20px;
}
#sec h2{
font-size: 4rem;
margin-bottom: 30px;
color:#20496a;
}
#sec p{
font-size: 1.2rem;
line-height:2rem;
font-weight:300;
color:#20496a;
}
footer{
margin-top:30px;
display:flex;
padding:20px;
justify-content:space-evenly;
align-items:center;
background-color:#B0DFEA;
}
footer a{
color:#20496a;
}
footer a i{
transition:0.2s;
}
footer a:nth-of-type(3),footer a:nth-of-type(4), footer a:nth-of-type(5){
font-size:1.3rem;}
footer a i:hover{
transform:translateY(-10px);
}