/* === Google Fonts :: Roboto === */
@import url(https://fonts.googleapis.com/css?family=Roboto);
/* === Google Fonts :: Poppins === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
    



html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  background: #a1c3ff;

}
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 30px;
}


.navbar {
  background: #fff;
  height: 70px;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  min-width: 400px;
  position: relative;
  margin-left: 15%;
  margin-right: 15%;
  z-index: 10;
}

.navbar .logo {
  font-size: x-large;
  font-weight: bold;
  /* Create the gradient. */
  background-image: linear-gradient(-25deg,#ff7884,#cf5a93,#bc64a1);
  /* Set the background size and repeat properties. */
  background-size: 100%;
  background-repeat: repeat;
  /* Use the text as a mask for the background. */
  /* This will show the gradient as a text color rather than element bg. */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.navbar .flexlogo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul {
  list-style-type: none;
}

.navbar a {
  color: #333;
  text-decoration: none;
  font-size: 14px;

}
.navbar a:hover {
  color: #ff7884;

}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar img {
  max-height: 70px;
  padding: 0px;
}

.navbar ul {
  display: flex;
  margin-top: 30px;
}

.navbar ul li {
  margin-left: 25px;
}

.navbar i {
  font-size: 15px;
}


.cart-button{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  top: -5px;

}
.cart-button:hover{
  cursor: pointer;
  border: 3px solid;
  border-color: rgba(253, 114, 114, 0.171);
}

.cart-filled{
  position: absolute;
  top: -1px;
  right: -1px;
  border-radius: 50%;
  background-color: #ff7884;
  width: 15px;
  height: 15px;
  color: #fff;
  font-size: 10px;

}

.cart-empty{
 display: none;

}


.header {
  background-color: #fff;
  min-height: 400px;
  min-width: 400px;
  margin-left: 15%;
  margin-right: 15%;
}

.header h1 {
  font-size: 27px;
  font-weight: 600;
  padding: 25px 5px 5px;
}

.header p {
  padding: 25px;
}

.header img {
  max-width: 400px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 1%;

}

.boxes .container { 
  display: flex;
  justify-content: space-between;
}

.box { 
  flex: 1;
  background:  #ff7884;
  border-radius: 10px;
  margin: 20px 10px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.6);
  padding: 15px 20px;
}

.box i {
  margin-right: 10px;
}

@media(max-width: 768px) {
  .header .container {
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
  }
  .container {
    display: block;
    text-align: center;
  }
  
  .boxes .container {
    display: block;
    text-align: center;
  }
}

header.login {
  min-height: 550px;
  height: 60vh;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
  margin-left: 1%;
  margin-right: 1%;
}

.container-login {
  position: relative;
  max-width: 430px; 
  width: 100%;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
}

.container-login .forms{ 
  display:flex;
  align-items: center;
  height: 440px;
  width: 200%;
  transition: height 0.2s ease;
}

.container-login.active .forms{ 
  height: 558px;
}

.container-login.active .login{ 
  margin-left: -50%;
  opacity: 0;
  transition: margin-left 0.18s ease, opacity 0.15s ease;
}

.container-login .signup{ 
  opacity: 0;
  transition: opacity 0.09s ease;
}

.container-login.active .signup{ 
  opacity: 1;
  transition: opacity 0.2s ease; 
}


.container-login .form-login { 
  width: 50%;
  padding: 30px;
  background-color: #fff;
  transition: margin-left 0.18s ease;
}

.container-login .form-login .title {
  position: relative;
  font-size: 27px;
  font-weight: 600;
}

.form-login .title::before {
  content: '';
  position: absolute;
  left: 0; 
  bottom: 0;
  height: 3px;
  width: 30px;
  background-color: #ff7884;
  border-radius: 25px;
}

.form-login .input-field { 
  position: relative;
  height: 50px;
  width: 100%;
  margin-top: 30px;
}

.input-field input {
  height: 100%;
  width: 100%;
  padding: 0 35px;
  border: none;
  outline: none;
  border-bottom: 2px solid #ccc;
  border-top: 2px solid transparent;
  transition: all 0.2 ease 
}

.input-field input:is(:focus, :valid) {
  border-bottom-color: #ff7884
}

.input-field i {
  position:absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #999;
  font-size: 23px;
}

.input-field input:is(:focus, :valid) ~ i {
  color: #ff7884
}

.input-field i#lock {
  left: 0%;
}

.input-field i#show-hide {
  left: 100%;
}

.form-login .checkbox-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}


.checkbox-text .checkbox-content{
  display:flex;
  align-items: center;
}

.checkbox-content input {
  margin: 0 8px -2px 4px;
  accent-color: #ff7884
}

.form-login .text {
  color:#333;
  font-size: 14px;
}

.form-login a.text {
  color: #ff7884;
  text-decoration: none;
}

.form-login a:hover {
  text-decoration: underline;
}

.form-login .button {
  margin-top: 35px;
}

.form-login .button input {
  background-color: purple;
  color: #fff;
  border-radius: 6px;
  border: none;
  letter-spacing: 1px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3 ease;
}

.button input:hover {
  background-color: #bc64a1;
}

.form-login .login-signup {
  margin-top: 30px;
  text-align: center;
}

section.chart {
  margin-left: 5%;
  margin-right: 5%;
  padding: 0;
  height: 425px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #333;
  border-radius: 10px;
}

.chart{
  width: 100%;
  height: 300px;
  display: block;
}

.numbers {
  color: #fff;
  margin: 0;
  padding: 0;
  width: 50px;
  height: 100%;
  display: inline-block;
}
.numbers li {
  list-style: none;
  height: 150px;
  position: relative;
  bottom: 145px;
}

.numbers span {
  font-size: 12px;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  right: 10px;
}

.bars {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: #555;
  display: inline-block;
  width: 75%;
  height: 300px;
  box-shadow: 0 0 10px 0 #555;
  border-radius: 5px;
}

.bars li {
  display: table-cell;
  width: 100px;
  height: 300px;
  position: relative;
}

.bars span {
  width: 100%;
  position:absolute;
  bottom: -30px;
  text-align: center;

}

.bars .bar {
  display:block;
  background-color: #8e44ad;
  width: 50px;
  height: 0%;
  position: absolute;
  bottom: 0;
  margin-left: 25px;
  text-align: center;
  box-shadow: 0 0 10px 0 rgba(178, 15, 228, 0.5);
  transition: 0.5s;
  transition-property: background-color, box-shadow;


}

.bars .bar:hover {
  background-color: #bc64a1;
  box-shadow: 0 0 10px 0 rgba(246, 242, 255, 0.5);
  cursor: pointer;
}

.bars .bar:before {
  color: #fff;
  position: relative;
  bottom: 20px;
  content: attr(data-text);

}

.wrapper {
  width: 100%;
  min-height: 400px;
  min-width: 400px;
  margin-left: 15%;
  margin-right: 15%;
}

#search-container {
  padding: 0 .5em 1em;


}

#search-container input {
  background-color: transparent;
  width: 60%;
  border-bottom: 2px solid black;
  padding: 1em 0.3em;
}

#search-container input:hover {
  border-bottom: 2px solid #ff7884;
}

#search-container button {
  padding: 1.2em 1.5em;
  margin-left: 0.1em;
  background-color: #ff7884;
  color: #fff;
  border-radius: 5px;
  margin-top: .5em;
  cursor: pointer;
  border: none;
}

.button-value { 
  border: 2px solid #ff7884;
  padding: .5em 2.0em;
  border-radius: 3em;
  background-color: transparent;
  color: #ff7884;
  cursor: pointer;
  margin-top: 0.3em;
}

.active-button {
  background-color: #ff7884;
  color: #fff;
}

.products { 
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 1.5em;
  padding: 2em 0; 

}

.card {
  background-color: #fff;
  max-width: 18em;
  margin-top: 1em;
  padding: 1em;
  border-radius: 5px;
  box-shadow: 1em 2em 2.5em rgba(1,2,68,0.08);
}

.image-container {
  text-align: center;

}

.image-container img {
  max-width: 100%;
  display: block;
}

.card-container {
  padding-top: 1em;
  color: #110f29;
}

.card-container h5 {
  font-weight: 500;
}

.card-container button {
  min-width: 52px;
  min-height: 40px;
  max-width: 60px;
  background-color: #ff7884;
  border-radius: 10px;
  margin-left: 10%;
  margin-bottom: 3%;
  vertical-align: bottom;
  border: none;
}

.card-container button:hover {
  background-color:  #ff7884;
  border: none;
  cursor:pointer;
}

.card-container button:active {
  background-color:  #ffb9bf;
  border: none;
  cursor:pointer;
}

#in-stock {
  color: green;
}

#out-stock {
  color: red;
}

#limited-inventory {
  color: orange
}




.flex-cart {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-products { 
  background-color: #fff;
  width: 100%;
  display: flex; 
  flex-direction: row;
  align-items: center;

}

.cart {
  width: 80%;
  display: flex;
  flex-direction: column;

}

.cart-total {
  padding: 30px;
  width: 30%;
  height: 100%;
  min-width: 175px;
  background-color: rgb(255, 227, 255);
  font-size: medium;
  margin-left: 5%;
  font-weight: normal;
  border-radius: 5px;
}

.cart-layout {
  width: 100%;
  display: flex; 
  flex-direction: column;
}
.box-product { 
  flex: 1;
  background:  #fff;
  margin: 20px 10px;
  padding: 15px 20px;
  text-align: center;
  max-width: 175px;
}

.box-product img { 
  width: 75%;
  height: 75%;
  min-width: 70px;
  min-height: 100px;
}

.remove-product:hover {
  cursor: pointer;
}

.cart-total div {
 
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
  margin-left: 5%;
  font-weight: normal;

}

.cart-total div h5{
  font-weight: normal;

}

.cart-total .total h4{
  font-weight:600;
}

.cart-total .tax {
  border-bottom: 1px solid black ;
}

.cart-total .checkout{
  margin-top: 1em;
  width: 100%;
  height: 50px;
}
.cart-total .checkout button{
  background-color: #8e44ad;
  width: 100%;
  cursor: pointer;
  border: none;
  box-shadow: 2px 2px 2px 0px rgba(178, 15, 228, 0.5);
 
}

.cart-total .checkout button:hover{
  background-color: #8e44ad;
  color: #fff;
}

.cart-total .checkout button:active{
  background-color: #b97dd3;
}


@media screen and (max-width: 1015px) {
  .cart-products {
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
  }
}


@media screen and (max-width: 720px) {
  img{
    max-width: 100%;
    margin-top: 1em;
  }
  .card {
    max-width: 10em;
    margin-top: 1em;
  }
  .products {
    grid-template-columns: auto auto;
    grid-column-gap: 1em;
  }
}

.semi-donut {
  width: 300px;
  height: 150px;
  position: relative;
  color: black;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 5px;
  --percentage: 0;
  --fill: #00f;


}

.semi-donut::after {
 content: '';
 position: absolute;
 box-sizing: border-box;
 width: 300px;
 height: 300px;
 left: 0;
 top: 0;
 border: 50px solid;
 border-color:#444 #444 var(--fill) var(--fill);
 border-radius: 50%;
 transform: rotate(calc(1deg * (-45 + var(--percentage) * 1.8 )));
 animation : fillAnimation 2.5s ease-in;

}

@keyframes fillAnimation{
  0%{ transform: rotate(-45deg)}
  50%{ transform: rotate(95eg)}
}


@media(max-width: 795px) {
  .navbar {
    margin-left: 0%;
    margin-right: 0%;
  }
    .header {
   margin-left: 0%;
   margin-right: 0%;

  }

  .navbar img {
    max-height: 50px;
    padding: 0px;
  }
}

.footer {
  font-weight: 500;
  text-align: center;
}

.footer p{
  font-size: 25px;
  margin-top: 10%;
}
.address p{
  margin-top: 5%;
}

button#demo {
  font-size: large;
  font-weight: 600;
  background-color: #ff7884;
  color: #444;
  border-radius: 5px;
  margin-left: 7%;
  padding: 12px;
  cursor: pointer;
  border: none;
}

img#congrats {
  height: 25%;
  width: 25%;
  padding: 10px;
}

@media(max-width: 795px) {
  img#congrats {
    height: 75%;
    width: 75%;
    padding: 10px;
  }
  h1#yourordercomplete {
    font-size: x-large;
    font-weight: 600;
  }
}

.confirmation {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.hide {
  display: none;
}