-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (102 loc) · 1.78 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
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
*{
padding: 0;
margin: 0;
font-family: sans-serif;
}
body{
background: linear-gradient(#111,#222);
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
body::after{
content: "";
width: 100%;
height: 100%;
background: red;
position: absolute;
z-index: -1;
clip-path: circle(40% at right 70%);
}
.container{
width: 80%;
height: 80%;
background: rgba(255,255,255,0.1);
border-radius: 20px;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
width: 80%;
margin: auto;
padding: 20px 0;
}
nav .logo{
color:#fff;
text-decoration: none;
font-size: 32px;
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 700;
}
nav ul li{
display: inline-block;
margin: 0 6px;
}
nav ul li a{
color: #fff;
text-decoration: none;
font-size: 18px;
font-weight: 500;
}
nav ul li a:hover{
color: #e80202;
}
.content{
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
width: 80%;
margin: auto;
}
.content .text{
color: #fff;
width: 20%;
}
.content1 .text h2{
font-size: 40px;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 2px;
}
.content1 .text p{
font-size: 18px;
line-height: 25px;
margin: 10px;
letter-spacing: 1px;
}
.content1 image{
width: 40%;
margin: 20%;
}
@media (min-width:950px) and (max-width:1150px){
.content0 .image img{
width: 330px;
}
}
@media (max-width:950px){
.content0, nav{
flex-direction: column;
justify-content: center;
}
.content0 .image, .content .text{
width: 80%;
}
body::after{
clip-path: circle(50 at bottom);
}
}