:root {
    --tlo: #1A1B1E;
    --panelboczny: #25282C;
    --glownykolortekstu: #fcfcfc;
    --wyszarzonykolortekstu: #B3B4B5;
    --tlozakladek: #67696C;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--tlo);
    margin: 0;
    overflow: hidden;
}

#stronaglowna {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

#panelboczny {
    background-color: var(--panelboczny);
    width: 13.5%;
    height: 100%;
    padding: 0.5vw;
}

#glownazawartosc {
    width: 86.5%;
    height: 100%;
    position: relative;
    overflow: hidden scroll;
}

#glownazawartosc::-webkit-scrollbar {
    display: none;
}

.odsunodpanelubocznego {
    margin-left: 2%;
}

/* -------------------------------- */

@keyframes nieladujesie {
    0% {
        background-position-x: 0%;
    }

    50% {
        background-position-x: 100%;
    }

    100% {
        background-position-x: 0%;
    }
}

/* -------------------------------- */

#duzekafle {
    height: 30vw;
    width: 100%;
    overflow: hidden;
    background-image: url(assety/tlo.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#duzekafle>div {
    overflow: visible;
    height: 80%;
    display: flex;
    align-items: center;
    margin-top: 2%;
    gap: 0.5%;
    justify-content: center;
}

#malekafle {
    height: 60vw;
    width: 100%;
    position: absolute;
    top: 25vw;
}

#gradientkafle {
    background-color: var(--tlo);
    width: 100%;
    height: 100vh;
    z-index: 0;
    filter: blur(10vw);
    position: absolute;
    top: 20vw;
}

.duzykafelek {
    width: 38%;
    height: auto;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 1vw;
}

#sredniekafle {
    width: 19%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2%;
}

.srednikafelek {
    width: 98%;
    height: 48%;
    z-index: 1;
    border-radius: 1vw;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin: 1%;
}

.duzykafelek img,
.srednikafelek img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
    border-radius: 1vw;
}

.duzykafelek:hover img,
.srednikafelek:hover img {
    transform: scale(1.1);
}


.duzykafelopis {
    background: linear-gradient(0deg, var(--tlo) 0%, transparent 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

/* -------------------------------- */

h2 {
    color: var(--glownykolortekstu);
    font-family: system-ui, 'Segoe UI';
    font-size: 2vw;
    font-weight: 500;
}

#malekafle-div {
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-right: 1%;
}

.malykafelek {
    width: 10vw;
    height: 15vw;
    background: linear-gradient(90deg, var(--tlo) 0%, var(--panelboczny) 50%);
    position: relative;
    background-size: 200%;
    animation: nieladujesie 5s infinite;
}

.malykafelek>img {
    width: 100%;
    height: auto;
    border-radius: 0.4vw;
}

.sklep-info {
    width: 100%;
    height: 15%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: color-mix(in srgb, var(--tlo) 90%, transparent);
}

.sklep-nazwa {
    color: var(--glownykolortekstu);
    font-size: 0.9vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    padding: 0 2.5% 0 2.5%;
}

.sklep-dev {
    color: var(--wyszarzonykolortekstu);
    font-size: 0.7vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    padding: 0 2.5% 2.5% 2.5%;
}

/* ----------------------------------- */
#strefauzytkownika {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#strefauzytkownika img {
    filter: invert(100%);
}

#strefauzytkownika>div {
    display: inline-flex;
    flex-direction: column;
}

#iduzytkownika {
    color: var(--wyszarzonykolortekstu);
    font-family: monospace;
    font-size: 0.5vw;
}

#nazwkaapki {
    color: var(--glownykolortekstu);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.25vw;
    font-weight: 200;
}

/* ----------------------------------- */

#zakladki {
    display: flex;
    margin-top: 1vw;
    flex-direction: column;
    gap: .3vw;
}

#zakladki img {
    filter: invert(100%);
    width: 1.5vw;
}

#zakladki a {
    display: flex;
    align-items: center;
    color: var(--glownykolortekstu);
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 0.75vw;
    font-weight: 400;
    gap: .5vw;
    padding: 0.5vw;
    overflow: hidden;
    border-radius: 0.5vw;
}

.aktywnazakladka {
    background-color: var(--tlozakladek);
}

/* ----------------------------------- */

#ostatnie {
    height: 23.5vw;
    overflow: hidden;
}

#ostatnie-napis {
    color: var(--wyszarzonykolortekstu);
    font-size: 0.9vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    margin-top: 1vw;
}

#ostatnie button {
    display: flex;
    height: 5vw;
    flex-direction: row;
    width: 100%;
    margin-top: 0.3vw;
    border: none;
    background-color: transparent;
    gap: 0.5vw;
}

#ostatnie button>div img {
    width: 0.8vw;
    height: auto;
    filter: invert(50%);
    vertical-align: baseline;
    transform: translateY(20%);
    margin-right: 0.1vw;
}

#ostatnie button>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
}

#ostatnie button>div>div:first-of-type {
    color: var(--glownykolortekstu);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    font-size: 0.9vw;
}

#ostatnie button>div>div:last-of-type {
    color: var(--wyszarzonykolortekstu);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 0.7vw;
}

#ostatnie button>img {
    width: 5vw;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5vw;
}

/* ------------------------------ */
#historia {
    display: flex;
    height: 5vw;
    margin-top: 0.5vw;
}

#historiaobrazki {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
    justify-content: center;
    display: flex;
    align-items: center;

}

#historiaobrazki img {
    position: absolute;
    width: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.4vw;
    box-shadow: 0 0 1vw var(--tlo);
    margin-left: 6px;
}

#historiaobrazki img:nth-of-type(1) {
    left: 0%;
}

#historiaobrazki img:nth-of-type(2) {
    left: 20%;
}

#historiaobrazki img:nth-of-type(3) {
    left: 40%;
}

.defer {
    background: linear-gradient(90deg, var(--tlo) 0%, var(--panelboczny) 50%);
    animation: nieladujesie 5s infinite;
}

#historia h2 {
    font-size: 0.8vw;
    margin: auto;
    margin: auto auto auto 0.3vw;
}

/* ------------------------------ */

#kolejkainstalacji {
    margin-top: 2vw;
    height: 3vw;
    display: flex;
    overflow: hidden;
    align-items: center;
}

#kolejkainstalacji img {
    filter: invert(50%);
    width: 1.78vw;
    height: 60%;
    margin-right: 0.3vw;
}

#kolejkainstalacji h2 {
    font-size: 0.8vw;
    margin-bottom: 0;
}

#kolejkainstalacji p {
    font-size: 0.7vw;
    color: var(--wyszarzonykolortekstu);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    margin-top: 0;
}