@import url('https://fonts.googleapis.com/css2?family=Saira:wght@400;700&display=swap');
body {
    margin: 0;
    padding: 0;
    font-family: 'Saira', sans-serif;
    overflow-x: hidden;
    background-color: rgba(244, 244, 244, 1.0);
}
.top {
    width: 100%;
    background-color: rgb(0, 83, 229);
    padding-left: 20px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
.top img {
    height: 50px;
    vertical-align: middle;
}
.main {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: flex;
    min-height: calc(100vh - 54px);
    flex-wrap: wrap;
    padding: 20px;
    box-sizing: border-box;
    align-content: flex-start;
    outline: 0.5rem solid rgb(0, 62, 170);
    outline-offset: -0.5rem;
    flex-shrink: 1;
}
.cell {
    margin: 10px;
    color: rgb(31, 31, 31);
    font-weight: 800;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.cell img {
    width: 120px;
    height: 120px;
}
.cell:hover {
    background-color: rgba(100,130,240,0.38);
    border: 1px solid rgba(50,100,200,1);
}
.dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal {
    color: rgb(31, 31, 31);
    background-color: rgb(0, 0, 0);
    width: 60%;
    height: 70%;
    position: relative;
}

.modal-notepad {
    color: rgb(31, 31, 31);
    background-color: rgba(245, 245, 245, 1.0);
    width: 60%;
    height: 70%;
    position: relative;
    margin: 0 auto;
}
.title-bar {
    background-color: #111;
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    -webkit-app-region: drag;
}
.title {
    font-size: 14px;
    user-select: none;
}
.button {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    -webkit-app-region: no-drag;
    cursor: pointer;
}
.button:hover {
    background-color: #333;
}
#close-btn:hover {
    background-color: #e81123;
}
.controls {
    display: flex;
}

.video-container {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.video-container video {
    width: 100%;
    height: 95%;
    object-fit: contain;
    position: absolute;
}
video::-moz-full-screen-button {
  display: none;
}
video::-webkit-media-controls-fullscreen-button {
    display: none;
}
.cell-title {
    margin-top: 4px;
    font-size: 14px;
}
.cell-title-two {
    font-size: 14px;
    line-height: 1;
}
/* ten znc to jest tak po chuju zrobione */
znc {
    margin-left:0.9rem;
}
zncv {
    margin-left:0.6rem;
}
.notepad {
    margin-left: 20px;
    font-weight: 700;
    font-size: 20px;
}

endof {
    color:rgb(56, 126, 231);
}

.hidden {
    display: none !important;
}

.folder-btn.active {
    background-color: rgba(100,130,240,0.38);
    border: 1px solid rgba(50,100,200,1);
}
#back-btn {
    display: none;
}
.main.content-view-active .folder-btn {
    display: none;
}
.main.content-view-active #back-btn {
    display: flex;
}
.main.content-view-active .main-view-file {
    display: none;
}
.instagram img {
    position: absolute;
    width: 90px;
    height: auto;
    padding-bottom:20px ;
}
.cell-title-insta {
    margin-top: 7.7rem;
    font-size: 14px;
}
.main a {
    text-decoration: none !important;
}
.notepadk {
    margin-left: 20px;
    font-weight: 700;
    font-size: 20px;
}


body-snake {
    position: relative;
    margin: 0;
    background: #0d0f1a;
    color: rgba(245, 245, 245, 1.0);
    font-family: monospace;
    flex-direction: column;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color:  rgba(245, 245, 245, 1.0);
}
.hud div { 
    font-size: 14px;
    align-items: center;
    justify-content: center;
}
canvas {
    color:  rgba(245, 245, 245, 1.0);
    width: 320px;
    height: 320px;
    background: #0a0f20;
    image-rendering: pixelated;
}
.modal-snake {
    background-color: rgb(0, 0, 0);
}

#custom-toast {
    background-color: rgb(0, 83, 229);
    border:5px solid rgb(0, 83, 229);
    position: fixed;
    right: 20px;
    bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    cursor: pointer;
    overflow: hidden;
    height: 230px;
    width: 460px;
}
#custom-toast.toast-hidden {
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
}
#custom-toast.toast-visible {
    transform: translateX(0);
    opacity: 1;
}
.toast-content {
    margin-right: 15px;
}
.toast-content-top b {
    font-size: 1.3rem;
}
.toast-content p {
    margin: 5px 0 0;
    padding: 0;
    font-size: 0.9em;
    color: #ddd;
}
.toast-close {
    background: rgb(255, 93, 17);
    color: rgba(245, 245, 245, 1.0);
    border: 2px solid rgba(245, 245, 245, 1.0);
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -2px;
}
.toast-close:hover {
    background: rgba(245, 245, 245, 1.0);
    color: rgb(255, 93, 17);
    border: 2px solid rgb(255, 93, 17);
}
.toast-content-top {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 10px 10px;
    box-sizing: border-box;
    margin: 0;
    background: linear-gradient(to bottom, rgb(0, 83, 229), rgb(0, 65, 179));
    color: rgba(245, 245, 245, 1.0);
}
.toast-content-main {
    font-size: 1.2rem;
    align-items: center;
    padding: 3.4rem 3.125rem 3.4rem 11rem;
    width: 100%;
    background-color: rgba(245, 245, 245, 1.0);
    color: rgb(0, 0, 0);
}
.toast-content-main p {
    padding-left: 20px;
}

.notepadc {
    display: inline-block;
}
.notepadc img {
    display: block;
}
.modal-notepadc {
    color: rgb(31, 31, 31);
    background-color: rgba(245, 245, 245, 1.0);
    width: auto;
    height: auto;
    position: relative;
}
#background-video {
    z-index: -1000;
    position: absolute;
}
/* #background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    z-index: -1000;
} */

.cennik-display {
    font-size: 18px;
}

.cennik-display hdr {
    color: rgb(255, 163, 43);
    font-size: 2rem;
    font-weight: 800;
}














@media (max-width: 1024px) {
    .notepadk {
    margin-left: 20px;
    font-weight: 600;
    font-size: 18px;
}
    .notepad {
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
    }
.main {
    width: 100vw;
}
.cell {
    width: 100px;
    height: 100px;
}
.cell img {
    width: 80px;
    height: 80px;
}
.cell-title {
    margin-top: 3px;
    font-size: 11px;
}
.cell-title-two {
    margin-top: 3px;
    font-size: 11px;
}
.instagram img {
    width: 70px;
    height: auto;
    padding-bottom:10px;
}
.cell-title-insta {
    margin-top: 5.3rem;
    font-size: 11px;
}
znc {
    margin-left:0.8rem;
}
zncv {
    margin-left:0.5rem;
}
#custom-toast {
    background-color: rgb(0, 83, 229);
    border:5px solid rgb(0, 83, 229);
    position: fixed;
    right: 20px;
    bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    cursor: pointer;
    overflow: hidden;
    height: auto;
    width: auto;
}
#custom-toast.toast-hidden {
    transform: translateX(calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
}
#custom-toast.toast-visible {
    transform: translateX(0);
    opacity: 1;
}
.toast-content {
    margin-right: 15px;
}
.toast-content strong {
    font-size: 1.1em;
}
.toast-content p {
    margin: 5px 0 0;
    padding: 0;
    font-size: 0.9em;
    color: #ddd;
}
.toast-close {
    background: rgb(255, 93, 17);
    color: rgba(245, 245, 245, 1.0);
    border: 2px solid rgba(245, 245, 245, 1.0);
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -2px;
}
.toast-close:hover {
    background: rgba(245, 245, 245, 1.0);
    color: rgb(255, 93, 17);
    border: 2px solid rgb(255, 93, 17);
}
.toast-content-top {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 5px 15px;
    box-sizing: border-box;
    margin: 0;
    background: linear-gradient(to bottom, rgb(0, 83, 229), rgb(0, 65, 179));
    color: rgba(245, 245, 245, 1.0);
}
.toast-content-main {
    align-items: center;
    padding: 10px 15px 10px 15px;
    width: 100%;
    background-color: rgba(245, 245, 245, 1.0);
    color: rgb(0, 0, 0);
}
.toast-content-main p {
    padding-left: 20px;
}
.cennik-display {
    font-size: 1rem;
}

.cennik-display hdr {
    font-size: 1.5rem;
}
}




@media (max-width: 768px) {
    .notepadk {
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
}
.cell {
    width: 70px;
    height: 70px;
}
.cell img {
    width: 56px;
    height: 56px;
}
.cell-title {
    margin-top: 3px;
    font-size: 7px;
}
.cell-title-two {
    margin-top: 3px;
    font-size: 7px;
}
.instagram img {
    width: 45px;
    height: auto;
    padding-bottom:10px;
}
.cell-title-insta {
    margin-top: 3.8rem;
    font-size: 7px;
}
znc {
    margin-left:0.4rem;
}
zncv {
    margin-left:0.2rem;
}
.cennik-display {
    font-size: 0.8rem;
}

.cennik-display hdr {
    font-size: 1.2rem;
}
}




@media (max-width: 700px) {
    .notepad {
    margin-left: 20px;
    font-weight: 600;
    font-size: 13px;
}
}





@media (max-width: 640px) {
    .notepad {
    margin-left: 20px;
    font-weight: 600;
    font-size: 10px;
}
    .notepadc img {
        width: 350px;
}
}





@media (max-width: 500px) {
    .notepadk {
    margin-left: 20px;
    font-weight: 600;
    font-size: 12px;
}
    .notepad {
    margin-left: 20px;
    font-weight: 600;
    font-size: 8px;
}
.notepadc img {
        width: 320px;
    }
}






@media (max-width: 400px) {
    .notepadk {
    margin-left: 20px;
    font-weight: 600;
    font-size: 10px;
}
    .notepadc img {
        width: 300px;
    }
}






@media (max-width: 340px) {
    .notepad-k {
    margin-left: 20px;
    font-weight: 600;
    font-size: 8px;
}
.notepadc img {
        width: 250px;
    }
}

@media (max-width: 300px) {
.notepadc img {
        width: 220px;
    }
}