@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400..700&family=Teko:wght@300..700&display=swap');

.absolute-center,
.square-wrapper,
.square-dark-wrapper,
.sparks,
.pango-logo-group,
.pango-logo,
.pango-words,
.outer-logo-circle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.section--intro {
  overflow: hidden;
}
html,
body {
  width: 100%;
  min-height: 100%;
  background-image: url(../img/bg1.jpg);
background-size: cover;
  /*background: #4f0004;*/
  overflow-x: hidden;
}
.wrapper {
  width: 960px;
  height: 100%;
  margin: auto;
  z-index: 14;
  position: relative;
}
.square-wrapper {
  width: 200px;
  height: 200px;
  background: #4f0004;
}
.line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  width: 100%;
  height: 4px;
  background: #bb8d1c;
}
.line:nth-child(3) {
  top: auto;
  bottom: 0;
}
.line:nth-child(2),
.line:nth-child(4) {
  top: 50%;
  left: -50%;
  margin-top: -2px;
  transform: rotate(90deg);
}
.line:nth-child(2) {
  left: 50%;
}
.square-dark-wrapper {
  width: 0;
  height: 0;
  will-change: transform;
  transform: scale(0);
}
.square-dark {
  background-image: url(bg1.jpg);
  background-size: cover;
  background: rgb(0 0 0 / 81%);
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.sparks {
  width: 100px;
  height: 100px;
}
.spark {
  transform: rotate(45deg);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: -200%;
  will-change: stroke-dashoffset;
  stroke-dasharray: 145;
  stroke-dashoffset: -145;
}
.spark:last-child {
  left: -200%;
  right: auto;
  transform: rotate(-135deg);
}
.pango-logo-group {
  margin-top: -5rem;
  z-index: 15;
}
.pango-logo {
  width: 190px;
  height: 190px;
  z-index: 16;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  transform: scale(0.9);
}
.pango-words {
      text-align: center;
  width: 271px;
  height: 120px;
  font-family: 'Lato';
  font-size: 3rem;
  font-weight: 300;
  color: #f0f0f0;
  top: auto;
  bottom: 10%;
  overflow: hidden;
  will-change: opacity;
}
.pango-words .line-separator {
  width: 90%;
  height: 1px;
  background: #f0f0f0;
  will-change: transform;
  margin: 0.2em auto;
}
.pango-word {
  text-align: center;
  display: block;
  overflow: hidden;
  line-height: 1;
}
.pango-word span {
  will-change: transform;
  display: inline-block;
}
.pango-word:last-of-type {
  letter-spacing: 0.11em;
  font-size: 1.4rem;
  font-weight: 100;
}
.outer-logo-circle {
  width: 190px;
  height: 190px;
  z-index: 14;
  transform-origin: 50% 50%;
  transform: rotate(-90deg) scale(0.9);
}
.outer-logo-circle .circle {
  transform: translateZ(1px);
  stroke: #bb8d1c;
  stroke-dasharray: 2072;
  stroke-dashoffset: 2072;
  stroke-width: 16px;
}
.bg-lines-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  will-change: transform;
  transform: perspective(1000px) rotateX(45deg);
  transform-style: preserve-3d;
}
.bg-lines-wrapper .line {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  width: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.mouse-tracker-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 18;
}
.top-nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 19;
}
.nav-list {
  list-style: none;
  padding: 1rem 2rem;
}
.nav-list--item {
  display: inline-block;
}
.nav-list--item a {
  color: #f0f0f0;
  padding: 0.4rem;
  margin: 0 0.4rem;
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.nav-list--item a:hover {
  border-color: currentColor;
}
.pango-word2{
  color: #bb8d1c;
  text-align: center;
  font-size: 2rem;
font-family: "Reem Kufi", serif;
}
/*-----------------------------------*/

.cards-list {
  z-index: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.card {
  margin: 30px auto;
  width: 300px;
  height: 300px;
  border-radius: 40px;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: 0.4s;
}

.card .card_image {
  width: inherit;
  height: inherit;
  border-radius: 40px;
}

.card .card_image img {
  width: inherit;
  height: inherit;
  border-radius: 40px;
  object-fit: cover;
}

.card .card_title {
  text-align: center;
  border-radius: 0px 0px 40px 40px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 30px;
  margin-top: -80px;
  height: 40px;
}

.card:hover {
  transform: scale(0.9, 0.9);
  box-shadow: 5px 5px 30px 15px rgba(0,0,0,0.25),
    -5px -5px 30px 15px rgba(0,0,0,0.22);
}

.title-white {
  color: white;
}

.title-black {
  color: black;
}



.intro{
  width: 70%;
margin: auto;
}
.intro p{
  text-align: justify;
  direction: rtl;
  color: #bdbdbb;
      line-height: 1.9;

      font-size: 18px;
    font-family: "Tajawal";
    font-weight: bold;
}
/*
.card {
  margin: 30px auto;
  width: 300px;
  height: 300px;
  border-radius: 40px;
  background-image: url('https://i.redd.it/b3esnz5ra34y.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-repeat: no-repeat;
box-shadow: 5px 5px 30px 7px rgba(0,0,0,0.25), -5px -5px 30px 7px rgba(0,0,0,0.22);
  transition: 0.4s;
}
*/
/*
  https://developer.mozilla.org/en/docs/Web/CSS/box-shadow
  box-shadow: [inset?] [top] [left] [blur] [size] [color];

  Tips:
    - We're setting all the blurs to 0 since we want a solid fill.
    - Add the inset keyword so the box-shadow is on the inside of the element
    - Animating the inset shadow on hover looks like the element is filling in from whatever side you specify ([top] and [left] accept negative values to become [bottom] and [right])
    - Multiple shadows can be stacked
    - If you're animating multiple shadows, be sure to keep the same number of shadows on hover/focus as non-hover/focus (even if you have to create a transparent shadow) so the animation is smooth. Otherwise, you'll get something choppy.
*/
.fill:hover,
.fill:focus {
  box-shadow: inset 0 0 0 2em var(--hover);
}

.pulse:hover,
.pulse:focus {
  -webkit-animation: pulse 1s;
          animation: pulse 1s;
  box-shadow: 0 0 0 2em transparent;
}

@-webkit-keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--hover);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--hover);
  }
}
.close:hover,
.close:focus {
  box-shadow: inset -3.5em 0 0 0 var(--hover), inset 3.5em 0 0 0 var(--hover);
}

.raise:hover,
.raise:focus {
  box-shadow: 0 0.5em 0.5em -0.4em var(--hover);
  transform: translateY(-0.25em);
}

.up:hover,
.up:focus {
  box-shadow: inset 0 -3.25em 0 0 var(--hover);
}

.slide:hover,
.slide:focus {
  box-shadow: inset 6.5em 0 0 0 var(--hover);
}

.offset {
  box-shadow: 0.3em 0.3em 0 0 var(--color), inset 0.3em 0.3em 0 0 var(--color);
}
.offset:hover, .offset:focus {
  box-shadow: 0 0 0 0 var(--hover), inset 6em 3.5em 0 0 var(--hover);
}

.fill {
  --color: #d29b1a;
      --hover: #4f0004;
}

.pulse {
  --color: #ef6eae;
  --hover: #ef8f6e;
}

.close {
  --color: #ff7f82;
  --hover: #ffdc7f;
}

.raise {
  --color: #ffa260;
  --hover: #e5ff60;
}

.up {
  --color: #e4cb58;
  --hover: #94e458;
}

.slide {
  --color: #8fc866;
  --hover: #66c887;
}

.offset {
  --color: #19bc8b;
  --hover: #1973bc;
}

button {
  color: var(--color);
  transition: 0.25s;
}
button:hover, button:focus {
  border-color: var(--hover);
  color: #fff;
}


button {
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
    border-radius: 0px 20px;
}

h1 {
  font-weight: 400;
}

code {
  color: #e4cb58;
  font: inherit;
}

.name p{
  text-align: center;
  line-height: 1.1;
font-size: 15px;
}
.name{
  border-top: solid rgb(245 222 179 / 41%) 1px;
}

@media all and (max-width: 500px) {
  .card-list {
    /* On small screens, we are no longer using row direction but column */
    flex-direction: column;
  }
  .intro{
    width: 86%;
  }
  .intro p{
    font-size: 16px;
  }
}
.text-sub{
  font-size: 22px !important;
      color: white;
      font-family: "Reem Kufi", serif;
      position: relative;
    top: -16px;
}
