@font-face {
    font-family: 'pik';
    src: url('../assets/piksel.ttf');
}

* {
    margin: 0; padding: 0;
    -webkit-user-drag: none;
    user-select: none;
}

body {
    width: 100vw;
    height: 100vh;
    display: grid;
    place-items: center;
    image-rendering: pixelated;
    background-color: black;
    font-family: 'pik';
    font-size: 16px;
    color: #eee;
}

main {
    display: grid;
    gap: 3px;
    grid-template-columns: auto auto;
}

#photo {
    position: relative;
    height: 370px;
    width: 390px;
    background: url('./bg2.png');
    #avatar {
        position: absolute;
        left: 62px; /* just eyeball it lol */
        bottom: 3px;
    }
}

#right {
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    gap: 3px;

    #panels {
        flex-grow: 1;
        border-right: solid white 2px;
        box-sizing: border-box;
        width: calc(100% - 20px);

        display: grid;
        grid-template-columns: 233px auto;

        #outbound {
            border-right: solid white 2px;

            & a {
                gap: 4px;
                margin: 3px;
                padding: 2px;
                text-decoration: none;
                color: #ccc;
                transform: perspective(0px);
                display: flex;
                justify-content: start;
                align-items: center;

                hr {
                    flex-grow: 1;
                    border: none;
                    border-top: 1px dotted white;
                }
            }

            & a:hover {
                color: white;
                outline: dotted white 1px;
            }

            & a:active {
                outline: solid white 1px;
            }
        }
    }

    #music {
        text-decoration: none;
        color: #eee;
        border: solid white 2px;
        height: 70px;
        width: calc(100% - 20px);
        box-sizing: border-box;
        gap: 10px;
        transform: perspective(0px);
        display: flex;
        align-items: center;
        padding-left: 8px;
        
        #cover {
            height: 50px;
            width: 50px;
            clip-path: polygon(
                20% 0%, 
                80% 0%, 
                100% 0%, 
                100% 80%, 
                80% 100%, 
                0% 100%, 
                0% 80%, 
                0% 20%
            );
        }

        p#trackid {
            width: 382px;
            overflow: hidden;
            height: 6ch;
            display: flex;
            align-items: center;
        }
    }

    #DNE {
        position: relative;
        left: -20px;
        bottom: 0;
    }

    #data {
        transform: perspective(0px);
        padding: 2px;
        #dates {
            text-align: center;
            color: #aaa;
            border-bottom: solid #aaa 1px;
        }

        #bio {
            height: 90%;
            display: grid;
            place-items: center;
        }
    }
}

@media screen and (max-width: 875px) {
    main {
        display: flex;
        gap: 5px;
        flex-direction: column;
    }

    #outbound {
        border-left: solid white 2px;
    }

    #photo-frame {
        display: none;
    }

    #photo {
        background: none;
    }

    #avatar {
        left: 0 !important;
        bottom: -8px !important;
    }
}

@media screen and (max-width: 580px) {
    main {
        display: none;
    }

    body::after {
        content: 'GET OFF YOUR PHONE AND USE A REAL COMPUTER.';
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}