body {
font-family
:
'Montserrat'
,
sans-serif
;
background
: linear-gradient(
90
deg,
#f1a2ff
,
#caf072
);
margin
:
0
;
padding
:
0
;
}
header {
text-align
:
center
;
padding
:
20px
;
color
:
#32CD32
;
font-size
:
24px
;
font-weight
:
bold
;
}
.logo {
margin
:
0
;
font-size
:
36px
;
color
:
rgb
(
15
,
149
,
15
);
}
.subtitle {
margin
:
0
;
font-size
:
18px
;
color
:
black
;
}
.profile-card {
background-color
:
#e6f7ff
;
border-radius:
10px
;
box-shadow:
0px
0px
20px
rgba(
0
,
0
,
0
,
0.3
);
width
:
400px
;
text-align
:
center
;
overflow
:
hidden
;
animation: fadeIn
1
s ease-in-out;
margin
:
20px
auto
;
}
@keyframes fadeIn {
0%
{
opacity:
0
;
transform: translateY(
-20px
);
}
100%
{
opacity:
1
;
transform: translateY(
0
);
}
}
.card-header {
background-color
:
#007bff
;
color
:
#fff
;
padding
:
20px
;
position
:
relative
;
}
.card-header img {
width
:
100px
;
height
:
100px
;
border-radius:
50%
;
margin-bottom
:
10px
;
border
:
5px
solid
#fff
;
box-shadow:
0px
0px
10px
rgba(
0
,
0
,
0
,
0.3
);
transition: transform
0.3
s ease-in-out;
}
.card-header img:hover {
transform: scale(
1.1
);
}
.toggle-button {
background-color
:
#ff6f61
;
color
:
#fff
;
border
:
none
;
padding
:
10px
;
cursor
:
pointer
;
transition: background-color
0.3
s, color
0.3
s, transform
0.3
s;
position
:
absolute
;
top
:
50%
;
right
:
20px
;
transform: translateY(
-50%
);
border-radius:
50%
;
}
.toggle-button:hover {
background-color
:
#e7453d
;
}
.card-details {
display
:
none
;
padding
:
20px
;
background
: linear-gradient(
90
deg,
#ff6f61
,
#ff7676
);
color
:
#fff
;
}
.card-details p {
margin
:
10px
0
;
font-size
:
16px
;
}
.show-details {
display
:
block
;
animation: slideIn
0.5
s forwards;
}
@keyframes slideIn {
0%
{
transform: translateY(
-20px
);
opacity:
0
;
}
100%
{
transform: translateY(
0
);
opacity:
1
;
}
}
.social-icons {
margin-top
:
20px
;
}
.icon-link {
font-size
:
24px
;
margin-right
:
10px
;
text-decoration
:
none
;
transition: color
0.3
s;
}
.icon-link:nth-child(
1
) i {
color
:
#e4405f
;
}
.icon-link:nth-child(
2
) i {
color
:
#1da1f2
;
}
.icon-link:nth-child(
3
) i {
color
:
#1877f2
;
}
.icon-link:nth-child(
4
) i {
color
:
#0077b5
;
}
.icon-link:hover {
color
:
#ff6f61
;
}