/* ===================================================
   Turtles Industries
   style.css
   =================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#6fa7ff;
    background-image:linear-gradient(#4f90ff,#dcebff);
    font-family:Verdana,Arial,sans-serif;
    font-size:14px;
    color:#000;
}

#container{
    width:980px;
    margin:20px auto;
    background:#fff;
    border:3px solid #003399;
    box-shadow:4px 4px 10px rgba(0,0,0,.4);
}

/* ================= HEADER ================= */

header{

    position:relative;

    background:linear-gradient(#003399,#4d82ff);
    color:white;
    text-align:center;
    padding:20px;
    border-bottom:3px solid #002266;

}

header h1{
    font-size:42px;
    text-shadow:2px 2px black;
}

header p{
    margin-top:8px;
    font-size:15px;
}

/* ================= MARQUEE ================= */

marquee{
    background:#ffff99;
    color:#cc0000;
    font-weight:bold;
    padding:6px;
    border-bottom:2px solid #999;
}

/* ================= MENU ================= */

nav{
    background:#003399;
    padding:10px;
    text-align:center;
}

nav a{
    color:white;
    text-decoration:none;
    padding:8px 18px;
    font-weight:bold;
}

nav a:hover{
    background:#ffff66;
    color:black;
}

/* ================= LAYOUT ================= */

#content{
    display:flex;
}

#sidebar{
    width:250px;
    background:#eef5ff;
    border-right:2px solid #99bbff;
    padding:15px;
}

#main{
    flex:1;
    padding:20px;
}

/* ================= BOX ================= */

.box{
    background:#f8fbff;
    border:2px solid #4d82ff;
    margin-bottom:20px;
    padding:12px;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.box h2{
    background:#dbe8ff;
    color:#003399;
    padding:6px;
    margin:-12px -12px 10px -12px;
    border-bottom:1px solid #4d82ff;
    font-size:18px;
}

/* ================= ZDJĘCIA ================= */

.photo{
    width:170px;
    height:210px;
    margin:auto;
    border:2px solid black;
    overflow:hidden;
    background:#ccc;
}

.photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ================= BUTTONY ================= */

.chapter{
    display:block;
    background:#dcecff;
    color:#003399;
    text-decoration:none;
    padding:10px;
    margin:8px 0;
    border:1px solid #6699ff;
    transition:.2s;
}

.chapter:hover{
    background:#bdd7ff;
}

/* ================= STATUS ================= */

.status-online{
    color:green;
    font-weight:bold;
}

.status-offline{
    color:red;
    font-weight:bold;
}

/* ================= LICZNIK ================= */

.counter{
    text-align:center;
    font-size:22px;
    color:red;
    font-weight:bold;
    letter-spacing:2px;
}

/* ================= TABELKI ================= */

table{
    width:100%;
    border-collapse:collapse;
}

td{
    border:1px solid #999;
    padding:8px;
}

/* ================= STOPKA ================= */

footer{
    background:#003399;
    color:white;
    text-align:center;
    padding:10px;
    font-size:12px;
}

/* ================= LINKI ================= */

a{
    color:#003399;
}

a:hover{
    color:red;
}

/* ================= NEW GIF ================= */

.new{
    color:red;
    font-weight:bold;
    animation:blink 1s infinite;
}

@keyframes blink{

    50%{
        opacity:0;
    }

}

/* ================= GLITCH ================= */

.glitch{

    color:#ff0000 !important;

    text-shadow:
    1px 0 cyan,
    -1px 0 red;

}

/* ================= UKRYTA STRONA ================= */

.library{

    background:black;
    color:white;
    font-family:"Courier New",monospace;

}

/* ================= TERMINAL ================= */

pre{

    white-space:pre-wrap;

}

/* ================= MAŁY TEKST ================= */

small{

    color:#666;

}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){

#container{

width:95%;

}

#content{

display:block;

}

#sidebar{

width:100%;
border-right:none;
border-bottom:2px solid #99bbff;

}

}

/* ===================================================
   LIBRARY POPUP (Windows 98)
=================================================== */

#libraryPopup{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.65);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;

    animation:popupFade .2s;

}

/* Okno */

.popup{

    width:470px;

    background:#C0C0C0;

    border:2px solid #000;

    box-shadow:
        4px 4px 0 #000,
        inset 1px 1px 0 #fff,
        inset -1px -1px 0 #808080;

    overflow:hidden;

    font-family:Tahoma,Verdana,sans-serif;

}

/* Pasek */

.popup h2{

    margin:0;

    padding:8px 10px;

    background:linear-gradient(to right,#000080,#1084d0);

    color:white;

    font-size:15px;

    letter-spacing:1px;

    text-align:left;

}

/* Treść */

.popup p{

    padding:0 18px;

    margin:16px 0;

    line-height:1.6;

    color:#000;

}

/* Przycisk */

.popup button{

    display:block;

    margin:20px auto;

    padding:8px 26px;

    background:#C0C0C0;

    border:2px solid;

    border-color:#fff #404040 #404040 #fff;

    font-family:Tahoma,Verdana,sans-serif;

    font-size:14px;

    cursor:pointer;

}

.popup button:hover{

    background:#d9d9d9;

}

.popup button:active{

    border-color:#404040 #fff #fff #404040;

}

/* Efekt całej strony */

.glitch-screen{

    animation:screenGlitch .12s infinite;

}

@keyframes screenGlitch{

    0%{

        transform:translate(0px);

        filter:none;

    }

    20%{

        transform:translate(-2px,1px);

        filter:contrast(120%);

    }

    40%{

        transform:translate(2px,-1px);

        filter:brightness(110%);

    }

    60%{

        transform:translate(-1px,2px);

    }

    80%{

        transform:translate(1px,-2px);

    }

    100%{

        transform:translate(0px);

        filter:none;

    }

}

/* Miganie tła */

@keyframes popupFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

/* Sekretny dostęp */

#librarySecret{

    color:#444;

    text-decoration:none;

    transition:.2s;

    font-weight:bold;

}

#librarySecret:hover{

    color:#fff;

}

/* ===========================
   Library gotowa do kliknięcia
=========================== */

.libraryReady {

    animation: libraryPulse 1s infinite;
    cursor: pointer;

}

@keyframes libraryPulse {

    0% {

        color: #770000;

    }

    50% {

        color: #ff4444;

    }

    100% {

        color: #770000;

    }

}

/* ================= PANEL PRACOWNIKA ================= */

#employeePortal{

    position:absolute;

    top:10px;
    right:15px;

    color:#d8e7ff;

    font-size:12px;

    font-family:Verdana,Arial,sans-serif;

    text-decoration:none;

    transition:.2s;

}

#employeePortal:hover{

    color:white;

    text-decoration:underline;

}