html {
  font-size: 10px;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Faustina", serif;
}
body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* #header {
  position: fixed;
  width: 100%;
  top: 0; 
} 
*/
.title {
  background-color: #a70267;
  color: white;
  padding: 3rem;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}
.showsHeader {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 350px;
  margin: 2rem auto;
  font-size: 1rem;
}
.showsHeaderEl {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}
.showsFilterResult {
  color: #a70267;
  font-weight: 500;
  margin-bottom: 0;
}

.showsContainer {
  width: 80%;
  margin: 1rem auto;
}
.showBox {
  display: flex;
  flex-direction: column;
  width: 250px;
  margin: 1rem auto 3rem auto;
  position: relative;
}
.showBox::after {
  content: "";
  width: 50%;
  height: 2px;
  background-color: #a70267;
  position: absolute;
  left: 25%;
  bottom: 0;
}
.showName {
  text-align: left;
  font-weight: 700;
  font-size: 2rem;
}
.showImage {
  width: 100%;
  height: 300px;
  margin: 1rem 0;
  object-fit: cover;
}
.showText {
  font-size: 1.1rem;
  text-align: justify;
}
.showDetails {
  text-align: center;
}
.showText li {
  list-style-type: none;
  letter-spacing: 1.5px;
}
#scrollToTop {
  visibility: hidden;
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  border: none;
  opacity: 0;
  transition: opacity 1s;
}
#scrollToTop i:hover {
  color: mistyrose;
  background-color: #a70267;
}
#scrollToTop i {
  font-size: 4rem;
  color: #a70267;
  background-color: mistyrose;
  z-index: 99;
  outline: none;
  border-radius: 50px;
}
/************************************************
            EPISODES 
*********************************************** */
.episodesHeader {
  width: 80%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
}
.episodesHeader > * {
  max-width: 350px;
  width: 90%;
  margin: 0.5rem auto;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.episodesFilterResult {
  display: block;
  text-align: center;
  color: #a70267;
  font-weight: 600;
}
/*.searchEpisodes {
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
}

 .searching {
  width: 30%;
  margin-right: 1rem;
}
input {
  padding: 1rem;
  width: 100%;
  max-width: 750px;
  border-radius: 0.2rem;
  border: 0.02rem solid rgba(0, 0, 0, 0.596);
}
.searchEpisodes span {
  font-size: 1.6rem;
  color: #8c6673;
  font-weight: 700;
} */
.homePageBtn {
  width: 100px;
  font-size: 1rem;
  background-color: #ad0a6f;
  border: none;
  border-radius: 10px;
  padding: 0.5em 0.5em;
  color: #fff;
  transform: translateX(60%);
}

.homePageBtn:focus {
  outline: none;
}
.homePageBtn:hover {
  background-color: mistyrose;
  color: #a70267;
  cursor: pointer;
  border: 1px dashed #a70267;
}

/* .episodesContainer {
  width: 80%;
  margin: 2rem auto;
} */
.episode-box {
  width: 250px;
  padding: 1.5rem;
  box-shadow: 0.2rem 0.2rem 0.5rem grey;
  background-color: #ffeaf2;
  text-align: center;
  margin: 2rem auto;
}
.episode-name {
  word-spacing: 1.5px;
  font-size: 1.3rem;
  font-weight: 600;
  border: 1px solid #8c6673;
  padding: 1rem;
  border-radius: 0.4rem;
}
.episode-img {
  width: 100%;
  margin: 1rem 0;
}
.episode-code {
  font-weight: 400;
}
.episode-summary {
  text-align: justify;
  font-size: 1rem;
}

#footer {
  padding: 1rem 2rem;
  background-color: #a70267;
  text-align: right;
  color: white;
  font-size: 1rem;
  margin-top: auto;
}
.apiLink {
  text-decoration: none;
  color: rgb(224, 220, 245);
  font-size: 1.3rem;
}
.apiLink:hover {
  color: #000000;
}
/************************************************
            SHOWS 
*********************************************** */

/*====== SHOWS MEDIA QUERIES ======*/
@media only screen and (min-width: 450px) {
  html {
    font-size: 12px;
  }
  .showsHeader {
    width: 60%;
  }
  .showBox {
    width: 350px;
  }
  .showImage {
    height: 400px;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }
}

@media only screen and (min-width: 600px) {
  html {
    font-size: 13px;
  }
  .showBox {
    width: 450px;
  }
  .showImage {
    height: 500px;
  }
}
@media only screen and (min-width: 680px) {
  html {
    font-size: 14px;
  }
  .showBox {
    width: 550px;
  }
  .showImage {
    height: 600px;
  }
}
@media only screen and (min-width: 800px) {
  .showsFilterResult {
    text-align: center;
    width: 100%;
  }
  .showsContainer {
    width: 90%;
  }
  .showBox {
    width: 700px;
    background-color: mistyrose;
    box-shadow: 0 0 10px #a7026881;
    padding: 1rem 2rem;
  }

  .showBox::after {
    content: none;
  }
  .showName {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  .showInfo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .showImage {
    width: 300px;
    height: 350px;
    margin-right: 2rem;
    margin-top: 0;
  }
}
@media only screen and (min-width: 900px) {
  #root {
    background-color: mistyrose;
  }
  .showBox {
    background-color: white;
    width: 800px;
  }
  .episode-box {
    width: 300px;
    background-color: white;
  }
  .episodesHeader {
    width: 70%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .episodesHeader > * {
    width: 30%;
    padding: 0.5rem;
    margin: 0 0.75rem;
  }

  .episodesFilterResult {
    display: block;
    margin-top: 1rem;
  }
}
@media only screen and (min-width: 1000px) {
  .showBox {
    width: 850px;
  }
  .showImage {
    width: 400px;
    height: 450px;
  }
}

/***********************************************
            EPISODES MEDIA QUERIES 
*********************************************** */

@media only screen and (min-width: 350px) {
  .episode-box {
    width: 300px;
  }
}
@media only screen and (min-width: 450px) {
  .episode-box {
    width: 350px;
  }
  .homePageBtn {
    transform: translateX(-150px);
  }
}
@media only screen and (min-width: 550px) {
  html {
    font-size: 12px;
  }
  .episodesContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .episode-box {
    width: 250px;
    margin: 1.5rem 1rem;
  }
  .homePageBtn {
    box-shadow: 0 0 3px #a70267;
    transform: translateX(-200px);
  }
}
@media only screen and (min-width: 650px) {
  html {
    font-size: 14px;
  }
  .episode-box {
    width: 300px;
  }
  .homePageBtn {
    transform: translateX(-250px);
  }
}
@media only screen and (min-width: 900px) {
  .homePageBtn {
    transform: unset;
    width: 100px;
  }
  .showsHeader {
    width: 80%;
    max-width: 650px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .showsHeaderEl {
    width: 40%;
    padding: 0.5rem;
    margin: 0 0.75rem;
  }
}
