@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400..700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Mrs+Saint+Delafield&display=swap');

:root {
  --blue: #005ac2;
  --dark: #134386;
  --sky: #277fb7;
  --ice: #d4e5f1;
  --gray: #60696d;
  --lgray: #fafafa;
  --mgray: #cbcfd1;
  --nabadat: #8ad39b;
  --gold: linear-gradient(
    270deg,
    #bb9139 0%,
    #fdf8d0 18.5%,
    #eece79 50%,
    #efe3b1 74.5%,
    #bb9139 100%
  );
}

html,
body {
  margin: 0;
  font-family: "Amiri";
  color: #000000;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  color: var(--blue);
}

.icebg {
  background-color: var(--ice);
}
.whitebg {
  background-color: white;
}

.GA002s {
  background: linear-gradient(180deg, #fff 0%, #fff 80%, #B698E8 120%);
}

.GA003s {
  background: linear-gradient(180deg, #fff 0%, #fff 80%, #62A5E3 120%);
}

.GA004s {
  background: linear-gradient(180deg, #fff 0%, #fff 80%, #81CF93 120%);
}


.GA002 {
  background: linear-gradient(180deg, #B698E8 -40%, #fff 100%);
}

.GA003 {
  background: linear-gradient(180deg, #62A5E3 -40%, #fff 100%);
}

.GA004 {
  background: linear-gradient(180deg, #81CF93 -40%, #fff 100%);
}

.GA007 {
  background: linear-gradient(180deg, #FA7293 -40%, #fff 100%);
}

.GA008 {
  background: linear-gradient(180deg, #6E6BEC -40%, #fff 100%);
}


.GA009 {
  background: linear-gradient(180deg, #9D7B78 -40%, #fff 100%);
}



.GA010 {
  background: linear-gradient(180deg, #A0B6AB -40%, #fff 100%);
}



.GA011 {
  background: linear-gradient(180deg, #AFA545 -40%, #fff 100%);
}

.GA012 {
  background: linear-gradient(180deg, #F4AABC -40%, #fff 100%);
}

.GA013 {
  background: linear-gradient(180deg, #9B9492 -40%, #fff 100%);
}


.GA014 {
  background: linear-gradient(180deg, #AC69CC -40%, #fff 100%);
}


.GA016 {
  background: linear-gradient(180deg, #F26F46 -40%, #fff 100%);
}

.GA017 {
  background: linear-gradient(180deg, #6BD3C1 -40%, #fff 100%);
}

.GA018 {
  background: linear-gradient(180deg, #D38339 -40%, #fff 100%);
}

.GA019 {
  background: linear-gradient(180deg, #C6AB9C -40%, #fff 100%);
}

.GA020 {
  background: linear-gradient(180deg, #D6482B -40%, #fff 100%);
}

.GA021 {
  background: linear-gradient(180deg, #9CC83F -40%, #fff 100%);
}

.GA022 {
  background: linear-gradient(180deg, #07A8DA -40%, #fff 100%);
}

.GA023 {
  background: linear-gradient(180deg, #4BBB85 -40%, #fff 100%);
}

.GA024 {
  background: linear-gradient(180deg, #F1BF3F -40%, #fff 100%);
}

.GA025 {
  background: linear-gradient(180deg, #3B86F5 -40%, #fff 100%);
}

.GA026 {
  background: linear-gradient(180deg, #A1A66C -40%, #fff 100%);
}

.GA028 {
  background: linear-gradient(180deg, #70C2CC -40%, #fff 100%);
}

.GA029 {
  background: linear-gradient(180deg, #F19AD9 -40%, #fff 100%);
}


h1 {
  font-family: Cairo;
  font-size: 70px;
  font-style: normal;
  font-weight: 900;
  line-height: 90px;
  background: var(--gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: 80px 24px 40px 24px;
}
.arabic .poem h1 {
  margin: 24px 0 64px 0;
  font-family: "Mrs Saint Delafield", serif;
  -webkit-text-fill-color: var(--dark);
  font-weight: 100;
}

h2 {
  font-family: Cairo;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: 40px;
  color: var(--blue);
  display: block;
  margin: 8px;
}

.bigh2 {
  font-size: 40px;
  line-height: 64px;
}

h3 {
  font-family: Cairo;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  color: var(--blue);
  display: block;
  margin: 8px;
}

p {
  font-size: 18px;
  color: #333333;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.sectiontitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 40px 24px;
  color: var(--gray);
}

.gradient {
  background: var(--gold);
  height: 8px;
}

.gradientsm {
  background: var(--gold);
  height: 4px;
}

.stage,
.stage2 {
  background: var(--blue);
}

.gradientwhite {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
}

.stage .container {
  background: var(--blue);
  text-align: center;
  background-image: url(signature.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.stage2 .container {
  background: var(--blue);
  text-align: center;
  background-image: url(signature.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 240px;
}

.stage-book .container {
  background-image: url(signature.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 -250px;
  text-align: center;
}

.nabadat {
  background-color: var(--nabadat);
}

.stage-book img {
  margin-top: -200px;
  max-width: 320px;
  width: 90%;
  height: auto;
  object-fit: contain;
}

.top {
  background: var(--dark);
  max-height: 70px;
  overflow: hidden;
}

.header {
  background: var(--blue);
  text-align: center;
}

.header .container {
  padding: 0;
}

.menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px 0 0 0;
}

a {
  font-family: Cairo;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

sa:hover {
  color: white;
}

.menu a {
  color: white;
}
.menu a:hover {
  color: var(--ice);
}

.appteaser {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  display: flex;
}

.language {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  display: flex;
}

.top a {
  color: white;
  font-size: 14px;
  color: var(--ice);
  display: flex;
}

.top .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.lang2 svg {
  fill: var(--sky);
}

.appteaser img {
  margin-top: 8px;
}

.bodytext p {
  font-size: 28px;
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 0;
  line-height: 180%;
  text-justify: kashida;
  text-align: justify;
}

.bodytext img {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  margin: 40px auto;
}

footer {
  background-color: var(--ice);
  border-top: 40px solid var(--dark);
}

.footermenu {
  background-color: white;
  margin-top: -40px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

.footermenuitems {
  display: flex;
  gap: 16px;
}

.footermenuitems,
.footersocials {
  flex-basis: 40%;
}

.footerlogo {
  flex-basis: 20%;
}

.footersocials {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footerlogo {
  display: flex;
  justify-content: center;
}
.footerlogo img {
  max-height: 40px;
}

.footersocials a {
  display: flex;
}

.footermenuitems a {
  font-size: 14px;
  color: var(--blue);
}

.copyrights {
  text-align: center;
  color: var(--blue);
  font-size: 12px;
  padding: 16px;
}

.cards .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 22%);
  gap: 40px;
  justify-content: center;
}

.smallcards {
  max-width: 100vw;
  overflow: hidden;
}

.smallcards .cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, 15%);
  gap: 24px;
  width: 1440px;
  margin: 0 auto;
  padding: 0 0 24px 0;
  justify-content: center;
  justify-items: center;
}

.card {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 8px;
  box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  background-color: white;
}

.smallcards .card {
  height: 340px;
}

.smallcards h3 {
  font-size: 18px;
}

.card-gradient {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.smallcards .card-gradient {
  height: 200px;
}

.smallcards .card-content img {
  width: 160px;
}

.card:hover .card-gradient {
  background: linear-gradient(180deg, #134386 0%, #134386 39.5%, #005ac2 100%);
}

.card:hover .card-white {
  background-color: var(--dark);
}

.card:hover {
  transform: translateY(-4px); /* Slightly lift the card on hover */
  background-color: var(--dark);
}

.card:hover a {
  color: var(--ice);
}

.card:hover h3 {
  color: white;
}

.card:hover .gmbutton::after {
  filter: contrast(0%) brightness(2);
}

.card-content img {
  margin-top: 24px;
  width: 240px;
  max-width: 100%;
}

.card-white {
  position: relative;
  width: 100%;
  height: calc(30% - 2px);
}

.card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.card-content a h3 {
  margin-top: -16px;
  display: block;
  color: var(--dark);
}

.goldsign {
  overflow: hidden;
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin-bottom: -60px;
}

.goldsign img {
  max-width: 100%;
}

.gmbutton {
  font-size: 16px;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
}

.gmbutton:hover {
  color: var(--blue);
}
.gmbutton::after {
  content: url("arrow.svg");
  display: inline-block;
  width: 24px;
  height: 20px;
}

.arabic .gmbutton::after {
  transform: rotateY(180deg);
}

.research .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.rcard {
  border-radius: 8px;
  box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.rcard-top {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 24px;
  font-family: Cairo;
  font-weight: 800;
  color: var(--dark);
  height: 240px;
}
.rcard-top a {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 140%;
}

.rcard-bottom {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background-color: var(--lgray);
}

.rcard-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  flex-wrap: wrap;
}
.labeled {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: start;
}

.line-container input:nth-child(2) {
  order: 1;
}

.line-container input:nth-child(1) {
  order: 2;
}

.rcard .labeled{
  width: 48%;
}

.labeled span {
  color: var(--gray);
}
.labeled strong {
  font-family: Cairo;
  font-weight: 800;
  color: var(--blue);
  font-size: 16px;
}

.primary {
  background-color: var(--blue);
  color: white;
}

.homepage .stage .container {
  background: var(--blue);
  text-align: center;
  background-image: url(signature.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.homecont{
  background-image: url(/assets/gamila.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  height: 800px;

  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
}

.arabic .homecont{

  background-position: right;
}

.homequote a {
  color: var(--ice);
}


.homeintro{
  flex: 60%;
}

.homequote {
  flex: 40%;
  font-size: 40px;
  color: white;
  margin-right: 200px;
}

.arabic .homequote{
  margin-right: 0px;
  margin-left: 200px;
}

.primary:hover {
  background-color: var(--dark);
  color: var(--ice);
}

.primary:hover img {
  filter: contrast(0%) brightness(1.5);
}

.primary img {
  filter: contrast(0%) brightness(2);
  max-width: 24px;
}

.secondary {
  background-color: var(--ice);
  color: var(--blue);
}

.secondary:hover {
  background-color: var(--ice);
  filter: brightness(0.98);
  color: var(--dark);
}

.secondary:hover img {
  filter: brightness(0.5);
}
.tertiary {
  background-color: white;
  border: 2px solid var(--ice);
  color: var(--blue);
}

.tertiary:hover {
  filter: brightness(0.98);
  color: var(--dark);
}

.tertiary:hover img {
  filter: brightness(0.5);
}

.mainbtn {
  display: flex;
  font-family: Cairo;
  padding: 8px 40px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 100px;
  gap: 8px;
  text-wrap: nowrap;
  max-height: 40px;
  justify-content: center;
}

.mainbtn img {
  max-width: 24px;
}

.labels {
  display: flex;
  width: 480px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 90%;
  gap: 40px;
  border-top: 1px solid var(--mgray);
  border-bottom: 1px solid var(--mgray);
  padding: 16px 40px;
  margin: 0 0 24px 0;
}

.stage-book h1 {
  background: var(--blue);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: 16px;
}

.stage-book .container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.poem .container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.tag {
  background-color: var(--blue);
  font-family: Cairo;
  color: white;
  padding: 2px 12px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
}

.ctas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

.ctas img {
  margin: 0;
}

.cta img {
  margin: 0;
}

.splitcontent {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.imagepart {
  flex-basis: 40%;
}

.textpart {
  flex-basis: 60%;
}

.textpart p {
  max-width: 700px;
  font-size: 22px;
  line-height: 180%;
}

.textpart .signreal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: 700px;
}

.imagepart img {
  max-width: 100%;
}

.poemslist .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.poemslist {
  padding: 16px 0 80px 0;
}
.poemslist-card {
  display: flex;
  border-radius: 8px;
  box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.08);
  border-style: solid;
  border-width: 4px;
  border-image: var(--gold) 0 0 1 0;
  overflow: hidden;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  background: white url(signature-blue.svg) no-repeat left;
  background-size: 240px;
  min-height: 40px;
}

.poemslist a {
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 22px;
  margin-top: -12px;
}

.arabic .poemslist a {
  font-family: "Cormorant", serif;
  font-style: italic;
}

.poemslist-card:hover {
  background: var(--blue) url(signature.svg) no-repeat left;
  background-size: 240px;
  background-blend-mode: overlay;
}

.poemslist-card:hover a,
.poemslist-card:hover span {
  background: var(--gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.poemslist-card:hover strong {
  color: var(--ice);
}

.teaser-works {
  flex: 1 1 49%;
  height: 440px;
  background: url(teaser-works.jpg) no-repeat;
}

.teaser-life {
  flex: 1 1 49%;
  height: 440px;
  background: url(teaser-life.jpg) no-repeat;
}

.teaser-magazine {
  flex: 1 1 30%;
  height: 320px;
  background: url(teaser-magazine.jpg) no-repeat;
}

.teaser-library {
  flex: 1 1 30%;
  height: 320px;
  background: url(teaser-library.jpg) no-repeat;
}

.teaser-salon {
  flex: 1 1 30%;
  height: 320px;
  background: url(teaser-salon.jpg) no-repeat;
}

.teasers {
  background-color: var(--dark);
  padding: 40px;
  background-image: url(signature.svg);
  background-repeat: no-repeat;
  background-size: 1600px;
  background-position: center -450px;
}

.teasers .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.teaser {
  background-size: cover;
  border-radius: 8px;
  color: var(--mgray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  background-position: center center;
}

.teaser h3 {
  background: var(--gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
}

.teaser:hover h3 {
  background: white;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topspace {
  margin-top: 40px;
}

.bottomspace {
  margin-bottom: 40px;
}

.bottomspacexl {
  margin-bottom: 160px;
}

.poem .container {
  background-color: white;
  margin-top: -200px;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  width: 80%;
  max-width: 1200px;
}

.poemtag {
  margin-top: -16px;
  background: var(--gold);
  color: var(--blue);
}

.homepoemtitle a{
  color: var(--dark);
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 28px;
  line-height: normal;
  margin: 0 0 20px 0;
  text-align: center;
  padding: 8px;
}

.poemcards .container {
  display: flex;
  gap: 16px;
  text-align: center;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.poemcards {
  padding: 0px 0 80px 0;
}


.poem-item {
  flex: 1 1 30%;
}

.poem-item img {
  width: 80px;
}

.frombook{
  color: var(--gray);
  font-size: 18px !important;
  
}

.arabic .homepoemtitle a{
  font-family: "Mrs Saint Delafield", serif;
  font-size: 50px;
  font-weight: 100;

}
.poem-item p {
  text-align: center;
  text-align-last: center;
  font-size: 24px;
  padding: 20px;
}

 .poem h1 {
  background: var(--dark);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Noto Nastaliq Urdu", serif;
  font-size: 56px;
  line-height: normal;
  margin: 0 0 40px 0;
  text-align: center;
  padding: 20px 10px 40px;
}

.arabic .poem h1 {
  font-size: 80px;
}

.smallerimage {
  margin-top: -100px !important;
  max-width: 160px !important;
}

.poemimg {
  width: 80%;
  max-width: 400px;
}

.poemimage {
  mix-blend-mode: multiply;
  text-align: center;
  position: relative;
  max-width: 400px;
  max-height: 400px;
  margin: 0 auto;
  margin-top: -80px;
}
.ontop {
  width: 78%;
  position: absolute;
  z-index: 2;
  mix-blend-mode: screen;
  border: 0;
  margin-right: 2px;
}
.poemlistimage img {
  width: 56px;
  margin: -24px 0;
  mix-blend-mode: multiply;
}
.poemslist-card:hover .poemlistimage img {
  filter: invert(1);
  mix-blend-mode: screen;
}

.poem-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  font-size: 24px;
  padding: 24px;
  width: 70%;
}

.baytt {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.shatr-left {
  float: left;
  width: 40%;
}

.shatr-right {
  width: 40%;
  float: right;
}

.shatr-sep{
  background: #fff;
  height: 10px;
  float: left;
  width: 100%;
  margin: 20px 0;
}


.bayt {
  text-align: justify;
  text-align-last: justify;
  width: 100%;
}

.poemsection {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
  padding-bottom: 64px;
  background: url(sep8.svg) no-repeat center bottom;
  margin-bottom: 24px;
}

:nth-last-child(1 of .poemsection) {
  background: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.filterbtn {
  background: white;
  border: 2px solid var(--blue);
  border-radius: 40px;
  padding: 4px 16px;
  font-size: 16px;
  font-family: Cairo;
  color: var(--blue);
}

.filterbtn:active, .filterbtn:focus, .filterbtnactive, .filterfocus {
  background: var(--blue) !important;
  color: white !important;
  font-weight: 900;

}

.filterbtn:hover {
  background: var(--ice);
}

.filterbtn:focus:hover{
  background: var(--blue);
  color: white;
}

.filter-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

.shatr {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  text-align-last: center;
}

.arabic footer, .arabic .teaser{
  font-family: 'Cairo';
}

.arabic p{
  font-family: "Cormorant", serif;
}
.adminbuttons {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  gap: 24px;
}

.adminbuttons2{
  display: flex;
  justify-content: center;
  gap: 24px;
}

table{
  border: 0;
}



td{
  border-spacing: 0;
  border-color: #00000020;
  padding: 8px 16px;
}

.homeco{
  background-color: var(--ice);
}
.homepage .poetry {
  margin-top: -200px;
}

.golden {
  background: var(--gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  text-align: center;
  padding-bottom: 24px;
  display: table;
  margin: 0 auto;
}

.golden{
  margin-bottom: 24px;
}


@media only screen and (max-width: 1400px) {
  .bodytext img {
    max-width: 96%;
    margin: 24px auto;
  }

  .cards .card-gradient {
    height: 260px;
  }

  .cards .card-content img {
    width: 240px;
  }

  .cards .card {
    height: 460px;
  }
  .card-content a h3 {
    font-size: 18px;
  }

  .smallcards .card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    min-width: 220px;
  }

  .smallcards .cont::-webkit-scrollbar,  .homepage .cards .cont::-webkit-scrollbar{
    display: none;
  }

  .smallcards .cont {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: auto;
    padding-right: 24px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    justify-content: start;
  }

  .cards .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1200px) {
  .poem-text {
    width: 85%;
  }

  .homequote {
    margin-right: 0px;
    margin-left: 0px;
  }

  .arabic .homequote{
    margin-right: 0px;
    margin-left: 0px;
  }


}

@media only screen and (max-width: 960px) {
  .bodytext img {
    max-width: 96%;
    margin: 24px auto;
  }
  p,
  .bodytext p {
    font-size: 24px;
  }

  .bodytext p {
    padding: 22px;
  }

  .cards .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .research .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .gmbutton::after {
    transform: scale(0.8);
  }

  .imagepart {
    flex-basis: 50%;
  }

  .textpart {
    flex-basis: 50%;
  }

  .textpart p {
    text-align: center;
  }

  .poemslist .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .teaser-works,
  .teaser-life,
  .teaser-magazine,
  .teaser-library,
  .teaser-salon {
    flex: 1 1 48%;
    height: 120px;
    text-align: center;
  }

  .teaser span{
    display: none;
  }

  .teaser h3 {
    font-size: 18px;
    padding: 0 12px;
  }

  .teasers {
    padding: 24px 0px;
  }

  .teasers .container {
    gap: 8px;
  }

  .teasers {
    background-size: 1000px;
  }

  .bayt {
    display: flex;
    flex-direction: row;
    gap: 0px;
    width: 100%;
    align-items: center;
    align-content: center;
  }

  .shatr-right {
    width: 100%;
    text-align: start;
  }

  .shatr-left {
    width: 100%;
    text-align: end;
  }

  .bayt {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: start;
    text-align-last: auto;
    width: auto;
  }

  .homecont {

    background-position: center;
    height: 480px;
    flex-direction: column;
}
.homequote {
  margin-right: 0px;
  max-width: 50%;
  font-size: 32px;
}

.arabic .homequote{
  margin-right: 0px;
}

.arabic .homecont {
  background-position: center;
  height: 480px;
  flex-direction: column;
}

.homepage .poetry {
  margin-top: 40px;
}
.golden {
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
}

}

@media only screen and (max-width: 700px) {

  .homecont {
    
    background-size: cover;
  }

  .container {
    padding: 0 24px;
}

  .bookimagestage img {
    margin-top: -220px;
    margin-bottom: -16px;
    max-width: 240px;
  }
  .filterbtn {
    background: white;
    border: 2px solid var(--blue);
    border-radius: 40px;
    padding: 2px 12px;
    font-size: 14px;
    font-family: Cairo;
    color: var(--blue);
}

.appteasertext{
  display: none;
}

.homequote {
  margin-right: 0px;
  max-width: 90%;
  font-size: 24px;
  flex: 20%;
}
.homepage .stage .container {
    padding: 0px;
  }
  h1 {
    font-size: 32px;
    line-height: 40px;
    margin: 24px 16px 24px 16px;
  }
  h2 {
    font-size: 24px;
  }

  .menu img {
    height: 48px;
  }
  .menu {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 24px 0 0 0;
  }
  .menu :nth-child(1) {
    order: 2;
  }
  .menu :nth-child(2) {
    order: 3;
  }
  .menu :nth-child(3) {
    order: 1;
    flex: 1 0 100%;
  }
  .menu :nth-child(4) {
    order: 4;
  }
  .menu :nth-child(5) {
    order: 5;
  }
  .menu a {
    font-size: 16px;
  }

  .footermenu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 16px;
  }

  .footermenuitems {
    flex-basis: 100%;
    width: 100%;
    order: 3;
    margin-bottom: 16px;
    justify-content: center;
  }

  .footermenuitems > * {
    text-align: center;
  }

  .footerlogo {
    flex-basis: 100%;
    order: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

  .footersocials {
    flex-basis: 100%;
    order: 2;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  .footersocials img {
    max-width: 24px;
  }

  .langtxt {
    display: none;
  }

  .appteaser {
    gap: 8px;
  }
  .appteaser1 img {
    height: 48px;
    margin-top: 12px;
  }
  .appteaser2 {
    margin-right: -40px;
  }
  .appteaser2 img {
    width: 80px;
  }

  .top a {
    font-size: 12px;
  }
  .stage-book .container {
    padding: 0 40px;
    background-position: 0 -120px;
  }

  .stage2 .container {
    background-position: 0 80px;
  }

  .cards .card {
    height: 280px;
  }
  .cards .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .poetry .container{
    gap: 16px;
    justify-content: center;
    margin: 0 auto;
    justify-items: center;
    justify-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 48%;
}

  .poetry .card {
    flex: 47%;
    max-width: 50%;
}

.homepage .card{
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    min-width: 220px;

}

.homepage .cards{
    max-width: 100vw;
    overflow: hidden;
}

.homepage .cards .cont {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: auto;
  padding-right: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  justify-content: start;
}

  .cards .card-content img {
    width: 120px;
  }
  .cards .card-gradient {
    height: 140px;
  }

  .card-content a h3 {
    font-size: 14px;
    height: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    line-height: 160%;
    margin-bottom: 0px;
    margin-top: -12px;
  }

  .research .container {
    grid-template-columns: repeat(1, 1fr);
  }
  .rcard-top {
    font-size: 14px;
  }

  .rcard-top a {
    font-size: 18px;
    height: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    line-height: 160%;
    margin-bottom: 0px;
  }

  .gmbutton {
    font-size: 12px;
  }

  .cards .goldsign {
    height: 140px;
  }

  .labeled span {
    font-size: 12px;
  }
  .labeled strong {
    font-size: 14px;
  }

  .labels {
    gap: 16px;
  }

  .ctas {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }

  .cta {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .ctas .mainbtn {
    width: 240px;
  }

  .splitcontent {
    flex-direction: column;
  }
  .imagepart {
    flex-basis: 100%;
  }

  .textpart {
    flex-basis: 100%;
  }

  .poemslist .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .poem h1 {
    font-size: 36px;
    line-height: 220%;
    margin: 0 0 24px 0;
    text-align: center;
  }

  .arabic .poem h1 {
    font-size: 40px;
    line-height: 130%;
    margin: 24px 0 16px 0;
    text-align: center;
    -webkit-text-fill-color: var(--dark);
}

  .bayt {
    font-size: 22px;
  }

  .bottomspacexl {
    margin-bottom: 120px;
  }

  .poem .container {
    width: 75%;
  }

  .poemimage {
    margin-top: -40px;
  }
}

@media only screen and (max-width: 500px) {
  .poemslist .container {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
  .poem-text {
    gap: 24px;
  }
}
