@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono&family=Sono:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

@keyframes body-gradient {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 9999999px 0;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: linear-gradient(to right, black, rgb(44, 44, 44), black);
    animation: 99999s body-gradient linear infinite;
}

@media only screen and (max-width: 800px) {
    .main-title-h1 {
        display: none;
    }
    .image_source {
        max-width: 98vw;
    }
    .change_buttons {
        max-width: 80% !important;
    }
}
@media only screen and (max-width: 500px) {
    .top-image, .bottom-image {
        height: 2vh !important;
    }
    .div_container {
        padding-top: 2vh !important;
        padding-bottom: 2vh !important;
    }
    .change_buttons {
        max-width: 90% !important;
    }
}

@keyframes main-title-h1 {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes main-title-h1-after-effect {
    0% {
        bottom: 0;
        left: 0;
        width: 20%;
        height: 5%;
        background-color: red;
    }
    25% {
        bottom: 0;
        left: 71%;
        width: 30%;
        height: 5%;
        background-color: red;
    }
    50% {
        bottom: 0;
        left: 0;
        width: 40%;
        height: 5%;
        background-color: white;
    }
    75% {
       bottom: 0;
       left: 71%;
       width: 30%;
       height: 5%;
       background-color: white;
    }
    100% {
        bottom: 0;
        left: 0;
        width: 20%;
        height: 5%;
        background-color: red;
    }
}

.container {
    width: 99%;
    min-height: 98vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 1vh;
    margin-top: 1vh;
    margin-left: .5%;
    margin-right: .5%;
    padding-bottom: 5vh;
    background-color: white;
    border-radius: 5px;
    transition: .5s ease-in-out;
}

.header {
    width: 100%;
    min-height: 75px;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.menu {
    min-width: max-content;
    width: 10vmax;
    height: clamp(2.4rem, 3vmax, 4rem);
    border-radius: 10px;
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.powrot_do_zscl {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.powrot_do_zscl a {
    /* font-size: 24px; */
    font-size: clamp(1.2rem, 2vmax, 1.6rem);
    text-decoration: none;
    color: black;
    background-image: linear-gradient(to right, black, black);
    background-repeat: no-repeat;
    background-size: 0 2px;
    background-position: bottom center;
    transition: .3s ease-out;
    padding-bottom: 5px;
    font-family: 'Noto Sans Mono', monospace;
}
.powrot_do_zscl a:hover {
    background-size: 80% 2px;
    color: red;
    transform: translateY(-5px);
}


.change_contrast {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contrast_href {
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 100%;
    transition: .8s ease-in-out;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    transform: rotateZ(240deg);
}
.contrast_href:hover {
    box-shadow: black 0 0 15px;
    transform: rotateZ(-120deg);
}

.catch_contrast_image {
    width: auto;
    height: 100%;
    border-radius: 100%;
    background-color: black;
}

.main-title-option {
    font-family: 'Sono', sans-serif;
    width: max-content;
    height: fit-content;
    text-shadow: black 0 0 5px, black 0 0 4px, black 0 0 6px;
}

.main-title-h1 {
    color: white;
    background-size: 0 3%;
    background-repeat: no-repeat;
    position: relative;
    animation: 2s main-title-h1 infinite;
}

.main-title-h1::after {
    content: '';
    border-radius: 5px;
    position: absolute;
    top: 120%;
    left: 0;
    animation: 7s main-title-h1-after-effect ease-in-out infinite;
}

.main-title-h1-span-first-title {
    color: red;
}

.gazetka-content-div {
    min-height: 40vh;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: relative;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.div_container {
    height: auto;
    position: relative;
    padding-top: 3vh;
    padding-bottom: 3vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@keyframes opacity_changer {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image_source {
    max-width: 95vw;
    width: auto;
    max-height: 80vh;
    height: auto;
    opacity: 0;
}

@keyframes top-image-move {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 99999px;
    }
}
@keyframes bottom-image-move {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 99999px;
    }
}



.top-image {
    width: 100%;
    height: 3vh;
    position: absolute;
    top: 0;
    left: 0;
    animation: 24000s top-image-move linear infinite;
    background-position-y: bottom !important;
    background-size: contain;
    background-repeat: repeat-x;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.bottom-image {
    width: 100%;
    height: 3vh;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: 24000s bottom-image-move linear infinite;
    background-position-y: bottom !important;
    background-size: contain;
    background-repeat: repeat-x;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    transform: rotateZ(-180deg);
}

.opacity_changer {
    animation: 750ms opacity_changer ease-in-out;
    opacity: 1;
    box-shadow: black 0 0 15px;
}

ul {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.li_hidden {
    display: none;
}

.li_show {
    width: 50px;
    height: 125px;
    list-style: none;
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.arrow_left {
    width: auto;
    height: 100%;
    cursor: pointer;
    transform: rotateZ(90deg);
}

.arrow_right {
    width: auto;
    height: 100%;
    cursor: pointer;
    transform: rotateZ(-90deg);
}

.change_buttons {
    min-width: 300px;
    width: fit-content;
    max-width: 40%;
    min-height: 8vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2%;
    flex-wrap: wrap;
    margin-top: 5vh;
}

.btn-clicked {
    color: cyan !important;
    letter-spacing: 2px !important;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-5px);
}

.buttons {
    color: black;
    width: 60px;
    height: auto;
    padding: 5px 0;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    transition: 150ms ease-in-out;
    font-family: 'Noto Sans Mono', monospace;
    border-radius: 4px;
}
.buttons:hover {
    color: cyan;
    letter-spacing: 2px;
    box-shadow: black 0 0 15px;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-5px);
}
