@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Quicksand:wght@300;400&display=swap");

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

/* ----------------------------------  Navbar ----------------------------------  */

.logo {
  width: 45px;
  height: 45px;
}

.navigation-bar {
  font-family: "Quicksand", sans-serif;
  background-color: #e7e6ec;
  min-height: 9vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  width: 45px;
  height: 45px;
}

.navigation-bar ul {
  display: flex;
  list-style: none;
  align-items: left;
  padding-top: 15px;
}

.navigation-link {
  font-size: 17px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #1b1c1d;
  margin: 0 20px;
}

.navigation-links.active {
  transform: translateX(0%);
}

.navigation-link:hover {
  color: #003865;
}

.nav-cart {
  display: flex;
}

.cart-icon {
  width: 30px;
}

.items-in-cart {
  margin-left: 2px;
  margin-top: -10px;
  color: #ef5b0c;
}

#nav-fluid {
  padding: 0 6rem;
  letter-spacing: 1px;
}

#nav-fluid .navbar-brand {
  letter-spacing: 2px;
}

#nav-fluid .nav-item {
  margin: 0 5px;
}

.log-link {
  display: flex;
  align-items: center;
}

.name-logged {
  justify-content: center;
  align-items: center;
  vertical-align: middle;
}

.logOut-btn {
  background-color: #e7e6ec;
  border: none;
}

.Dropdown-menu {
  position: absolute;
  flex-direction: column;
  padding: 0;
  top: 7vh;
  left: 38%;
  width: 170px;
  z-index: 100;
  background-color: #e7e6ec;
  align-items: center;
  text-align: center;
}

.Dropdown-link {
  width: 100%;
  padding: 5px 0;
  text-decoration: none;
  color: #1b1c1d;
}

.Dropdown-link:hover {
  color: #e7e6ec;
  background-color: #ef5b0c;
}

.burger {
  display: none;
  cursor: pointer;
}

.mobile {
  display: block;
}

/* ----------------------------------  landing  ---------------------------------- */

.home {
  background-image: url(./images/home-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 750px;
  position: relative;
  color: white;
  box-sizing: content-box;
}

.road {
  background-image: url(./images/road-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 800px;
  position: relative;
  color: black;
  padding-top: 8rem;
}

.mountain {
  background-image: url(./images/mtb-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 800px;
  position: relative;
  color: black;
  padding-top: 8rem;
}

.urban {
  background-image: url(./images/urban-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 800px;
  position: relative;
  color: black;
  padding-top: 8rem;
}

.gravel {
  background-image: url(./images/gravel-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 800px;
  position: relative;
  color: black;
  padding-top: 8rem;
}

.ebike {
  background-image: url(./images/ebike-background.jpeg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 800px;
  position: relative;
  color: black;
  padding-top: 8rem;
}

.presentationBox {
  background-color: rgb(255, 255, 255, 0.7);
  border-radius: 5px;
  position: relative;
  justify-content: center;
  padding: 20px;
  padding-bottom: 50px;
  text-align: right;
  margin: auto;
  width: 70%;
}

.presentationBoxHome {
  display: block;
  opacity: 0.6;

  text-align: right;
  width: 100%;
  padding-top: 18%;
  padding-left: 45%;
  padding-right: 8%;
}

.titleBox {
  font-family: "Bodoni Moda", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.contentBox {
  font-family: "Lato", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
}

/*  ----------------------------------  Carousel & Card ----------------------------------  */

.carousel {
  width: 80%;
  margin: 0 auto 0;
}

.arrow {
  font-size: 35px;
  cursor: pointer;
  position: absolute;
  top: 150px;
}

.arrow-right {
  right: -45px;
}

.arrow-left {
  left: -40px;
}

.card {
  text-align: left;
  left: 10px;
}

.cardImg {
  height: 157px;
}

.card-text {
  font-family: "Quicksand", sans-serif;
  margin-bottom: 20px;
  color: #003865;
}

#cardBtn {
  background-color: #ef5b0c;
  border: #ef5b0c;
  color: white;
  position: absolute;
  bottom: 10px;
}

/*  ---------------------------------- Counter  ----------------------------------  */

.counter {
  margin-top: 1rem;
  margin-bottom: 0;
  display: flex;
  text-align: center;
}

.btnCounter {
  margin: 4% 0;
  width: 28px;
  height: 28px;
  border: none;
  background-color: #bcbbbb;
  color: white;
  border-radius: 50%;
}

.counterVisual {
  margin: 0 1.3rem;
  justify-content: center;
  align-items: center;
  padding-top: 0.8rem;
  color: #003865;
}

.addToCart {
  position: absolute;
}

#btnAddToCart {
  display: block;
  position: absolute;
  background-color: #ef5b0c;
  border: #ef5b0c;
  color: white;
  padding: 8px 12px;
  margin-top: 10px;
}

/*  ---------------------------------- ItemDetail  ---------------------------------- */

.itemView {
  position: relative;
  align-items: center;
  padding: 10rem;
  padding-top: 8rem;
  display: flex;
  background-color: #efefef;
  width: 100%;
  min-height: 380px;
}

.itemView-left {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.itemView-right {
  width: 30%;
  position: absolute;
  top: 9rem;
  right: 9rem;
  margin-top: -10px;
}

.itemView-description {
  color: #003865;
}

.itemView-description p {
  margin: 15px 0;
}

.priceItemDetail {
  margin-bottom: 46px;
}

.stock {
  color: #3ccf4e;
  font-size: 1.3rem;
}

.itemView-img img {
  max-width: 80%;
  max-height: 80%;
}

.go-to-cart {
  padding-top: 5px;
  width: 110px;
  height: 40px;
  text-align: center;
  position: absolute;
  left: 160px;
  bottom: -50px;
  justify-content: center;
  align-items: center;
  border-style: solid;
  border-color: #ef5b0c;
}

.go-to-cart a {
  color: #ef5b0c;
}

.go-to-cart a:hover {
  color: #ef5b0c;
}
/* ---------------------------------- Footer ---------------------------------- */

footer {
  margin: 0;
  padding: 0;
  height: auto;
  width: 100vw;
  padding-top: 20px;
  background: rgba(91, 91, 93, 0.3);
  font-family: "Lato", sans-serif;
  bottom: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(229, 224, 224);
  padding-top: 0;
}

.footer-content p {
  margin-bottom: 5px;
}

.socials {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  margin-bottom: 10px;
}

.socials img {
  color: #efefef;
  width: 30px;
  margin: 0 10px;
  cursor: pointer;
}

/* ---------------------------------- Shopping Cart -----------------------------------*/

.shoppingCart {
  padding: 6rem 4rem 3rem;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 90vh;
}

.shopDetailBox {
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: flex;
}

.itemsList {
  padding: 20px;
  align-items: start;
  width: 70%;
  box-sizing: content-box;
}

.itemInCart {
  display: flex;
  justify-content: space-around;
  margin: 30px 20px;
  border-bottom: 1px black;
  border-bottom-style: solid;
  align-items: center !important;
  padding-bottom: 5px;
}

.itemInCart img {
  width: 260px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.itemDescription {
  width: 220px;
}

.itemInCartReference {
  margin: 0 30px;
  width: 200px;
  font-size: 18px;
  font-weight: bold;
}

.itemInCartChild {
  margin: 10px 30px;
  width: 110px;
}

.price {
  color: #3ccf4e;
  font-size: 16px;
  font-weight: bold;
}

.itemInCartChildProduct {
  width: fit-content;
}

.itemInCartChild a {
  margin: 0 16px;
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.lastItemInCartChild {
  margin-right: 20px;
  margin-top: 0;
}

.delete {
  cursor: pointer;
  color: #ef5b0c;
}

.summary {
  background-color: #b9b7b7;
  width: 30%;
  padding: 20px;
  position: relative;
  box-sizing: content-box;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.summary-detail {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  position: relative;
}

.totalPriceBox {
  margin-top: 30px;
  margin-bottom: 50px;
  justify-content: space-between;
}

.totalPrice {
  margin-left: 30px;
}

.checkOutBox {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
}

.checkOutBoxBtn {
  justify-content: center;
  align-items: center;
}

#checkoutBtn {
  background-color: #3ccf4e;
  color: white;
  border-radius: 4px;
  left: 20px;
  letter-spacing: 1px;
  width: 100%;
  margin: auto;
  margin-top: 30px;
}

#checkoutBtn:hover {
  background-color: white;
  color: black;
  border: none;
}

.backToShop {
  text-decoration: none;
  color: black;
}

.backToShop:hover {
  color: black;
}

/* ---------------------------------- Login  ---------------------------------- */

.loginContainer {
  background-color: grey;
  margin: auto;
  padding: 80px 0;
  text-align: center;
  height: 650px;
}

.loginContainer h1 {
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 200;
  color: white;
  padding-top: 160px;
}

.loginInput {
  border: 1px solid rgba(252, 252, 252, 0.4);
  background-color: rgba(252, 252, 252, 0.2);
  width: 250px;
  border-radius: 3px;
  font-family: "Lato", sans-serif;
  padding: 10px 15px;
  margin: 0 auto 10px auto;
  display: block;
  text-align: center;
  font-size: 18px;
  color: white;
  font-weight: 300;
}

.loginBtn {
  appearance: none;
  outline: 0;
  background-color: white;
  border: 0;
  padding: 10px 15px;
  color: grey;
  border-radius: 3px;
  width: 250px;
  font-size: 18px;
}

.loginBtn:hover {
  background-color: black;
  color: white;
}

/*  ----------------------------------  User Form   ---------------------------------- */

.user-form {
  width: 80%;
  margin-top: 5rem;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
}

#firstRow {
  display: flex;
  box-sizing: content-box;
  width: 98%;
}

#buyerName {
  margin-right: 20px;
}

#locationRow {
  display: flex;
  width: 98%;
}

#inputCity {
  margin-right: 10px;
}

#inputCountry {
  margin-right: 10px;
}

#formButton {
  background-color: #3ccf4e;
  color: white;
  border-radius: 4px;
  left: 20px;
  letter-spacing: 1px;
  width: 100%;
  margin: auto;
  margin-top: 30px;
}

/*  ---------------------------------- Order  ---------------------------------- */

.order {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.purchase-order {
  padding: 4rem 4rem 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 40vh;
}

.order-content {
  position: relative;
  align-items: center;
  width: 80%;
  border-style: solid;
  border-radius: 8px;
  margin: 20px auto;
}

.order-number {
  color: #ef5b0c;
}

.buyer-info {
  position: relative;
  align-items: center;
  width: 80%;
  border-style: solid;
  border-radius: 8px;
  margin: 10px auto;
}

/*  ----------------------------------  Loader   ----------------------------------  */

.loader {
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 20rem auto;
}

/*  ----------------------------------  Contact   ----------------------------------  */

.contact-container {
  background-color: grey;
  margin: auto;
  padding: 110px 0;
  text-align: center;
  height: 700px;
}

.contact-header {
  letter-spacing: 1px;
  font-family: "Lato", sans-serif;
  color: #efefef;
}

.contact-section-wrapper {
  display: flex;
  gap: 5rem;
  position: relative;
  margin-top: 3rem;
  justify-content: center;
}

.contact-section-wrapper::after {
  position: absolute;
  content: "";
  width: 2px;
  height: 50%;
  background-color: #efefef;
  left: 49.5%;
  top: 30%;
  transform: translate(-50%, -50%);
}

.contact-header h1 {
  font-size: 50px;
}

.contact-header p {
  margin-bottom: 0;
}

.contact-info {
  padding: 1rem;
  align-items: center;
  gap: 2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  background-color: rgba(252, 252, 252, 0.2);
}

.contact-right {
  justify-content: left;
  text-align: left;
}

.react-icons {
  width: 2rem;
}

.form {
  width: 100%;
}

.form-group {
  font-family: "Lato", sans-serif;
  width: 100%;
  margin-top: -5px;
}

.form-group label {
  font-size: 1rem;
}

.form-input {
  width: 112%;
  font-size: 1rem;
  padding: 0.5rem;
  background-color: rgba(252, 252, 252, 0.2);
  outline: none;
  border: none;
  border-radius: 8px;
  margin-top: 0.3rem;
}

textarea {
  min-height: 100px;
  resize: vertical;
  max-width: 290px;
}

.contact-btn {
  font-family: "Lato", sans-serif;
  border-style: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
}

/*  ----------------------------------  Responsive  ----------------------------------  */

@media screen and (max-width: 1200px) {
  .itemView {
    padding-top: 80px;
    padding-left: 30px;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background-color: #efefef;
    width: 100%;
    margin-bottom: 0;
  }

  .itemView-left {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 70%;
  }

  .itemView-right {
    width: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    left: 50px;
    top: 30px;
  }

  .priceItemDetail {
    margin-bottom: 0;
  }

  .go-to-cart {
    left: 120px;
  }

  .itemView-img img {
    max-width: 120%;
    max-height: 120%;
  }

  .footer {
    position: absolute;
    bottom: 0;
    margin-top: 20px;
  }
}

@media screen and (max-width: 768px) {
  .itemView-left {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 70%;
  }

  .itemView-right {
    width: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    left: 30px;
    top: 30px;
  }

  .contact-section-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .contact-section-wrapper::after {
    display: none;
  }

  .contact-right {
    width: 90%;
  }

  .contact-left {
    width: 90%;
  }

  .contact-container {
    height: 1300px;
  }

  .form-input {
    width: 160%;
  }

  textarea {
    max-width: 142%;
  }

  body {
    overflow-x: hidden;
  }

  .navigation-links {
    position: absolute;
    height: 24vh;
    width: 100%;
    left: 0px;
    top: 7vh;
    background-color: #e7e6ec;
    z-index: 3;
    flex-direction: column;
    transform: translateX(100%);
  }

  .navLink {
    padding: 10px;
  }

  .burger {
    display: block;
  }

  .mobile {
    display: none;
  }

  .Dropdown-menu {
    position: absolute;
    flex-direction: column;
    padding: 0;
    top: 4vh;
    left: 22vh;
    width: 170px;
    z-index: 100;
    background-color: #d8d7dd;
    align-items: center;
    text-align: center;
  }

  .shopDetailBox {
    flex-direction: column;
    align-items: center;
    width: 98%;
  }

  .itemInCart {
    flex-direction: column;
  }

  .totalPrice {
    margin-top: 0;
  }

  .summary {
    width: 70%;
    margin-bottom: 10px;
  }
}
