/* @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap'); */

:root {
  --black: ##1A1A1A;
  --gray: #4d4d4d;
  --main-color: #ffd100;
  --light-one: #fdf2be;
  --light-two: #f9fafb;
  --light-three: #f6f7fb;
  --box-shadow3: inset 0 0 1.5rem rgba(0, 0, 0, .1);
  --box-shadow: 0 0 1.5rem rgba(0, 0, 0, .1);
  --box-shadow2: inset 0 0 3rem rgba(0, 0, 0, 1);
}

* {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;

  text-transform: capitalize;
  transition: all .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 5.5rem;
  scroll-behavior: smooth;
}



.btn {
  margin-top: 1rem;
  font-size: 2rem;
  color: var(--black);
  background: var(--main-color);
  border-radius: 20rem;
  cursor: pointer;
  padding: .8rem 2rem;
  transition: 0.7s;
  font-weight: 600;
  text-align: center;
  border: none;
}

.btn:hover {
  transform: scale(1.1);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: black;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

header nav {
  padding: 1.5rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  max-width: 100px;
}

header .navbar a {
  font-size: 2rem;
  border-radius: 20rem;
  padding: .5rem 1.5rem;
  color: var(--light-one);
}

header .navbar a.active,
header .navbar a:hover {
  color: var(--main-color);
  background: var(--red);
}

.icons {

  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
}


header .icons a {
  /* position: relative; */
  cursor: pointer;
  margin: 0.5rem;
  text-align: center;
  font-size: 2rem;
  color: var(--light-one);
}

nav.open .navbar {
  transform: translateX(0);
}

.hamburger-menu {
  position: relative;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
}

.hamburger-menu a {
  font-size: 1.7rem;
  color: var(--light-one)
}

.cart-counter {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .icons .counter {

  position: absolute;
  margin-bottom: 0.3rem;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #ea4335;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .icons .counter p {
  color: var(--light-three);
  font-size: 10px;
  font-weight: 600;
  text-align: center;

}


header .icons i:hover,
header .icons a:hover {
  color: var(--main-color);
  /* background: var(--main-color); */
  transform: rotate(360deg);
}

/** LOGOUT Icone **/
header .icons .logout {
  display: none;
}

/*******/

/** to show username if loged in make it display:flex **/
header .icons .username {
  display: none;
}

/*******/
section {

  position: relative;
  width: 100%;
  height: 100vh;
  min-height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/*** cart page style ***/

.cart-summary {
  background-color: var(--light-three);
  margin: 0 3rem;
}

.cart-details {
  padding-top: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;


}

.container {
  width: 85vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 2rem;



}


.cart-details .row-titles {
  width: 85vw;
  height: 4vh;
  display: flex;
  align-items: center;
  font-size: large;
  background-color: var(--light-three);
  margin-bottom: 3rem;
  padding: 1rem 0;
  text-align: center;


}

.row-titles .order {
  padding: 0 0.5rem;
  width: 65%;

}

.row-titles .price {
  padding: 0 1rem;
  width: 15%;
  background-color: #e7e9f0;
  height: 4vh;
  align-items: center;
  display: flex;
  justify-content: center;

}

.row-titles .quantity {
  width: 20%;
  padding: 0 1rem;
}

.row-titles .subtotal-t {
  width: 10%;
  height: 4vh;
  padding: 0 1rem;
  background-color: #e7e9f0;
  align-items: center;
  display: flex;
  justify-content: center;

}

.cart-details .order-wrap {
  width: 85vw;
  height: 20vh;
  display: flex;
  align-items: center;
  flex-direction: row;
  background-color: var(--light-three);
  padding: 2rem 0rem;
  margin-bottom: 2rem;

}

.item-wrap .deleteItem {
  margin: 1rem 1rem;
  font-size: 16px;

  color: #a3a2a2;



}

.item-wrap .deleteItem:hover {
  color: #ea4335;


}

.cart-details .item-wrap {
  width: 65%;
  max-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: left;
}


.item-wrap .itemDetails {

  padding: 1rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.item-wrap h4 {
  font-size: 24px;
  color: var(--black);
  margin-bottom: 1rem;
}

.item-wrap p {
  font-size: 22px;
  text-align: justify;
}

.item-wrap img {
  max-width: 100px;
}

.cart-details .itemPrice {
  width: 15%;
  height: 20vh;
  font-size: 20px;
  font-weight: bold;
  padding: 0 1rem;
  background-color: #e7e9f0;
  align-items: center;
  display: flex;
  justify-content: center;
}


.cart-details .subtotal {

  width: 100%;
  height: 4vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: large;
  background-color: var(--light-three);
  margin-bottom: 0.5rem;
  text-align: center;

}

.cart-details .subtotal-t {
  height: 4vh;
  font-size: 20px;
  font-weight: bold;
  padding: 0 1rem;
  background-color: #e7e9f0;
  align-items: center;
  display: flex;
  justify-content: center;
}

.cart-details .subtotal-v {
  height: 4vh;
  font-size: 20px;
  font-weight: bold;
  padding: 0 1rem;
  align-items: center;
  display: flex;
  justify-content: center;
}

.cart-details .counter {
  width: 20%;
  height: 15vh;
  font-size: 20px;
  font-weight: bold;
  padding: 0 1rem;
  align-items: center;
  display: flex;
  justify-content: center;
}

.counter .lable {
  border: none;
  background-image: none;
  background-color: transparent;
  width: 50px;
  color: var(--black);
  font-size: 2rem;
  font-weight: 600;
  padding: 0 2rem;
  margin: 0 0.5rem;
  text-align: center;

}

.con {
  width: 60%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;

}

/** end of cart page **/

/**  checkout page **/
.checkout{
  margin: 10rem 2rem 2rem 2rem;
}
.messages {
  width: 400px;
  color: white;
  background-color: #ea4335;
  font-size: 16px;
  font-weight: bold;
  height: fit-content;
  padding: 1rem 2rem;
  
  margin-bottom: 2rem;
  /* display: none; */

}

.container1 {

  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;




}

.column-1 {
  width: 50%;
  min-width: 500px;
  padding-right: 1.5rem;
  padding-left: 2.5rem;
  text-align: left;
  background-color: var(--light-three);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.column-2 {
  display: flex;
  flex-direction: column;
  width: 50%;
  min-width: 300px;
  padding-left: 2.5rem;




}

.column-2 .row {
  display: flex;
  align-items: left;
  justify-content: center;
  background-color: var(--light-three);
  margin-bottom: 3rem;
  flex-direction: column;
  padding-bottom: 2rem;

}

#form {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin-top: 2rem;
}

.name {
  width: 100%;
  display: flex;
  align-items: center;




}

.label {
  padding: 0.5rem 1rem;
  font-weight: 400;
  font-size: 18px;
  color: #4d4d4d;

}


.input {
  width:100%;
  padding: 1.2rem 2.1rem;
  margin: 0.6rem 3rem 2rem 0;
  border: none;
  outline: none;
  background: white;
  border-radius: 10px;
  font-weight: 300;
  font-size: 1.25rem;
  transition: 0.3s;
}

span {
  font-weight: 400;
  font-size: 18px;
}

.title {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-bottom: 3rem;
  background-color: var(--main-color);
  color: var(--black);
  margin: 0 auto;
}

.row .cart-preview {
  display: flex;
  align-items: flex-start;
  justify-content: left;
  flex-direction: column;
  margin-top: 2rem;

}

.line {
  display: flex;
  padding: 0 1rem;
  margin-bottom: 1rem;
  justify-content: left;
  align-items: center;
}
.total{
  font-size: 22px;
  color: #096b32;
  font-weight: 700;
}

.payment {
  margin-top: 2rem;
  padding-left: 1rem;
}

/*end of checkout page*/

/*footer**/
.footer {
  background-color: #222;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;


}

.bottom-footer {
  width: fit-content;
  margin: 0 5rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.copyright{
  display: flex;
  justify-content: center;
  align-items: center;
}
.copyright .text {
  color: #7b7b7b;
  font-size: 1.5rem;
  display: inline-block;
  text-align: center;
  margin-left: 1rem;
}

.copyright .text a {
  color: #a09e9e;
  cursor: pointer;
}

.followme-wrap {
  display: flex;
  justify-content: center;
}

.followme {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.followme h3 {
  color: var(--light-three);
  font-weight: 500;
  font-size: 2rem;
  margin-right:  1rem;
}


.social-media a {
  color: #7b7b7b;
  font-size: 2rem;
  margin-right: 0.4rem;
  transition: 0.3s;
}

.social-media a:hover {
  color: var(--main-color);
}

.delivery {
  display: flex;
  align-items: center;
  justify-content: center;

}

.delivery h3 {
  color: var(--light-three);
  font-weight: 500;
  font-size: 2rem;



}

.delivery-apps {

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivery-apps img {
  width: 30px;
  margin: 0 1rem;
  filter: grayscale(100%);

}

.delivery-apps img:hover {

  filter: grayscale(0%);

}