.belkaCntrm {
    text-align: center;
}
.belka_profil {
    padding: 10px;
}
.pSize {
    margin: 0;
    font-weight: 800;
    font-size: large;
    text-align: center;
}
.aoutline {
    margin: 10px;
    font-size: 1.2em;
}
.picf {
    /*transition: transform 1s;*/
}
.picf:hover {
    position: relative;
    /*transform: scale(2) translate(0px,30px);*/
    z-index: 9999;
}
.preTxt {
    display: block;
    min-height: auto;
    line-height: 1.25;
}
.audioF {    
    width: 98%;
    border-radius: 17px;
    border: 3px solid var(--yel);
    margin: 15px 0;
}
audio {
    width: 90%;
    height: 100px;
}
audio::-webkit-media-controls-panel {
         background-color: var(--yel);
                
}
.red {
    color: var(--red);
}

@media screen and (max-width: 1070px) {
.picf:hover {
     transform: scale(1.5) translate(0px,0px);
}
}
/***************************************** Foldery ********************************/
.pFo {
    margin-bottom: 0;
    font-size: 200%;
}
.lnkFo {
    position: relative;
    display: inline-block;
    width: 35px;
    text-align: center;
    padding: 13px;
    margin: 5px;    
}
.folCon {
    max-height: 163px;
    overflow: auto;
    border: 1px solid var(--silv);
    border-radius: 5px;
}
.sel {
    width: 61px;
    height: 42px;
    position: absolute;
    left: 0px;
    top: 0px;
    background: var(--silv);
    border-radius: 3px;
}
/************************************* Works Right/Left ****************************************/
.back_con {
    position: relative;
    float: left;
    width: 100%;
    height: 62px;
    overflow: hidden;
}
#back {float:left;display:block;width:calc(50% - 16px);height:100%;text-align:center;padding:7px;font-size:20px;}
#a_back {float:right;display:block;width:calc(50% - 16px);height:100%;text-align:center;padding:7px;font-size:20px;}

.arr {
     position:absolute;    
     font-size: 30px;
     top: calc(50% - 20px);
     padding: 0 10px;
     border: 3px solid;
     
}
.arr:hover {
     color: #fb0406;
}
#_lewy {left: 0;}
#_prawy {right: 0;}
.img_n_lnk {
    display: block;
    position: absolute;
    top: 0px;
    z-index: -1;
}
@media screen and (max-width: 1070px) {
    .img_n_lnk {
          display: none;
    }
    .arr {
         border: none;
    }
}
/* ==========================================================================
   WTYCZKA FULLSCREEN DLA PRAC GRAFICZNYCH (t3kstura.eu)
   ========================================================================== */

/* Stylizacja głównego kontenera w normalnym widoku strony */
#fullscreen-wrapper {
    position: relative;
    width: 100%;
}

/* Ukrywamy pasek zamknięcia, gdy jesteśmy w zwykłym trybie na portalu */
.fs-top-bar {
    display: none;
}

/* AKTYWNY TRYB PEŁNOEKRANOWY (Dla nowoczesnych przeglądarek i Safari) */
#fullscreen-wrapper:fullscreen,
#fullscreen-wrapper:-webkit-full-screen {
    background-color: #0a0a0a !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important; /* Pasek na górze, obraz pod spodem */
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Pokazujemy pasek narzędzi TYLKO w trybie pełnoekranowym */
#fullscreen-wrapper:fullscreen .fs-top-bar,
#fullscreen-wrapper:-webkit-full-screen .fs-top-bar {
    display: flex !important;
    justify-content: flex-end;
    width: 100%;
    padding: 15px 25px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999 !important;
}

/* Wygląd przycisku zamknięcia */
.fs-close-btn {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: all 0.2s ease;
}

.fs-close-btn:hover {
    background-color: #e74c3c !important; /* Czerwony akcent przy najechaniu */
    border-color: #e74c3c !important;
}

/* Dopasowanie kontenera z obrazkiem w trybie fullscreen */
#fullscreen-wrapper:fullscreen .pic_full,
#fullscreen-wrapper:-webkit-full-screen .pic_full {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Wymuszenie proporcji dla samego obrazka img */
#fullscreen-wrapper:fullscreen .pic_full img,
#fullscreen-wrapper:-webkit-full-screen .pic_full img {
    max-width: 95vw !important;
    max-height: 85vh !important; /* Rezerwuje miejsce na górny pasek z przyciskiem */
    object-fit: contain !important;
    margin: auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
