@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
    --bgColor: #223344;
    --accentColor: #ffffff;
    --font: 'Lato', sans-serif;
    --delay: 0.3s;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font);
    background-color: #870f57;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    opacity: 0;
    animation: transitionAnimation 1s ease-out var(--delay) forwards;
}

body.theme-light {
    background-image: none;
    background-color: var(--accentColor);
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: 100%;
}

#profilePicture,
#profilePicture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 40px;
}

#idcont {
    padding: 0 0 30px 0;
}

#userName {
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 10px;
}

#ipjm {
    color: #fff;
    font-size: 1.32rem;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 40px;
}

#links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin: 8px 0;
    padding: 10px 16px;
    border: 2px solid var(--accentColor);
    border-radius: 50px;
    text-decoration: none;
    color: var(--accentColor);
    opacity: 0.85;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.link:hover,
.link:active {
    background-color: var(--accentColor);
    color: var(--bgColor);
    opacity: 1;
    transform: scale(1.02);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.text {
    flex: 1;
    text-align: center;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

footer .social {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

footer .social a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
    color: var(--accentColor);
}

footer .social a:hover {
    transform: translateY(-6px) scale(1.15);
    opacity: 0.85;
}

footer .privacy {
    display: block;
    font-size: 0.8rem;
    color: var(--accentColor);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

footer .privacy:hover {
    color: #ffccff;
    transform: translateY(-2px);
    opacity: 0.85;
}

@media (max-width: 600px) {
    #profilePicture,
    #profilePicture img {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }

    #userName {
        font-size: 2rem;
    }

    #ipjm {
        font-size: 1.1rem;
    }

    .link {
        max-width: 100%;
        padding: 10px 12px;
    }
}

@keyframes transitionAnimation {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
