/* Start Global Rules */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #969292;
}
ul {
    list-style: none;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
/* End Global Rules */
/* Start Header */
header {
    position: relative;
    background-color: #f16331;

}
header nav {
  position: relative;
  display: flex;
  justify-content:space-around;
  align-items: center;
  background-color: #2d2d2d;
  height: 60px;
}




header .box {}

header .box ul.mainfood {
  width: 415px;
  height: 60px;
}
header .box ul.mainfood li {
  display: inline-block;
  border-right: 2px solid #222222;
  width: 100px;
  height: 60px;
}
header .box ul.mainfood li:first-child {
  border-left: 2px solid #222222;
}
header .box ul.mainfood a {
  display: inline-block;
  text-decoration: none;
  color: #ddd;
  font-size: 22px;
  text-align: center;
  width: 100px;
  height: 60px;
  padding-top: 13px;
}
header .box ul.mainfood a:hover {
  color: #f16331;
}
@media (min-width: 610px) {
    header .logo {
        position: relative;
        width: 120px;
        height: 65px;
      }
      header .logo img{
        width: 95px;
        height: 64px;
        position: absolute;
        left: -5px;
        top: 3px;
      }
      header .logo p {
        position: absolute;
        right: 5px;
        top: 10px;
        font-size: 20px;
        font-weight: bold;
        color: black;
        text-align: center;
        text-transform: uppercase;
      }
}
@media (max-width: 610px) {
    header a {
text-decoration: none;
      }
    header .logo {
        position: relative;
        width: 100px;
        height: 60px;
      }
      header .logo img{
        position: absolute;
        width: 65px;
        height: 50px;
        left: -10px;
        top: 10px;
      }
      header .logo p {
        position: absolute;
        right: 22px;
        top: 15px;
        font-size: 17px;
        font-weight: bold;
        color: black;
        text-align: center;
        text-transform: uppercase;
      }

  header .box ul.mainfood {
    width: 200px;
    justify-content: space-between;
  }
  header .box ul.mainfood li {
    width: 45px;
  }
  header .box ul.mainfood a {
    padding-top: 17px;
    font-size: 15px;
    width: 45px;
  }
}
header .box ul.sweet {
  display: none;
  position: absolute;
  width: 200px;
  height: 220px;
  background-color: #514d4d;
  z-index: 1;
}
header .box ul.sweet.active {
  display: block;
}
header .box ul.sweet li {
  height: calc(220px / 4);
  width: 200px;
  border-bottom: 2px solid black;
  text-align: right;
  padding: 10px;
}
header .box ul.sweet li a {
  font-size: 22px;
  text-decoration: none;
  color: white;
  padding: 10px 0;
}
header .box ul.sweet li a:hover {
padding-right: 8px;
}
@media (max-width: 610px) {
  header .box ul.sweet {
    height: 180px;
    width: 160px;
  }
  header .box ul.sweet li {
    width: 160px;
    height: calc(180px / 4);
  }
  header .box ul.sweet li a {
    font-size: 19px;
  }
}
header .search {
height: 60px;
text-align: center;
padding-top: 20px;
padding-bottom: 30px;
background-color: #f16331;
border-color: #ddd;
}
header .search i {
  font-size: 20px;
  margin-right: -38px;
  z-index: 1;
  position: relative;
}
header .search input {
  border-radius: 10px;
  width: 630px;
  height: 31px;
  padding-left: 50px;
}
@media (max-width: 700px) {
  header .search input {
    width: 300px;
  }
}
.myUL {
  display: none;
  width: 630px;
  height: 118px;
  overflow: hidden;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  left: 50%;
  transform: translateX(-51%);
}
.myUL.active {
  display: block;
}
@media (max-width: 700px) {
  #myUL {
    width: 300px;
    transform: translateX(-52%);
  }
}
#myUL li a {
  border: 1px solid #ddd;
  margin-top: -1px;
  background-color: #f6f6f6;
  padding: 5px;
  text-decoration: none;
  font-size: 17px;
  color: black;
  display: block;
}


#myUL li a:hover:not(.header) {
  background-color: #eee; /* Add a hover effect to all links, except for headers */
}

/* End Footer */


/* Start Main */
.main {
  background-color: #f16331;
}
.main .container {}
.main .box-cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr )) ;
  grid-gap: 20px;
  padding-top: 50px;
  padding-bottom: 20px;
}
.main .box-cont .box {
  position: relative;
  width: 250px;
  height: 330px;
  background-color: bisque;
  padding: 0;
  right: 50%;
  transform: translateX(50%);
  /* right: -50%;
  transform: translateX(-50%); */
}
.main .box-cont .box img {
    width: 240px;
    height: 150px;
}
.main .box-cont .box h2 {
  text-align: right;
  text-align: right;
  font-size: 22px;
  padding: 10px 10px;
  color: #541c08;
}
.main .box-cont .box p {
  text-align: right;
  height: 37px;
  overflow: hidden;
  padding: 0 5px;

}
.main .box-cont .box button {
    background-color: #541c08;
    color: white;
  padding: 7px 11px;
  margin-top: 10px;
  border-radius: 5px;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  cursor: pointer;
  bottom: 11px;
}

@media (min-width: 520px) {
    .main .box-cont .box img {
        top: 2px;
        position: relative;
        left: -4px;
    }
}
    @media (max-width: 520px) {
  .main .box-cont .box {
    width: 165px;
    height: 255px;
  }
  .main .box-cont {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr )) ;
    grid-gap: 10px;
  }
  .main .box-cont .box img {
    width: 158px;
    height: 150px;
    top: 2px;
    position: relative;
    left: -3px;
    margin-bottom: 2px;
  }
  .main .box-cont .box h2 {
    font-size: 16px;
    padding: 0 5px;
    line-height: 1;
  }
  .main .box-cont .box p {
    font-size: 10px;
    height: 24px;
    overflow: hidden;
    padding: 3px 6px;
  }
  .main .box-cont .box button {
    width: 90px;
    padding: 4px 7px;
    margin-top: 0px;
    border-radius: 5px;
    bottom: 9px;
    font-size: 13px;
    font-weight: bold;
  }
  .myUL {
  height: 140px;
  }
}


/* End Main */


/* Start Footer */
footer {
  height: 250px;
  text-align: center;
  background-color: #2d2d2d;
}
footer .container {}
footer p.f {
  padding-top: 30px;
  padding-bottom: 15px;
  font-weight: bold;
  color: #7f2f12;
}
footer .i-cont {}
footer .i-cont i {
  margin: 0 15px;
  color: #ba4116;
}
footer ul {
  margin-top: 25px;
  margin-bottom: 40px;
}
footer ul li {
  margin: 0 10px;
  display: inline-block;
}
footer ul li a {
  text-decoration: none;
  color: #ba4116;
}
@media (max-width: 450px) {
  footer ul li a {
    font-size: 15px;
  }
  footer ul li {
    margin: 0 4px;
  }
}

footer hr {
  margin-top: 75px;
  border-color: darkgrey;
}
footer p.l {
  margin-top: 30px;
  font-size: 14px;
  color: darkgrey;
}
/* End Footer */
























