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

body {
    background: url(./assets/BgWEBP.webp) no-repeat top center/cover; /* Fallback para navegadores antigos */
    background: url(./assets/BgWEBP.webp) no-repeat top center/cover; /* Prioritário para navegadores modernos */
    height: 100vh;
}

body *{
    font-family: 'Inter', sans-serif;
}

#container {
    width: 100%;
    max-width: 588px;
    margin: 56px auto 0px;
    padding: 0 24px;
}

/*Profile*/
#profile {
    text-align: center;
    padding: 24px;
}

#profile img {
    width: 112px;
}

#profile p {
    font-weight: 500;
    line-height: 24px;
    margin-top: 8px;
}

#profile h1 {
    color: white;
}

/*links*/
ul {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 24px 0;
}

ul li a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px 24px;

    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    text-decoration: none;
    font-weight: 500;
    
    color: white;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

ul li a:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid white;

    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

ul li a:active {
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid white;
    transform: translateY(1px);
}

ul li a:focus {
    outline: 2px solid white;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

footer {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

footer a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 400px) {
    #container {
        padding: 0 16px;
    }
    ul li a {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}