/* hero sekce */
.hero{
    max-width: 80%;
    margin: auto;
    border: 3px solid #000000;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    position: relative;
    min-height: 30vh;
    overflow: hidden;
}

#hero-maskot{
    width: 90vw;  /* Adjust based on screen size */
    max-width: 300px;  /* To prevent it from getting too large */
    height: auto;  /* Maintain aspect ratio */
}

@media screen and (max-width: 1279px){
.hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-left{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
    }

    .left-top h2{
        font-size: 24px;
    }
    .left-top h3{
        font-size: 20px;
    }

}

.hero::before{
    content: " ";
    background-image: url('../images/hero-min.jpg');
    background-size: cover; /* nebo contain */
    background-position: center;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    filter: opacity(80%) brightness(2) saturate(1);
}


.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.left-top{
   padding-top: 70px;
   line-height: 1.8;
   font-size: 20px;
}

.left-bott{
    padding-top: 20px;
    line-height: 1.4;
    width: 70%;
}

.hero-buttons{
    display: flex;
    margin-top: 20px;
}

.button-prihlaska{
    border: none;
    color: var(--white);
    background-color: black;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-right: 20px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.button-prihlaska:hover{
    color: #000000;
    background-color: var(--white);
}

.button-oddily{
    border: none;
    color: black;
    background-color: var(--secondary);
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-right: 20px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.button-oddily:hover{
    color: var(--secondary);
    background-color: #000000;
}

@media screen and (max-width: 725px){
    .left-top h2{
        font-size: 20px;
    }
    .left-top h3{
        font-size: 16px;
    }
    .hero{
        text-align: center;
    }
    .hero-left{
        gap: 5px;
    }
}

@media screen and (max-width: 522px){
    .hero-buttons {
        flex-direction: column;
        gap: 5px;
    }
    .button-prihlaska,
    .button-oddily {
        width: 100% ; 
        max-width: 250px;
        text-align: center;
        display: block;
        margin: 5px auto;
    }
}


/* hero sekce */

/* o nas sekce */
.onas-sekce{
    background-color: var(--secondary);
    margin-top: 25px;
    padding: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    max-width: 100%;
}

.onas-popisky{
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    gap: 15px;
}

@media screen and (max-width: 1279px){
    .onas-sekce{
        padding: 2rem;
    }
    .onas-popisky{
        grid-template-columns: repeat(1, 120%);
        gap: 5px;
    }
}

@media screen and (max-width: 757px){
    .onas-sekce{
        padding: 2rem;
    }
    .onas-popisky{
        grid-template-columns: repeat(1, 80%);
        gap: 5px;
    }
}

.onas-popisek{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1279px){
    .onas-popisek{
        margin: 15px;
        flex-direction: row;
    }
}

@media screen and (max-width: 554px){
    .onas-popisek{
        margin: 15px;
        flex-direction: column;
    }
}

.onas-popisek p{
    text-align: center;
    width: 80%;
}

@media screen and (max-width: 1279px){
    .onas-popisek p{
        text-align: center;
        padding: 20px;
    }
}

@media screen and (max-width: 757px){
    .onas-popisek p{
        text-align: left;
        padding: 20px;
    }
}

@media screen and (max-width: 554px){
    .onas-popisek p{
        text-align: center;
        padding: 0px;
    }
}



.odkaz-onas a{
    font-size: 20px;
    color: #000000;
    text-decoration: none;
    position: relative;
    
    display: inline-block;
    position: relative;
}
  
.odkaz-onas a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    transition: transform 0.25s ease-out;
}
  
.odkaz-onas a:hover::after {
    transform: scaleX(1);
}
/* o nas sekce */

/* stan se clenem sekce

.clenem-ds{
    color: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: auto;
    padding: 8rem;
}

@media screen and (max-width: 903px){
    .clenem-ds{
        flex-direction: column;
        padding: 1rem;
        padding-top: 2rem;
        gap: 1rem;
    }
}



.clen-left h2 {
    background-image: linear-gradient(to right, #BF4141, #98042D);
    padding: 20px;
}

@media screen and (max-width: 903px){

    .clen-left h2{
        font-size: 24px;
        justify-self: center;
        align-items: center;
        background-image: linear-gradient(to bottom, #BF4141, #98042D);
        padding: 20px;
    }
}

.clen-left ul {
    padding: 20px;
    padding-left: 100px;
}

.clen-right img{
    width: 30vw;
}

@media screen and (max-width: 903px){

    .clen-left ul {
        padding: 15px;
        padding-left: 20px;
    }
    .clen-right img{
        width: 300px;
    }
}

.clen-left li {
    margin: 20px 0;
}

.clen-left a {
    margin: 10px 0;
    margin-left: 100px;
    display: flex;
    justify-content: end;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    display: inline-block;
    position: relative;
}
  
.clen-left a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: transform 0.25s ease-out;
}
  
.clen-left a:hover::after {
    transform: scaleX(1);
}


 stan se clenem sekce */

/* clenske oddily sekce */

.sekce-oddily{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem;
    gap: 60px;
    color: var(--white);
}

.clenske-oddily{
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
    gap: 15px;
}


@media screen and (max-width: 1279px){
    .clenske-oddily{
        grid-template-columns: repeat(2,300px);
        gap: 40px;
        column-gap: 20%;
    }
}
@media screen and (max-width: 950px){
    .sekce-oddily{
        padding: 20px;
        padding-top: 50px; padding-bottom: 50px;
    }
    .clenske-oddily{
        grid-template-columns: repeat(1,300px);
    }
    .nadpis-oddily h1{
        font-size: 30px;
    }
}

.oddil{
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.oddil-foto{
    display: flex;
    text-align: center;
    justify-content: center;
    min-height: 210px;
    min-width: 300px;
}
.oddil-foto img{
    width: 200px; height: 200px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}


.oddil-nazev{
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: large;
}

@media screen and (max-width: 553px){
    .oddil-foto img{
        width: 150px; height: 150px;
    }
    .oddil-foto{
        min-height: 160px;
        min-width: 160px;
    }

}

@media screen and (max-width: 394px){
    .nadpis-oddily h1{
        font-size: 25px;
    }
}

/* clenske oddily sekce */

