/* general */
@font-face {
  font-family: 'NotoKufiArabic';
  font-weight: 400;
  src: url(/fonts/notoKufiArabicRegular.ttf) format('truetype');
}

@font-face {
  font-family: 'NotoKufiArabic';
  font-weight: 700;
  src: url(/fonts/notoKufiArabicBold.ttf) format('truetype');
}

* {
  padding: 0;
  margin: 0;
  outline: 0;
}

*, ::after, ::before {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #ffffff;
  direction: rtl;
  font-family: 'NotoKufiArabic', sans-serif;
  font-size: 14px;
}

/* navbar */
.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
  background-color: #ffffff;
  margin-bottom: 80px;
  position: fixed;
  width: 100%;
  z-index: 512;
  top: 0;
  right: 0;
  left: auto;
  height: 80px;
}

.logo {
  user-select: none;
}

.navbar-space {
  display: block;
  width: 100%;
  height: 144px;
}

/* loading */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  z-index: 256;
  background-color: #ffffff;
}

#loading.cover {
  z-index: 1024;
  background-color: rgba(0, 0, 0, 0.8);
}

#loading.hide {
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  color: #2d9b92;
  animation: spin 1.4s linear infinite;
  display: inline-block;
}

.spinnerSvg {
  display: block;
}

.spinnerSvgCircle {
  animation: spinCircular 1.4s ease-in-out infinite;
  stroke-dasharray: 80px, 200px;
  stroke-dashoffset: 0;
  stroke: currentColor;
}

@keyframes spin {
  0% {
    transform-origin: 50% 50%;
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinCircular {
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
}

/* container */
.container {
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  padding-right: 8px;
  padding-left: 8px;
}

@media (min-width: 600px) {
  .container {
    max-width: 600px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* goBack */
#goBack {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

#goBack:hover {
  color: #777;
}

.svgIconWrapper {
  width: 100%;
  display: flex;
  align-items: inherit;
  justify-content: inherit;
}

.svgIcon {
  fill: currentColor;
  width: 1em;
  height: 1em;
  display: inline-block;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  flex-shrink: 0;
  user-select: none;
  font-size: 24px;
}

.svgIcon.sm {
  font-size: 20px;
}

.goBackLabel {
  text-decoration: underline;
  font-size: 16px;
}

/* paper */
#paper {
  display: block;
  width: 100%;
  padding: 16px 16px 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12);
}

#paper.full {
  padding: 16px;
}

/* contact */
#contact {
  margin-top: 50px;
  text-align: center;
}

/* footer */
.footer {
  display: block;
  width: 100%;
  height: 60px;
}

/* texts */
.fee {
  text-align: center;
  direction: ltr;
  font-size: 24px;
  font-weight: 700;
  color: #009688;
  user-select: none
}

.text {
  text-align: center;
  font-size: 14px;
  color: #000000;
  user-select: none
}

@media (max-width: 315px) {
  .text.sm {
    font-size: 12px;
  }
}

.email {
  text-align: center;
  font-size: 16px;
  color: #555555;
  user-select: all;
  direction: ltr;
}

#paypal-container {
  margin-top: 24px;
}
