-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
189 lines (174 loc) · 3.8 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
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
a{
text-decoration: none;
color: inherit;
}
body{
width: 100vw;
height: 100vh;
font-family: 'Montserrat', sans-serif;
background-color:antiquewhite;
}
nav{
height: 90px;
width: 100%;
background-color: black;
color: white;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 0 0 25px 25px;
}
.logo-container{
font-size: 36px;
font-weight: 700;
}
.nav-container ul{
display: flex;
align-items: center;
justify-content: center;
list-style: none;
}
.nav-container ul .nav-link{
margin-right: 30px;
color: white;
text-transform: capitalize;
border: none;
transition: .4s all ease-in-out;
}
.nav-container ul .nav-link:hover{
border-bottom: 1px solid white;
}
.nav-container ul .nav-link:last-child{
margin-right: 0px;
}
main{
width: 100%;
height: calc(100% - 90px);
background-color: antiquewhite;
padding: 75px 150px 75px 30px;
}
main .main-container{
width: 100%;
height: 100%;
/* background-color: rgb(149, 0, 255); */
display: flex;
}
main .main-container .main-infos {
width: calc(100% - 500px);
height: 100%;
/* background-color: rgb(216, 8, 168); */
display: flex;
flex-direction: column;
justify-content: center;
}
main .main-container .main-infos .text-content{
margin-bottom: 50px;
margin-top: -200px;
}
main .main-container .main-infos .text-content h2{
margin-bottom: 12px;
font-size: 36px;
font-weight: 700;
}
main .main-container .main-infos .text-content span{
color: #474a57;
font-size: 28px;
font-weight: 500;
letter-spacing: -0.1px;
}
main .main-container .main-infos .button-content{
display: flex;
gap: 20px;
}
main .main-container .main-infos .button-content button{
padding: 10px 34px;
border-radius: 10px;
background-color: #000;
color: white;
font-weight: 700;
font-size: 25px;
box-shadow: 4px 4px 0px 0px #eb7711bf;
transition: .3s all ease-in-out;
}
main .main-container .main-infos .button-content button:hover{
box-shadow: -4px -4px 0px 0px #eb7711bf;
background-color: #fff;
color: #000;
animation: shake 0.3s 3 linear;
}
main .main-container .main-photo{
width: 600px;
}
main .main-container .main-photo .photo{
width: 500px;
background-color: blanchedalmond;
border: 1px solid #000;
box-shadow:10px 10px 5px black;
border-radius: 25px;
}
main .main-container .main-photo .photo img{
width: 500px;
height: fit-content;
transform: scaleX(-1);
user-select: none;
}
.social-container{
position: absolute;
right: 45px;
top: 40%;
}
.social-container a .social-item{
font-size: 40px;
background-color: #fff;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 5px;
}
.social-container a .social-item.instagram:hover{
background-color: #E4405F;
color: #fff;
}
.social-container a .social-item.twitter:hover{
background-color: #1DA1F2;
color: #fff;
}
.social-container a .social-item.github:hover{
background-color: #171515;
color: #fff;
}
.social-container a .social-item.youtube:hover{
background-color: #CD201F;
color: #fff;
}
.social-container a .social-item.linkedin:hover{
background-color: #0A66C2;
color: #fff;
}
@keyframes shake {
0%{
transform: rotate(0deg);
}
25%{
transform: rotate(7deg);
}
50%{
transform: rotate(0deg);
}
75%{
transform: rotate(-7deg);
}
100%{
transform: rotate(0deg);
}
}