/* General page set up */

html {
  font-size: 10px;
  font-family: 'Archivo Narrow', sans-serif;
}

/* Typography */

h1 {
  font-size: 4rem;
  font-family: 'Alfa Slab One', serif;
  letter-spacing: 1.5px;
}

h2 {
  font-size: 2.75rem;
  font-family: 'Alfa Slab One', serif;
  letter-spacing: 1.5px;
}

@media only screen and (max-width: 650px) {
  h2 {
    font-size: 2.75rem;
  }
  p {
    font-size: 1.75rem;
  }
}

@media only screen and (max-width: 500px) {
  h2 {
    font-size: 2.1rem;
  }
}

h3 {
  font-size: 2.5rem;
  font-family: 'Alfa Slab One', serif;
  letter-spacing: 1px;
}

p {
  font-size: 2rem;
}

ul li, ol li {
  font-size: 2rem;
}

/* Header */

header {
  margin: 0 auto;
  display: flex;
  flex-flow: row nowrap;
  -webkit-flex-flow: row nowrap;

}

header img {
  width: 380px;
  height: 118px;
}

/* Navigation menu */

nav {
  padding-top: 2%;
}

nav li {
  display: inline-flex;
}

nav ul {
  padding: 0 1rem;
  display: flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
}

nav a {
  color: black;
  text-decoration: none;
  margin-right: 1.25rem;
  padding: .5rem;
  font-size: 2.75rem;
  text-shadow: 1px 1px 1px black;
}

/*nav bar dropdown for seasons*/

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #FCDFB9;
  border: 2px solid black;
  min-width: 12.5rem;
  z-index: 1;
}

.dropdown-content a {
  font-size: 2.25rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* make nav bar text responsive */

@media only screen and (max-width: 1025px) {
  nav a {
    font-size: 2.6rem;
    margin-right: 1rem;
  }
  nav ul {
    padding: 1rem;
  }
}

@media only screen and (max-width: 985px) {
  nav a {
    font-size: 2.5rem;
    margin-right: .75rem;
  }

  nav ul {
    padding-top: 1rem;
  }
}

@media only screen and (max-width: 955px) {
  nav a {
    font-size: 2.35rem;
  }

  nav ul {
    padding-top: 1.1rem;
  }
}

@media only screen and (max-width: 927px) {
  nav a {
    font-size: 2.25rem;
  }
  .dropdown-content a {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 909px) {
  nav a {
    font-size: 2.15rem;
  }

  nav ul {
    padding-top: 1.2rem;
  }
}

@media only screen and (max-width: 894px) {
  header {
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
  }
  nav a {
    font-size: 3rem;
    margin-right: 1.25rem;
  }
  nav ul {
    margin-top: 0;
    padding-top: 0;
  }
}

@media only screen and (max-width: 690px) {
  nav a {
    font-size: 2.75rem;
  }
}

@media only screen and (max-width: 650px) {
  nav a {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 605px) {
  nav a {
    font-size: 2.35rem;
  }
}

@media only screen and (max-width: 580px) {
  nav a {
    font-size: 2.25rem;
    margin-right: 1rem;
  }
}

@media only screen and (max-width: 546px) {
  nav a {
    font-size: 2.15rem;
    margin-right: .9rem;
  }
}

@media only screen and (max-width: 522px) {
  nav a {
    font-size: 2rem;
    margin-right: .8rem;
  }
}

@media only screen and (max-width: 400px) {
  header img {
    width: 100%;
  }
  .dropdown-content a {
    font-size: 1.8rem;
  }
  .dropdown-content {
    min-width: 11rem;
  }
}

@media only screen and (max-width: 345px) {
  nav a {
    font-size: 2.25rem;
  }
}


a:hover {
  color: #3CAAE5;
  
}

a:focus {
  color: #F61019;
}


.current {
  color: #F61019;
}

/* Blackbar */

.blackbar {
  background-color: rgba(0,0,0,0.7);
  padding: 1rem;
  border: 3px solid black;
  color: rgba(255,255,255,0.9);
  width: 97%;
}

@media only screen and (max-width: 650px) {
  .blackbar {
    width: 96%;
  }
}

@media only screen and (max-width: 400px) {
  .blackbar {
    width: 98%;
  }
}

.favequote {
  letter-spacing: 2px;
  line-height: 1.5rem;
  text-align: center;
}

/* Footer section */

footer {
  margin-top: 1%;
  display: flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  justify-content: space-between;
}

.icons {
  display: flex;
  flex-flow: row nowrap;
  -webkit-flex-flow: row nowrap;
  justify-content: space-around;
  flex-basis: 25%;
}

.icons a {
  margin-right: .5rem;
}

@media only screen and (max-width: 500px) {
 .icons {
   flex-basis: 80%;
}
}

.copyright {
  text-align: right;
  margin-left: 5%;
  margin-top: auto;
}

footer .copyright a {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 1.5rem;
}

footer .copyright a:hover,  footer .copyright a:focus {
  text-shadow: 2px 2px 2px black;
}


/* flex box for main sections of page */

.flex {
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (max-width: 480px) {
  .flex p {
    max-width: 350px;
}
}

/* Content sections for index.html */

.episode {
  flex: 1;
  margin-left: 1%;
  margin-right: 2%;
  min-width: 365px;
  max-width: 800px;
}

.episode iframe {
  border: none;
}

.theshow {
  flex: 1;
  max-width: 600px;
  margin-bottom: 2%;
  margin-left: 1%;
}

@media only screen and (min-width: 1350px) {
.theshow img.img {
  max-width: 800px;
}
}

.img {
  width: 100%;
}

/* Content sections for about.html */

.about {
  display: flex;
  flex-flow: row nowrap;
  -webkit-flex-flow: row nowrap;
  justify-content: space-between;
}

.left {
  width: 25%;
}

.right {
  width: 69%;
}

@media only screen and (min-width: 1350px) {
  .right {
    width: 75%;
  }
  .left {
    width: 17%;
}
}

@media only screen and (max-width: 1070px) {
  .right {
    width: 61%;
  }
}

@media only screen and (max-width: 875px) {
  .about {
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    align-items: flex-start;
  }

  .right {
    width: 95%; 
  }

  .left {
    width: 90%;
  }
}


/*cast section of about page*/

.castinfo {
  max-width: 1000px;
}

.castinfo h3 {
  margin-top: 0;
}

/*media rules so about text looks good on smaller screens*/

@media only screen and (max-width: 710px) {
  .castinfo p {
    font-size: 1.85rem;
  }
  .castinfo h3 {
    font-size: 2.25rem;
  }
}

/*fix the cast pics at a reasonable size for any viewport*/

.castpic img {
  height: 350px;
  width: 230px;
  border: 2px solid black;
}


.cast {
  display: flex;
  flex-flow: row nowrap;
  -webkit-flex-flow: row nowrap;
  justify-content: flex-start;
}

@media only screen and (max-width: 650px) {
  .cast {
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    align-items: flex-start;
  }

  .castinfo {
    max-width: 95%;
  }
}

.gueststars {
  display: flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.gueststars li {
  width: 17rem;
  margin-right: 2rem;
}

@media only screen and (max-width: 500px) {
  .gueststars li {
    font-size: 1.7rem;
    width: 14.15rem;
    margin-right: 1rem;
  }
}

.aboutcrew {
  background-image: url("../images/filmingonset.jpg");
  color: white;
  padding: 1rem 2rem;
  width: 95%;
}

.aboutcrew h2 {
  margin-top: 0;
}

.image-holder {
  margin-top: 2rem;
}

.smallimg {
  width: 320px;
}

.other, .right, .castpic, .castinfo, .left {
  margin: 0 1rem;
}


/* Content sections for episodes.html */

/*.nowplaying {
  display: flex;
  flex-wrap: wrap;
}*/

.currentep {
  max-width: 800px;
  /*flex: 1;
  margin-right: 2%;*/
}


/*photo gallery */


.swiper-container {
  margin-top: 1rem;
}

/*.gallery-img {
  display: none;
  max-height: 50rem; 
  width: 100%;
}*/

.active {
  display: block;
}


/* active and gal img have equal specificity so lower one apples*/

/*.image-gallery {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; } */ /*use all 3 together to center thingss*/



.swiper-slide {
  text-align: center;
}

img.swipe {
   width: 91%;
}


img.toobig {
  width: 70%;
}

img.kindatoobig {
  width: 88%;
}

img.waytoobig {
  width: 50%;
}

  .swiper-button-prev, .swiper-button-next {
    margin-top: 12rem;
  }


@media only screen and (max-width: 500px) {
img.swipe {
  width: 97%;
}

img.waytoobig {
  max-height: 200px; 
}

img.toobig {
  width: 85%;
}

.smalltext p {
  font-size: 1.1rem;
}
}

/*.description {
  flex: 1;
  min-width: 300px;
}*/


/* season one styles */

.episodes {
  display: flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
}

.video {
  margin-bottom: 1rem;
  margin-right: 1rem;
}

@media only screen and (max-width: 1350px) {
  .video {
    width: 500px;
    height: 282px;
  }
}

@media only screen and (max-width: 1040px) {
  .video {
    width: 400px;
    height: 225px;
  }
}

@media only screen and (max-width: 850px) {
  .video {
    width: 350px;
    height: 196px;
  }
}

.shorttext {
  max-width: 1000px;
}


@media only screen and (max-width: 400px) {
  .shorttext p {
    font-size: 1.75rem;
  }
}


/*.episodes-info {
  max-width: 550px;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
}

.running-time {
  font-size: 1.5rem;
  color: blue;
}

/*
.seasonone {
  width: 100vw;
  height: 100vh;
}*/


/* press page styles */

.press-flex {
  display: flex;
}

.press-flex.first > * {
  flex: 1;
}

.press-flex.second {
  justify-content: flex-start;
}

.part1 {
  margin-right: 4rem;
}

.image-holder {
  margin: 1rem 1rem 0 0;
}

.image-holder img.beach {
  width: 100%;
  min-width: 375px;
}

.longquotes {
  max-width: 800px;
}

.textlogo {
  width: 350px;
}

@media only screen and (max-width: 1120px) {
  .texttime p {
    font-size: 1.75rem;
  }

  .texttime h2 {
    margin: .5rem 0;
  }
}

@media only screen and (max-width: 950px) {
  section.press-flex.first {
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
  }

  .texttime p {
    font-size: 2rem;
  }

  .image-holder .beach {
    width: 85%;
  }
}

@media only screen and (max-width: 620px) {
  .press-flex.second {
    flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
  }

  .image-holder .textlogo {
    max-width: 250px;
  }

  .part1 h2, .part2 h2 {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 420px) {
  .image-holder .beach {
      min-width: 350px;
  }

  .texttime p {
    font-size: 1.75rem;
  }


}