/* BY AHMED HADI */
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
:root{
    --white: #fff;
    --light: #eeeaea;
    --orange: #c7cccf;
}
body{
    background-color: var(--orange);
    font-family: system-ui;
    overflow: hidden;
}
.container{
    width:1200px;
    border:1px solid var(--white);
    max-width: 100%;
    margin:50px auto 0;
    display: grid;
    grid-template-columns: 200px auto 300px;
    padding:20px;
    border-radius: 30px;
    min-height: 80vh;
}
.container .menu{
    background-color: var(--white);
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}
.container .cart{
    background-color: var(--white);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.container .center{
    background-color: var(--light);
    border-left: 1px solid var(--light);
    border-right: 1px solid var(--light);
}
/* menu */

.menu .logo{
    padding:20px;
    font-family: 'Lobster', cursive;
    font-size: xx-large;
    height:40px;
}
.menu .logo span{
    color: var(--orange);
}
.menu ul{
    padding:20px 0 20px 20px;
    list-style: none;
    border-bottom: 1px solid var(--light);
}
.menu a {
    text-decoration: none;
    color: #0e0e29;
}

.menu ul li{
    padding:10px 0;

}
.menu ul li i{
    margin-right: 12px;

}
.menu ul li.active{
    color: var(--orange);
    border-right: 2px solid var(--orange);
}
.menu ul li:hover{
    color: var(--orange);
    border-right: 2px solid var(--orange);
}
/* end menu */
/* center */
    /* form */
.center .search{
    background-color: var(--white);
    padding:20px;
    height:40px;
}
.center .search .form{
    width:max-content;
    border:1px solid var(--light);
    border-radius: 20px;
    padding-left:15px;
    color:var(--light);
}
.center .search .form input{
    border:none;
    padding:0 10px;
    outline: none;
    width:100px;
}
.center .search .form button{
   border:none;
   background-color: var(--orange);
   color: var(--light);
   padding:10px 20px;
   border-radius: 20px;
}

    /* end form */

.center h4{
    padding:5px;
    text-align: center;
    color: #3a455b;
}
.center .list{
    padding:0 10px 20px;
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 20px;
    row-gap: 20px;
}





.cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 45px;
}

.left{
    flex-basis: 30%;
    flex-direction: column;
}

.left h1{
    font-weight: 500;
    color: #0063c6;
    font-size: 29px;
}

input{
    width: 350px;
    background: #fff;
    padding: 10px;
    font-size: 15px;
    border: 0;
    outline: 0;
    border-radius: 20px;
    margin: 5px 0;
}

textarea{
    width: 400px;
    background: #fff;
    padding: 10px;
    font-size: 15px;
    border: 0;
    outline: 0;
    border-radius: 20px;
    margin: 5px 0;
    height: 120px;
}

button{
    display: inline-block;
    margin-top: 6px;
    color: white;
    background-color: #0e0e29;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.6em 1em;
    border-radius: 20px;
    margin-bottom: 30px;
    transition: 0.7s ease;
    width: 100px;
    place-items: center;
    position: absolute;
    top: 84%;
    transform: translateY(-50%);
}



/* تحدث معنا */ 
.type--A {
  --line_color: #555555;
  --back_color: #ffecf6;
}

.button {
  position: relative;
  z-index: 0;
  width: 200px;
  height: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #00135c;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  display: block;
  margin: 0 auto;}

.button:not(:last-child) {
  margin-bottom: 64px;
}
.button__text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.button::before,
.button::after,
.button__text::before,
.button__text::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background: var(--line_color);
  transition: all 0.5s ease;
}
.button::before {
  top: 0;
  left: 54px;
  width: calc(100% - 56px * 2 - 16px);
}
.button::after {
  top: 0;
  right: 54px;
  width: 8px;
}
.button__text::before {
  bottom: 0;
  right: 54px;
  width: calc(100% - 56px * 2 - 16px);
}
.button__text::after {
  bottom: 0;
  left: 54px;
  width: 8px;
}
.button__line {
  position: absolute;
  top: 0;
  width: 56px;
  height: 100%;
  overflow: hidden;
}
.button__line::before {
  content: "";
  position: absolute;
  top: 0;
  width: 150%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 300px;
  border: solid 3px var(--line_color);
}
.button__line:nth-child(1),
.button__line:nth-child(1)::before {
  left: 0;
}
.button__line:nth-child(2),
.button__line:nth-child(2)::before {
  right: 0;
}
.button:hover {
  letter-spacing: 6px;
}
.button:hover::before,
.button:hover .button__text::before {
  width: 8px;
}
.button:hover::after,
.button:hover .button__text::after {
  width: calc(100% - 56px * 2 - 16px);
}
.button__drow1,
.button__drow2 {
  position: absolute;
  z-index: -1;
  border-radius: 16px;
  transform-origin: 16px 16px;
}
.button__drow1 {
  top: -16px;
  left: 40px;
  width: 32px;
  height: 0;
  transform: rotate(30deg);
}
.button__drow2 {
  top: 44px;
  left: 77px;
  width: 32px;
  height: 0;
  transform: rotate(-127deg);
}
.button__drow1::before,
.button__drow1::after,
.button__drow2::before,
.button__drow2::after {
  content: "";
  position: absolute;
}
.button__drow1::before {
  bottom: 0;
  left: 0;
  width: 0;
  height: 32px;
  border-radius: 16px;
  transform-origin: 16px 16px;
  transform: rotate(-60deg);
}
.button__drow1::after {
  top: -10px;
  left: 45px;
  width: 0;
  height: 32px;
  border-radius: 16px;
  transform-origin: 16px 16px;
  transform: rotate(69deg);
}
.button__drow2::before {
  bottom: 0;
  left: 0;
  width: 0;
  height: 32px;
  border-radius: 16px;
  transform-origin: 16px 16px;
  transform: rotate(-146deg);
}
.button__drow2::after {
  bottom: 26px;
  left: -40px;
  width: 0;
  height: 32px;
  border-radius: 16px;
  transform-origin: 16px 16px;
  transform: rotate(-262deg);
}
.button__drow1,
.button__drow1::before,
.button__drow1::after,
.button__drow2,
.button__drow2::before,
.button__drow2::after {
  background: var(--back_color);
}
.button:hover .button__drow1 {
  animation: drow1 ease-in 0.06s;
  animation-fill-mode: forwards;
}
.button:hover .button__drow1::before {
  animation: drow2 linear 0.08s 0.06s;
  animation-fill-mode: forwards;
}
.button:hover .button__drow1::after {
  animation: drow3 linear 0.03s 0.14s;
  animation-fill-mode: forwards;
}
.button:hover .button__drow2 {
  animation: drow4 linear 0.06s 0.2s;
  animation-fill-mode: forwards;
}
.button:hover .button__drow2::before {
  animation: drow3 linear 0.03s 0.26s;
  animation-fill-mode: forwards;
}
.button:hover .button__drow2::after {
  animation: drow5 linear 0.06s 0.32s;
  animation-fill-mode: forwards;
}
@keyframes drow1 {
  0% {
    height: 0;
  }
  100% {
    height: 100px;
  }
}
@keyframes drow2 {
  0% {
    width: 0;
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  11% {
    opacity: 1;
  }
  100% {
    width: 120px;
  }
}
@keyframes drow3 {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}
@keyframes drow4 {
  0% {
    height: 0;
  }
  100% {
    height: 120px;
  }
}
@keyframes drow5 {
  0% {
    width: 0;
  }
  100% {
    width: 124px;
  }
}




/* end center */

.cart .name{
    height:48px;
    font-weight: bold;
    font-size: xx-large;
    border-bottom:2px solid var(--light)
}
.danger{
    box-shadow: 0 10px 10px var(--orange);
    transform: translate(0,-10px);
}
.cart .add{
    display: none;
}
.cart .remove{
    display: inline-block!important;
}


.item{
    background-color: #E9E9E9;
    width: 277px;
    padding: 10px;
    border-radius: 40px;
    border: 1px solid #c9c6c655;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.5s;
    text-align: center;
}
.item .question{
    display: flex;
    justify-content: start;
    align-items: center;
}
.item .question .text{
    width: calc(100% - 10px);
}
.item .question .dropdown{
    width: max-content;
    font-size: x-large;
    transform: rotate(90deg);
    transition: 0.5s;
    cursor: pointer;
}
.item .answer{
    overflow: hidden;
    max-height: 0;
    transition: 0.5s;
}
.item.active{
    background-color: #fff;
    cursor: auto;
}
.item.active .question .text{
    font-weight: bold;
}
.item.active .question .dropdown{
    transform: rotate(270deg);
}
.item.item.active .answer{
    max-height: 100px;
}



@media (max-width: 768px) {

    .container{
        width: 300px;
        margin-top: -40px;
    }
    .menu {
        display: none !important;
    }
    .name{
        display: none !important;
    }
    .center{
        display: none !important;
    }
}

/* إخفاؤه على الكمبيوتر */
@media (min-width: 769px) {
    .button {
        display: none !important;
    }
}

/* إظهاره على الهاتف */
@media (max-width: 768px) {
    .button {
        display: block !important;
    }
}





