body {
  margin: 0;
  padding: 0;
  font-family: 'Beau Rivage', cursive;
  font-family: 'Raleway', sans-serif;
  background-color: #f3f6f9;
}

/*Navbar*/

.header {
  min-height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 35, 0.3), rgba(4, 9, 35, 0.3)),
    url("menu/desserts/background.jpg");
  background-position: center;
  background-size: cover;
}
nav {
  display: flex;
  padding: 0.5% 3%;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
}
nav img {
  padding: 0;
  width: 190px;
  height: 55px;
}
.navbar {
  flex: 1;
  text-align: right;
}
.navbar ul li {
  list-style: none;
  display: inline-block;
  padding: 0px 12px;
  position: relative;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

.navbar .current{
  color: #97b4d7;
  border: solid #97b4d7 1px;
  padding: 5px 20px;
}

.navbar ul li::after {
  content: "";
  width: 0;
  height: 2px;
  background: #97b4d7;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.navbar ul li:hover::after {
  width: 100%;
}



/*hidden icons*/
nav .fa {
  display: none;
}

/*menu-desserts*/

h1 {
  text-align: center;
  color: #092147;
  font-size: 40px;
  padding-top: 10px;
  text-transform: uppercase;
}
.desserts h3 {
  text-align: center;
  font-size: 28px;
  margin: 5px;
  padding: 50px 0 50px;
  text-transform: capitalize;
}

.desserts h6 {
  font-size: 25px;
  text-align: center;
  color: #1a488e;
  margin: 40px 5px;
}

.desserts-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.desserts {
  width: 20%;
  margin: 15px;
  box-sizing: border-box;
  float: left;
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  transition: 0.4s;
  background: #dae5ee;
}
.desserts:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transform: translate(0px, -8px);
}
.desserts img {
  width: 100%;
  height: 200px;
  text-align: center;
  display: block;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.desserts button {
  text-align: center;
  font-size: 24px;
  font-family: 'Raleway';
  color: #fff;
  width: 100%;
  padding: 15px;
  border: 0;
  outline: none;
  cursor: pointer;
  margin-top: 1px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}
.buy {
  background: #092147;
}

/*footer*/

.footer {
  padding: 50px 0;
  background: #f3f6f9;
}
.social {
  text-align: center;
  padding-bottom: 25px;
  color: #152238;
}
.social a {
  font-size: 40px;
  color: #152238;
  display: inline-block;
  text-align: center;
  margin: 0 20px;
}
.social a:hover {
  color: rgba(0, 0, 0, 0.5);
}
.footer ul {
  margin-top: 5px;
  padding: 0;
  list-style: none;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}
.footer ul li a {
  color: #152238;
  text-decoration: none;
}
.footer ul li {
  display: inline-block;
  padding: 0 15px;
}
.footer ul li a:hover {
  opacity: 1;
  color: rgba(0, 0, 0, 0.6);
}
.copyright {
  margin-top: 70px;
  text-align: center;
}
.copyright p {
  font-size: 16px;
  color: #000;
}
.copyright a {
  text-decoration: none;
  font-size: 16px;
  color: #000;

}
.copyright a span {
  text-decoration:underline;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 17px;
  color: #000100;

}
/*------------------------------------------------------------------------PHONE SEREEN-------------------------------------------------------*/
@media (max-width: 1000px) {
  .desserts {
    width: 45%;
  }
}
@media (max-width: 900px) {
  .desserts {
    width: 80%;
  }
  /*navbar*/

 

  .navbar ul li {
    display: block;
padding-bottom :40px;
}
.navbar ul li a {
font-size:21px;
  }

  .nav{
    padding: 1%,6%;
  }

  .navbar {
    position: fixed;
    background: #152238;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }
  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 30px;
    cursor: pointer;
  }
  .navbar ul {
    padding: 30px;
  }
  nav img {
    width: 130px;
    height: 40px;
  }

  .navbar .current{
    border: none;
    padding: 0;
    }

  /*buttons*/
  .buttons {
    border: 1px solid #fff;
    border-radius: 24px;
    padding: 7px 15px;
    font-size: 9px;
  }
  .buttons:hover {
    border: 1px solid;
  }

  /*headlings*/
  h1 {
    font-size: 33px;
  }

  /*footer*/
  .social a {
    font-size: 40px;
    
  }

  .footer ul {
    font-size: 20px;
  }

  .footer ul li {
    display: block;
    padding:  10px 0px;
  }

  .copyright {
    font-size: 20px;
    padding: 10px 5px 0 5px;
  }

}