body {
    font-family: 'Pixelify Sans', sans-serif;
    background: black;
    height: 100%;
}

/* =======================
   PROFILE
======================= */

.profile-box {
    position: absolute;
    top: 20px;
    left: 20px;
}

.img-avatar {
    width: 140px;
    height: 140px;
    position: absolute;
    outline: 4px solid white;
    z-index: 100;
}

.username {
    position: absolute;
    color: white;
    font-size: 50px;
    font-weight: 100;
    left: 170px;
    top: 20px;
}

.pronouns {
    position: absolute;
    color: white;
    left: 170px;
    top: 70px;
    font-size: 20px;
    font-weight: 100;
    white-space: nowrap;
}

/* =======================
   DESCRIPTION
======================= */

.description-box {
    position: absolute;
    top: 200px;
    left: 20px;
}

.description {
    position: absolute;
    color: white;
    top: 67px;
    font-size: 20px;
    font-weight: 100;
    width: 800px;
}

/* =======================
   WAKATIME BUTTON
======================= */

.wakatime-button {
    position: absolute;
    top: -20px;
    background-color: white;
    outline: 4px solid white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 140px;
    height: 20px;
}

.wakatime-button-text {
    color: black;
    font-family: 'Pixelify Sans', sans-serif;
    text-decoration: underline;
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    font-size: 20px;
}

/* =======================
   WINDOWS
======================= */

.window {
    display: none;
    position: absolute;
    top: 250px;
    left: 20px;
    width: 345px;
    background: black;
    outline: 4px solid white;
    font-family: 'Pixelify Sans', sans-serif;
    z-index: 1000;
}

.contact-win-width {
    width: 445px;
}

.titlebar {
    background: white;
    color: black;
    padding: 5px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.close {
    cursor: pointer;
    font-weight: bold;
}

.content {
    padding: 10px;
    color: white;
    font-size: 18px;
}

/* =======================
   MUSIC BOX
======================= */

.music-box {
    position: absolute;
    bottom: 15px;
    left: 20px;
    outline: 4px solid white;
    width: 800px;
    height: 128px;
    z-index: 9998;
    background: black;
}

.music-cover {
    position: absolute;
    width: 128px;
    height: 128px;
}

.recetly-played {
    position: absolute;
    color: white;
    left: 160px;
    top: 22px;
    font-size: 18px;
    font-weight: 100;
}


/* WRAPPER (ważne dla marquee) */
.music-title-wrapper {
    position: absolute;
    left: 160px;
    top: 38px;
    width: 600px;
    overflow: hidden;
    white-space: nowrap;
}

/* TITLE */
.music-title {
    color: white;
    font-size: 40px;
    font-weight: 100;
    display: inline-block;

    transform: translateX(0px);
    transition: transform 0.8s linear;
    will-change: transform;
}

/* ARTIST */
.music-artist {
    position: absolute;
    color: white;
    left: 160px;
    top: 84px;
    font-size: 20px;
    font-weight: 100;
}

/* =======================
   SIDEBAR
======================= */

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    background: black;
    border-left: 3px dashed white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    transition: transform 0.3s ease;
    transform: translateX(0);
}

.sidebar.hidden {
    transform: translateX(100%);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.sidebar li {
    margin: 20px 0;
}

.sidebar a {
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 100;
}

.sidebar a:hover {
    color: #f0f0f0;
}

/* hamburger */
.menu-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    z-index: 10000;
    cursor: pointer;
}

/* submenu */
.submenu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.submenu li {
    margin: 10px 0;
}

.submenu a {
    font-size: 18px;
    color: #ccc;
}

.submenu a:hover {
    color: white;
}

.contact-link {
    color: #ccc;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.bucketwebring {
    position: absolute;
    bottom: 20px;
    text-align: center;
    color: white;
    font-size: 16px;
    width: 100%;
}

.bucketwebring a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.bucketwebring a:hover {
    text-decoration: underline;
}

/* =======================
   SNOW
======================= */

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* =======================
   DESKTOP
======================= */

@media (min-width: 1038px) {
    .menu-toggle {
        display: none;
    }

    .sidebar {
        transform: translateX(0);
    }
}

/* =======================
   MOBILE
======================= */

@media (max-width: 1038px) {
    .bucketwebring {
        bottom: 35px;
    }

    .img-avatar {
        top: 10px;
        height: 120px;
        width: 120px;
    }

    .username {
        top: 25px;
        font-size: 40px;
        left: 140px;
    }

    .pronouns {
        font-size: 16px;
        top: 70px;
        left: 143px;
    }

    .wakatime-button {
        top: -35px;
        width: 120px;
    }

    .description {
        top: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 400px;
    }

    .music-box {
        width: 400px;
    }

    .music-title-wrapper {
        left: 140px;
        top: 45px;
        width: 220px;
    }

    .music-title {
        font-size: 30px;
    }

    .music-artist {
        left: 140px;
    }

    .recetly-played {
        left: 140px;
        top: 22px;
        font-size: 16px;
        font-weight: 100;
    }

    /* mobile sidebar */
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }
}
