body {
    height: 100vh;
    display: flex;
    background-color: var(--black);
}

#bg_video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    display: none;
}

#bg_filter {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    backdrop-filter: brightness(40%);
    display: none;
}

main {
    height: calc(100% - 150px);
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav {
    background-color: transparent;
    backdrop-filter: none;
}

#zwzt {
    padding: 10px 20px;
    margin-top: 20px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);

    background: var(--blur);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

h1 {
    font-family: "SpaceB";
    font-size: 80px;
    line-height: 90px;
    text-align: center;
    margin: 20px;
}

main div:nth-of-type(2) {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main > div > p {
    font-size: 32px;
    float: left;
    margin-right: 0.3em;
    margin-top: 0px
}

#text_slider_container {
    float: left;
    overflow: hidden;
    position: relative;
    height: 50px;
    display: flex;
    justify-content: center;
}

#text_slider {
    width: 150px;
    font-size: 32px;
    font-family: "SpaceB";
    line-height: 96px;
    display: inline-block;
    color: var(--white);
    position: relative;
    white-space: nowrap;
    top: 0;
    left: 0;
    animation: move 10s ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes move {
    0%  { top: -24px; width: 150px; }
    20% { top: -120px; width: 190px; }
    40% { top: -216px; width: 160px; }
    60% { top: -312px; width: 145px; }
    80% { top: -408px; width: 150px; }
    100% { top: -504px; width: 150px; }
}

#search_btn {
    margin: 30px;
}

#search_btn > .button-front {
    font-size: 24px;
}

#partners img {
    height: 130px;
    width: 95px;
}

footer {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    margin-top: 0;
    width: 5%;
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

footer p {
    color: var(--white);
}

footer img {
    filter: invert(100%);
}

/*media dla TELEFONÓW*/

@media screen and (min-width: 0px) and (max-width: 768px) {
main {
    height: auto;
}

h1 {
    font-size: 40px;
    line-height: 45px;
}

#zwzt {
    font-size: 10px;
}

#search_btn > .button-front {
    font-size: 16px;
}

footer {
    position: static;
    height: 60px;
    margin-top: 20px;
    width: 100%;
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
}
