body{
    font-family: 'Exo 2', sans-serif;
}

*{
    margin: auto;
    padding: 0;
    list-style: none;
    text-decoration: none;
    max-width: 1920px;
}

.pozadie{
    position: absolute;
    top: 100px;
    height: 250px;
    width: 100%;
    background-image: url(obilie3.jpg);
    background-size:cover;
}

/*ZACIATOK NAVBAR*/
nav{
    position: fixed;
    z-index: 8;
    width: 100%;
    top: 0;
    height: 100px;
    background: rgb(196, 154, 108);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

nav img{
    width: 90px;
    position: fixed;
    margin-left: 20px;
}

nav ul{
    float: right;
    margin-right: 25px;
}

nav ul li{
    display: inline-block;
    line-height: 100px;
    margin: 0 25px;
}

nav ul li a{
    position: relative;
    color: white;
    font-size: 25px;
    text-transform: uppercase;
}

nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s linear;
}

nav ul li a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
}
label #btn,
label #cancel{
    color: white;
    font-size: 30px;
    float: right;
    line-height: 80px;
    cursor: pointer;
    display: none;
}

ul{
    overflow-y: auto;
}

@media(max-width: 890px){
    nav ul li a{
        font-size: 18px;
    }
}

#check{
    display: none;
}

@media (max-width: 750px){
    label #btn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100%;
        text-align: center;
        top: 100px;
        left: -100%;
        background: rgb(196, 154, 108);
        transition: all .5s;
        overflow-y: auto;
    }
    nav img{
        width: 90px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin-right: auto;
        margin-left: auto;
    }
    nav ul li{
        padding-top: 20px;
        display: block;
        line-height: 35px;
        margin-top: 15px;
    }
    nav ul li a{
        font-size: 22px;
    }

    #btn{
        margin-top: 10px;
        margin-right: 30px;
    }

    #check:checked ~ ul{
      left: 0;
    }

    #check:checked ~ label #btn{
      display: none;
    }

    #check:checked ~ label #cancel{
      display: block;
      position: absolute;
      z-index: 5;
      right: 30px;
      margin-top: 10px;
    }

}

ul::-webkit-scrollbar {
    display: none;
}

@media (max-width: 200px){
    nav{
        height: 40px;
    }
    nav img{
        width: 36px;
    }
    label #btn, label #cancel{
        font-size: 16px;
        line-height: 16px;
    }
    #check:checked ~ label #cancel{
        right: 10px;
        margin-top: 12px;
    }
    #btn{
        margin-top: 12px;
        margin-right: 10px;
    }
    ul{
        top: 40px;
        border: solid black 1px;
        overflow: auto;
    }
    nav ul li a{
       padding-top: 0;
       margin-top: 0;
       font-size: 10px;
    }
    nav ul li{
        padding-top: 0;
        padding-bottom: 0;
    }
    .pozadie{
        top: 40px;
        height: 310px;
    }
    .background{
        overflow-x: auto;
    }
    #obilie{
        display: none;
    }
    #krava{
        display: none;
    }
    #list{
        display: none;
    }
}

/*KONIEC NAVBAR*/

.background{
    margin-top: 350px;
    width: 100%;
    height: 100%;
    background: rgb(245,245,245);
    text-align: center;
    font-size: 20px;
    padding-bottom: 60px;
    box-shadow: rgb(44, 62, 80) 0px 0px 18px 0px inset;
}

#nadpis1{
    padding-top: 100px;
    margin-bottom: 25px;
    font-family: 'Kurale', serif;
}

#text1{
    width: 70%;
    text-align: center;
    font-size: 25px;
    line-height: 40px;
    margin-bottom: 20px;
    font-family: 'Manrope', sans-serif;
}

.nadpis2{
    color: rgb(0, 170, 0) ;
}

.nadpis3{
    color: rgb(196, 154, 108);
}

.nadpis4{
    color: black;
}

#list{
    width: 120px;
    height: 100px;
    margin-top: -10px;
}
#krava{
    width: 120px;
    height: 100px;
}

#obilie{
    width: 120px;
    height: 100px;
}


/*DOLNÉ MENU*/
.footer{
    width: 100%;
    height: 85px;
    background-image: url(texture.jpg);
    background-size: contain;
    outline: 4px black solid;
    box-shadow: rgba(0, 0, 0, 0.35) 0px -50px 36px -28px inset;
    text-align: center;
    color: rgb(245,245,245);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

/*LANGUAGE*/
.vyber {
    display: inline-block;
    min-width: 20px;
  }

  /* Dropdown Content (Hidden by Default) */
  .obsah {
    display: none;
    position: absolute;
    margin-left: -20px;
    width: 60px;
    background-color: rgb(245,245,245);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .obsah a {
    color: black;
    text-decoration: none;
    padding: 16px 15px 20px 20px;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .obsah a:hover {background-color: rgb(196, 154, 108);}
  
  /* Show the dropdown menu on hover */
  .vyber:hover .obsah {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .vyber:hover .tlacidlo {color: rgb(245,245,245);}
