/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

  @import url('https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Limelight&display=swap');


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  font-family: 'Roboto Condensed', sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ******* End of Reset ******* */
:root {
	--darkblue: #325ea8;
	--mustard: #ffd34f;
	--sunset: #db3735;
	--skyblue: #c0dcf9;
	--white: #f9f9f9;
  --black: #36383F;
  --gray: #85888C;
  }

  body {
	font-size: 1.2em;
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
  }

/* styling navigation */

a{
    text-decoration: none;
}
ul{
    list-style: none;
}
header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--gray);
    /* position: sticky; */
    top: 0;
    width: 100%;
}
/* Logo */
.logo{
    display: inline-block;
    font-family: 'Limelight', cursive;
    color: var(--white);
    padding: 30px;
    font-size: 1em;
    margin-left: 10px;
}
/* Nav menu */
.nav{
    width: 100%;
    height: 30%;
    background-color: var(--black);
    overflow: hidden;
;
}
.menu a{
    display: block;
    padding: 30px;
    color: var(--white);
}
.menu a:hover{
    background-color: var(--gray);
}
.nav{
    max-height: 0;
    transition: 20em .5s ease-out;
}
/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}/* Style label tag */

.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}
@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }
    .menu li{
        float: left;
    }
    .menu a:hover{
        background-color: transparent;
        color: var(--gray);

    }

    .hamb{
        display: none;
    }
}

/* trailer - styling thr video*/
.trailer {
  text-align: center;
}
video {
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {

  }

/* Banner Image */
.bgimage {
	background-image: url("images/banner.jpg");
	height: 25em;
	background-position: center;
	background-repeat: no-repeat;
	background-size:cover;
	position: relative;
	margin-top: 0;

}

h1 	{
	font-size: 4em;
	color: var(--mustard);
}
button {
	font-size: 1em;
	padding: 10px 20px;
	border-radius: 10px;
	background-color: var(--sunset);
	color: #fff;
	cursor: pointer;
  border: 1px solid var(--black);
}

.text {
	margin-left: 2em;
	position: relative;
  top: 17em;
}
.text h1{
  display: none;
}
.banner-text{
  display: hidden;
}

.title-image{
display: block;
}

/* play icon */
.img-container {
	display: flex;
	position: relative;
	top: 8em;
	justify-content: center;
	align-items: center;
	cursor: pointer;
  
}

  h2, h5 {
    font-size: 2em;
    padding: .5em 0;
    text-align: center;
  }

  main > h2 {
    background-color: var(--darkblue);
    color: #eee;
    padding: .5em 1.5em
  }

  /* styling Director and film details */
  section:first-of-type {
    box-sizing: content-box;
    color: #eee;
 
    line-height: 1.3em;
    display: flex;
    flex-direction: column;
    width: 100%;
   
  
   
  } 
  section:first-of-type h2{
    text-align: left;
    color: var(--white);
    font-size: 2em;
  
  }

  section:first-of-type img:first-of-type {
    display: none;
  }

  #synopsis{
    padding: 20px;
  }
#synopsis h3{
    text-align: left;
    color: var(--darkblue);
    font-size: 1em;
  }

  #synopsis p {
    border-left: 2px solid var(--mustard);
    padding-left: 20px;
    color: var(--darkblue);
  }
  #synopsis div{
    margin-top: 2em;
  }
  .pg-rating{
    background-color: var(--darkblue);
    padding: 3px;
    font-weight: 900;
    color: var(--white);
  }


  .movie-info .heading{
    padding-bottom: 30px;
    color:  var(--darkblue);
  }

  section:first-of-type .movie-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--black);
    padding: 10%;
  }

  section:first-of-type ul li {
    display: flex;
    flex-direction: column;
  }

  section:first-of-type ul li span{
    font-weight: 300;
    
  }

  section:first-of-type ul li span:first-of-type {
    font-weight: bold;
    align-items: left;
    text-align: left;
  }

  section:first-of-type ul li span:last-of-type {
    width: 70%;
    text-align: left;
  }
  /* showtimes */
  #showtimes-info h1{
    padding-bottom: 30px;
    color:  var(--black);
    font-family: 'Limelight', cursive;
    font-size: 36px;
  }
  #showtimes-info .footnotes{
  font-size: 16px;
  font-weight: 100;
  padding-top: 20px;
}
  #showtimes-info ul {
    color: var(--black);
  }

  section:first-of-type #showtimes-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--white);
    padding: 10%;
  }

  /* cast */

  section:nth-of-type(2) {
    background-color: var(--darkblue);
    color: var(--mustard);
  }
  h3 {
    font-size: 1.8em;
    text-align: center;
  }
  .cast {
    display: grid;
    grid-template-columns:  repeat(2,1fr);
    grid-gap: 10px;
    max-width: 80%;
    height: fit-content;
    text-align: center;
    margin: 0 auto;
  }
  
 
  .cast > div img{
    max-width: 100%;
    border-radius: 10px;
    height: auto;
  }
 
  .cast img + p:first-of-type {
	  font-weight: 600;
  }

/* location and show times */

#showtimes-info h1 {
  font-family: 'Limelight', cursive;
  font-size: 36px;
}
  section:nth-of-type(3) {
	background-color: var(--darkblue);
  }

.address {
  text-align: center;
  padding: 1em;
}

article {
  width: 60%;
  margin: 0 auto;
}

article h3 {
  margin: 1em;
  color: var(--sunset);
}

article h4 {
  font-weight: 800;
  color: var(--sunset);
}

article p {
  line-height: 1.6em;
  margin-bottom: 1em;
}

  iframe{
    width: 50%;
    display: block;
    border: var(--skyblue) 1px solid;
	  margin: 1em auto;
}

footer {
	padding: 2em ;
	text-align: center;
}



/* media query */
  @media screen and (min-width: 768px) {
	.cast {
	  grid-template-columns: repeat(4, 1fr);
	}
  /* banner image */
  .bgimage {
    height: 35em;
	  background-position: top;
  }
  .logo{
    font-size: 1em;
}
  .text {
    top: 27em;
  }
  /* trailer */
    video {
    width: 100%;
  }

 /* styling Director and film details */
 section:first-of-type {
   
  color: #eee;
  padding: 2em;
  line-height: 1.3em;
  display: flex;
  flex-direction: row;
  width: 60%;
  margin: 0 auto;

 
} 
section:first-of-type h5{
  text-align: left;
  color: var(--white);
  font-size: 2em;
}

section:first-of-type img:first-of-type {
  display: block;
}

#synopsis{
  padding: 30px;
}
#synopsis h5{
  text-align: left;
  color: var(--darkblue);
  font-size: 1em;
}

#synopsis p {
  border-left: 2px solid var(--mustard);
  padding-left: 1em;
  color: var(--darkblue);
}

.pg-rating{
  background-color: var(--darkblue);
  padding: 3px;
  font-weight: 900;
  color: var(--white);
}


section:first-of-type div{
  width: 100%;
}

.movie-info .heading{
  padding-bottom: 30px;
  color:  var(--darkblue);
}

section:first-of-type .movie-info{
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  background-color: var(--black);
}

section:first-of-type ul li {
  display: flex;
  justify-content: flex-start;
  flex-direction: row; 
}

section:first-of-type ul li span{
  font-weight: 300;
}

section:first-of-type ul li span:first-of-type {
  font-weight: bold;
  width: 30%;
  align-items: left;
  text-align: left;
}

section:first-of-type ul li span:last-of-type {
  width: 70%;
  text-align: left;
}
  }
  
