@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
  margin:0
  
}



body {
  font-family: "Elms Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: darkolivegreen;
}

header
{
width: 100%;
background-image:url('ai/jedzonko.png') ;
background-size: cover ;
background-attachment: fixed;
height: 1080px;
}

nav {
display: flex;
justify-content: none;
}

.menu-link{
font-size: 2rem;
text-decoration: none;
color: white;
padding: 14px 20px;
border-bottom: 2px solid transparent;
transition-duration: 0.6s
}
.menu-link:hover{
  border-bottom: 2px solid burlywood;
}

@media screen and (max-width: 768PX) {
nav {
  flex-direction:  column;
  align-items: flex-end;
}

h1{
margin: 100px 0px;
font-size:2rem;
text-align: center;
width: 100%;
}


h2{
text-align: center;
width: 100%;
}

.kontener{
display: flex;
justify-content: space-around;
text-align: center;
flex-wrap: wrap;
}

.info{
margin:30px;
width: 150px;
max-height:150px;
border-radius: 150px;
object-fit: cover;
}
.potrawa{
  flex: 1;
}

}

.gallery{
max-width: 900px;
margin: 30px auto;
padding: 1rem;
}

h1{ 
  color:white;
  background: #0000003f;
}

.main-image{
width: 100%;
height: 55vh;
max-height: 500px;
min-height: 220px;
object-fit: cover;
border-radius: 1rem;
}


.thumbnails{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(90px, 1fr));
gap: 12px;
margin-top: 1rem;
}

.thumbnails img{
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

