
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
  
}

html{
    scroll-behavior: smooth;
}
.header {
  color: white;
  background-color: black;
  font-weight: 600;
  text-align: center;
  
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(120px, 18vw, 330px); 
  padding: 0 20px; 
  box-sizing: border-box;
}

.piktogram {
  height: clamp(60px, 12vw, 200px); 
  width: auto;
  
 
  margin: 0 clamp(10px, 3vw, 40px); 
}
.special-gothic-expanded-one-regular {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


h1{
    font-size: 4rem;
    font-family: "special-gothic-expanded", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: white;
}

h2 {
    color: white;
    font-family: "calibri", sans-serif;
    font-weight: 300;
    font-style: normal;
    padding-top: 0;
}



a {
    font-size: 2.5rem;
}

p{
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    font-size: 2.5rem;
    text-align: center;
}
.mySlides p{
    text-align:left;
}

.playmate-text p {
    text-align: left;
}

ul li {
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    font-size: 2.5rem; 
    list-style-type: none;
}

.mainsection { 
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    background-color: rgb(33, 197, 104);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 80px;           
    padding: 20px;
    flex-wrap: wrap;

}

.mainsection a {
    color: white;         
    text-decoration: none;    
    font-weight: bold;        
    transition: 0.3s;         
}

.mainsection a:hover {
    color: #e0e0e0;
}

.menu-button {
    display: none;
}


.hamburger {
    display: none;
}


hr {
    height: 5px;
    border: none;
    background-color: black;
    width: 90%;
    margin: 0 auto; 
    border-radius: 3px;         
}

.mainpage {
    background-color: rgb(33, 197, 104);
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 60px;
    padding: 50px 20px;
    width: 100%;
}

iframe{
    width: 100% !important;      
    max-width: 1500px !important; 
    aspect-ratio: 16 / 9;         
    height: auto !important;      
    display: block;
    margin: 0 auto;               
    border: none;                 
}


.mySlides{
    display: none;
}

.slideshow-container {
    max-width: 1000px;    
    min-height: 550px;
    position: relative;
    margin: 0 auto;
    padding: 40px 60px;

}

.grid14{
    display: grid;
    height: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr ;
    grid-template-rows: 3fr 6em 3em 1fr;
    overflow: hidden;
}

.next { right: -50px; }
.prev { left: -50px; }

.prev, .next {
    cursor: pointer;
    position: absolute; 
    top: 50%;           
    transform: translateY(-50%); 
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 60px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 100;       
    transition: 0.3s;  
}

.prev:hover, .next:hover {
    background-color: rgba(33, 197, 104, 0.8);
    transform: translateY(-50%) scale(1.1); /* Lehce se zvětší */
}

.fade {
    animation-name: fadeAnim;
    animation-duration: 1s;
}

@keyframes fadeAnim {
    from {opacity: 0;} 
    to {opacity: 1;}
}

.pokemon, .lorcana, .magic {
    /*display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;*/
    width: 100%;
    max-width: 1000px;
}

#ptext, #ltext, #mtext{
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    height: 100%;
    overflow-y: auto;
}


.pcard, .lcard, .mcard {
    width: 300px;
    height: auto;
    border-radius: 15px;
    flex-shrink: 0; 
}


.ppack, .phow {
    background-color: black;
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s; 
    text-align: center;
    width: fit-content;
    line-height: 1.5;
    padding-bottom: 70px;

}

.ppack:hover, .phow:hover, .lpack:hover, .lhow:hover, .mpack:hover, .mhow:hover {
    opacity: 0.8;
}


.youtube, .iluze, .instagram {
    background-color: black;
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s; 
    text-align: center;
    width: fit-content;
    line-height: 1.5;
}


.line {
    background-color: rgb(33, 197, 104);       
    width: 100%;
}


.svisla-cara {
    border: none;
    width: 4px;
    height: 100px;
    background-color: white;
    margin: 0;
}


.footer {
    color: white;
    font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    background-color: black;
    padding: 40px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.grid14 img {
    grid-column: 1 / 6;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    object-fit: contain;

}
#ptext, #ltext, #mtext{
     grid-column: 7 / 14 ;
    grid-row: 1 / 2;
}

.ppack {
    grid-column: 3 / 14 ;
    grid-row: 3 / 4;
}
.phow {
    grid-column: 8 / 14 ;
    grid-row: 3 / 4 ;
}


/*----------------index.html---------------------*/
@media (max-width: 820px) {
   
.header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: auto; 
        padding: 20px; 
    }

    .piktogram {
        margin: 0 0px 0 0; 
    }



 .mainsection {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 15px;
        gap: 0;
    }

.mainsection a{
    font-size: 1.5rem;
}
.mainpage {
    gap: 40px;
    padding: 32px 20px;
}

.mobilni-hlavicka {
        display: flex !important;
        flex-direction: row !important; 
        align-items: center !important;  
        justify-content: center !important; 
        width: 100%;
    }

  
    .hamburger{
        display: block;         
        font-size: 45px;        
        color: black;           
        font-weight: bold;
        line-height: 1;
        border-radius:3px;
    }


    .menu-hlavicka {
        display: flex;
        align-items: center;
        gap: 10px; 
    }

    .logo-text {
        font-size: 45px; 
        text-decoration: none; 
        color: white; 
    }

   
    .hlavni-odkaz {
        font-size: 22px;
        display: inline-block !important;
    }

    
.menu-odkazy {
        
        display: flex; 
        flex-direction: column;
        align-items: center; 
        gap: 15px;              
        width: 100%;

        
        max-height: 0;       
        opacity: 0;         
        overflow: hidden;    
        transition:  0.4s ease-out,  0.4s ease-out, padding 0.4s ease-out;
        padding-top: 0;      
    }

    .menu-odkazy a {
        font-size: 1rem;
        text-align: center;
        width: max-content;
    }

iframe{
    padding: 0px;
}

.menu-odkazy.otevreno {
        
        max-height: 300px;   
        opacity: 1;          
        padding-top: 15px;   
    }

    .prev {
        left: 10px !important; 
    }

    .next {
        right: 10px !important; 
    }

    .slideshow-container {
        padding: 0 20px;
        width: 100%;
    }

  
    .grid14 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .grid14 img {
        width: 80%; 
        max-width: 250px;
        margin-bottom: 20px;
    }

    #ptext, #ltext, #mtext {
        padding: 0 10px;
        margin-bottom: 20px;
    }

    h1 { font-size: 2.5rem; }
    p, a { 
        font-size: 1.5rem; 
    }

    .mySlides p{
        text-align: center;
    }

    .ppack, .phow {
        width: 100%;          
        max-width: 280px;      
        margin: 0 auto 10px auto; 
        padding: 12px 20px;    

        }
    .prev, .next {
        font-size: 40px;
        padding: 10px;
        
    }

    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 3px;
    }

    .footer a {
        margin: 0;          
        padding: 2px 5px;   
        font-size: 20px;    
        line-height: 1.2;   
    }

    .iluze, .youtube, .instagram{
        font-size: 2rem;
    }

    .svisla-cara {
        display: none; 
    }


}

/* ------------- only desktop style ---------- */
@media (min-width: 820px) {
   

.menu-odkazy {
    display: flex;
    gap: 80px;
}
}

/* ------------- Pokemon Deck ---------- */

.popis-karty{
    color: white;
   font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.picture-popis {
    margin-top: 30px;
    margin-bottom: 40px;
}
.popisky {
  display: grid;

  grid-template-columns: 1fr 1fr;
  background-color: rgb(0, 0, 0);
  padding: 5px;
  border-radius: 7px;
}

.popisky div {
  background-color: rgb(33, 197, 104);;
  padding: 55px;

}

.bpokemon, .bhow {
    background-color: black;
    color: white;
   font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s; 
    text-align: center;
    width: fit-content;
    line-height: 1.5;
    margin: 30px;

}


@media (max-width: 820px) {

.picture-popis svg{
    width: 100%;
    height: auto;
}

h1{
    text-align: center;
}

.popisky{
    grid-template-columns: 1fr;
    padding: 0px;
}

.popisky div{
    padding: 0px 0px;
}

.popisky p{
    font-size: 1.8rem;
    text-align: left;
}

.bpokemon, .bhow{
    align-items: center;
}

.popis-karty h3{
text-align: center;

}

.buttons{
    display: flex;
    flex-direction: column;  
    align-items: center;     
    justify-content: center; 
        
}



}

/* ------------- PokemonHotToPlay---------- */

.playmate{
    color: white;
   font-family: "calibri", sans-serif;
font-weight: 300;
font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.playmate h3{
    font-size: 4rem;
}
.otocit-upozorneni {
    display: none;
    text-align: center;
    padding: 15px;
    margin: 20px 0;

}

.otocit-upozorneni p {
    margin: 0;
    font-size: 1.5rem;

}

.picture-playmate{
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.playmate-text{
    max-width: 380px;
    text-align: left;
    padding: 20px;

}
.Playmate-text p {
    margin: 10px 0; 
    font-size: 1.2rem;
}

@media screen and (max-width: 820px) and (orientation: portrait) {
    .picture-playmate {
        display: none !important;
    }
    .otocit-upozorneni {
        display: block !important; 
    }

    .playmate-text{
        display: none;
    }
    .playmate h3{
    font-size: 2rem;
}
}


@media screen and (max-width: 900px) and (orientation: landscape) {
    .picture-playmate {
        display: flex !important; 
        justify-content: center;
    }

    .otocit-upozorneni {
        display: none !important; 
    }

    .picture-playmate svg {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}

/* ------------- coming soon---------- */
@media (max-width: 820px) {

}