@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Rakkas&display=swap');

/* 
  font-family: 'Aref Ruqaa', serif;
font-family: 'Rakkas', cursive;
  */

:root {
  --main-color: tomato;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  direction: rtl;
  font-size: 12px;
}

body {
  min-height: 100vh;
  position: relative;
  text-align: center;
  background: url('images/1.jpg');
  background-position: 20%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /* overflow: hidden; */
}

body::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(360deg, #a9a9a925, #000120c2);
  z-index: -1;
}

p {
  font-size: 2rem;
  font-family: 'Rakkas', cursive;
  color: #fff;
}

h1 {
  font-size: 6rem;
  font-family: 'Rakkas', cursive;

  /* font-family: 'Aref Ruqaa', serif; */
}

h2 {
  font-size: 4rem;
  font-family: 'Aref Ruqaa', serif;
}

.head1 {
  /* border: 1px solid #444; */
  padding: 1rem;

  text-shadow: 1px 2px 8px #333;
}

.head-date {
  padding: 1rem;
  background-color: var(--main-color);
  display: inline-block;

  text-shadow: 1px 2px 3px #333;
}

.book-detailes {
  margin: 2rem 0;
}

.book-head1 {
  text-shadow: 1px 2px 3px #333;
}

.book-head2 {
  color: #fff;
  text-shadow: 1px 2px 5px var(--main-color);
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--main-color),
      0 0 40px var(--main-color), 0 0 50px var(--main-color);
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff755d, 0 0 40px #ff755d,
      0 0 50px #ff755d, 0 0 60px #ff755d;
  }
}

.author .author-title {
  text-shadow: 1px 2px 3px #333;

  text-decoration: underline;
}

.author h1 {
  color: #fff;
  padding: 1rem;
  text-shadow: 2px 3px 1px var(--main-color);
}

.detailes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: rgba(236, 236, 236, 0.945);
  padding: 0.55rem 0;
  border: 4px solid var(--main-color);
  border-left-width: 0;
  border-right-width: 0;
}

.detailes p {
  font-size: 1.5rem;
  text-align: right;
  display: flex;
  /* justify-content: space-evenly; */
  align-items: center;
  color: #333;
  margin: 0 1rem;
  text-shadow: 1px 2px 3px #fff;
}

.detailes p i {
  width: 30px;
  margin: 0 2rem;
}

.detailes img {
  width: 100%;
}

.address p {
  font-size: 1.5rem;
  padding: 2rem 0.5rem 1rem 0.5rem;
}

.address a {
  color: #fff;
  text-shadow: 1px 1px 4px var(--main-color);
}

.address a:hover {
  color: #ffffff;
}

.address i {
  margin: 0 0.5rem;
}

.container {
  position: relative;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer ul li {
  padding: 1rem;
}

footer a {
  color: #fff;
  transition: all 300ms ease-in-out;
}

footer a:hover {
  color: var(--main-color);
}

.download-book {
  position: absolute;
  top: 45%;
  background-color: var(--main-color);
  padding: 0.5rem 0.5rem;
  animation: download 1s ease-in-out infinite;
  animation-direction: alternate;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.fixed-buttons a {
  color: #fff;
  font-family: 'Rakkas', cursive;
  text-decoration: none;
}

.live-link {
  position: absolute;
  top: 40%;
  /* left: 0; */
  background-color: var(--main-color);
  padding: 0.5rem 0.5rem;
  animation: download 1s ease-in-out infinite;
  animation-direction: alternate;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.lectures-link {
  position: absolute;
  top: 50%;
  /* left: 0; */
  background-color: var(--main-color);
  padding: 0.5rem 0.5rem;
  animation: download 1s ease-in-out infinite;
  animation-direction: alternate;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.designby {
  font-size: 0.5rem;
  padding: 0;
  color: #eee;
  /* position: absolute; */
  bottom: 0;
  margin: 0 auto;
}

.designby a {
  color: inherit;
}

@keyframes download {
  to {
    background-color: rgb(190, 72, 51);
  }
}

@media (min-width: 750px) {
  html {
    font-size: 16px;
  }
  body {
    overflow: scroll;
  }
  .container {
    width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 1px 1px 10px #444;
    border: 2px solid #555;
  }
}
