/* global */

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

body {
  font-family: cursive;
}

/* container */

.header {
  background-color: #5D3A91;
  display: flex;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

/* logo */
.logo{
  height: 60px;
}
/* navigation links */

.nav-bar {
  display: flex;
  width: 25%;
  justify-content: space-between;
}

.nav-bar ul {
  display: flex;
  width: 100%;
  justify-content: space-around;
  font-style: italic;
}

.nav-bar ul li {
  list-style: none;
}

.nav-bar .text {
  text-decoration: none;
  color: #D4AF37;
  font-size: 18px;
  font-weight: 900;
}

.nav-bar .text:hover {
  color: #50B688;
  transition: ease 0.6s;
}

/* number & shopping cart */

.holder {
  display: flex;
  width: 40%;
  justify-content: space-between;
  align-items: center;
}

.number {
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: #D4AF37;
}

.number:hover {
  cursor: pointer;
  color: #50B688;
  transition: ease 0.2s;
}

.cart,
.clear {
  background-color: #F7E0E5;
  outline: none;
  border: 2px solid #D4AF37;
  border-radius: 10px;
  font-family: cursive;
  font-style: italic;
  cursor: pointer;
  margin: 2px;
}

.cart {
  padding: 5px 20px;
  max-width: 300px;
  font-size: 15px;
}

.clear {
  padding: 5px 10px;
  font-size: 15px;
}

.cart:hover,
.clear:hover {
  background-color: rgb(243, 117, 138);
  border: 2px solid rgb(243, 117, 138);
  color: white;
}

.cart-buttons {
  display: flex;
}

/* home */

/* container */

.home {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* background image */

.home img {
  height: 100%;
  width: 100%;
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

/* welcome sign */

.welcome {
  color: black;
  font-size: 50px;
  position: absolute;
  margin-bottom: 360px;
}
.welcome1 {
  color: black;
  font-size: 30px;
  position: absolute;
  margin-bottom: 250px;
}

.name {
  color: #5D3A91;
  font-size: 60px;
}

/* explore button */

.explore {
  padding: 10px 30px;
  cursor: pointer;
  background-color: transparent;
  border: 3px solid black;
  border-radius: 5px;
  font-size: 30px;
  font-family: cursive;
  font-weight: 900;
  position: absolute;
  margin-top: -80px;
}

#explore {
  color: black;
  text-decoration: none;
}

.explore:hover {
  background-color: #50B688;
  transition: 0.5s ease;
  text-decoration: none;
}

/* about us */

.about-us {
  display: flex;
  justify-content: space-evenly;
  padding-top: 12%;
  padding-bottom: 12%;
}

.about-us-container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 50%;
}

.about-us h1 {
  font-size: 30px;
}

.about-us .us {
  font-size: 45px;
  color: rgb(243, 117, 138);
}

.about-us p {
  width: 70%;
}

.about-us-explore {
  font-size: 25px;
  font-style: italic;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  background-color: transparent;
  padding: 5px 10px;
}

#about-us-explore {
  color: black;
  text-decoration: none;
}

.about-us-explore:hover {
  background-color: rgb(243, 117, 138);
  transition: ease 0.6s;
}

.about-us img {
  height: 30%;
  width: 30%;
  border: 10px solid white;
  box-shadow: -15px -15px 0 -5px white, -20px -20px 0 0 gold;
  transition: ease 0.6s;
}

.about-us img:hover {
  border: 10px solid gold;
  box-shadow: none;
  transition: ease 2s;
}

/* main section */

.main {
  background-color: #F7E0E5;
}

/* title */

.title-container {
  display: flex;
  justify-content: space-evenly;
  font-size: 20px;
  padding: 2%;
}

.store {
  color: rgb(243, 117, 138);
  font-size: 50px;
}

/* buttons */

.button-holder {
  display: flex;
  justify-content: space-evenly;
  width: 50%;
  margin-left: 25%;
}

.filter-button {
  font-size: 18px;
  font-family: cursive;
  font-weight: 900;
  background-color: transparent;
  outline: none;
  border: 2px solid black;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.filter-button:hover {
  background-color: black;
  color: rgb(243, 117, 138);
  transition: ease 0.2s;
}

/* search bar */

.search-icon {
  padding: 5px 10px;
  outline: none;
}

.search-bar-container {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.search-bar {
  padding: 10px 300px 10px 10px;
  outline: none;
  font-style: italic;
}

/* confectionary */

.confec-holder {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 25px;
}

.image-holder {
  height: 250px;
  overflow: hidden;
}

.confec-image {
  max-width: 330px;
  cursor: pointer;
  transition: transform 1.5s ease;
}

.confec-image:hover {
  transform: scale(1.2);
}

.confec-name-price {
  background-color: white;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  padding: 15px;
  margin: -7px auto 20px auto;
}

.add-to-cart {
  display: flex;
  align-items: center;
  padding: 5px 15px;
  background-color: transparent;
  border: 2px solid rgb(243, 117, 138);
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  max-width: 100px;
  transition: transform 1s ease;
}

.add-to-cart:hover {
  transform: scale(1.2);
}

/* footer */

.footer {
  display: flex;
  justify-content: center;
  font-size: 20px;
  background-color: #5D3A91;
  color: #D4AF37;
  padding: 10px;
}

/* Responsive Web Design */

/* medium sized screens */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* body */
  html,
  body {
    overflow-x: hidden;
  }
  body {
    position: relative;
  }
  .nav-bar {
    width: 30%;
  }
  .holder {
    width: 50%;
  }
}

/* small sized screens */

@media only screen and (min-width: 320px) and (max-width: 767px) {
  /* body */
  html,
  body {
    overflow-x: hidden;
  }
  body {
    position: relative;
  }
  /* home section */
  .home {
    height: auto;
  }
  .welcome {
    margin-bottom: 150px;
  }
  .explore {
    padding: 1px 5px;
    font-size: 25px;
    border: 1px solid black;
    margin-top: 70px;
    background-color: white;
  }
  .explore:hover {
    background-color: rgb(243, 117, 138);
  }
  /* navbar */
  .header {
    justify-content: space-between;
  }
  #home-title,
  #about-title,
  #store-title {
    display: none;
  }
  #store-title {
    margin-right: 10px;
  }
  .holder {
    display: block;
    width: auto;
  }
  .number {
    font-size: 16px;
    display: flex;
    justify-content: center;
  }
  .cart-buttons {
    width: auto;
  }
  .cart,
  .clear {
    padding: 5px;
    font-size: 15px;
  }
  /* about us section */
  .about-us {
    padding-top: 0px;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-right: 0px;
    flex-direction: column;
  }
  .about-us h1 {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200%;
  }
  .about-us p {
    width: 200%;
  }
  .about-us .about-us-explore {
    margin-top: 30px;
    margin-left: 50px;
  }
  .about-us img {
    margin-left: 220px;
    margin-top: -35px;
  }
  /* Shop Section */
  .title-container {
    padding-top: 0px;
  }
  .search-bar {
    padding: 10px 100px 10px 10px;
  }
  .filter-button {
    font-size: 15px;
    margin-left: 2px;
    margin-right: 2px;
  }
}
