body {
    font-family: 'Pixelify Sans', sans-serif;
    background:black;
    height: 100%;
    z-index: 0;  
}
.box {
    position: absolute; 
    top: 30px;
    left: 30px;
    width: 770px;
    height: calc(100% - 60px); 
    background-color: black; 
    outline: 4px solid white;
    z-index: 1000;
    left: 50%;
    transform: translateX(-60%);
}
.title {
    position: absolute;
    color:white;
    font-size: 50px;
    font-weight: 100;
    left: 170px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.description {
    position: absolute;
    color:white;
    font-size: 20px;
    font-weight: 100;
    left: 50%;
    transform: translateX(-50%);
    top: 110px;
}
.httpcat-ui {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.httpcat-ui input,
.httpcat-ui button {
    font-family: 'Pixelify Sans', sans-serif;
    background: black;
    color: white;
    border: 2px solid white;
    padding: 10px;
    margin: 5px;
}

.httpcat-ui button:hover {
    background: white;
    color: black;
    cursor: pointer;
}

.httpcat-ui img {
    margin-top: 20px;
    max-width: 500px;
    width: 100%;
    border: 2px solid white;
}
pre {
    position: absolute;
    top: 360px;
    left: 25px;
    width: calc(100% - 80px);
    height: 180px;
    background: black;
    color: white;
    padding: 10px;
    border: 1px solid white;
    margin-top: 10px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 12px;
    height: 180px;
}
.catimg {
    position: relative;
}
/* =======================
   SIDEBAR
======================= */

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    background: black;
    border-left: 3px dashed white;
    display: flex;
    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;
}


.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;
}

.menu-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    z-index: 10000;
    cursor: pointer;
}
.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;
}
/* padający śnieg */
#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);
    }
}

@media (max-width: 1038px) {
    /* mobile sidebar */
    .bucketwebring {
        bottom: 35px;
    }
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }
    .box {
        left: 30px;
        transform: translateX(0);
        width: calc(100% - 100px);
        max-width: 770px;
        min-width: 260px;
    }
}
