@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  font-family: 'Cabin', sans-serif;
  background: #f4f7f8 url(./images/bdbg1.png)
}

main {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          overflow: auto;

}
.right, .left{
  position: absolute;
  height: 50%;
  left: 0%;
  width: 100%;
}

.left{
  background: #fb1109;
  background-size:cover;

}
.right{
  bottom: 50%;
  background: #ffc107 ;
}
.logo{
  position: absolute;
    font-size: 35px;
    top: 3%;
    z-index: 1;
    left: 3%;
    font-family: 'Montserrat';
}
.logo a{
  text-decoration: none;
  color: #000;
}
.footer{
  position: absolute;
  top: 70%;
  width:100%;
  display:flex;
  color: #fff;
  background: #f10a0a;
}
.footer>ul{
  list-style: none;
  text-transform: uppercase;
  font-size: 16px;
  margin: 5%;
  width:50%;
}
.footer>ul:nth-child(2){
  list-style: none;
  text-transform: uppercase;
  font-size: 16px;
  margin: 5%;
  width:50%;
}
.cheese{
  position:absolute;
  width:60px;
  height:70px;
}
.credit{
  left: 50%;
  font-size: 15px;
  position: absolute;
  text-align: center;
  font-size: 15px;
  display: block;
  top: 30%;
  margin-top: 10%;
  margin-bottom: 3%
}
.footer ul li{
  margin-top:3%;
}
.footer>div{
  margin: 5%;
}
.footer h5{
  font-size: 25px;
    z-index: 1;
    font-family: 'Montserrat';
}
.price{
  width: 150px;
    height: 100px;
    position: absolute;
    top: 20%;
    left: -47%;
}
.productimg{
  position: absolute;
  width: 350px;
    opacity: 100%;
    height: 350px;
    margin: 5% 0 0 0%;
  display: inline-block;
  z-index: 1;
  transform: translate(-50%, -40%);
}
.cheese {
  position: absolute;
  width: 150px;
  left: -15%;
  top: -5%;
  height: 150px;
}
.ketchup{
  position: absolute;
  width: 250px;
  left: -20%;
  top: -2%;
height: 200px;

}
.tomatoes{
  position: absolute;
  width: 90px;
  left: -16%;
  top: 35%;
}
.onions{
  position: absolute;
  width: 120px;
  left: 10%;
  top: 45%;
}
.overlay {
  height: 100%;
  width: 0;
  display: flex;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #ffc107;
  overflow-x: hidden;
  transition: 0.5s;
}

.writeup1{
  position: absolute;
  left: 2%;
  top: 40%;
  font-family: 'Montserrat';
  color: #fff;
}
.writeup1 h5{
  font-size: 45px;
  text-shadow: 2px 2px 2px #000;
}

.writeup{
  position: absolute;
  left: 70%;
  top:30%;
  font-family: 'Montserrat';
  color: #fff;
}
.writeup h5{
  font-size: 90px;
  text-shadow: 2px 2px 2px #000;
}
.overlay-contentDesktop {
  position: absolute;
  top: -3%;
  left: 0%;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  margin-top: 30px;
  text-transform: uppercase;
  z-index:1;
}
.overlay-contentDesktop a{
  padding: 15px;
  text-decoration: none;
  font-size: 15px;
  color: #000;
  display: flex;
  transition: 0.5s;
}

.fa-times:before {
    content: "\f00d";
    font-size: 27px;
}
.menu{
 display:none;
}
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right:5px;
  font-size: 22px;
}
main a:hover {
  background: white;
}

.trans-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.trans-container>span:nth-child(1)  {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  background: #fb1109;
  z-index:10;
}
.trans-container>span:nth-child(2) {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  background: #ffc107;
  z-index:10;
}
.menuslide {
  top: 5%;
  left: -25%;
  width: 50%;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.menulogo
{
  height: 35%;
  width: 35%;
  background: #FFC107;
border-radius: 50%;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.menulogo h5{
  font-family: 'Montserrat';
  font-size: 50px;
  margin-top: 30%;
}
.menulogo p{
  font-size: 17px;
  text-transform: uppercase;
}
.menudesserts{
  width: 60%;
  height: 80%;
  position: absolute;
  left: 40%;
  opacity: 50%;
}
.details{
  position: absolute;
  top: 65%;
}
.details p{
  font-size: 14px;
  position: fixed;
  top: 90%;
  width: 100%;
  left: 30%;
}

.slides {
  display: -webkit-box;
  display: flex;
  
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  
}
.slides::-webkit-scrollbar-track {
  background: transparent;
}
.slides > div {
  scroll-snap-align: start;
  flex-shrink: 0;
  -webkit-transform-origin: center center;
  transform-origin: center center;
-webkit-transform: scale(1);
  transform: scale(1);
  width: 100%;
  height: 500px;
  margin-right: 50px;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
  position: relative;
  border-left: solid red 5px;
  box-shadow: 4px 3px 3px 3px #9E9E9E;
  background: #fff;
  -webkit-transition: -webkit-transform 0.6s;
  transition: -webkit-transform 0.6s;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  font-size: 100px;
}
.menucover{
  position: absolute;
  height: 40%;
  width: 50%;
  left: 0%;
  top: 60%;
}
.pizza{
  position: absolute;
  height: 50%;
  width: 50%;
  left: 52%;
}
.menusandwich{
  height: 50%;
  width: 40%;
  position: absolute;
  top: 10%;
  left:0%;
}
@media(max-width:321px){
 
  .slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    -webkit-transform-origin: center center;
    transform-origin: center center;
  -webkit-transform: scale(1);
    transform: scale(1);
    width: 100%;
    height: 350px;
    margin-right: 50px;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    position: relative;
    border-left: solid red 5px;
    box-shadow: 4px 3px 3px 3px #9E9E9E;
    background: #eee;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    font-size: 100px;
  }
}
.list ul h5{
font-size: 40px;
margin: 5%;
    width: 100%;
    border-bottom: dotted;
}
.list ul{
    font-size: 27px;
  list-style: none;
  margin: 5%;
  z-index: 1;
  margin-top: 15%;
}
.list li{
   
    margin-top: 10%;
    font-size: 20px;
    text-align: left;
    position: relative;
    left: -40px;
}
.list>ul>li>span{
  float: right;
  position: relative;
  left: 30%;
}
.pizzabig{
  position: absolute;
  left: 55%;
  top: 20%;
  opacity: 95%;
  display:block
}
.grab{
position: absolute;
z-index: 1;
width: 15%;
left: 2%;
height: 6%;
border-radius: 20px;
border: none;
background: #ffc107;
color: #fff;
font-family: monospace;
font-size: 1.2rem;
font-weight: 900;
top: 80%;
}

@media(max-width:750px){
  .right, .left{
    position: absolute;
    height: 50%;
    left: 0%;
    width: 100%;
  }
  
  .left{
    background: #fb1109;
    background-size:cover;
  
  }
  .right{
    bottom: 50%;
    background: #ffc107 ;
  }
  .logo{
    position: absolute;
      font-size: 35px;
      top: 3%;
      z-index: 1;
      left: 3%;
      font-family: 'Montserrat';
  }
  .logo a{
    text-decoration: none;
    color: #000;
  }
  .credit{
    font-size: 14px;
    text-align: center;
    position: relative;
    margin-top: 10%;
    margin-bottom: 3%;
    left: 0%;
  }
  .footer{
    position: absolute;
    top: 70%;
    display:block;
    color: #fff;
    background: #f10a0a;
  }
  .footer>ul{
    list-style: none;
    text-transform: uppercase;
    font-size: 15px;
    margin: 5%;
  }
  .footer>ul:nth-child(2){
    list-style: none;
    text-transform: uppercase;
    font-size: 15px;
    margin: 5%;
    margin-bottom: 15%;
  }
  .footer ul li{
    font-size: 14px;
    margin-top:3%;
  }
  .footer>div{
    margin: 5%;
    margin-bottom: 20%;
    margin-top: 20%;
  }
  .footer h5{
    font-size: 25px;
      z-index: 1;
      font-family: 'Montserrat';
  }
  .price{
    width: 120px;
    height: 100px;
    position: absolute;
    top: 18%;
    z-index: 1;
    left: -47%;
}
  .productimg{
    position: absolute;
    width: 100%;
    opacity: 100%;
    height: 55vh;
    margin:5% 0 0 40%;
    display: inline-block;
    z-index: 1;
    transform: translate(-50%, -40%);
    animation:none;
  }
 
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #ffc107;
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    text-transform: uppercase;
  }
  
  .overlay a {
    padding: 15px;
    text-decoration: none;
    font-size: 26px;
    color: #000;
    display: block;
    transition: 0.5s;
  }
  .fa-times:before {
      content: "\f00d";
      font-size: 27px;
  }
  .overlay-contentDesktop{
    display:none;
  }
  .menu{
    left: 82%;
    display:block;
    position: absolute;
    top: 4%;
    z-index: 1;
    font-size: 17px;
  }
  .overlay a:hover, .overlay a:focus {
    border-bottom: 2px solid red;
 border-bottom-width: 50%;
    background:transparent;
    text-align:center;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right:5px;
    font-size: 22px;
  }
 
  .trans-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .trans-container>span:nth-child(1)  {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    background: #fb1109;
    z-index:10;
  }
  .trans-container>span:nth-child(2) {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    background: #ffc107;
    z-index:10;
  }
  .menuslide {
    top: 5%;
    width: 97%;
    position: relative;
    text-align: center;
    overflow: hidden;
    left:0%;
  }
  .menulogo
  {
    height: 35%;
    width: 45%;
    background: #FFC107;
  border-radius: 50%;
    justify-content: center;
    text-align: center;
    z-index: 2;
  }
  .menulogo h5{
    font-family: 'Montserrat';
    font-size: 50px;
    margin-top: 30%;
  }
  .menulogo p{
    font-size: 17px;
    text-transform: uppercase;
  }
  .menudesserts{
    width: 60%;
    height: 80%;
    position: absolute;
    left: 40%;
    opacity: 50%;
  }
  .details{
    position: absolute;
    top: 65%;
  }
  .details p{
    font-size: 14px;
    position: fixed;
    top: 90%;
    width: 100%;
    left: 30%;
  }
  
  .slides {
    display: -webkit-box;
    display: flex;
    
    overflow-x: auto;
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
  }
  .slides::-webkit-scrollbar-track {
    background: transparent;
  }
  .slides > div {
    scroll-snap-align: start;
    flex-shrink: 0;
    -webkit-transform-origin: center center;
    transform-origin: center center;
  -webkit-transform: scale(1);
    transform: scale(1);
    width: 100%;
    height: 500px;
    margin-right: 50px;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    position: relative;
    border-left: solid red 5px;
    box-shadow: 4px 3px 3px 3px #9E9E9E;
    background: #fff;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    font-size: 100px;
  }
  .writeup1{
    display:none
  }
  .menucover{
    position: absolute;
    height: 30%;
    width: 50%;
    top: 70%;
  }
  .pizza{
    position: absolute;
    height: 35%;
    width: 50%;
    left: 52%;
  }
  .menusandwich{
    height: 40%;
    width: 40%;
    position: absolute;
    top: 30%;
  }

  .list ul h5{
    font-size: 40px;
    margin: 5%;
        width: 100%;
        border-bottom: dotted;
    }
    .list ul{
        font-size: 27px;
      list-style: none;
      margin: 5%;
      z-index: 1;
      margin-top: 15%;
    }
    .list li{
       
        margin-top: 10%;
        font-size: 20px;
        text-align: left;
        position: relative;
        left: -40px;
    }
    .list>ul>li>span{
      float: right;
      position: relative;
      left: 30%;
    }
    .writeup{
      display:none;
    }
    .pizzabig{
      display:none;
    }
      .cheese {
        position: absolute;
        width: 150px;
        left: -15%;
        top: -5%;
        height: 150px;
    }
    .ketchup{
      position: absolute;
      width: 100%;
      left: -47%;
      top: -2%;
      height: 200px;
  
    }
    .tomatoes{
      position: absolute;
      width: 25%;
      left: -20%;
      top: 25%;
      height: 5%;
    }
     .onions{
      position: absolute;
      width: 25%;
      left: -20%;
      top: 30%;
      height: 5%;
    }
    .grab{
      position: absolute;
      z-index: 1;
      width: 35%;
      left: 2%;
      height: 6%;
      border-radius: 20px;
      border: none;
      background: #ffc107;
      color: #fff;
      font-family: monospace;
      font-size: 0.9rem;
      font-weight: 900;
      top: 80%;
    }

}