@charset "utf-8";
/* CSS Document */
/* Tom Nahas, ITWP1050, Flexbox Module 7 - Andor */

/* Setting the body defaults */
body {
  background-color: black;
  margin: 0px;
  color: white;
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
}

/* setting the background image for the header */
.header {
  height: 300px;
  background-image: url("images/andor-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* setting the width for the text inside the header */
.innerHeader {
  margin: 20px;
  padding: 10px;
}

/*creating a container for the flex items */
.flexRow {
  margin: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* another stlye for an inside flexRow */
.innerflexRow {
  width: 90%;
  margin: 5px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* initial style for the poster images */
.poster {
  width: auto;
  max-height: 400px;
  height: auto;
  display: block;
}

/* defaults for the text containers */
.container {
  margin: 5px;
  padding: 10px;
}

/* Making images Responsive */
img {
padding: 5px;
width: 100%;
max-width: 400px;
height: auto;
min-width: 50px;
}
h1 {
  font-size: 6rem;
}
h2 {
  font-size: 2rem;
}


/* Media query for screens 800px or narrower */
@media (max-width: 800px) {
  h1 {
    font-size: 6rem;
    text-align: center;
  }
  .flexRow {
    flex-direction: column;
    align-items: center;
  }
  body {
    font-size: 1.25rem;
  }
  p {
    font-size: 16px;
  }
}


/* Media query for screens 600px or narrower */
@media (max-width: 600px) {
  h1 {
    font-size: 7rem;
    text-align: center;
	  color: white;
  }
  body {
    background-color: white;
	  color: black;
  }
  .flexRow {
    flex-direction: column;
    align-items: center;
  }
	.innerflexRow {
		align-items: center;
		width: 100%;
		height: auto;
		flex-direction: column;
	}
  .container {
    width: 90%;
	  padding: 10px;
    color: black;
  }
  p {
    font-size: 16px;
  }
}


/* footer validation area */
.footer_validation {
	background-color: #263c47;
	padding: 40px;
	text-align: center;
	font-size: 1rem;

}
/* hover links  */

a {
	color: white;
}
a:hover {
	color: #fabc6f;
}
a:visited {
	color: #fabc6f;
}
