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

body {
    font-family: 'Roboto', sans-serif;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: black;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url('sources/background.webp');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;

    z-index: -2;
    animation: fadeIn 2s ease;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 35px;
    padding-inline: 25px;
    padding-block: 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
    width: 650px;
    animation: appearance 1.5s ease-out forwards;
}

.profile-pic img {
    width: 180px;
    height: 180px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-radius:50%;
    object-fit: cover;
    display: block;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: appearance 1.5s ease-out;
} 

.profile-pic img:hover {
    transform: rotate(-10deg);
}

.info {
    margin-left: 25px;
}

.info h1 {
    color: black;
    line-height: 38px;
    font-size: 26px;
    letter-spacing: 0px;
    margin-bottom: 2px;
}

.subtitle, .status {
    line-height: 20px;
    color: #2B2B2B;
    font-size: 16px;
    letter-spacing: 0px;
    margin-bottom: 1px;
    font-weight: 400;
}

.socials {
    color: black;
    margin-top: 30px;
}

.social-label {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    animation: pos 1.4s ease forwards;
}

.icons {
    display: flex;
    gap: 7px;
    padding-top: 4px;
}

.custom-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.icons a {
    color: black;
    opacity: 0;
    will-change: transform;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: op 2s ease forwards;
}

.icons a:nth-child(1) {animation-delay: 0.2s;}
.icons a:nth-child(2) {animation-delay: 0.4s;}
.icons a:nth-child(3) {animation-delay: 0.6s;}
.icons a:nth-child(4) {animation-delay: 0.8s;}
.icons a:nth-child(5) {animation-delay: 1.0s;}
.icons a:nth-child(6) {animation-delay: 1.2s;}

.icons a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

@keyframes pos {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes op {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes appearance {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02); 
    }
    to {
        opacity: 1;
    transform: scale(1);
}
}

@media (max-width: 600px) {
    body {
        overflow-y: hidden;
    }

    .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 90%;
        max-width: 400px;
        gap: 15px;
        padding: 30px 20px;
    }

    .info {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile-pic img {
        width: 140px;
        height: 140px;
    }

    .icons {
        justify-content: center;
        gap: 9px;
    }

    .info h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
}