/* ==== video section ======== video section ======== video section ====*/
.videobox {
    position: relative;
    top:0;
    left: 0;
}

.video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 640px;
}

.text-inside {
    position: absolute;
    top: 40%;
    left: 10%;
}

.text-inside h1 {
    line-height: 4.2rem;
    color: white;
    font-size: 4rem;
    font-weight: 500;
    font-family: "atyp-kido-variable", sans-serif;
}

.text-inside p {
    margin-top: 1rem;
    line-height: 1.5rem;
    color: white;
    font-size: 1.4rem;
}

.reserve-btn-videobox {
    transform: translateY(220%);
}

.reserve-btn-videobox a {
    font-size: 1.2rem;
    background-color: #b5dca0;
    border-radius: 50px;
    padding: 10px 25px 10px 25px;
    border: solid 2px #b5dca0;
    transition: border 0.1s;
    transition: background-color 0.1s;
    color: #2e6d3c;
    font-weight: 500;
    transition: color 0.1s;
    text-decoration: none;
   }


.reserve-btn-videobox a:hover {
    border: white solid 2px;
    background-color: #2e6d3c;
    color:white;
}


.reserve-btn-videobox a span:hover {
    color:white;
}

/* ==== VYBAVENÍ HALY ======== VYBAVENÍ HALY ======== VYBAVENÍ HALY ==== */
.hall-eqp {
    font-family: "atyp-kido-variable", sans-serif;
    font-size: 2.3rem;
    font-weight: 550;
    color:#2e6d3c;
    margin-left: 10%;
}

.reserve-btn-sticky {
    position: sticky;
    top: 9rem;
    display: flex;
    justify-content: flex-end;
    margin-right: 15%;
    transform: translateY(-95%);
    z-index: 1000;
}

.reserve-btn-sticky a {
    font-size: 1.5rem;
    background-color: #b5dca0;
    border-radius: 50px;
    padding: 8px 25px 10px 25px;
    border: solid 2px #b5dca0;
    transition: border 0.1s;
    transition: background-color 0.1s;
    color: #2e6d3c;
    font-weight: 520;
    transition: color 0.1s;
    text-decoration: none;
   }


.reserve-btn-sticky a:hover {
    border: white solid 2px;
    background-color: #2e6d3c;
    color:white;
}


.reserve-btn-sticky a span:hover {
    color:white;
}

@media (max-width:570px) {
    .reserve-btn-sticky {
        display: none;
    }
}

/* ==== CARDS ======== CARDS ======== CARDS ====*/

.card-container {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin-top: -4.5rem;
}

.card {
    position: relative;
    left: 0;
    top: 0;
}

.card img {
    object-fit: cover;
    height: 400px;
    width: 100%;
    border-radius: 40px;
    margin-top: 1.5rem;
}

.card p {
    z-index: 999;
    position: absolute;
    left: 5%;
    top: 50%;
    color: white;
    font-family: "atyp-kido-variable", sans-serif;
    font-size: 3rem;
    font-weight: 500;
}



@media (max-width:570px) {  
    .card-container {
        margin-top: -2.5rem;
    }
}



/*´´´´´´´´´´´´´´´================´=´=´´´*/
.homepage-aktuality-projection {
    margin: 2rem 0 2rem 0;
}

.homepage-aktuality-projection .nadpis-aktuality {
    font-size: 2.3rem;
    font-weight: 550;
    color: #2e6d3c;
    font-family: "atyp-kido-variable", sans-serif;
    line-height: 2rem;
    margin-left: 10%;
    text-decoration: none;
}

.projection-cards {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.info-card {
    position: relative;
    left: 0;
    top: 0;
    overflow: hidden;
    height: 400px;
    width: 270px;
    border-radius: 35px;
    background-color: white;
}

.custom-lenght1 {
    height: 470px;
}

.custom-lenght2 {
    height: 450px;
}

.info-card img {
    height: 200px;
    width: auto;
    object-fit: contain;
    object-position: -5px;
}

.info-card h4 {
    margin: 1rem 0 0.7rem 1rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.info-card p {
    margin: 0.2rem 0.5rem 0 1rem;
    line-height: 1.2rem;
    font-size: 1rem;
}

.datum-aktuality {
    position: absolute;
    left: 0;
    bottom: 1rem;
    font-weight: 500;
    color: #2e6d3c;
    font-size: 1rem;
}

.info-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

@media  (max-width:760px) {
    .homepage-aktuality-projection {
        margin-right: 1rem;
        margin-left: 1rem;  
    }
} 


/* =================================================================================================*/
@media (min-width:1300px) {
    .navrh-cele {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cela-cast {
    background-color: white;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 35px;
}

.kurty-na-badminton {
    width: 600px;
    height: 400px;
    border-radius: 35px;
}


.text-k-obrazku {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3rem;
}

.text-k-obrazku h3 {
    color: #2e6d3c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.text-k-obrazku p {
    color: black;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.text-k-obrazku .uprava {
    text-decoration: none;
    color: #2e6d3c;
    font-weight: 450;
}

.text-k-obrazku .nejakej-odkaz {
    margin-top: 2rem;
    background-color: #b5dca0;
    border-radius: 10px;
    border: #b5dca0 2px solid;
    color: #2e6d3c;
    text-decoration: none;
    padding: 0.5rem;
    font-size: 1.3rem;
    font-weight: 550;
    transition: border 0.1s;
    transition: background-color 0.1s;
    }


    .text-k-obrazku .nejakej-odkaz:hover {
    border: white solid 2px;
    background-color: #2e6d3c;
    color:white;
}


.text-k-obrazku .nejakej-odkaz span:hover {
    color:white;
}


    .karta1 {
        margin-top: 2rem;
        padding-right: 50px;
    }

    .karta2 {
        flex-direction: row-reverse;
        padding-left: 50px;
    }

    .karta3 {
        margin-bottom: 2rem;
        padding-right: 50px;
    }
}

@media (max-width:1300px) {
    .navrh-cele {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.cela-cast {
    background-color: white;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 35px;
}

.kurty-na-badminton {
    width: 100%;
    height: auto;
    border-radius: 35px;
}


.text-k-obrazku {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

.text-k-obrazku h3 {
    color: #2e6d3c;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.text-k-obrazku p {
    color: black;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.text-k-obrazku .uprava {
    text-decoration: none;
    color: #2e6d3c;
    font-weight: 450;
}

.text-k-obrazku .nejakej-odkaz {
    margin-top: 2rem;
    background-color: #b5dca0;
    border-radius: 10px;
    border: #b5dca0 2px solid;
    color: #2e6d3c;
    text-decoration: none;
    padding: 0.5rem;
    font-size: 1.3rem;
    font-weight: 550;
    transition: border 0.1s;
    transition: background-color 0.1s;
    }


    .text-k-obrazku .nejakej-odkaz:hover {
    border: white solid 2px;
    background-color: #2e6d3c;
    color:white;
}


.text-k-obrazku .nejakej-odkaz span:hover {
    color:white;
}
}
