@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Sigmar+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap');
/* Bastics */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
}
#responsiveLines {
  display: none;
}

a {
  text-decoration: none;
}
li {
  list-style-type: none;
}
h1, h2, h3, a {
  font-family: 'Sigmar One', cursive;
  font-weight: 500;
  color: #494949;
}
h3 {
  font-size: 40px;
  padding-top: 8%;
  margin-bottom: 5px;
}
h4, p {
  color: #494949;
  font-weight: 300;
}
hr {
  width: 30px;
  height: 3px;
  background: #494949;
  border: 0;
  margin: 0 auto 40px auto;
}
#logo, li, img, .button,.fa-bars, #repsonsiveLines {
  transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;
}
th, td {
  border: none;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/*** HOME SCREEN */
/* background */
/* text über bild */
#videobg {
	position: fixed;
	z-index: -1;
	position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  filter: blur(5px);
}






/* Header */
#back {
  background-color: #f2f2f2;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-right-radius: 10px;
  color: #494949;
}
#back:hover {
  background-color: #494949;
  color: #f0f0f0;
  -webkit-transition: all 300ms;
}
.topnav {
  overflow: hidden;
  background-color: rgba(0, 0, 1, 0);
  text-align: center;
  width: 100%;
  position: fixed;
  top: 0px;
  z-index: 10;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}





/* SECTION BOOKS ***/
/*basic design (search UI below) */

#books p {
  width: 1000px;
  margin: 0 auto 0 auto;
  font-size: 30px;
  color: #f0f0f0;
  /* font-size changes on other platforms */
}
#books h2, h3 {
  color: #f0f0f0;
}
@media screen and (max-width: 1200px) {
  #books p {
    width: 80%;
  }
}


@media screen and (max-width: 790px) {
  #books p {
    font-size: 16px;
  }
}


/* Search UI Design */
/* Text in front of input fields */
#books label, td {
  font-family: 'Sigmar One', cursive;
  font-weight: 500;
  font-size: 24px;
  color: #f0f0f0;
  /* platform change */
  text-align: right;
}
/* deleteButton */
#deleteButton {
  -webkit-transition: all 300ms;
  opacity: 0.6;
  color: #494949;
  width: 30px;
  height: 30px;
  font-family: 'Sigmar One';
  font-size: 20px;
  background: rgba(1, 0, 0, 0);
  border: none;
  /* offset */
  margin-left: -60px;
}

#deleteButton:hover {
  color: red;
}
/* submit button */
#submitButton {
  background-color: #f0f0f0;
  color: #494949;
  width: 750px;
  height: 50px;
  -webkit-transition: all 300ms;
  font-family: 'Sigmar One', cursive;
  font-size: 20px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
  /* platform change */
}
#submitButton:hover {
  background-color: #494949;
  color: #f0f0f0;
}
/* input fields */
form input {
  font-family: 'Sigmar One', cursive;
  font-size: 20px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
}
form input:first-child {
  margin-top: 10px;
}
form input {
  width: 552px;
  height: 25px;
  /* platform change */
}


@media screen and (max-width: 790px) {
  #books label {
    font-size: 24px;
  }
  form input {
    width: 100%;
    height: 20px;
  }
  #submitButton {
    width: 90%;
  }
}





/* BOOKLIST */
img.bookimg {
  padding-top: 5px;
  width: 200px;
}
p.title {
  padding-left: 5px;
  padding-right: 5px;
}
/** collection */
.collection {
  display: grid;
  grid-auto-columns: max-content;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 20px;
  grid-template-columns: repeat(4, 2fr);
  text-align: center;
	width: 100%;
  /* platform change */
}

@media screen and (max-width: 1300px) {
  .collection {
    grid-template-columns: repeat(3, 2fr);
  }
}
@media screen and (max-width: 900px) {
  .collection {
    grid-template-columns: repeat(2, 2fr);
  }
}

@media screen and (max-width: 700px) {
  .collection {
    grid-template-columns: repeat(1, 2fr);
  }
}

/** einzelnes Buch **/
div.product {
  background-color: rgba(240, 240, 240, 0.7);
  border-radius: 20px;
}
div.product:hover {
  background-color: rgba(240, 240, 240, 0.9);
  border-radius: 3px;
  -webkit-transition: all 300ms;
}



/* popup */
@media screen and (max-width: 700px) {
  img#cover {
    width: 100px;
  }
  h1#title2, h2#author2  {
    font-size: 16px;
  }
  p#description {
    font-size: 14px;
  }
}

/* FOOTER *****************************/
footer {
  width: 100%;
  height: 70px;
  background: #3f3f3f;
}
footer p {
  font-size: 12px;
  color: #f0f0f0;
  padding-top: 10px;
  margin: 0 0 0 0;
}

footer a {
	text-decoration: none;
	color: #f0f0f0;
	font-family: "Times New Roman";
	font-weight:300;
}
