:root {
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #860038;
    color: #fff;
    font-family: Arial, sans-serif;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--page-background) center / cover no-repeat;
    content: '';
}

main {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.avatar {
    width: 256px;
    height: 256px;
    margin-bottom: 20px;
    border: 5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.links {
    display: flex;
    width: min(100%, 400px);
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
}

.link {
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: background-color .2s, color .2s;
}

.link:hover,
.link:focus-visible {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .link {
        width: min(100%, 300px);
    }
}
