130 lines
1.9 KiB
CSS
130 lines
1.9 KiB
CSS
html {
|
|
background-color: #e7e6dd;
|
|
font-family: "Autour One", serif;
|
|
color: #363636;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.card a{
|
|
color: white;
|
|
}
|
|
.card {
|
|
width: 90%;
|
|
max-width: 500px;
|
|
margin: 40px auto;
|
|
border: none;
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
text-align: center;
|
|
background-color: #507962;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
|
|
color: white;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card {
|
|
animation: fadeSlideUp 1s ease-out both;
|
|
}
|
|
|
|
@keyframes fadeSlideUp {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(40px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.details img#profile {
|
|
animation: scaleFadeIn 2s ease-out 0.6s both;
|
|
}
|
|
|
|
@keyframes scaleFadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
/* .background {
|
|
background-color: #d1fff8;
|
|
height: 180px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
} */
|
|
|
|
#photo {
|
|
width: 140px;
|
|
height: auto;
|
|
object-fit: cover;
|
|
border-radius: 12px;
|
|
background-color: white;
|
|
|
|
}
|
|
.photo{
|
|
box-shadow: 0 25px 35px rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
.details {
|
|
margin-top: -60px; /* Pull profile image upward */
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.details img#profile {
|
|
width: 150px;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
border: 4px solid white;
|
|
background-color: white;
|
|
margin-top: 52px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.details h2 {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin: 10px 0 4px;
|
|
}
|
|
|
|
.details p {
|
|
margin: 4px 0;
|
|
line-height: 1.6;
|
|
font-size: 15px;
|
|
}
|
|
|
|
#balloon {
|
|
border-radius: 20%;
|
|
width: 260px;
|
|
height: auto;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.social-media {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 18px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.social-icon {
|
|
color: #fff;
|
|
font-size: 28px;
|
|
transition: transform 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.social-icon:hover {
|
|
color: #ffdb70;
|
|
transform: scale(1.2);
|
|
}
|