/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17pt;
    --background-height: 100vh;
    --viewport-height: 100vh;
}

body {
    min-height: var(--viewport-height, 100vh);
    overflow-x: hidden;
    background-color: #7D42B8;
    font-family: 'Lucida Console', 'Courier New', monospace;
}

/* Background */
body::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--background-height, 100vh);
    z-index: -2;
    background-image: radial-gradient(53% 67% at 50% 81%, #FFC0B8 0%, #7D42B8 100%);
}

/* Noise overlay */
body::after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--background-height, 100vh);
    z-index: -1;
    background-color: #9654AE;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.875' result='noise'/%3E%3CfeColorMatrix type='matrix' values='0.99609375 0 0 0 0 0 0.5 0 0 0 0 0 0.99609375 0 0 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23noise)' fill='none'/%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

body.is-ready::after {
    opacity: 1;
}

/* Wrapper */
#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: var(--viewport-height, 100vh);
    position: relative;
    z-index: 1;
}

/* Main */
#main {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

#main > .inner {
    width: 33rem;
    max-width: calc(100% - 6rem);
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Profile Image */
#image01 {
    display: block;
}

#image01 .frame {
    width: 8rem;
    border-radius: 100%;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0rem 0.75rem 1.125rem 0rem rgba(0, 0, 0, 0.122);
    transition: none;
}

#image01 .frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 100%;
}

/* Fade-up animation for image */
#image01 {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

body.is-ready #image01 {
    opacity: 1;
    transform: translateY(0);
}

/* Nav */
nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Icons */
#icons01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    font-size: 2em;
}

/* Fade-in animation for icons */
#icons01 {
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: 0.5s;
}

body.is-ready #icons01 {
    opacity: 1;
}

#icons01 li {
    list-style: none;
}

#icons01 li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    border-radius: 100%;
    background-color: rgba(20, 20, 23, 0.188);
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#icons01 li a:hover {
    transform: scale(1.1125);
}

#icons01 li a svg {
    display: block;
    width: 0.875em;
    height: 0.875em;
    fill: rgba(255, 255, 255, 0.902);
    pointer-events: none;
}

#icons01 li a span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Screen-reader only */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Loading state */
body.is-loading #wrapper {
    opacity: 0;
}

body #wrapper {
    opacity: 1;
    transition: opacity 0.75s ease-in-out;
}

/* Responsive */
@media screen and (max-width: 1680px) {
    html {
        font-size: 12pt;
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 12pt;
    }
}

@media screen and (max-width: 980px) {
    html {
        font-size: 11pt;
    }
}

@media screen and (max-width: 736px) {
    html {
        font-size: 11pt;
    }

    #main > .inner {
        max-width: calc(100% - 4rem);
        padding: 2rem 0;
        gap: 0.875rem;
    }
}

@media screen and (max-width: 480px) {
    #main > .inner {
        max-width: calc(100% - 3rem);
        padding: 1.5rem 0;
    }
}

@media screen and (max-width: 360px) {
    html {
        font-size: 10pt;
    }

    #main > .inner {
        max-width: calc(100% - 2rem);
    }
}
