@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap");

/* GlOBAL SETTINGS */

:root {
  --yellow: bisque;
}
* {
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.2s linear;
}
*::selection {
  background: var(--yellow);
  color: #333;
}
html {
  font-size: 60%;
  overflow-x: hidden;
  height: -webkit-fill-available;
}
html::-webkit-scrollbar {
  width: 1.1rem;
}
html::-webkit-scrollbar-track {
  background: #222;
}
html::-webkit-scrollbar-thumb {
  background: #555;
}
body {
  background: #111;
  overflow-x: hidden;
  margin-left: 30rem;
  height: -webkit-fill-available;
}
section {
  margin: 3rem 5rem 3rem 5rem;
}
h1 {
  font-size: 3.8rem;
  color: var(--yellow);
  margin-bottom: 2rem;
  text-align: center;
}
h2 {
  font-size: 3.5rem;
  color: white;
  text-align: center;
}
h3 {
  font-size: 3rem;
  color: white;
  text-align: center;
}
h4 {
  font-size: 3rem;
  color: lightgrey;
  text-align: center;
}
h5 {
  font-size: 2.3rem;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}
h6 {
  font-size: 2rem;
  color: lightgrey;
  text-align: center;
}
p {
  font-size: 2.1rem;
  color: lightgrey;
}
p span {
  color: var(--yellow);
}

/* TOP MENU */

.menu-bar {
  position: fixed;
  height: 7rem;
  top: 0;
  left: 0;
  right: 0;
  background-color: black;
  z-index: 2;
  border-bottom: 0.1rem solid white;
  display: none;
}
.menu-bar h3 {
  display: flex;
  justify-content: flex-start;
  padding: 2rem 2rem;
  top: 0;
  z-index: 100;
}
.menu-bar span {
  font-size: 2rem;
  color: var(--yellow);
  padding: 1rem 0;
}
#menu {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 1rem 1.2rem;
  z-index: 50;
  display: none;
}

/* SIDE MENU */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  height: 100vh;
  width: 30rem;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}
header img {
  height: 16rem;
  width: 16rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 2rem 0;
  border: 0.7rem solid var(--yellow);
}
header h2 {
  line-height: 4rem;
  margin-bottom: 0.8rem;
}
header p {
  font-size: 1.9rem;
}
header nav {
  width: 100%;
}
header nav ul {
  list-style: none;
  margin: 2.5rem 5rem;
}
header nav ul li a {
  display: block;
  padding: 0.5rem 0;
  margin: 1.3rem 0;
  background: #333;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 5rem;
}
header nav ul li a:hover {
  background: var(--yellow);
  color: black;
  font-weight: 900;
}

/* FOOTER */

footer {
  height: 3rem;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  margin-bottom: 2rem;
}
footer p {
  font-size: 1.3rem;
  color: lightgrey;
}

/* BLOG */

main h1 {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  font-weight: 900;
  margin: 0;
}
main div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  margin: 2.5rem 0;
}
main p {
  color: white;
}
main p span {
  color: yellow;
}
main ul {
  font-size: 2rem;
  color: lightyellow;
  padding: 2.3rem;
}
main cite {
  color: lightgrey;
}
main a {
  color: bisque;
  text-decoration: underline;
  height: 100px;
}

/* BOOKS */

.bookstore h1 {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
}
.books {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
}
.books li {
  width: 200px;
  height: 300px;
  position: relative;
  background: #fff;
  z-index: 1;
  box-shadow: 5px 5px 10px rgb(50, 50, 50);
  overflow: hidden;
  transition: box-shadow 0.3s linear;
  cursor: pointer;
  margin-top: 0.8rem;
}
.books li img {
  width: 200px;
  height: 300px;
  transform-origin: 0 50%;
  transform: rotateY(0);
  transition: all 0.5s ease;
}
.books li,
.books li img,
.books li::after,
.books li::before {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.books li:hover {
  box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.8);
}
.books li:hover img {
  transform: rotateY(-25deg);
}
.books li::after,
.books li::before {
  content: "";
  display: block;
  width: inherit;
  height: inherit;
  position: absolute;
  z-index: -1;
  top: 0;
  background: #fff;
  border: 1px solid #d9d9d9;
}
.books li::before {
  left: -3px;
}
.books li::after {
  left: -10px;
}
.book h1 {
  margin: 4rem 0 0 0;
}
.book h6 {
  margin: 0.6rem 0 2.5rem 0;
}
.book p {
  color: white;
}
.book div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.3rem;
}
.book div p {
  font-size: 2.5rem;
}
.book button {
  font-size: 1.9rem;
  font-weight: 900;
  background: white;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  color: black;
}
.book button:hover {
  background: green;
  color: white;
}

/* MUSIC */

.music {
  gap: 2rem;
  margin-left: 22rem;
}
.music .pic1 {
  width: 100%;
  margin: 7rem 0 3rem 0;
  display: none;
}
.music .pic2 {
  position: fixed;
  height: 100vh;
  top: 0;
  left: 10rem;
}
.music h3 {
  margin: -2rem 0 2rem 0;
}
.description span {
  color: var(--yellow);
}
table {
  color: white;
  width: 100%;
  margin-top: 1.6rem;
}
th,
td {
  height: 2rem;
  font-size: 2rem;
  padding: 0.5rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 0.2rem solid grey;
  border-collapse: collapse;
  color: white;
}
th {
  color: lightgrey;
}
tr:hover {
  background-color: #333;
}
table span {
  font-size: 1.5rem;
  color: lightgrey;
}
table .left {
  text-align: left;
}
table a {
  font-size: 1.8rem;
  color: var(--yellow);
}
table a:hover {
  text-decoration: underline;
  cursor: pointer;
}
/* Song toggle button
.fa-play:hover,
.fa-pause:hover {
  cursor: pointer;
}
.fa-pause {
  display: none;
} */

/* ESL */

.esl {
  margin-left: 26rem;
}
.esl .logo {
  display: flex;
  justify-content: center;
}
.esl .pic1 {
  max-height: 13rem;
  margin: 7rem 0 2rem 0;
  display: none;
}
.esl .pic2 {
  position: fixed;
  height: 60vh;
  left: 30rem;
  top: 0;
  bottom: 0;
  margin: auto;
}
.esl h3 {
  margin: -1rem 0 2rem 0;
  text-align: start;
}
.esl .subscriptions p {
  font-size: 1.9rem;
  color: white;
}
.esl span {
  font-size: 2rem;
}
.esl .class {
  border: 0.2rem solid grey;
  padding: 1rem 3rem 2rem 3rem;
  margin: 1rem 0 4rem 0;
  background-color: #333;
}
.esl button {
  font-size: 1.9rem;
  font-weight: 900;
  background: red;
  padding: 0.5rem 1.8rem;
  margin-top: 2rem;
  border-radius: 2rem;
  color: white;
}
.esl button:hover {
  background: white;
  color: black;
}

/* CONTACT */

.contact {
  margin-top: 8rem;
}
.contact .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .box {
  width: 50%;
  text-align: center;
}
.contact img {
  width: 30rem;
}
.contact .box p {
  align-items: center;
  font-size: 2.1rem;
  color: white;
  padding: 1rem 0;
  font-weight: normal;
}
.contact .box p i {
  padding-right: 1rem;
  color: var(--yellow);
}

/* DONATE */

.donate {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-flow: row;
}
.donate-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
}
.donate h1 {
  margin: 1rem 0 0 0;
}
.donate p {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}
.donate img {
  width: 20rem;
}

/* MEDIA QUERY */

@media (max-width: 1080px) {
  body {
    margin: 0;
  }
  html {
    font-size: 50%;
  }
  header {
    left: -120%;
  }
  header.toggle {
    left: 0%;
  }
  #menu,
  .menu-bar,
  footer {
    display: block;
  }
  .blog {
    margin-top: 9rem;
  }
  .bookstore {
    margin-top: 9rem;
  }
  .book {
    margin-top: 10rem;
  }
  .music {
    margin: 0rem 5rem 0 5rem;
  }
  .music .pic1 {
    display: block;
  }
  .music .pic2 {
    display: none;
  }
  .esl {
    margin: 9rem 5rem 3rem 25rem;
  }
  .esl .pic2 {
    left: 0;
    top: 7rem;
    scale: 0.9;
  }
  .contact {
    margin-top: 15rem;
  }
  .contact h1 {
    display: none;
  }
  .contact .container {
    gap: 5rem;
  }
  .donate {
    margin-top: 10rem;
  }
}

@media (max-width: 600px) {
  .index header {
    left: 0;
  }
  header {
    width: 100vw;
  }
  header ul li {
    margin: 0 8rem;
  }
  #menu,
  .menu-bar,
  footer {
    display: block;
  }
  .bookstore {
    margin: 9rem 8rem 3rem 8rem;
  }
  .books li {
    margin: 0;
  }
  .music {
    margin: 0rem 3rem 0 3rem;
  }
  .music .pic1 {
    display: block;
    scale: 1.3;
    margin: 8rem 0 4rem 4rem;
  }
  .music .pic2 {
    display: none;
  }
  .esl {
    margin: 0 3rem;
  }
  .esl .pic1 {
    display: block;
    margin: 7rem 0 2rem 0;
  }
  .esl .pic2 {
    display: none;
  }
  .esl h3 {
    text-align: center;
  }
  .esl .btn {
    display: flex;
    justify-content: center;
  }
  .contact .container {
    display: block;
    width: 100%;
  }
  .contact .box {
    width: 100%;
    margin-bottom: 2rem;
  }
  .donate {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
}
