/* Generic Elements */
@font-face {
  font-family: sFMagicalTimes;
  src: url(../media/Fonts/Magical\ Neverland-e009.woff);
}

* {
  color: #e6c300;
  font-family: sfMagicalTimes, Arial, sans-serif;
  text-align: center;
  text-shadow: 1px 1px 0px #000;
}
body {
  background-image: url(../img/MT_Background.png);
  background-size: cover;
  background-repeat: no-repeat;
}
figcaption {
  font-size: 3em;
}
h4 {
  font-size: 3em;
}
header {
  display: block;
}

/* Classes  */
.bookLinks {
  justify-content: center;
}
.bookLinks img {
  margin: 10px 30px;
  justify-content: center;
}
.bookCard {
  display: inline-block;
}
.bookCard figure {
  display: inline-block;
  font-style: italic;
}

.bookCard img {
  max-height: 300px;
  transition: box-shadow 0.3s;
}
.bookCard img:hover {
  box-shadow: 0 0 2.3em #fff;
}

.featured {
  display: flex;
}

.lateBooks {
  display: flex;
  max-height: 500px;
  margin: auto;
}
.nav > a {
  font-size: 1.6em;
  padding: 0 1em;
}

/* IDs */
#contactButton {
  font-size: 4em;
}
#gridContainer {
  display: grid;
}
#slogan {
  font-size: 5em;
}
/* Social Media Buttons */

.fa {
  padding: 20px;
  font-size: 35px !important;
  width: 38px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 20em;
  transition: border-radius 0.5s ease-in-out;
}

.fa:hover {
  border-radius: 0;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}
.fa-twitter {
  background: #1dcaff;
  color: white;
}
.fa-tiktok {
  background-color: black;
}
.fa-tiktok > img {
  width: 38px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  * {
    display: flex;
    flex-direction: column;
  }
  figcaption {
    font-size: 1.5em;
  }
  /* Classes */
  .lateBooks {
    flex-direction: column;
  }
  .bookCard {
    max-width: fit-content;
  }
  .bookCard > figure > img {
    max-height: fit-content;
  }
  /* IDs */
  #contactButton {
    font-size: 3em;
  }
  #slogan {
    font-size: 3em;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
  * {
    display: flex;
    flex-direction: column;
  }
  figcaption {
    font-size: 1.5em;
  }
  /* Classes */
  .lateBooks {
    flex-direction: column;
  }
  .bookCard {
    max-width: fit-content;
  }
  .bookCard > figure > img {
    max-height: fit-content;
  }
  /* IDs */
  #contactButton {
    font-size: 3em;
  }
  #slogan {
    font-size: 3em;
  }
}
