-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyl.css
More file actions
163 lines (151 loc) · 3.08 KB
/
Copy pathstyl.css
File metadata and controls
163 lines (151 loc) · 3.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
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
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@200;300;400;500;600;700;800&family=Work+Sans:wght@800&display=swap');
* {
font-family: "Work Sans", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
body {
width: 100%;
height: 100vh;
overflow: hidden;
background-color: black;
color: rgb(146, 75, 75);
}
header {
margin-top: 20px;
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1rem 9%;
background-color: transparent;
filter: drop-shadow(10px);
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 3rem;
text-decoration: none;
color: rgb(255, 255, 255);
font-weight: 600;
cursor: pointer;
transition: 0.5s ease;
}
.logo:hover {
transform:scale(1.1);
}
nav a {
font-size: 1,8rem;
color: rgb(146, 75, 75);
margin-left: 4rem;
font-weight: 500;
text-decoration: none;
transition: 0.4s ease;
border-bottom: 3px solid transparent;
}
nav a:hover{
color: rgb(146, 75, 75);
border-bottom: 3px solid #ffffff;
}
section {
height: 100vh;
padding: 5rem 9% 5rem;
}
.homme {
display:flex;
justify-content: center;
align-items: center;
gap:8rem ;
background-color: black;
}
.homme.homme-content h1 {
font-size: 6rem;
font-weight: 700;
line-height: 1.3 ;
}
span {
color: #ffffff;
}
.homme-content h3 {
font-size: 4rem;
margin-bottom: 1rem;
}
.homme-img {
border-radius: 50%;
}
.homme-img img {
position: relative;
width: 32vw;
border-radius: 50%;
box-shadow: 0 0 25px solid rgb(146, 75, 75) ;
cursor: pointer;
transition: 0.2s linear ;
}
.homme-img img:hover {
font-size: 1.8rem;
font-weight: 500;
}
button {
display: inline-block;
margin-top: 20px;
padding: 1rem 2.8rem;
background-color: rgb(0, 0, 0);
border-radius: 8rem;
font-size: 1.6rem;
color: rgb(255, 255, 255);
letter-spacing: 0.3rem;
font-weight: 100;
transition: 0,4s ease;
cursor: pointer;
}
button:hover {
color: #985050;
box-shadow: 0 0 25px snows;
}
.typing-text {
font-size: 34px;
font-weight: 600;
min-width: 280px;
}
.typing-text span {
position: relative;
}
.typing-text span:before {
content:"web devolper";
color: #ffffff;
animation: words 20s infinite;
}
.typing-text span:after {
background-color: rgb(51, 28, 52);
position: absolute;
width: calc(100% + 8px);
height: 100%;
border-left: 3px solid black;
right: -8;
animation: cursor 0.6s infinite;
}
@keyframes cursor {
to{
border-left: 3px solid #985050;
}
}
@keyframes words {
0%,20%{
content: " i am web devoloper";
}
21%,40%{
content: " i am software devoloper";
}
41%,60%{
content: "i iam web desinger";
}
61%,80%{
content: "i am gamer";
}
81%,100%{
content:"sigma";
}
}