/* Wyzerowanie marginesów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ustawienie pełnej wysokości strony */
html, body {
    height: 100%;
    overflow: hidden;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
}

.spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#background-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
}


#loading-plyta-delic {
    position: fixed;
    top: 300px;
    left: 300px;
    width: 310px;
    height: 310px;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.plyta-delic {
    position: relative;
    width: 310px;
    height: 310px;
    animation: spindelic 15s linear infinite; /* Animacja obrotu całej płyty */
}

@keyframes spindelic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#vinyl-text {
    animation: spindelic-text 5s linear infinite; /* Obrót tekstu */
}

@keyframes spindelic-text {
    0% { transform: rotate(0deg, 100, 100); }
    100% { transform: rotate(-360deg, 100, 100); } /* Obrót tekstu w przeciwnym kierunku */
}

#loading-plyta-psyche {
    position: fixed;
    top: 300px;
    right: 0px;
    width: 310px;
    height: 310px;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.plyta-psyche {
    position: relative;
    width: 310px;
    height: 310px;
    animation: spinpsyche 14s linear infinite; /* Animacja obrotu całej płyty */
}

@keyframes spinpsyche {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#vinyl-text {
    animation: spinpsyche-text 5s linear infinite; /* Obrót tekstu */
}

@keyframes spinpsyche-text {
    0% { transform: rotate(0deg, 100, 100); }
    100% { transform: rotate(-360deg, 100, 100); } /* Obrót tekstu w przeciwnym kierunku */
}

#icons { position: fixed; bottom: 0px; left: 0px; width: 100%; text-align: center; padding: 10px 0px; background-color: #ffffff82; }
#icons a { width: fit-content; display: inline-block; margin: 0px 10px; }
#icons img { height: 45px }

@media all and (max-width: 1000px) {
    #loading-plyta-delic { left: 170px; }
    #loading-plyta-psyche { right: -140px; }
}

@media all and (max-width: 660px) {
    #loading-plyta-delic { left: 145px; top: 160px; width: 210px; height: 210px; z-index: 10000; }
    .plyta-delic { width: 210px; height: 210px; }
    #loading-plyta-psyche { right: -70px; top: 160px; width: 210px; height: 210px; }
    .plyta-psyche { width: 210px; height: 210px; }
    #background-video { top: 51%; left: 41%; }
}

@media all and (max-width: 449px) {
    #loading-plyta-delic { left: 125px; top: 130px; }
    #loading-plyta-psyche { right: -90px; top: 130px; }
}