* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #343a40;
}

.card {
    background: #fefae0;
    width: 90%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 8px;
    position: relative;
}

.header {
    height: 150px;
    border-radius: 25px;
    overflow: hidden;
}

.header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-left: 20px;
}

.profile-picture {
    position: absolute;
    top: 100px;
    opacity: 0;
}


.details {
    margin-top: 60px;
    text-align: left;
    padding: 0 20px;
    opacity: 0;
}

.card, .profile-picture, .details {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.details h3 {
    font-size: 1.4rem;
}

.details p {
    font-size: 0.9rem;
    color: gray;
    margin-top: 4px;
    max-width: 280px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    text-align: center;
}

.stats p {
    font-size: 0.8rem;
}

.stats a {
    color: black;
    text-decoration: none;
}

.stats i {
    font-size: 1.4rem;
    transition: 0.3s;
}

.stats a.github:hover i {
    color: #333;
}

.stats a.instagram:hover i {
    color: #E1306C; 
}

.stats a.facebook:hover i {
    color: #1877F2; 
}

.btn-container {
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
}

button {
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: black;
    color: white;
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.03);
    background-color: gray;
    color: black;
    cursor: pointer;
}

button:active {
    background-color: white;
}


@media (max-width: 240px) {

    .stat p {
        display: none;
    }

}
