@import url('https://fonts.googleapis.com/css2?family=Jersey+10&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Pixelify+Sans:wght@400..700&display=swap');
@import url('fonts.css');

* {
    box-sizing: border-box;
    word-break: break-word;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

body {
    margin: 0;
    background: #5c3b57;
    color: #ffabf0;
    font-family: 'Jersey 10', 'fusion-pixel', sans-serif;
    font-size: 1.65rem;
}

.container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    background-image: url('images/background.png');
    background-size: cover;
}

.content-box {
    border: 2px solid;
    padding: 1rem;
    background: #36293485;
    backdrop-filter: blur(12px);
}

hr {
    color: inherit;
    border: none;
    border-top: 2px solid;
    margin: 0.5rem 0;
}

.name-box {
    display: flex;
    margin-bottom: 0rem;
}

.name-box .avatar {
    border: 2px solid #70bc36;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.name-box .name-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 2px solid;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
}

.name-box .name-content .name {
    font-size: 2.0rem;
}

.social-box {
    display: flex;
    justify-content: flex-start;
}

.social-box .icon-button:last-child {
    margin-right: 0;
}

.icon-button {
    border: 2px solid;
    color: inherit;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.icon-button:hover {
    background-color: rgba(129, 129, 129, 0.25);
}

.icon-button svg {
    display: block;
    width: 28px;
    height: 28px;
}

.link-button {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.link-button:last-child {
    margin-bottom: 0;
}

.link-button .icon-button {
    flex-shrink: 0;
}

@media (prefers-color-scheme: light) {
    body {
        background: #f6def2;
        color: #a16a98;
    }

    .content-box {
        background: #e7cce685;
    }
}
