* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  font-family: "Playfair Display", serif;
}
body {
  background: linear-gradient(to right, #eebea3, #ce916e);
  height: 100vh;
}
header img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 20px;
}

.nav a {
  text-decoration: none;
  padding: 5px 40px;
  color: white;
  font-size: larger;
  margin-left: 10px;
}
.nav a:hover {
  background-color: #bb4b0a;
  border-radius: 10%;
  transition: 1000ms;
  scale: 1.05;
  box-shadow: -2px -2px 3px 0 #853003;
}
.page {
  border-radius: 10%;
  background-color: #bb4b0a;
  box-shadow: -2px -2px 3px 0 #853003;
}
.navbar {
  width: 100%;
  height: 20px;
  margin: 0 auto;
  padding: 70px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f16a1c;
}

.navbar_toggle {
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  background: transparent;
  border-style: none;
  margin-right: 20px;
  display: none;
}
.nav {
  margin-right: 70px;
}
/* drop down menu */
.drop_down {
  background-color: #de550c;
  width: 100vw;
  display: none;
  overflow: hidden;
}
.drop_down a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  overflow: hidden;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: bolder;
}
.drop_page {
  background-color: #622402;
}
/* secondary nav bar */
.secondary_nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 30px 0;
  padding: 0 100px;
}
.secondary_nav a {
  text-decoration: none;
  color: #ffff;
  font-weight: bolder;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: #de550c;
  align-items: center;
}
.secondary_nav a:hover{
box-shadow: 2px 2px 2px 2px #853003;
transition: 300ms;
}
.secondary_nav a.show-shadow{
    box-shadow: 2px 2px 2px 2px #853003;
}
.secondary_nav_content {
  overflow-x: hidden;
  height: 100vh;
}
/* for the bread content */
.bread {
  margin: 0 0 70px 0;
  padding: 0 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
}
.bread img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.child_a {
  background-color: wheat;
  padding: 7px 7px 10px 7px;
  margin: 20px;
  border-radius: 10px;
  cursor: pointer;
  -webkit-animation-name: intro-child;
  -webkit-animation-duration: 2s;
}
@-webkit-keyframes intro-child {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.child_a h2{
  font-size: 19px;
}
.child_a h2,p{
  text-align: left;
  margin: 5px 0;
  font-weight: 600;
}
.child_a:hover {
  transition: 500ms;
  box-shadow: -2px -2px 10px 0 #853003;
}
/* code for cakes section */
@-webkit-keyframes intro {
  0% {
    opacity: 0;
    transform: translateY(10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.parent_cake_a {
  padding: 0 50px;
  margin-top: 20px;
  -webkit-animation-name: intro;
  -webkit-animation-duration: 2s;
}
.parent_cake_a h1 {
  text-align: left;
  text-decoration: underline #de550c;
  padding-left: 50px;
  margin-bottom: 30px;
}
.bday_cakes img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: wheat;
  padding: 10px;
  border-radius: 10px;
  margin: 20px;
  cursor: pointer;
}
.bday_cakes img:hover {
  transition: 500ms;
  box-shadow: -2px -2px 10px 0 #853003;
}
.bday_cakes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
}
@-webkit-keyframes intro_b {
  0% {
    opacity: 0;
    transform: translateY(10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.parent_cake_b {
  padding: 0 50px;
  margin: 60px 0;
  -webkit-animation-name: intro_b;
  -webkit-animation-duration: 2s;
}
.parent_cake_b h1 {
  text-align: left;
  text-decoration: underline #de550c;
  padding-left: 50px;
  margin-bottom: 50px;
}
.parent_cake_b img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: wheat;
  padding: 10px;
  border-radius: 10px;
  margin: 20px;
  cursor: pointer;
}
.parent_cake_b img:hover {
  transition: 500ms;
  box-shadow: -2px -2px 10px 0 #853003;
}
.fruit_cakes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
}
/* code for snacks section */
@-webkit-keyframes intro_b {
  0% {
    opacity: 0;
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.snacks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding: 0 50px;
  margin: 30px 0 60px 0;
  cursor: pointer;
  -webkit-animation-name: intro_b;
  -webkit-animation-duration: 2s;
}
.snacks img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px;
  background-color:wheat;
  padding: 10px;
}
/* code for parfaits */
@-webkit-keyframes intro_b {
  0% {
    opacity: 0;
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.parfait {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding: 0 50px;
  margin: 30px 0 60px 0;
  -webkit-animation-name: intro_b;
  -webkit-animation-duration: 2s;
}
.parfait img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  background-color: wheat;
  padding: 10px;
  border-radius: 10px;
  margin: 20px;
}
/* FOOTER */
footer {
  background-color: #f16a1c;
  padding: 50px 0 30px 0;
  color: wheat;
}
.footer_text {
  font-size: 20px;
  padding: 0 20px;
}
.socials_logo {
  margin: 0 20px;
}
.copyright {
  margin: 20px 0;
  text-align: center;
}
@media (max-width: 1059px) {
  .parent_cake_a h1 {
    text-align: center;
    padding-left: 0;
  }
  .parent_cake_b h1 {
    text-align: center;
    padding-left: 0;
  }
  .bread {
    grid-template-columns: repeat(2, 1fr);
  }
  .bread img {
    width: 300px;
    height: 300px;
  }
  .bday_cakes {
    grid-template-columns: repeat(2, 1fr);
  }
  .bday_cakes img {
    width: 300px;
    height: 300px;
  }
  .fruit_cakes img {
    width: 300px;
    height: 300px;
  }
  .fruit_cakes {
    grid-template-columns: repeat(2, 1fr);
  }
  .snacks img {
    width: 300px;
    height: 300px;
  }
  .snacks {
    grid-template-columns: repeat(2, 1fr);
  }
  .parfait img {
    width: 300px;
    height: 300px;
  }
  .parfait {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .nav a {
    display: none;
  }
  .navbar_toggle {
    display: block;
    font-size: 35px;
  }
  .drop_down {
    display: none;
    text-transform: uppercase;
  }
  .drop_down.visible {
    display: block;
  }
}
@media (max-width: 992px) {
  header img {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 800px) {
  /* footer */
  footer {
    font-size: 8px;
  }
  .socials {
    margin-top: 30px;
  }
  .copyright {
    margin-top: 10px;
  }
}
@media (max-width: 779px) {
  .bread img {
    width: 200px;
    height: 200px;
  }
  .bday_cakes img {
    width: 200px;
    height: 200px;
  }
  .fruit_cakes img {
    width: 200px;
    height: 200px;
  }
  .snacks img {
    width: 200px;
    height: 200px;
  }
  .parfait img {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 663px){
    .snacks img{
        width: 180px;
        height: 200px;
    }
    .parfait img{
        width: 180px;
        height: 200px;
    }
}
@media (max-width:640px){
  .secondary_nav{
    padding: 0 50px;
  }
}
@media (max-width: 623px){
    .snacks img{
        width: 170px;
        height: 200px;
    }
    .parfait img{
        width: 170px;
        height: 200px;
    }
}
@media (max-width: 603px){
    .snacks img{
        width: 220px;
        height: 180px;
    }
    .parfait img{
        width: 220px;
        height: 180px;
    }
}
@media (max-width: 580px) {
  .parent_cake_a h1 {
    font-size: 20px;
  }
  .parent_cake_b h1 {
    font-size: 20px;
  }
  .bread img {
    width: 150px;
    height: 150px;
  }
  .bread h2{
    font-size: 15px;
  }
  .bday_cakes img {
    width: 150px;
    height: 150px;
  }
  .fruit_cakes img {
    width: 150px;
    height: 150px;
  }
  .snacks img {
    width: 150px;
    height: 150px;
  }
  .parfait img {
    width: 150px;
    height: 150px;
  }
  .secondary_nav a {
    transform: scale(0.8);
  }
}
@media (max-width: 563px) {
  .snacks img{
    width: 250px;
    height: 200px;
  }
  .parfait img{
    width: 250px;
    height: 200px;
  }
}
@media (max-width: 534px) {
.secondary_nav{
  gap: 10px;
}
}
@media (max-width: 482px) {
  .bread img {
    width: 130px;
    height: 130px;
  }
  .bday_cakes img {
    width: 130px;
    height: 130px;
  }
  .fruit_cakes img {
    width: 130px;
    height: 130px;
  } 
  .secondary_nav{
      padding: 0 20px;
  }
}
@media (max-width: 443px) {
  .secondary_nav {
    transform: scale(0.9);
  }
  .bread img {
    width: 120px;
    height: 120px;
  }
  .bday_cakes img {
    width: 120px;
    height: 120px;
  }
  .snacks{
    margin-left: 10px;
  }
  .fruit_cakes img {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 423px) {
  .bread img {
    width: 100px;
    height: 100px;
  }
  .bday_cakes img {
    width: 100px;
    height: 100px;
  }
  .fruit_cakes img {
    width: 100px;
    height: 100px;
  }
    .secondary_nav{
      padding: 0;
    }
}
@media (max-width: 419px) {
  .secondary_nav {

  }
}
@media (max-width: 400px) {
    .secondary_nav {
        transform: scale(0.8);
       
      }
  .bread {
    grid-template-columns: repeat(1, 1fr);
  }
  .bday_cakes {
    grid-template-columns: repeat(1, 1fr);
  }
  .fruit_cakes {
    grid-template-columns: repeat(1, 1fr);
  }
  .snacks {
    grid-template-columns: repeat(1, 1fr);
  }
  .parfait {
    grid-template-columns: repeat(1, 1fr);
  }
  .bread img {
    width: 200px;
    height: 200px;
  }
  .bday_cakes img {
    width: 200px;
    height: 200px;
  }
  .fruit_cakes img {
    width: 200px;
    height: 200px;
  }
  .snacks img {
    width: 200px;
    height: 200px;
  }
  .parfait img {
    width: 200px;
    height: 200px;
  }
}
@media (max-width:370px){
    .secondary_nav{
      margin-right: 30px;
    }
}
@media (max-width:360px){
    .secondary_nav{
      margin-left: -10px;
    }
}
@media (max-width: 364px){
    .socials_logo img {
        transform: scale(0.6);
        margin: 0 -10px;
      }
}
@media (max-width: 356px) {
  .secondary_nav {
    transform: scale(0.7);
  }
}
@media (max-width: 340px) {
  .secondary_nav {
    /* margin-left: -80px; */
  }
}
@media (max-width: 320px) {
  .secondary_nav {
    /* margin-left: -70px; */
  }
}
@media (max-width: 300px) {
  .secondary_nav {
    /* margin-left: -80px; */
  }
}
@media (max-width: 272px) {
  .parent_cake_a h1 {
    font-size: 15px;
  }
  .parent_cake_b h1 {
    font-size: 15px;
  }
}
body,
html {
  min-width: 350px;
}
