* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  list-style: none;
  font-family: cairo, sans-serif;
  transition: all 0.3s ease-in;
}

body {
  min-height: 100vh;
  background: #2f3d64;
  position: relative;
  overflow-x: hidden;
}

section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.open_page {
  background: url(../Images/logo2.svg) no-repeat;
  background-position: center;
  transform: translateX(-100%);
}

.lang_page {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-110%);
}

.container {
  width: 600px;
  height: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  width: 100%;
  text-align: center;
}

.logo img {
  position: relative;
  width: 250px;
  height: 350px;
  user-select: none;
  -webkit-user-drag: none;
}
.logo p {
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #ffdd00;
}

.lang-contant {
  text-align: center;
  margin-top: -20px;
}
.lang-contant h2 {
  color: #ffdd00;
  font-size: 25px;
  font-weight: 600;
}

.lang-contant ul {
  margin-top: 20px;
}

.lang-contant ul li {
  margin: 10px 0;
}
.lang-contant ul li a {
  display: block;
  padding: 15px 0;
  background-color: #6e7893;
  border-radius: 4px;
  color: #fff;
  transition: 0.2s;
  font-size: 17px;
}

.lang-contant ul li a:hover {
  background-color: #6e789391;
}

.login_page {
  transform: translateX(-100%);
}

.login_page .container .content {
  text-align: center;
  width: 350px;
}

.login_page .container .content .top {
  margin-top: 10px;
}

.login_page .container .content .top h2 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 25px;
}

.login_page .container .content .top p {
  color: #fff;
}

.login_page .container .content .top p a {
  color: #ffdd00;
  margin: 0 5px;
}

.login_page .container .content form a:hover,
.login_page .container .content .top p a:hover {
  text-decoration: underline;
}

.login_page .container .content form {
  margin-top: 25px;
}

.login_page .container .content form label {
  color: #fff;
  font-size: 18px;
}

.login_page .container .content form label span {
  color: red;
  margin: 0 5px;
}

.login_page .container .content form input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 5px 10px;
  font-size: 18px;
  border-radius: 5px;
  transition: 0.2s;
}

.login_page .container .content form input:focus {
  box-shadow: 0 2px 10px 10px #192547a2;
}

.login_page .container .content form a {
  display: block;
  color: #ffdd00;
  margin: 15px 0;
}

.login_page .container .content form .btn {
  width: 100%;
  padding: 10px 0;
  border-radius: 50px;
  background-color: #ffdd00;
  color: #2f3d64;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.login_page .container .content form .btn:hover {
  background: #657297;
  color: #fff;
}

.social-icon {
  margin-top: 25px;
  text-align: center;
}

.social-icon h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.social-icon ul li {
  margin: 20px 0;
}

.social-icon ul li a {
  display: block;
  padding: 10px 0;
  background: #fff;
  border-radius: 50px;
  color: black;
  transition: 0.2s;
}

.social-icon ul li a i {
  transition: 0.2s;
  margin: 0 10px;
}

.social-icon ul li a:hover {
  background: #657297;
  color: #fff;
}

.social-icon ul li:first-child a i {
  color: #4363b9;
}

.social-icon ul li:nth-child(2) a i {
  color: #b91a25;
}

.social-icon ul li:nth-child(3) a i {
  color: #3293c4;
}

.login_page.en .container .content form .btn {
  font-size: 17px;
  font-weight: bold;
}

.login_page.en .social-icon ul li a {
  font-size: 18px;
}

.products_page {
  padding: 2.7rem 0;
  margin-bottom: 5rem;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-100%);
}

.products_page header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 10%;
  background: #e4e4e4;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.products_page header .logo {
  width: fit-content;
}

.products_page header .logo a {
  color: #2f3d64;
}

.products_page header .logo a h1 span {
  color: #3293c4;
}
.products_page header .login ul,
.products_page header nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

.products_page header .login ul li,
.products_page header nav ul li {
  margin: 0 1rem;
}

.products_page header .menu_btn i,
.products_page header .login ul li a,
.products_page header nav ul li a {
  color: #2f3d64;
  font-size: 1.1rem;
  font-weight: bold;
  transition: 0.2s;
  cursor: pointer;
}

.products_page header .menu_btn {
  display: none;
}

.products_page header .menu_btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 2px solid #2f3d64;
}

.products_page header .menu_btn i:hover {
  color: #3293c4;
  border-color: #3293c4;
}

.products_page header .login ul li a i {
  transition: 0.2s;
}

.products_page header .login ul li a i:hover,
.products_page header .login ul li a:hover,
.products_page header nav ul li a:hover {
  color: #3293c4;
}

.products {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  width: 400px;
  height: 100vh;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
}
.products.active {
  transform: translateX(0%);
}

.products li {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  border: 2px solid #ccc;
  cursor: pointer;
}
.products li .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products li .content .img {
  width: 100px;
  height: 100px;
  border-right: 2px solid #ccc;
  overflow: hidden;
}

.products li .content .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
}

.products li:hover img {
  transform: scale(1.3);
}
.products li .content .product_name {
  color: #999;
}
.products li .content .product_price {
  color: #2f3d64;
}

.products li .content .delete_icon {
  padding: 1rem;
  background: #2f3d64;
  color: #fff;
  border-radius: 4px;
}

.products li .content .delete_icon:hover {
  background: #b91a25;
}

.shopping_cart_icon {
  position: relative;
}

.nom_of_products {
  height: 1rem;
  width: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b91a25;
  font-size: 10px;
  border-radius: 50%;
  color: #fff;
  position: absolute;
  top: 0;
  right: -15px;
  display: none;
}

.products_page .container .content {
  padding: 5rem 0;
  padding-top: 1rem;
}
.products_page .container {
  width: 90%;
  margin: auto;
  flex-direction: column;
  justify-content: flex-start;
}

.products_page .container h1 {
  text-transform: uppercase;
  color: #fff;
  padding: 15px;
  text-align: center;
  margin: 2rem 0;
}

.product_row {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.product_row .box {
  /* flex: 0 4 16rem; */
  flex: 0 4 275px;
  border: 2px solid #657297;
  border-radius: 4px;
  padding: 0.3rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
}

.product_row .box .img {
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
}
.product_row .box .img img {
  transition: 0.2s;
  width: 100%;
}

.product_row .box:hover .img img {
  transform: scale(1.2);
}

.product_row .box .icons i {
  position: absolute;
  color: #ffdd00;
  top: 1rem;
  height: 40px;
  width: 40px;
  background-color: #2f3d64;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

.product_row .box .icons i:nth-child(1) {
  left: -2.5rem;
}

.product_row .box .icons i:nth-child(2) {
  right: -2.5rem;
}

.product_row .box .icons i:hover {
  background-color: #fff;
  color: #b91a25;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.product_row .box:hover .icons i:nth-child(1) {
  left: 1rem;
}

.product_row .box:hover .icons i:nth-child(2) {
  right: 1rem;
}

.product_row .box .details {
  border-top: 2px solid #e4e4e4;
  text-align: center;
}

.product_row .box .details .price h2 {
  color: #2f3d64;
}

.product_row .box .details .prod-name p {
  color: #999;
}

.product_row .box .details .action {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0.8rem 0;
  font-weight: bolder;
}

.product_row .box .details .action a {
  color: #2f3d64;
  transition: 0.2s;
  background-color: #2f3d64;
  color: #fff;
  font-size: 15px;
  padding: 5px 10px;
  border-radius: 4px;
}

.product_row .box .details .action a:hover {
  /* color: #3293c4; */
  background-color: #3293c4;
}

.read_more {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  padding: 2rem 0;
}

.read_more a {
  display: block;
  background: #fff;
  width: fit-content;
  margin: auto;
  padding: 0.5rem 3rem;
  border-radius: 4px;
  color: #2f3d64;
  font-weight: bold;
}

.read_more a:hover {
  background: #3293c4;
  color: #fff;
}

/* Media Query */

@media (max-width: 991px) {
  .products_page .container {
    width: 100%;
  }
  .products_page header {
    padding: 1rem 6%;
  }

  .products_page header .logo h1 {
    font-size: 19px;
  }
  .products_page header .login ul li a,
  .products_page header nav ul li a {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .products_page header .menu_btn {
    display: inline-block;
  }
  .products_page header nav ul {
    position: absolute;
    width: 20rem;
    background: #fff;
    top: 100%;
    right: 0;
    flex-direction: column;
    z-index: 10;
    padding: 1rem 0;
    clip-path: polygon(100% 0%, 100% 0%, 0% 0%, 0% 0%);
  }

  .products_page header nav ul.active {
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 0% 0%);
  }

  .products_page header nav ul li {
    margin: 0.6rem 0;
  }
  .products {
    width: 335px;
  }
  .products li .content .delete_icon {
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 500px) {
  .products_page .container {
    width: 100%;
  }
  .product_row .box {
    flex: 1 1 11rem;
  }
}
