:root {
  --col1: #C4DFDF;
  --col2: #D2E9E9;
  --col3: #E3F4F4;
  --col4: #F8F6F4;
}
@font-face {
  font-family: "LPMQ";
  src: url("./fonts/lpmq.otf?v=1.7.2") format("opentype");
  font-display: swap;
  }

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

body {
  color: #333;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  background-color: var(--col4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

input[type="range"] {
  height: 0;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

main {
  padding: 1em;
  max-width: 768px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  main {
    max-width: 100%;
  }
}
.arabic {
font-family: "LPMQ", "Arial", "Verdana", "Serif";
font-size: 1.6em;
position: relative;
white-space: pre-line;
}
.arabic p{line-height: 3em;}

.translation {
white-space: pre-line;
}
p.translation{line-height: 1.8em;}

#detail {
text-align: left;
}

#detail i {
white-space: pre-line;
}

#navigation {
width: 100%;
height: 100vh;
position: absolute;
left: 0;
display: flex;
}

#navigation .prev,
#navigation .next {
width: 50%;
height: 100vh;
position: relative;
}

.center {
text-align: center;
}
h1 {
color: #ff3e00;
/* text-transform: uppercase; */
font-size: 3em;
font-weight: 100;
}

#note {
margin-top: 4em;
border-top: 1px solid #000;
}

@media (max-width: 767px) {
h1 {
font-size: 10vw;
}
}

.navbar{position: fixed; top: 0; left: 0; height: 4vh; width: 100%; padding: 10px;background-color: var(--col1);z-index: 1;}
.navbar a{position: absolute; top: 5px; left: 10px;text-decoration: none;color: var(--col5); font-size: 1.5rem;}
.navbar h1{text-align: center;font-size: 1.2rem;margin:0;padding-top:5px;font-weight: 700;color: var(--col5);}
#counter small{position: fixed;top: 60px;left: 2px;background: #000;color: #fff;padding: 4px 8px;border-radius: 5px;font-size: 16px;}
#translation, #faedah{padding-top: 2em;}

#page{position: fixed;
  top: 2px;
  right: 2px;
  font-size: 1rem;
  border: 12px solid #83a7a7;
  border-radius: 50%;
  padding: 4px 0;
  color: #000;
  font-weight: 700;
  z-index: 1;
  width: 25px;
  text-align: center;
}
