@-webkit-keyframes pan-overlay {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 0% -100%;
    }
}

@keyframes pan-overlay {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 0% -100%;
    }
}

@-webkit-keyframes pan-image {
    0% {
        background-position: 36% 42%;
        background-size: 200%;
    }

    20% {
        background-position: 30% 35%;
        background-size: 200%;
    }

    20.0001% {
        background-position: 60% 85%;
        background-size: 500%;
    }

    40% {
        background-position: 49% 81%;
        background-size: 500%;
    }

    40.0001% {
        background-position: 80% 42%;
        background-size: 300%;
    }

    60% {
        background-position: 84% 33%;
        background-size: 300%;
    }

    60.0001% {
        background-position: 0% 0%;
        background-size: 300%;
    }

    80% {
        background-position: 15% 4%;
        background-size: 300%;
    }

    80.0001% {
        background-position: 80% 10%;
        background-size: 300%;
    }

    100% {
        background-position: 72% 14%;
        background-size: 300%;
    }
}

@keyframes pan-image {
    0% {
        background-position: 36% 42%;
        background-size: 200%;
    }

    20% {
        background-position: 30% 35%;
        background-size: 200%;
    }

    20.0001% {
        background-position: 60% 85%;
        background-size: 500%;
    }

    40% {
        background-position: 49% 81%;
        background-size: 500%;
    }

    40.0001% {
        background-position: 80% 42%;
        background-size: 300%;
    }

    60% {
        background-position: 84% 33%;
        background-size: 300%;
    }

    60.0001% {
        background-position: 0% 0%;
        background-size: 300%;
    }

    80% {
        background-position: 15% 4%;
        background-size: 300%;
    }

    80.0001% {
        background-position: 80% 10%;
        background-size: 300%;
    }

    100% {
        background-position: 72% 14%;
        background-size: 300%;
    }
}

@-webkit-keyframes rotate {
    from {
        rotate: 0deg;
    }

    50% {
        scale: 1 1.5;
    }

    to {
        rotate: 360deg;
    }
}

@keyframes rotate {
    from {
        rotate: 0deg;
    }

    50% {
        scale: 1 1.5;
    }

    to {
        rotate: 360deg;
    }
}

* {
    box-sizing: border-box;
    content: '\F0488';
}

html,
body {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

#blob {
    height: 34vmax;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: linear-gradient(
        to right,
        rgb(var(--primary-1)),
        rgb(var(--primary-2))
    );
    -webkit-animation: rotate 20s infinite;
    animation: rotate 20s infinite;
    opacity: 0.5;
}

#blur {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    -webkit-backdrop-filter: blur(12vmax);
    backdrop-filter: blur(12vmax);
}

#footer {
    bottom: 2rem;
    position: absolute;
    text-transform: lowercase !important;
    z-index: 1000;
}

#info,
#trophies {
    display: block;
}

#trophies:before {
    content: '';
}

#trophies {
    padding-bottom: 0.1rem;
    vertical-align: middle;
}

.trophy {
    font-family: 'Segoe UI Emoji' !important;
}

.trophy:is(:hover, :focus) {
    cursor: help;
}

.icon-img {
    padding-top: 5px;
    vertical-align: top;
    width: 23px;
}

body {
    height: 100vh;
    display: grid;
    place-items: center;
    background-color: rgb(var(--background));
    margin: 0rem;
    overflow: hidden;
}

:root {
    --background: 29 30 34;
    --primary-1: auto;
    --primary-2: auto;
}

.screen {
    width: 350px;
    display: flex;
    border: 3px solid rgb(var(--primary-1) / 80%);
    aspect-ratio: 10 / 16;
    border-radius: 1rem;
    background-color: rgb(var(--primary-1) / 15%);
    overflow: hidden;
    position: fixed;
    transform: translateY(0);
    z-index: 10;
}

.screen-overlay {
    background: linear-gradient(
        rgb(var(--primary-1) / 0.15),
        rgb(var(--primary-1) / 0.15) 3px,
        transparent 3px,
        transparent 9px
    );
    background-size: 100% 9px;
    height: 100%;
    width: 100%;
    -webkit-animation: pan-overlay 22s infinite linear;
    animation: pan-overlay 22s infinite linear;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 0px;
}

.screen:after {
    width: 25%;
    bottom: 0rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.screen:after,
.screen:before {
    content: '';
    height: 5px;
    position: absolute;
    z-index: 4;
    left: 50%;
    translate: -50% 0%;
    background-color: white;
}

.screen:before {
    width: 15%;
    top: 0rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.screen > .screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 4rem;
    position: relative;
    z-index: 3;
    margin: 1rem;
    padding-bottom: 6rem;
    border: 1px solid rgb(var(--primary-1) / 50%);
    border-radius: 0.6rem;
}

.screen > .screen-content > .screen-icon {
    color: white;
    font-size: 4rem;
    text-shadow: 0px 0px 0.5rem white;
}

.screen > .screen-content > .screen-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.screen > .screen-content > .screen-user:after {
    height: 3px;
    width: 30px;
    translate: 26px calc(-1rem - 0.5px);
}

.screen > .screen-content > .screen-user:before {
    height: 2px;
    width: 50px;
    translate: -20px -1rem;
    opacity: 0.75;
}

.screen > .screen-content > .screen-user:before,
.screen > .screen-content > .screen-user:after {
    content: '';
    position: absolute;
    top: 0px;
    background-color: rgb(var(--primary-1));
    border-radius: 1rem;
    box-shadow: 0px 0px 8px 3px rgb(var(--primary-1) / 60%);
}

.screen > .screen-content > .screen-user > .link {
    opacity: 0.8;
    font-size: 1rem;
    text-shadow: 0px 0px 0.5rem white;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-decoration: none;
}

.screen
    > .screen-content
    > .screen-user
    > .link
    > .link-span:is(:hover, :focus) {
    text-decoration: underline;
}

.screen > .screen-content > .screen-user > .name {
    position: relative;
    font-size: 3rem;
    font-weight: 400;
}

.screen > .screen-content > .screen-user > .name:after {
    top: 45%;
    left: -1.5rem;
}

.screen > .screen-content > .screen-user > .name:before {
    top: 55%;
    right: -1.5rem;
}

.screen > .screen-content > .screen-user > .name:before,
.screen > .screen-content > .screen-user > .name:after {
    height: 4px;
    width: 4px;
    position: absolute;
    border: 2px solid white;
    border-radius: 2px;
}

.screen > .screen-content > .screen-user > .screen-links > a {
    color: white;
    display: inline;
    font-size: 1.6rem;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
}

#footer,
.screen > .screen-content > .screen-user {
    font-family: 'Source Code Pro', 'Courier New', Courier, monospace;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

.screen > .screen-image {
    background-image: url('../images/846-2000x3000-grayscale.jpg');
    /* https://picsum.photos/2000/1500.jpg */
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    left: 0px;
    top: 0px;
    background-size: 300%;
    background-position: 0% 0%;
    -webkit-filter: sepia(100%) hue-rotate(160deg);
    filter: sepia(100%) hue-rotate(160deg);
    opacity: 0.6;
    -webkit-animation: pan-image 15s linear infinite;
    animation: pan-image 15s linear infinite;
}

@media (max-width: 700px) {
    .screen {
        scale: 0.6;
        margin-bottom: 0rem;
    }
}
