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

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background-color: rgb(25, 25, 25);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.center {
    height: calc(100vh - 62px);
    width: calc(100vw - 400px);
    overflow: hidden;
}

main {
    position: relative; /* Ważne dla umiejscowienia elementów wewnętrznych */
    width: 100%;
    height: calc(100% - 90px);
    padding: 50px;
}

/* Ustawienia wideo jako tło */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ustawia wideo za innymi elementami */
    opacity: 20%;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Dopasowuje wideo do kontenera */
    transform: translate(-50%, -50%);
}

.sidebar {
    width: 200px;
    height: calc(100vh - 62px);
}

.lowbar {
    height: 90px;
    width: 100%;
    background-color: rgb(25, 25, 25);
    justify-content: center;
    align-items: center;
}

#top, #bottom, #middle {
    height: 20%;
    width: 100%;
    position: relative;
    z-index: 1; 
}

#middle {
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bottom {
    display: flex;
    align-items: end;
}

#settingsIco {
    color: white;
    cursor: pointer;
    transition: .66s ease-in-out scale;
    height: 65px;
    width: auto;
}

#settingsIco:hover {
    scale: 1.1;
}

#informations {
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 25px;
    font-weight: 200;
}

#informations a {
    text-decoration: none;
}

#informations h1, #informations h2 {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 25px;
}

.information {
    margin-left: 20px;
    cursor: pointer;
}

#play {
    animation: bouncer 1.5s infinite;
    border: 1px solid white;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 40px;
    background-color: transparent; /* Używaj background-color */
    font-weight: 500;
    scale: 1;
    transition: background-color 0.5s ease-in-out, scale 0.5s ease-in-out; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

#play:hover {
    background-color: white; /* Używaj background-color */
    color: rgb(15, 15, 15);
    box-shadow: 0 0 25px black;
    scale: 1.05;
}

@keyframes bouncer {
    0% {
        transform: scale(1); /* Używaj transform */
    }

    50% {
        transform: scale(1.05); /* Używaj transform */
    }

    100% {
        transform: scale(1); /* Używaj transform */
    }
}

@media (max-width: 800px) {
    .sidebar {
        width: 100px;
    }
    .center {
        width: calc(100vw - 200px);
    }  
}

@media (max-width: 600px) {
    #informations {
        flex-wrap: wrap;
    }
    main {
        padding: 20px;
    }
}

@media (max-width: 490px) {
    #play {
        scale: 0.8;
    }
    #bottom {
        flex-wrap: wrap;
    }
    #bottom a, #bottom h2 {
        margin: auto;
        font-size: 20px;
    }
    #informations {
        border-top: 1px solid #ffffff5d;
        border-width: 1px;
        height: auto;
        padding-top: 20px;
        margin-top: 20px;
    }

    #top, #bottom, #middle {
        height: 30%;
    }
    
    #middle {
        height: 40%;
    }
}


