-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.css
191 lines (190 loc) · 3.61 KB
/
project.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
*{
margin:0;
padding:0;
box-sizing:border-box;
}
.logo{
width:100px;
height:100px;
border-radius:50%;
box-shadow:0 10px 5px black;
/* border:2px solid darkred; */
}
.sec{
position:relative;
width:100%;
min-height:100vh;
padding:100px;
display:flex;
justify-content:space-between;
align-items:center;
background:rgb(255, 25, 25);
transition:0.5s;
/* border:2px solid black; */
}
header{
position:absolute;
top:0;
left:0;
width:100%;
padding:20px 100px;
display:flex;
justify-content:space-between;
align-items:center;
/* border:2px solid yellow; */
}
header .logo{
position:relative;
max-width:80px;
}
header ul{
position:relative;
display:flex;
/* border:2px solid white; */
}
header ul li{
list-style:none;
/* border:2px solid purple; */
}
header ul li a{
display:flex;
color:black;
margin-left:40px;
text-decoration:none;
/* border:2px solid rgb(248, 245, 248); */
font-family:'baloo bhai','baloo bhai 2';
padding:4px;
font-size:25px;
transition:0.5s;
}
header ul li a:hover{
background:white;
border-radius:10px;
box-shadow:0 10px 15px;
transition:0.5s;
}
.content{
position:relative;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
/* border:2px solid green; */
}
.content .text-box{
position:relative;
max-width:600px;
/* border:2px solid blue; */
}
.content .text-box h2{
color:white;
font-size: 4rem;
line-height:4.5rem;
font-weight:700;
text-transform:uppercase;
font-family:sans-serif;
}
.content .text-box h2 span{
font-size:2em;
font-family: 'baloo bhai', cursive;
}
.content .text-box p{
color:white;
font-family:'baloo bhai 2';
}
.content .text-box a{
display:inline-block;
margin:20px 135px;;
padding:8px 20px;
background:white;
box-shadow:0 10px 8px;
color:#111;
border-radius:10px;
font-weight:500;
letter-spacing: 1px;
text-decoration:none;
text-transform:uppercase;
font-family:sans-serif;
font-weight:bold;
transition:0.5s
}
.content .text-box a:hover{
background-color:black;
color:white;
font-family:'baloo bhai 2';
box-shadow:0 5px 7px;
transition:0.5s;
}
.sliding-effect{
animation:sliding 1s linear forwards;
opacity:0;
}
@keyframes sliding{
0%{
opacity:0;
}
100%{
opacity:1;
transform:translateX(5%);
}
}
.coca-cola{
margin-left:12px;
margin-top:10px;
z-index:-1;
}
.thumb{
position:absolute;
left:50%;
bottom:20px;
transform:translateX(-50%);
/* transform:translateY(19em); */
display:flex;
/* border:2px solid white; */
}
.thumb li{
list-style:none;
display:inline-block;
margin:0 20px;
cursor:pointer;
transition:0.5s;
/* border:2px solid black; */
}
.thumb li img{
max-width:55px;
transition:0.5s;
border-radius:15px;
box-shadow:0 10px 10px black;
/* border:2px solid purple; */
}
.thumb li img:hover{
transform:translateY(-15px);
transition:0.5s;
box-shadow:0 10px 10px white;
}
.sci{
/* border:2px solid white; */
margin-left:12px;
transition:0.5s;
position:relative;
right:-4em;
}
.sci li a{
/* border:2px solid black; */
font-size:45px;
transition:0.5s;
color:black;
}
.sci li a ion-icon{
box-shadow:0 10px 10px black;
border-radius:25%;
transition:0.5s;
}
.sci li a ion-icon:hover{
transform:translateX(-15px);
box-shadow:0 10px 10px white;
transition:0.5s;
}
.sci li{
list-style:none;
}