/* ------------------------------------------------------ */
@font-face {
  font-family: vazir;
  src: url(iranyekanweblightfanum.woff) format("woff");
}

body {
  background-color: #edf1d6;
}

* {
  margin: 0;
  padding: 0;
  font-family: vazir;
  text-decoration: none;
}
footer
/* ------------------------------------------------------ */

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #c1c1c1;
}

.Home {
  background-color: #edf1d6;
}

.Fixd {
  position: fixed;
  width: 100%;
  height: 100%;
}

.CafeLocation_OpenClosed {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin-top: 2vh;
}

/* ------------------------------------------------------------------------ Head */

.Header {
  width: 100%;
  position: relative;
  margin-bottom: 5vh;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.Header-background {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  display: block; /* فقط عکس داخلش باشد، flex لازم نیست */
}

.header-banner-image {
  display: block;
  width: 100%;     /* همیشه عرض کامل والد */
  height: auto;    /* ارتفاع متناسب با خود عکس */
  object-fit: unset; /* یا remove کن اگر قبلاً گذاشتی */
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}


.Header-backgroundCover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #247100b7;
  box-shadow: 0 1vh 2vh 0.01vh #9dc08b;
}

.Header-ImagesHead {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 25vh;
  background-size: cover;
  /* box-shadow: 0 0 10vh 1vh #9dc08b; */
}

.Header-H1P1H1Head {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 5rem;
  color: #f4f9f4;
  text-shadow: 0 0 0.2em #9dc08b, 0 0 0.2em #9dc08b, 0 0 0.2em #9dc08b;
}

.Header-H1Head {
  position: absolute;
  top: 90px;
  right: 20rem;
  font-weight: 700;
  font-size: 5rem;
  color: #f4f9f4;
  text-shadow: 0 0 0.2em #9dc08b, 0 0 0.2em #9dc08b, 0 0 0.2em #9dc08b;
}

.Header-P1Head {
  bottom: 2rem;
  left: 0;
  width: 100%;
  font-size: 3rem;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 0.2em #f4f9f4, 0 0 0.2em #f4f9f4;
  margin: 0;
  padding: 0 1rem;
  box-sizing: border-box;
}
.Header-H1P1H1Head,
.Header-H1Head,
.Header-P1Head,
.clickAMANGE {
  position: absolute !important;
  z-index: 2;
}

@media (max-width: 900px) {
  .Header {
    min-height: auto;
  }
  .Header-background {
    min-height: auto;
  }
  .header-banner-image {
      width: 100%;
    max-height: auto;
  }
  .Header-H1P1H1Head {
    font-size: 1.2rem;
    top: 20px;
    right: 10px;
  }
  .Header-H1Head {
    font-size: 1.2rem;
    top: 50px;
    right: 10px;
  }
  .Header-P1Head {
    font-size: 1rem;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 0.5rem;
  }
  .Header-ImagesHead {
    width: 70px;
    height: 70px;
  }
  .clickAMANGE {
    width: 70px;
    height: 70px;
    top: 10px;
    left: 10px;
  }
}

/* ------------------------------------------------------------------------- Header-ImagesHead */

.clickAMANGE {
  position: absolute;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 100vh;
  background-size: cover;
  top: 2vh;
  left: 2vh;
  box-shadow: 0 0 10vh 1vh #9dc08b;
  z-index: 97;
}

.CLICKjs {
  animation-name: clickAMANGE;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-direction: alternate;
  animation-fill-mode: both;
}

@keyframes clickAMANGE {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}

.CLICKjs .Header-ImagesHead {
  animation-name: Header-ImagesHead;
  animation-duration: 0.4s;
  animation-delay: 0s;
  animation-direction: alternate;
  animation-fill-mode: both;
}

@keyframes Header-ImagesHead {
  0% {
    display: block;
  }
  49% {
    display: block;
  }
  50% {
    display: none;
  }
  100% {
    display: none;
  }
}

.Header-ImagesHead {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100vh;
  background-size: cover;
  /* box-shadow: 0 0 10vh 1vh #9dc08b; */
  z-index: 99;
}

.rotiteBackA {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100vh;
  background-size: cover;
  box-shadow: 0 0 10vh 1vh #9dc08b;
  background-color: #9dc08b;
  color: black;
  z-index: 98;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  transform: rotateY(180deg);
  font-weight: 900;
}

@media (min-width: 900px) {
  .clickAMANGE {
    position: absolute;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 100vh;
    background-size: cover;
    top: 2vh;
    left: 2vh;
    box-shadow: 0 0 10vh 1vh #9dc08b;
    z-index: 97;
  }
  .Header-ImagesHead {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100vh;
    background-size: cover;
    /* box-shadow: 0 0 10vh 1vh #9dc08b; */
    z-index: 99;
  }
  .rotiteBackA {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100vh;
    background-size: cover;
    box-shadow: 0 0 10vh 1vh #9dc08b;
    background-color: #9dc08b;
    color: black;
    z-index: 98;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    transform: rotateY(180deg);
    font-weight: 900;
  }
}

/* ------------------------------------------------------------------------ Neon */

.Neon-box {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  width: 100%;
  height: 10px;
}

/* ------------------------------------------------------------------------ box cards */

.card.show {
  margin-top: 0vh;
  opacity: 1;
  transform: rotate(00deg);
}

.grid-container {
  width: min(75rem, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 2rem;
}

.card {
  box-shadow: inset -2px 2px hsl(0, 0%, 100%), -20px 20px 40px hsla(118, 100%, 11%, 0.196);
  background-image: linear-gradient(to bottom left, #d9ffd9, #d9e1dd);
  border-radius: 2rem;
  --grad: rgb(94, 255, 0), rgb(0, 0, 0);
  transform: rotateY(90deg);
  margin-top: 20vh;
  padding: 2.5rem;
  gap: 1.5rem;
  display: grid;
  grid-template: "title icon" "content content" "bar bar" / 1fr auto;
  color: #444447;
  transition: all 0.5s ease-in-out;
}

.card .title {
  font-size: 1.5rem;
  grid-area: title;
  align-self: end;
  text-transform: uppercase;
  font-weight: 500;
  word-break: break-all;
}

.card .icon {
  grid-area: icon;
  width: 5vh;
  height: 5vh;
  background: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card .content {
  grid-area: content;
}

.card .content > *:first-child {
  margin-top: 0rem;
}

.card .content > *:last-child {
  margin-bottom: 0rem;
}

.card::after {
  content: "";
  grid-area: bar;
  height: 2px;
  background-image: linear-gradient(90deg, var(--grad));
}

.card:hover {
  --grad: rgb(0, 0, 0), rgb(0, 0, 0);
  box-shadow: inset -2px 2px hsl(0, 0%, 0%), -20px 20px 40px hsla(118, 100%, 11%, 0.196);
}

/* ------------------------------------------------------------------------ btn */

.btn-min-page {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  height: auto;
  margin-top: 5vh;
}

.pushable {
  opacity: 0;
  position: relative;
  background: hsl(84, 100%, 32%);
  border: none;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  text-align: center;
  transition: 0.3s ease-in-out;
  width: 50vh;
  margin: 3vh;
}

.pushable.showw {
  opacity: 1;
  margin-bottom: 0vh;
}

.front {
  display: block;
  padding: 3vh;
  border-radius: 12px;
  font-size: 1.25rem;
  background: #40513b;
  color: white;
  transform: translateY(-4px);
  will-change: transform;
  transition: transform 250ms;
}

.pushable:active .front {
  transform: translateY(-2px);
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

.pushable:hover .front {
  transform: translateY(-6px);
}

.pushable:active .front {
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------------ TextBoxSIndex */

.TextBoxSIndex {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  width: 100%;
  height: auto;
  color: rgb(0, 0, 0);
  margin-top: 50px;
}

.TitelTextBox.showww {
  opacity: 1;
  margin-top: 0vh;
}

.TitelTextBox {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  font-size: 4rem;
  margin: 2rem;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  margin-top: 20vh;
}

.TextBoxTiter.showwww {
  opacity: 1;
}

.TextBoxTiter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  font-size: 2rem;
  margin: 4rem;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  margin-top: 20vh;
}

@media (max-width: 900px) {
  .TextBoxSIndex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    width: 100%;
    height: auto;
    color: #40513b;
  }
  .TitelTextBox {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    font-size: 3rem;
    margin: 1rem;
  }
  .TextBoxTiter {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    font-size: 1rem;
    margin: 2rem;
    font-weight: 800;
  }
}

/* --------------------------------------------------------------------------- footer */

footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  width: 100%;
  height: 400px;
  background-color: #40513b;
  margin-top: 10vh;
}

.boxCONT {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100px;
}

.footerImage {
  position: absolute;
  display: flex;
  background-position: center;
  background-size: cover;
  right: 15px;
  width: 80px;
  height: 80px;
}

.footerTitel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: space-evenly;
  width: auto;
  height: 100px;
  margin-right: 120px;
  margin-left: 30px;
  color: white;
}

@media (min-width: 900px) {
  .boxCONT {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    width: 50%;
    height: 100px;
  }
  .footerTitel {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    width: auto;
    height: 100px;
    margin-right: 120px;
    margin-left: 30px;
    color: white;
    font-size: 1.8em;
  }
}
