/* Admin.css */

:root{
  --main:#7b2cff;
  --second:#00c8ff;
  --glow:#48ff69;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

body{
  min-height:100vh;

  background:
  radial-gradient(circle at top,var(--main),transparent 35%),
  linear-gradient(135deg,#05000c,#170033,#020005);

  color:white;
  overflow-x:hidden;
}

/* LOGO */

.top-logo{
  position:fixed;
  top:15px;
  right:20px;
  z-index:999;
}

.top-logo img{
  width:220px;

  filter:
  drop-shadow(0 0 12px var(--glow))
  drop-shadow(0 0 20px var(--second));
}

/* FARB PANEL */

.color-panel{
  position:fixed;
  left:20px;
  top:20px;
  width:180px;

  padding:15px;

  background:rgba(0,0,0,.55);

  border:2px solid var(--second);

  border-radius:18px;

  box-shadow:0 0 25px var(--second);

  z-index:999;
}

.color-panel h3{
  text-align:center;
  margin-bottom:12px;
  color:var(--glow);
}

.color-panel label{
  display:block;
  margin:10px 0 5px;
  font-size:13px;
}

.color-panel input{
  width:100%;
  height:42px;

  border:none;
  border-radius:50px;

  background:none;
  cursor:pointer;
}

.page-counter{
  margin-top:15px;

  padding:10px;

  text-align:center;

  background:rgba(255,255,255,.1);

  border-radius:12px;

  font-weight:bold;
}

/* TITEL */

h1{
  text-align:center;

  margin-top:90px;

  font-size:46px;

  color:var(--glow);

  text-shadow:
  4px 4px #000,
  0 0 25px var(--glow);
}

/* BUTTONS */

.controls{
  text-align:center;
  margin:20px;
}

button{
  padding:14px 28px;

  margin:5px;

  border:none;

  border-radius:12px;

  background:var(--second);

  color:white;

  font-size:18px;
  font-weight:bold;

  cursor:pointer;

  transition:.3s;

  box-shadow:0 0 18px var(--second);
}

button:hover:not(:disabled){
  background:var(--glow);
  color:black;
}

button:disabled{
  opacity:.4;
  cursor:not-allowed;
}

/* BUCH */

.book{
  width:90vw;
  max-width:900px;

  height:70vh;

  margin:20px auto;

  position:relative;

  perspective:2000px;
}

.page{
  position:absolute;

  inset:0;

  background:#f3ead8;

  color:#111;

  padding:55px;

  border-radius:18px;

  border:4px solid #b89b65;

  box-shadow:
  inset 25px 0 35px rgba(0,0,0,.2),
  inset -15px 0 30px rgba(255,255,255,.8),
  0 25px 60px rgba(0,0,0,.65);

  transform:rotateY(90deg);

  opacity:0;

  transition:.7s ease;

  overflow-y:auto;
}

.page.active{
  transform:rotateY(0deg);
  opacity:1;
}

/* COVER */

.cover{
  background:
  linear-gradient(
  135deg,
  #16002e,
  var(--main),
  var(--second)
  );

  color:white;

  text-align:center;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  border-color:var(--second);

  box-shadow:
  0 0 40px var(--second);
}

.cover h2{
  color:var(--glow);

  font-size:52px;

  text-shadow:
  4px 4px #000,
  0 0 25px var(--glow);
}

.cover p{
  color:white;
  margin-top:30px;
}

/* TEXT */

h2{
  font-size:38px;

  margin-bottom:30px;

  border-bottom:3px solid #b89b65;

  padding-bottom:12px;
}

h3{
  margin-top:30px;
  color:var(--second);
}

p{
  font-size:23px;

  line-height:1.8;

  margin-bottom:12px;
}

/* HANDY */

@media(max-width:700px){

  h1{
    font-size:28px;
  }

  .book{
    height:68vh;
  }

  .page{
    padding:30px;
  }

  .cover h2{
    font-size:34px;
  }

  h2{
    font-size:28px;
  }

  p{
    font-size:17px;
  }

  .top-logo img{
    width:140px;
  }

  .color-panel{
    width:150px;
  }
}