*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    background: url('../img/tasty_burger_restaurant.jpg') no-repeat center fixed; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    width: 100%;
}

body{
    font-family: "Alfa Slab One", serif;
    line-height: 1.5;
    font-size: 20px;
    width: 90%;
    margin: 0 auto;
    padding: 0;
}   

/* navigáció rész */
nav.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(36, 35, 35);
    color: rgb(241, 237, 237);
    position: sticky;
    top: 4px;
    margin: 4px;
    z-index: 1;
}

ul.navigation{
    display: flex;
    list-style: none;
}

ul.navigation li{
    margin: 0 10px;
}
ul.navigation li a{
    text-decoration: none;
    color: white;
}
ul.navigation li a:hover{
    color: rgb(239, 26, 26);
    background-color: #f69903;
    border-radius: 10px;
}
.material-symbols-outlined.sizeandcolour{
    font-size: 44px;
    color: #f69903;
}
/* hamburger menü rész */
div.hamburger{
    flex-direction: column;
    display: none;
}

div.hamburger div{
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px;
}
/* drinks.html rész */
.container{
    display: flex;
    flex-flow: row wrap;
    align-content: space-evenly;
    justify-content: center;
    gap: 20px;
}
.container .flex-item {
    width: 400px;
    margin: 10px;
    text-align: center;
    background-color: #f69903;
    padding: 15px;
    border-radius: 15px;
    transition: transform 3s ease;
    
}
.container .flex-item:hover {
    border: solid 5px gray;
    box-shadow: 8px 8px 10px rgb(239, 236, 236);
    transform: scaleY(102%);
}

.box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center; 
}
.container .flex-item .box .ul_flex {
    display: flex;
    flex-direction: column;
    align-items: center; 
    list-style-type: none;
    text-align: justify;
    max-width: 300px;
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: #333;
}

.menu_li_flex{
  color: #333;
  font-size: 20px;
}

.img_flex{
    border-radius: 10px;
    width: 300px;
    height: 300px;
    border: solid 3px gray;
    align-items: center; 
    justify-content: center;
    
}
.img_flex:hover{
    box-shadow: 5px 5px 6px rgb(250, 247, 238);
}
.flex_h3{
    color: azure;
    margin-bottom: 16px;
}
/* contact.html rész */
.flex-container_contact{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.reservation{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    align-content: stretch;
    padding: 30px;
    background-color:  #f0d92e;
    color: #333;
    border: dotted 3px #1e1e1e;
    border-radius: 15px;
    box-shadow: 5px 5px 10px rgb(136, 247, 9);
    justify-content:space-between;
    width: 80%;
}
#content_img {
    height: auto;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    margin: 0;
}
div#form {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 0;
    border-radius: 15px;
    background-color:  rgba(255, 72, 0, 0.83);
    box-shadow: 3px 3px 5px rgb(255, 132, 0);
}
label{
    display: block;
    text-align: center;
    text-shadow: 10px 10px 5px rgb(255, 230, 0);
}
div #form input[id="e-mail"]:focus{
    border: 5px dashed rgb(242, 33, 33);
}
div #form input[id="e-mail"]:valid{
    border: 5px solid rgb(12, 188, 12);
}
label:hover{
    color: rgba(255, 0, 0, 0.83);
    font-weight: bold;
}
input[type], select{
    width: 80%;
    border: 2px solid rgb(21, 20, 20) ;
    border-radius: 10px;
    margin: 5px;
    font-weight: bold;
    font-family: monospace;
    height: 3em;
}
input[type=submit]{
    width: 50%;
    color: #121110;
    background-color:#f5f3f3;
    font-family: "Alfa Slab One", serif;
    height: 3em;
    font-size: 100%;
    font-weight: 600;
    margin: 15px;
}
input[type=submit]:hover{
    background-color: rgba(206, 206, 206, 0.919);
    font-weight: bold;
}
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    padding: 30px;
}
.map, .kapcsolat {
    flex: 1 1 400px;
    height: 400px;
    box-sizing: border-box;
    border-radius: 15px;
}
.nyitvatartas{
    background-color:  rgba(255, 72, 0, 0.83);
    border-radius: 5px;
    border: 10px dotted rgb(8, 3, 21);
}

.google_map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.kapcsolat {
    background-color: rgba(255, 72, 0, 0.83);
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid yellow;
}

h4{
    color: azure;
    margin: 20px;
}

/* menu.html rész */
.container_header{
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center; 
}
#menu_main_title {
    color: #f0d92e;
    font-size: 2em;
    font-weight: bold;
    font-family: "Alfa Slab One", serif;
    background-color: rgba(255, 72, 0, 0.83);
    border: 15px solid rgb(36, 35, 35);
    padding: 15px;
    justify-content: center;
    align-items: center; 
    display: flex;
    flex-wrap: nowrap;
}
.dancing_img1{
    height: 2em;
    width: auto;
    border-radius: 15px;
    margin: 10px;
    position: relative;
    animation-name: dancing1;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-direction: reverse;
}
.dancing_img2{
    height: 2em;
    width: auto;
    border-radius: 15px;
    margin: 10px;
    position: relative;
    animation-name: dancing2;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
@keyframes dancing1{
  0%   {left:0px; top:0px;}
  50%  {left:20px; top:0px;}
  100%  {left:0px; top:0px;}
}
@keyframes dancing2{
  0%   {right:0px; top:0px;}
  50%  {right:20px; top:0px;}
  100% {right:0px; top:0px;}
}
.intro_text{
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff; 
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    margin: 30px auto;
    font-size: 1.5em;
    line-height: 1.5;
    text-align: justify;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.icon{
    max-width: 2em;
    max-height: 2em;
    padding-left: 10px;
    padding-right: 10px;
}
.menu_li {
  color: #333;
  font-size: 20px;
  text-align: left;
}
.menu_li.label{
    text-align: center;
}
h3{
    color: azure;
    margin: 1em;
}
.hambi_nev{
    color: #070707;
    margin-bottom: 1em;
}
.menu_szoveg {
    text-align: justify;
}

#menu th, #menu td{
    border:1px solid black;
    padding: 10px 10px;
    text-align: left;
}
.td3{
    width: 180px;
}
#menu{
    background-color: rgb(233, 41, 20);
    color: rgb(255, 251, 0);
    margin: 0 auto;
    place-items: center;
    font-size: 25px;
    border: 5px solid #252525;
    border-radius: 4px;
    padding: 20px;
    table-layout: fixed;
}
.menu1{
    font-size: 1.5em;
    text-decoration: underline;
}
.menu2:hover{
background-color: rgba(40, 40, 40, 0.982);
border-radius: 20px;
opacity: 0.7;
}
.price_list{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(191, 39, 39);
    text-decoration: underline;
    padding: 10px;
}
/* index.html rész */
.flex-container {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-bottom: 20px;
}
.items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.flex_text{
    width: 80%;
    text-align: justify;
    border-radius: 5px; 
    gap: 15px;
    padding: 20px;
    background-color: rgba(255, 72, 0, 0.83);
    border: 15px dotted rgb(1, 4, 22);
    margin: 10px;
}
h1{
    color: #f0d92e;
    font-weight: bold;
    font-family: "Alfa Slab One", serif;
    background-color: rgba(255, 72, 0, 0.83);
    border: 15px solid rgb(36, 35, 35);
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
    padding-top: 15px;
    width: 100%;
    text-align: center;
}
h2{
    font-family: "Bangers", system-ui;
    font-size: 2.5em;
    color: #f0d92e;
    text-decoration: underline;
    text-shadow: 4px 4px #110054;
    margin: 20px;
    padding: 15px;
}
.cim_h2{
    font-family: "Bangers", system-ui;
    font-size: 400;
    font-size: 2.5em;
    color: #fadd00;
    text-shadow: 4px 4px #110054;
    text-decoration: underline;
    margin: 20px;
    padding: 15px;
}
.cim_h2:nth-of-type(even) {
    transform: rotate(3deg);
}
.cim_h2:nth-of-type(odd) {
    transform: rotate(-3deg);
}
.cim_h2::first-letter {
    text-transform: uppercase;
}
.cim_h2:hover{
    color: #d4cea5;
}
a{
    text-decoration: none;
    color:rgb(248, 243, 243);   
}
.burgerek_img{
    width: 30%;
    height: 30%;
    border-radius: 10px;
    border: solid 3px rgb(248, 243, 243);
}
footer{
    background-color: rgb(36, 35, 35);
    color: #fff;
    margin: 4px;
    text-align: center;
}
main {
    color: rgb(255, 251, 0);
    text-align: center;
}    
/* Galéria rész*/
.gallery_flex {
    display: flex;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    flex-flow: row wrap;
    align-content: space-evenly;
    justify-content: center;
    gap: 20px;
}

.image {
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 300px;
    height: 300px;
    gap: 20px;
}

.image:hover {
    transform: scale(1.05);
}

#modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

#fullImage {
    margin: 0 auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

#close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



/* reszponzivitás rész */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  main #menu{
    display: none;
  }
}
@media screen and (max-width: 960px) and (min-width: 600px) {
  .flex-container .items {
    flex-direction: column;
  }

  .flex-container_contact .reservation {
    flex-direction: column;
  }

  div#form {
    width: 80%;
    padding: 3px;
    gap:10px;
    margin: 10px;
  }

  .burgerek_img {
    width: 70%;
    height: 70%;
}
}

@media screen and (max-width: 600px){
  /*navigáció-->*/
  ul.navigation { 
    position: absolute;
    display: none;
    flex-direction: column;
    top: 60px;
    left: 0;
    background-color: #333;
    width: 100%;
    text-align: center;
  }

  ul.navigation.active {
    display: flex;
  }

  div.hamburger {
    display: flex;
  } 
  /*<--navigáció*/
  .flex-container .items {
    flex-direction: column;
  }

  .flex-container_contact .reservation {
    flex-direction: column;
  }

  div#form {
    width: 95%;
    padding: 3px;
    gap:2px;
    margin: 3px;
  }
  input[type], select{
    width: 95%;
  }
  div #form label{
    font-size: 0.8em;
  }
  input[type="submit"] {
    width: 90%;
    font-size: 1em;
    height: 2em;
  }
  .burgerek_img {
    width: 70%;
    height: 70%;
  }
  
  #menu_main_title {
    flex-wrap: wrap;
    font-size: 1.5em;
  }
  .container .flex-item{
    width: 300px;
  }
  h2, .cim_h2{
    font-size: 1.2em;
  }
  .intro_text{
    font-size: 1em;
  }
  .img_flex{
    width: 250px;
    height: 250px;
  }
  .form{
    width: 100%;
    padding: 3px;
  }
  html{
    background-size: cover;
  }
  h1{
    font-size: 1.5em;
  }
  .flex_text{
    width: 75%;
    font-size: 16px;
    padding: 10px;
    margin: 10px;
  }
  .nyitvatartas{
    max-width: 75%;
  }
  div.kapcsolat{
    max-width: 80%;
    flex-direction: row;
    flex-wrap: wrap;
  }
    .google_map{ 
    width: 80%;
    height: 80%;
    }
    .contact{
        gap: 0;
        
    }
}