*{
    box-sizing: border-box;
    }

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    background-color: rgb(252, 250, 241);
  font-family:"national-park", sans-serif;
  
}

h1 { font-family: "forager", sans-serif;
    font-weight: 400;
    font-style: normal;
    }


p { font-family: "national-park", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
    }
    
    li { font-family: "national-park", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
    }
    


.parent {
    width: 100vw /*calc(100vw - 60px)*/;
    display: grid;
    /*grid-template-columns: repeat(2, 1fr);*/
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 20vh 3vh 1fr 1.5fr 1.5fr 1.5fr 5vh /*repeat(6, 1fr)*/;
    /*gap: 8px; */
    padding: 30px;  
    overflow: hidden;
}


/* index styl*/
    
.logo {
    grid-column: 1 / 6;
    grid-row: span 2 / span 2;
}
  .logo  img {
   /* width: 160%;
    height: auto; */
    width: 180px;
    max-width: 180px;
    height: auto;
  }

    .text{
    grid-column: 2 / span 7;
    grid-row-start: 3;
    font-size: 0.95 rem;
    }
    
   /* .text font {
        font-size: ;
    }*/

        
.spageta {
    grid-column: 1 / 9;
    
    grid-row-start: 4;
}
    .spageta img {
        width: 100%; 
        height: auto;
    }

.masle {
    grid-column: 1 / 9;  
    grid-row-start: 5;
}
    .masle img {
        width: 100%;
        height: auto;
    }

.penne {
    grid-column: 1 / 9;
    grid-row-start: 6;
}
    .penne img {
        width: 100%;
        height: auto;
    }

.prvky {
    grid-column: 8 / 9;
    grid-row-start: 7;
    align-self: end;
    justify-self: end;
    
   
}
/* epizoda styl */
.nadpis {
 grid-column: 1 / 9;
    grid-row-start: 1;
}
video{
width: 100%;          /* Video se přizpůsobí menším obrazovkám */
  max-width: 800px;     /* ZDE zadáš maximální šířku, jakou video může mít (např. 800px) */
  height: auto;         /* Výška se dopočítá automaticky podle poměru stran, nebude se deformovat */
  display: block;       /* Odstraní nechtěné mezery kolem videa */
  margin: 0 auto 20px;
/*grid-column: 1 / 9;
    grid-row-start: 2;
height: auto;
aspect-ratio: 16 / 9;
margin-bottom: 25px;*/
}

.popis{
  max-width: 850px;     
  margin: 20px auto;    
  text-align: left;     
  padding: 0 20px;

}
.ingredience{
     margin-top: 3em;
/*grid-column: 1 / 4;
    grid-row-start: 4; */
    
}
.zpet{
/*grid-column: 7 / 9;
    grid-row-start: 5;
     align-self: end;
    justify-self: end;*/
   /* position: absolute; */
   /* right: 30px;
    bottom: 30px;
    z-index: 10; */
  position: fixed;  
  right: 20px;       
  bottom: 20px;      
  z-index: 100;
}

.zpet img {
        width: 4em;
        height: auto;
    }

    .nula{
        min-height: 10vh;
        display: block;
        grid-column:1 / 2;
    grid-row-start: 3;
    }

/* menu styl */
.menu{ 
        box-sizing: border-box;
        justify-self: end;
        grid-column:  8 / 9;
        grid-row-start: 1;
        
    


    li{
    list-style: none;
    }




    .hamburger input[type="checkbox"]{
    width: 4em;
    height: 42px;
    position: absolute;
    top: 5px;
    right: 0;
    display: block;
    z-index: 3;
    opacity: 0;
    cursor: pointer;
    }

    .hamburgerlines{
    width: 4em;
    height: 32px;
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }

    .hamburgerlines img {
        width: 3.6em;
        height: auto;
        
    }

    .hamburgerlines .lines{
    display: block;
    height: 4px;
    width: 100%;
    background: white;
    border-radius: 10px;
    }

    .hamburger{
    position: relative;
    }

    .menu-items{
    padding-top: 90px;
    transform: translate(110%);
    transition: transform 0.5s ease-in-out;
    
                max-width: 400px;
            width: 150%;
            height: 25vh;
           }

        .menu-items li{
        margin-bottom: 2rem;
        font-size: 1.5rem;
        
        }

    .hamburger input[type="checkbox"]:checked ~ .menu-items{
    display: block;
    transform: translate(0%);
    background: white;

    }

    .hamburger input[type="checkbox"]:checked ~ .hamburgerlines .lines{
    background: #fff;
    }
    
    .hamburger input[type="checkbox"]:checked ~ .hamburgerlines .line1{
    transform: rotate(45deg);
    }

    .hamburger input[type="checkbox"]:checked ~ .hamburgerlines .line2{
    display: none;
    }


    .hamburger input[type="checkbox"]:checked ~ .hamburgerlines .line3{
    transform: rotate(-45deg);
    }

    a:link {
        color: black ;
        text-decoration: none;
    }
    a:visited {
    color: black ;
        text-decoration: none;
    }
     a:hover {
        color: black ;
        text-decoration: none;
     }

    
    
}

/* --------------desktop style ------------ */
 @media only screen and (min-width: 600px) {

    .parent {
    width: 100vw calc(100vw - 60px);
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(7, minmax(5vh, 12vh));
  /*  gap: 8px; 
    padding: 8em;  
    overflow: hidden;  */
}


p, li { 
    
        font-size: 1.6em;
        line-height: 1.2em;
    }

    /* desktop index styl */
      .logo  img {
    width: 100%;
    height: auto;
    position: static;
  }

    .text{
    grid-column: 2 / 13;   
    grid-row-start: 3;
    justify-self: end;
    align-self: end;
    }

.logo {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
}
.menu {
    grid-column: 13 / 14;
}
.spageta {
    grid-column: 1 / 7;
    
    grid-row-start: 4;
}
.masle {
    grid-column: 8 / 14;  
    grid-row-start: 5;
}
.penne {
    grid-column: 1 / 7;
    grid-row-start: 6;
    }
.prvky {
    grid-column: 13 / 14;
    grid-row-start: 7;
}

    .hamburgerlines img {
        width: 8em;
        height: auto;
    }
    .prvky img {
        width: 8em;
        height: auto;
    }
    .zpet{
  position: static;        
  grid-column: 13 / 14;    
  grid-row-start: 7;       
  align-self: end;
  justify-self: end;
}

    /* desktop epizoda styl */
.nadpis {
 grid-column: 1 / 9;
    grid-row-start: 1;
}
video{
grid-column: 3 / 12;
    grid-row: 2 / 5;
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}

.popis{
    margin-top: 3em;
grid-column: 3 / 12;
    grid-row-start: 5;
}

.zpet{
grid-column: 13 / 14;
    grid-row-start: 7;
     align-self: end;
    justify-self: end;
}
 .nadpis img {
        width: 10em;
        height: auto;
    }

}

 @media only screen and (min-width: 2000px) {

    .parent {

        width: 60vw;
        margin: auto;
        grid-template-rows: auto;
        position: relative; 
}
.zpet{
right: 0px;
}
}

   

.footer{

  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;

}

 
















