:root {
  --neutral-darker: #222;
  --neutral-dark: #333;
  --neutral: #777;
  --neutral-light: #aaa;
  --neutral-lighter: #eee;

}

@font-face {
  font-family: 'Vazir';
  src: url('/fonts/Vazir-FD-WOL.woff') format('woff');
  src: url('/fonts/Vazir-FD-WOL.woff2') format('woff2');
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Vazir', sans-serif;
}

html,
body {
  min-height: 100vh;
  scroll-behavior: smooth;

}

a {
  text-decoration: none;
}

h1 {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--neutral-darker);
}

h2 {
  margin: 3rem 0;
  display: flex;
  align-items: center;
}

p {
  margin: 1rem 0;
}

ol {
  margin: 1rem 1.5rem;
}

q {
  background-color: #f3f3f3;
  padding: 0 0.5rem;
  margin: 0 0.5rem;
  border-left: 2px solid #eee;
  border-right: 2px solid #eee;
}

blockquote {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: var(--neutral-lighter);
  border-radius: 10px;
}

.container {
  max-width: 1280px;
  position: relative;
  margin: 0 auto;
  padding: 2rem;
  z-index: 10;
  overflow-y: hidden;
}

.display-none {
  display: none;
}

/* image flex */
.image-credit {
  color: #fff;
  font-size: 0.7rem;
  margin: 0;
  margin-top: -2rem;
  margin-bottom: 2rem;
  padding: 0 10px;
}

.box-flex {
  display: flex;
  align-items: flex-start;
  margin: 3rem 0;
}

.box-flex .box-image {
  flex: 1 1 0%;
  text-align: center;
}

.box-flex .box-image .image-credit {
  text-align: left;
  padding-left: 18%;
}

.box-flex .box-image img {
  width: 70%;
  border-radius: 10px;
}

.box-flex .box-text {
  flex: 1 1 0%;
}

.box-flex .box-text blockquote {
  margin: 0 auto;

}

/* main {
  position: relative;
} */


.bk-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  /* background-image: url('../img/background2.jpg'); */
  background-image: url('../img/clouds_1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

button.share-icon {
  padding: 0;
  margin: 0 1rem;
  border: none;
  background-color: transparent;
  line-height: 0;
  cursor: pointer;
}

button.share-icon img {
  background-color: var(--neutral-lighter);
  padding: 0.5rem;
  border-radius: 5px;
}

.modal-copied {
  position: fixed;
  top: 20%;
  left: 50%;
  width: 30%;
  transform: translateX(-50%);
  background-color: var(--neutral-lighter);
  border: 1px solid var(--neutral-light);
  border-radius: 5px;
  box-shadow: 0px 0px 5px 5px #fff;
  padding: 1rem;
  text-align: center;
  z-index: 30;
}

.modal-copied.fade-out {
  transition: 0.5s;
  opacity: 0;
}


.hero {
  position: relative;
  min-height: 100vh;
  text-align: center;
  padding: 4rem 1rem;
}

.hero img.book-cover {
  max-width: 100%;
}

.hero .box-actions {
  font-weight: bold;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}



.hero .box-actions a {
  margin: 0 2rem;
  text-decoration: none;
  color: var(--neutral-darker);

}


.hero .box-actions img {
  width: 60px;
  margin-left: 1rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.hero .box-actions .download img {
  width: 40px;
}

.hero .scroll-down {
  position: absolute;
  top: 90vh;
  left: 50%;
  display: flex;
  flex-direction: column;
  color: var(--neutral-light);
  z-index: 20;
}

.hero .scroll-down svg {
  opacity: 0;
  animation-name: scrollanime;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.hero .scroll-down svg:nth-child(1) {
  animation-delay: 0.3s;
}

.hero .scroll-down svg:nth-child(2) {
  animation-delay: 0.6s;
}

.hero .scroll-down svg:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes scrollanime {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.about-website .read-link {
  text-align: center;
}

.about-website .read-link a {
  text-decoration: underline;
}

/* .about-website .box-video {
  max-width: 700px;
  margin: 2rem auto;
  position: relative;
}

.about-website .box-video .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #222;
  opacity: 0.1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.about-website .box-video .overlay .pause-line{
  width: 5%;
  height: 20%;
  background-color: white;
  margin: 10px;
  opacity: 0;
}

.about-website .box-video:hover .overlay,
.about-website .box-video:hover .overlay .pause-line {
  opacity: 0.9;
}

.about-website video {
  width: 100%;
} */

.about-website .box-gif {
  max-width: 700px;
  margin: 2rem auto;
}

.about-website .box-gif img {
  width: 100%;
}


footer {
  height: 50px;
  background-color: var(--neutral-dark);
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  color: #fff;
}

@media screen and (max-width: 768px) {
  
  .container {
    padding: 1rem;
  }

  blockquote {
    padding: 1rem;
  }

  .modal-copied {
    width: 90%;
  }

  /* image flex */
  .box-flex {
    flex-direction: column;
  }

  .box-flex .box-image,
  .box-flex .box-image img {
    width: 100%;
  }


  .box-flex .box-image .image-credit {
    text-align: left;
    padding-left: 10px;
  }

  .box-full-size-image {
    height: 200px;
  }

}