-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (116 loc) · 2.08 KB
/
style.css
File metadata and controls
120 lines (116 loc) · 2.08 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
@font-face {
font-family: gilroy;
src: url(Gilroy-Medium.woff2);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: gilroy;
}
html,body{
height: 100%;
width: 100%;
}
#back{
height: 100vh;
width: 100%;
}
#back img{
width: 100%;
height: 100%;
object-fit: cover;
}
#top{
pointer-events: none;
position: absolute;
top: 0;
left: 0;
height: 100vh;
width: 100%;
}
#container{
height: 100vh;
width: 80%;
max-width: 1900px;
margin: 0 auto;
position: relative;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 1rem;
}
#left-nav ul img{
height: 3rem;
width: 8rem;
}
#left-nav ul,#right-nav ul{
display: flex;
align-items: center;
gap: 3rem;
}
ul a{
color: white;
text-decoration: none;
font-size: 1.2rem;
text-transform: uppercase;
pointer-events: all;
}
#content{
width: 100%;
height: 75%;
position: absolute;
top: 20%;
left: 0;
display: flex;
justify-content: space-between;
}
#left{
flex-basis: 50%;
}
#right{
flex-basis: 20%;
display: flex;
flex-direction: column;
}
#left .elem{
height: 9vw;
overflow: hidden;
}
#left .elem h1{
color: white;
line-height: 0.9;
font-weight: 100;
font-family: kajiro;
font-size: 12vw;
}
#left button{
font-size: 3vw;
padding : .8vw 3vw;
margin-top: 2vw;
text-transform: uppercase;
font-family: kajiro;
pointer-events: all;
}
#para{
font-size: 14px;
font-weight: 300;
color: white;
text-align: right;
}
#img-div{
height: 170px;
width: 100%;
margin-top: 20px;
margin-bottom: 30px;
background-image: url('https://plus.unsplash.com/premium_photo-1673757121102-0ca51260861f?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8bW9kZWx8ZW58MHx8MHx8fDA%3D');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-clip: border-box;
}
#right>div:nth-child(3){
margin-bottom: 80px;
}