-
Notifications
You must be signed in to change notification settings - Fork 0
/
About Us.css
221 lines (211 loc) · 3.98 KB
/
About Us.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
}
nav{
position: fixed;
background: #1b1b1b;
width: 100%;
padding: 10px 0;
z-index: 12;
}
nav .menu{
max-width: 1250px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
}
.menu .logo a{
text-decoration: none;
color: #fff;
font-size: 35px;
font-weight: 600;
}
.menu ul{
display: inline-flex;
}
.menu ul li{
list-style: none;
margin-left: 7px;
}
.menu ul li:first-child{
margin-left: 0px;
}
.menu ul li a{
text-decoration: none;
color: #fff;
font-size: 18px;
font-weight: 500;
padding: 8px 15px;
border-radius: 5px;
transition: all 0.3s ease;
}
.menu ul li a:hover{
background: #fff;
color: black;
}
body{
font-family: 'Playfair Display', serif;
display: grid;
background-color: #f7fdff;
background-image: linear-gradient(43deg, #318ab0 25%, #ffffff 46%, #913c3c 90%);
align-content: center;
min-height: 100vh;
}
section{
display: grid auto;
grid-template-columns: 1fr 1fr;
min-height: 70vh;
width: 80vw;
margin-top: 100px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 190px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 12px;
}
.image{
background-color: #12192c;
display: flex;
border-radius: 12px 0 0 12px;
}
.image img{
height:50vh;
margin:50px auto
}
.content{
background-color: #12192c;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
border-radius: 0 12px 12px 0;
color: #fff;
}
.content h2{
text-transform: uppercase;
font-size: 36px;
letter-spacing: 6px;
opacity: 30;
}
.content span{
height: 0.5px;
width: 80px;
background: #777;
margin: 30px 0;
}
.content p{
padding-bottom: 15px;
font-weight: 300;
opacity: 0.7;
width: 60%;
text-align: center;
margin: 0 auto;
line-height: 1.7;
color:#ffffff
}
.links{
margin: 15px 0;
}
.links li{
border: 2px solid #4158D0;
list-style: none;
border-radius: 5px;
padding: 10px 15px;
width: 160px;
text-align: center;
}
.links li a{
text-transform: uppercase;
color: #ffffff;
text-decoration: none;
}
.links li:hover{
border-color: #ffffff;
}
.vertical-line{
height: 30px;
width: 2px;
background: #ffffff;
margin: 0 auto;
}
.icons{
display: flex;
padding: 15px 0;
color: #000;
}
.icons li{
display: block;
padding: 10px;
margin: 10px;
}
.icons li i{
font-size: 30px;
opacity: 2;
color: #ffffff;
}
.icons li i:hover{
color: #2f24c7;
cursor: pointer;
}
/*****************/
@media(max-width: 900px){
section{
grid-template-columns: 1fr;
width: 100%;
border-radius: none;
}
.image{
height: 100vh;
border-radius: none;
}
.content{
height: 100vh;
border-radius: none;
}
.content h2{
font-size: 20px;
margin-top: 50px;
}
.content span{
margin: 20px 0;
}
.content p{
font-size: 14px;
}
.links li a{
font-size: 14px;
}
.links{
margin: 5px 0;
}
.links li{
padding: 6px 10px;
}
.icons li i{
font-size: 15px;
}
}
.credit{
text-align: center;
color: #000;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.credit a{
text-decoration: none;
color:#000;
font-weight: bold;
}
.img{
background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2072&q=80')no-repeat;
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
position: relative;
}