.landing {
    position: relative;
    height: 960px;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.LandingVideo {
    width: 100%;
    height: 80%;
    z-index: -1;
}

.LandingVideo video {
    position: absolute;
    width: 100%;
    height: 960px;
    object-fit: cover;
    filter: brightness(50%);
}

.LandingText {
    position: absolute;
    z-index: 2;
    text-align: left;
    color: rgb(248, 248, 248);
    font-family: Staatliches, Arial;
    font-size: 2em;
    margin-left: 100px;
    top: 50%;
}

.LandingText h1 {
    font-size: 110px;
    z-index: 5;
}

.LandingText h2 {
    font-size: 50px;
    z-index: 5;
}

.LandingButtons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
}

.LandingButton {
    font-family: Raleway, Arial;
    padding: 12px;
    padding-left: 60px;
    padding-right: 60px;
    width: auto;
    background-color: #c62538;
    filter: drop-shadow(0px 0px 20px rgb(24, 20, 12));
    z-index: 0;
    font-weight: bold;
    font-size: 25px;
    color: #f8f8f8 !important;
}


.content {
    flex: none;
    background-color: #f8f8f8;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    background-color: transparent;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 10;
    transition: 0.3s;
}

.navbar:hover {
    background-color: #c62538 !important;
    transition: 0.3s;
}

.matches {
    height: 500px;
    background-color: #1a1a1a;
}

.matchesHeader {
    display: flex;
    flex-direction: row;
    padding: 30px;
    padding-bottom: 0px;
    padding-left: 60px;
}

.matchesHeader img:nth-of-type(1) {
    filter: invert(1);
    width: 45px;
    margin-top: -15px;
    margin-left: 10px;
    user-select: none;
}

.matchesHeader h2 {
    color: #f8f8f8;
    font-family: Staatliches, Arial;
    font-size: 50px;
}

.matches_cards {
    display: flex;
    width: 100%;
    flex: 1;
    min-height: 350px;
}

.slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    -ms-overflow-style: none;
    /* Skryje scrollbar v IE a Edge */
    scrollbar-width: none;
    /* Skryje scrollbar ve Firefox */
}

.slider::-webkit-scrollbar {
    display: none;
    /* Skryje scrollbar v prohlížečích založených na WebKit (Chrome, Safari) */
}

.slider-inner {
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 3450px;
    /* podle poctu zapasu !! na kazdy 690px !!tzn 3 = 2070px ! a pokud mame 2 a min tak pouzij 100%*/
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    pointer-events: none;
}

.slide-img {
    height: 100%;
    text-align: center;
    padding: 20px;
}

/* responzivita matchu */
@media screen and (max-width: 900px) {
    .matches {
        height: 400px;
    }

    .slide-img img {
        height: 250px;
        width: auto;
    }

    .slide-img {
        padding: 10px;
    }

    .slider-inner {
        width: 2810px;
    }
}

@media screen and (max-width: 690px) {
    .matches {
        height: 350px;
    }

    .slide-img img {
        height: 200px;
        width: auto;
    }

    .slide-img {
        padding: 10px;
    }

    .slider-inner {
        width: 2070px;
    }

    .matchesHeader h2 {
        font-size: 40px;
    }

    .matchesHeader {
        justify-content: center;
        padding: 20px;
    }
}

@media screen and (max-width: 575px) {
    .matchesHeader h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 450px) {
    .matchesHeader h2 {
        font-size: 30px;
    }

    .slide-img img {
        height: auto;
        width: 100%;
    }

    .matches {
        height: 590px;
        position: relative;
    }

    .slider-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        left: 0px;
    }

    .matchesHeader img:nth-of-type(1) {
        display: none;
    }

    .slider {
        overflow-y: auto;
        overflow-x: hidden;
        height: 490px;
    }

    .matches::after {
        display: block;
        content: "";
        position: sticky;
        transform: translateY(-80%);
        height: 80px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
        pointer-events: none;
    }
}

@media screen and (max-width: 390px) {
    .matchesHeader h2 {
        font-size: 25px;
        margin-bottom: 0px;
    }
}

.stadion_img {
    width: auto;
    height: 700px;
    margin-left: -120px;
    user-select: none;
}

.stadion {
    height: 800px;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.stadion_left {
    width: 55%;
    padding: 100px;
    padding-top: 50px;
    height: 700px;
}

.stadion_left h2 {
    color: #000000;
    font-family: Staatliches, Arial;
    font-size: 60px;
    padding-bottom: 20px;
}

.stadion_left p {
    color: #000000;
    font-family: Poppins, Arial;
    font-size: 24px;
    line-height: 1.6;
    font-weight: normal;

}

.stadion_right {
    width: 45%;
    height: 700px;
    background-color: #c62538;
    border-radius: 0px 0px 0px 200px;
}

.stadion_readmore {
    text-align: right;
    font-weight: bold;
    font-family: Staatliches, Arial;
    font-size: 25px;
    letter-spacing: 0.02cqi;
}

@media screen and (max-width: 1400px) {
    .stadion_left h2 {
        font-size: 50px;
    }

    .stadion_left p {
        font-size: 20px;
    }

    .stadion_left {
        padding-right: 60px;
    }
}

@media screen and (max-width: 1300px) {
    .stadion {
        flex-direction: column;
        height: auto;
    }

    .stadion_left {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .stadion_left {
        padding-left: 10%;
        padding-right: 10%;
    }

    .stadion_right {
        display: flex;
        width: 100%;
        height: 500px;
        border-radius: 3000px 3000px 0 0;
        justify-content: center;
    }

    .stadion_img {
        border-radius: 20px;
        width: 800px;
    }
}

@media screen and (max-width: 850px) {
    .stadion_left h2 {
        font-size: 40px;
    }

    .stadion_left p {
        font-size: 18px;
    }

    .stadion_img {
        border-radius: 20px;
        width: 80%;
        height: 400px;
    }

    .stadion_right {
        height: 400px;
    }
}

@media screen and (max-width: 550px) {
    .stadion_left h2 {
        font-size: 40px;
    }

    .stadion_left p {
        font-size: 18px;
    }

    .stadion_img {
        border-radius: 0px;
        width: 100%;
        height: 300px;
    }

    .stadion_right {
        height: 300px;
    }
}

.mapa {
    margin-top: 50px;
}

.mapHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.mapHeader h2 {
    color: #141414;
    font-family: Staatliches, Arial;
    font-size: 50px;
}

.world-map {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0em;
    position: relative;
    user-select: none;
    margin-bottom: 50px;
}

.pin {
    position: absolute;
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    transform: translate(-50%, -100%);
    /* Správné centrování */
    transition: 0.2s;
    text-align: center;
}

.pin:hover {
    transform: scale(1.3) translate(-100%, -250%);
    transform-origin: bottom center;
    transition: 0.2s;
    z-index: 1000;
}

.teamPin {
    width: 60px;
    /* Nastavení velikosti obrázku */
    height: auto;
    transform-origin: bottom center;
}

.pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.pin span {
    position: absolute;
    top: -40px;
    /* Posun nad obrázek */
    left: 50%;
    /* Umístění na střed */
    transform: translateX(-20%);
    /* Vycentrování textu */

    text-align: center;
    background-color: #ffffff;
    border-radius: 3em;
    padding: 0.3em 0.6em;
    font-size: 0.9em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    filter: drop-shadow(0px 0px 10px rgb(24, 20, 12));
    white-space: nowrap;
    font-family: Staatliches, Arial;
    /* Zabraňuje zalomení textu */
}



.pin:hover span {
    opacity: 1;
    visibility: visible;
}


.sparta {
    top: 30%;
    left: 33%;
    z-index: 21;
}

.trinec {
    left: 94%;
    top: 48%;
}

.vary {
    left: 11%;
    top: 22%;
}

.pardubice {
    left: 52%;
    top: 31%;
    z-index: 21;
}

.hradec {
    left: 54%;
    top: 24%;
}

.kladno {
    top: 27%;
    left: 27%;
}

.liberec {
    top: 6%;
    left: 44%;
}

.brno {
    left: 66%;
    top: 65%;
}

.budejovice {
    left: 32%;
    top: 70%;
}

.olomouc {
    left: 75%;
    top: 50%;
}

.litvinov {
    left: 23%;
    top: 11%;
}

.vitkovice {
    left: 89%;
    top: 42%;
}

.vitkovice span,
.trinec span,
.olomouc span {
    transform: translateX(-50%);
}

.boleslav {
    top: 21%;
    left: 41%;
}

.plzen {
    left: 18%;
    top: 42%;
}

@media (max-width: 1024px) {
    .mapHeader {
        margin-bottom: 30px;
    }

    .mapHeader h2 {
        font-size: 40px;
    }

    .world-map {
        max-width: 900px;
        margin-bottom: 30px;
    }

    .pin {
        width: 0.6em;
        height: 0.6em;
    }

    .pin:hover {
        transform: scale(1.2) translate(-100%, -250%);
    }

    .teamPin {
        width: 50px;
    }

    .pin span {
        font-size: 0.8em;
        padding: 0.2em 0.5em;
    }
}

@media (max-width: 768px) {
    .mapHeader {
        margin-bottom: 20px;
    }

    .mapHeader h2 {
        font-size: 35px;
    }

    .world-map {
        max-width: 700px;
        margin-bottom: 20px;
    }

    .pin {
        width: 0.5em;
        height: 0.5em;
    }

    .teamPin {
        width: 40px;
    }

    .pin span {
        font-size: 0.7em;
        padding: 0.2em 0.4em;
    }
}

@media (max-width: 480px) {
    .mapHeader h2 {
        font-size: 30px;
    }

    .world-map {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .pin {
        width: 0.4em;
        height: 0.4em;
    }

    .teamPin {
        width: 30px;
    }

    .pin span {
        font-size: 0.6em;
        padding: 0.1em 0.3em;
    }
}

.teamcards {
    height: auto;
    width: 80%;
    margin: auto;
}

.teamcardHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.teamcardHeader h2 {
    color: #141414;
    font-family: Staatliches, Arial;
    font-size: 50px;
}

.parent {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 sloupců */
    gap: 15px;
    justify-content: center;
    max-width: 1080px;
    /* 6 * 170px + mezery */
    margin: auto;
    margin-bottom: 50px;
}

.parent div {
    display: flex;
    justify-content: center;
}

.parent img {
    width: 170px;
    height: 200px;
    display: block;
    border-radius: 10px;
}

.poraditymu {
    position: absolute;
    color: rgb(248, 248, 248);
    font-family: Staatliches, Arial;
    margin-left: 130px;
    font-size: 30px;
}

.gold {
    color: rgb(255, 234, 42);
}

.silver {
    color: rgb(165, 165, 165);
}

.bronz {
    color: rgb(194, 130, 46);
}


/* Responzivita */
@media (max-width: 1150px) {
    .parent {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 950px) {
    .parent {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 780px) {
    .parent {
        grid-template-columns: repeat(3, 1fr);
    }

    .teamcardHeader h2 {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .parent {
        grid-template-columns: repeat(2, 1fr);
    }

    .teamcardHeader h2 {
        font-size: 30px;
    }
}

@media (max-width: 365px) {
    .parent {
        grid-template-columns: repeat(1, 1fr);
    }
}

.partners h1 {
    color: #141414;
    font-family: Staatliches, Arial;
    font-size: 50px;
}

.partners {
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 50px;
}

.slider2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.slider2-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: scrolling 20s linear infinite;

}

@keyframes scrolling {

    0% {
        transform: translateX(52%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slider2-items img {
    width: 12%;
    margin: 20px;

}

.noAOSfix {
    display: none;
}

/* responzivita sekce1 */

@media (max-width: 1350px) {
    .LandingText h1 {
        font-size: 80px;
        z-index: 5;
    }

    .LandingText h2 {
        font-size: 30px;
        z-index: 5;
    }

    .LandingText {
        text-align: center;
        margin-top: 120px;
    }
}

@media (max-width: 1050px) {
    .LandingText {
        text-align: center;
        margin-top: -30px;
    }

    .LandingButtons {
        justify-content: center;
    }

    .LandingVideo video {
        position: absolute;
        width: 100%;
        height: 780px;
        object-fit: cover;
        filter: brightness(50%);
    }

    .landing {
        height: 700px;
    }
}

@media (max-width: 991px) {
    .LandingText h1 {
        font-size: 50px;
        z-index: 5;
    }

    .LandingText h2 {
        font-size: 20px;
        z-index: 5;
    }

    .LandingText {
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .LandingButtons {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .LandingButton {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 20px;
    }

    .LandingText h1 {
        font-size: 50px;
        z-index: 5;
    }
}

/* responzivita sekce2 */

@media (max-width: 1300px) {
    .stadion_left {
        height: auto;
    }

    .stadion_right {
        margin: 0;
        width: auto;
        height: auto;
    }

    .stadion_img {
        width: auto;
        margin-top: -100px;
        margin-left: 0px;
    }

    .stadion {
        height: auto;
        margin-bottom: 0px;
    }
}

@media (max-width: 991px) {
    .stadion_left p {
        font-size: 15px;
    }
}

@media (max-width: 625px) {
    .stadion_img {
        width: auto;
        margin-top: -50px;
        margin-left: -25px;
    }

    .stadion_left div {
        display: none;
    }

    .stadion_right {
        height: 350px;
    }
}

@media (max-width: 550px) {
    .stadion_right {
        height: 250px;
    }
}

.onas {
    height: 1000px;
}

.onasHeader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.onasHeader h2 {
    color: #141414;
    font-family: Staatliches, Arial;
    font-size: 50px;
}

.onasContent {
    width: 65%;
    justify-self: center;
    height: 720px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.onasContentTop {
    height: 600px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.onasContentBottom {
    flex: 1;
    background-color: #c62538;
    display: flex;
    background-image: url(../imgs/bodycheck.png);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0 0 50px 50px;
    z-index: 80;
    border: 2px double black;
}

.onasContentTop div img {
    height: 500px;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 1;
    user-select: none;
    transition: 0.2s;
}

.onasContentTop div {
    margin-top: auto;
    transform-origin: bottom;
    /* Transformace začne od dolní hrany */
    transition: 0.2s;
}

.onasContentTop div:nth-of-type(1) {
    z-index: 0;
}

.onasContentTop div:nth-of-type(2) {
    z-index: 1;
}

.onasContentTop div:nth-of-type(3) {
    z-index: 0;
}

.onasContentTop div:nth-of-type(1) img {
    margin-right: -40px;
    z-index: 1;
    position: relative;
    transition: 0.2s;
}

.onasContentTop div:nth-of-type(2) img {
    z-index: 1;
    position: relative;
    transition: 0.2s;
}

.onasContentTop div:nth-of-type(3) img {
    margin-left: -40px;
    z-index: 0;
    position: relative;
    transition: 0.2s;
    z-index: 1;
}

.kostka,
.musilek,
.bares {
    position: relative !important;
}

.kostkaDecoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #0808cf;
    top: 5%;
    left: 5%;
    z-index: -1;
    border-radius: 100%;
}

.kostkaText {
    position: absolute;
    color: #0808cf;
    font-family: Staatliches, Arial;
    top: 0;
    left: 100%;
    z-index: 5;
    width: 600px;
}

.kostkaText h3 {
    font-size: 50px;
}

.kostkaText p {
    font-size: 30px;
    margin-left: 50px;
}

.musilekDecoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #c62538;
    top: 5%;
    left: 5%;
    z-index: -1;
    border-radius: 100%;
    user-select: none;
}

.musilekText {
    position: absolute;
    color: #c62538;
    font-family: Staatliches, Arial;
    top: 0;
    left: 80%;
    z-index: 5;
    width: 600px;
}

.musilekText h3 {
    font-size: 50px;
}

.musilekText p {
    font-size: 30px;
    margin-left: 55px;
}

.baresDecoration {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #0e8a1e;
    top: 5%;
    left: -7%;
    z-index: -1;
    border-radius: 100%;
}

.baresText {
    position: absolute;
    color: #0e8a1e;
    font-family: Staatliches, Arial;
    top: 0;
    left: -200%;
    z-index: 5;
    width: 600px;
}

.baresText h3 {
    font-size: 50px;
    text-align: right;
}

.baresText p {
    font-size: 30px;
    text-align: right;
    margin-right: 50px;
}

.kostkaText:hover,
.musilekText:hover,
.baresText:hover,
.baresDecoration:hover,
.musilekDecoration:hover,
.kostkaDecoration:hover {
    transform: scale(1) !important;
}

/* Zvýšení velikosti hoverovaného obrázku */
.onasContentTop div:nth-of-type(1):hover,
.onasContentTop div:nth-of-type(2):hover,
.onasContentTop div:nth-of-type(3):hover {
    z-index: 20;
    transform: scale(1.2);
    /* Zvětšení při hoveru */
}

/* Zaručujeme, že všechny obrázky ostatních divů budou rozostřeny */
.onasContentTop div:hover img {
    filter: none;
}

@media screen and (min-width: 600px) {
    .onasContentTop div:hover~div img {
        filter: blur(4px) grayscale(1);
        transition: 0.2s;
        height: 400px;
    }
}

/* Pokud není žádný div hovernutý, zrušíme rozostření */
@media screen and (min-width: 600px) {
    .onasContentTop:not(:has(div:hover)) div img {
        filter: none;
    }
}

/* Pokud není div.kostka v hoveru, skryjeme kostkaDecoration a kostkaText */

.onasContentTop div {
    transition: 0.2s;
}

/* Základní skrytí dekorací a textů */
@media screen and (min-width: 600px) {

    .kostkaDecoration,
    .kostkaText,
    .musilekDecoration,
    .musilekText,
    .baresDecoration,
    .baresText {
        visibility: hidden;
    }

    .kostka:not(:hover) .kostkaDecoration,
    .kostka:not(:hover) .kostkaText {
        display: none;
    }

    /* Pokud je div.kostka v hoveru, zobrazíme kostkaDecoration a kostkaText */
    .kostka:hover .kostkaDecoration,
    .kostka:hover .kostkaText {
        display: block;
    }
}

/* Když je div hoverován, zobrazíme jeho dekoraci a text */
.kostka:hover .kostkaDecoration,
.kostka:hover .kostkaText,
.musilek:hover .musilekDecoration,
.musilek:hover .musilekText,
.bares:hover .baresDecoration,
.bares:hover .baresText {
    visibility: visible;
}

.onasContentTop div {
    transition: transform 0.2s, filter 0.2s, height 0.2s;
}

/* responzivita .... */

@media screen and (max-width: 1600px) {

    .musilekText h3,
    .kostkaText h3,
    .baresText h3 {
        font-size: 40px;
    }
}

@media screen and (max-width: 1350px) {

    .musilekText h3,
    .kostkaText h3,
    .baresText h3 {
        font-size: 32px;
    }

    .musilekText p,
    .kostkaText p,
    .baresText p {
        font-size: 22px;
    }

    .onasContent {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {

    .onasContentTop div:nth-of-type(1) img,
    .onasContentTop div:nth-of-type(2) img,
    .onasContentTop div:nth-of-type(3) img {
        width: auto;
        height: 500px;
    }
}

@media screen and (max-width: 1150px) {

    .musilekText h3,
    .kostkaText h3,
    .baresText h3 {
        font-size: 25px;
        text-shadow: 1px 1px #292929;
    }

    .musilekText h3,
    .musilekText p {
        color: #ff8c99;
    }

    .kostkaText h3,
    .kostkaText p {
        color: #9494db;
    }

    .baresText h3,
    .baresText p {
        color: #83ff94;
    }

    .musilekText p,
    .kostkaText p,
    .baresText p {
        font-size: 20px;
        text-shadow: 1px 1px #383838;
        margin-left: 0;
    }

    .baresDecoration {
        left: -20%;
    }

    .baresText {
        position: absolute;
        color: #0e8a1e;
        font-family: Staatliches, Arial;
        top: 0;
        left: -250%;
        z-index: 5;
        width: 600px;
    }

    .onasContent {
        width: 90%;
    }

    .onasContentTop div:nth-of-type(1) img,
    .onasContentTop div:nth-of-type(2) img,
    .onasContentTop div:nth-of-type(3) img {
        height: 400px;
    }
}

@media screen and (max-width: 830px) {

    .onasContentTop div:nth-of-type(1) img,
    .onasContentTop div:nth-of-type(2) img,
    .onasContentTop div:nth-of-type(3) img {
        height: 320px;
    }

    .onasContentTop {
        height: 400px;
    }

    .onasContent {
        height: 500px;
    }

    .onasContentTop div:hover~div img {
        height: 320px;
    }

    .onas {
        height: 650px;
    }

    .onasContentTop div:nth-of-type(1):hover,
    .onasContentTop div:nth-of-type(2):hover,
    .onasContentTop div:nth-of-type(3):hover {
        z-index: 20;
        transform: scale(1);
        /* Zvětšení při hoveru */
    }

    .baresDecoration {
        left: -40%;
    }

    .baresText {
        position: absolute;
        color: #0e8a1e;
        font-family: Staatliches, Arial;
        top: -10%;
        left: -310%;
        z-index: 5;
        width: 600px;
    }
}

@media screen and (max-width: 666px) {

    .musilekText p,
    .kostkaText p,
    .baresText p {
        font-size: 20px;
        text-shadow: 1px 1px #383838;
        margin-left: 0;
    }

    .musilekText h3,
    .kostkaText h3,
    .baresText h3 {
        font-size: 22px;
        text-shadow: 1px 1px #292929;
    }

    .kostkaDecoration,
    .musilekDecoration,
    .baresDecoration {
        width: 200px;
        height: 200px;
    }

    .baresDecoration {
        left: -20%;
    }
}

@media screen and (max-width: 600px) {

    .kostkaDecoration,
    .musilekDecoration,
    .musilekText,
    .baresDecoration,
    .baresText {
        visibility: visible;
    }


    .onasContentTop {
        flex-direction: column;
        justify-content: center;
        align-content: center;
        height: 1000px;
    }

    .kostka {
        display: flex;
        justify-content: left;
        align-items: start;
    }

    .kostkaimg {
        justify-content: center;
        align-items: center;
    }

    .kostkaDecoration {
        position: absolute;
        top: 5%;
        left: 20%;
        z-index: -1;
        border-radius: 100%;
        user-select: none;
    }

    .kostkaText {
        position: absolute;
        font-family: Staatliches, Arial;
        top: 15%;
        left: 40%;
        z-index: 5;
        width: 600px;
        text-align: left;
    }

    .musilek {
        display: flex;
        justify-content: right;
        align-items: flex-end;
    }

    .musilekDecoration {
        position: absolute;
        background-color: #c62538;
        top: 5%;
        left: 40%;
        z-index: -1;
        border-radius: 100%;
        user-select: none;
    }

    .musilekText {
        position: absolute;
        color: #c62538;
        font-family: Staatliches, Arial;
        top: 15%;
        left: -60%;
        z-index: 5;
        width: 600px;
        text-align: right;
    }

    .bares {
        display: flex;
        justify-content: left;
        align-items: flex-end;
    }

    .baresDecoration {
        top: 10%;
        left: 20%;
        width: 220px;
        height: 220px;
    }

    .baresText h3 {
        font-size: 25px;
        text-align: center;
    }

    .baresText p {
        font-size: 20px;
        text-align: center;
    }

    .baresText {
        position: absolute;
        color: #0e8a1e;
        font-family: Staatliches, Arial;
        top: 20%;
        left: 10%;
        z-index: 5;
        width: 600px;
        text-align: center;
    }

    .baresimg {
        padding-left: 50px;
    }

    .onas {
        height: 1200px;
    }

    .onasContentBottom {
        display: none;
    }


}

@media screen and (max-width: 540px) {

    .musilekText p,
    .kostkaText p,
    .baresText p {
        font-size: 18px;
        text-shadow: 1px 1px #383838;
        margin-left: 0;
    }

    .baresText {
        left: 5%;
    }
}

@media screen and (max-width: 515px) {
    .musilekText {
        left: -350px;
    }
}


@media screen and (max-width: 500px) {

    .musilekText p,
    .kostkaText p,
    .baresText p {
        font-size: 15px;
        text-shadow: 1px 1px #383838;
        margin-left: 0;
    }

    .baresText {
        left: 0%;
    }
}

@media screen and (max-width: 440px) {

    .onasContentTop div:nth-of-type(1) img,
    .onasContentTop div:nth-of-type(2) img,
    .onasContentTop div:nth-of-type(3) img {
        height: 280px;
    }

    .kostkaText,
    .musilekText,
    .baresText {
        width: 250px;
    }

    .musilekText {
        left: -10px;
    }

    .baresText {
        position: absolute;
        font-family: Staatliches, Arial;
        top: 15%;
        left: 40%;
        z-index: 5;
        text-align: left;
    }

    .baresText h3 {
        text-align: left;
        font-size: 22px;
    }

    .onas {
        height: 1000px;
    }
}

@media screen and (max-width: 410px) {
    .musilekText {
        left: -30px;
    }
}


@media screen and (max-width: 385px) {
    .musilekText {
        left: -35px;
    }
}