* {
  margin: 0;
  padding: 0;
}

main {
  width: 85%
}

#monitor {
	background: #000; 
	position: relative;
	border-top: 3px solid #888; 
	margin-bottom: 5%;
  min-width: 90%;
	padding: 2% 2% 4% 2%; 
	border-radius: 10px; 
	border-bottom-left-radius: 50% 2%; 
	border-bottom-right-radius: 50% 2%; 
	/* transition: margin-right 1s; */
}

#monitor:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 3%;
	left: 36%;
	height: .5%; 
	width: 28%;
	background: #ddd; 
	border-radius: 50%; 
	box-shadow: 0 0 3px 0 white; 
}

#monitorscreen {
  background-color: #777;
	background-size: cover; 
	background-position: top center;
	height: 500px; 
	position: relative;
	overflow: hidden;
}

div > #monitorscreen > img {
	justify-content: end;

}

.grid {
	display: none;
}

#streaming_services > a > img {
  margin: 0 auto;
}

.footer-distributed{
	box-sizing: border-box;
	width: 100%;
	font: bold 16px sans-serif;
	text-align: center;
	padding: 4px 60px 40px;
	overflow: hidden;
}

/* Footer styles */

.footer-distributed h3,
#logo {
	font: normal 36px 'Roboto', cursive;
	margin: 0 0 10px;
}


.footer-distributed .footer-links{
	color:  #ffffff;
	margin: 0 0 10px;
	padding: 0;
}

.footer-distributed .footer-company-name{
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

footer {
  display: flex;
  justify-content: center;
}

#favorite-btn {
  position: absolute;
  top: 15px;
  right: 15px;
}

#favoritesHead{
	font-size: 24px;
}

#displayFavorites li:hover {
  cursor: pointer;
}

section {
  max-width: 1000px;
  transition: all 200ms;
}

#monitor {
  -webkit-animation: tvflicker .2s infinite alternate; 
  -moz-animation:    tvflicker .5s infinite alternate; 
  -o-animation:      tvflicker .5s infinite alternate; 
  animation:         tvflicker .5s infinite alternate; 
}

@-webkit-keyframes tvflicker {
  0%   { box-shadow: 0 0 100px 0 rgba(200,235,255,0.4); }
  100% { box-shadow: 0 0 95px 0 rgba(200,230,255,0.45); }
}
@-moz-keyframes tvflicker {
  0%   { box-shadow: 0 0 100px 0 rgba(225,235,255,0.4); }
  100% { box-shadow: 0 0 60px 0 rgba(200,220,255,0.6); }
}
@-o-keyframes tvflicker {
  0%   { box-shadow: 0 0 100px 0 rgba(225,235,255,0.4); }
  100% { box-shadow: 0 0 60px 0 rgba(200,220,255,0.6); }
}
@keyframes tvflicker {
  0%   { box-shadow: 0 0 100px 0 rgba(225,235,255,0.4); }
  100% { box-shadow: 0 0 60px 0 rgba(200,220,255,0.6); }
}

#search-results {
  top: 65px;
}
html, body {
	margin: 0;
	padding: 0;
  }
  
  .pic-ctn {
	width: 100vw;
	height: 200px;
  }
  
@keyframes display {
	0% {
	  transform: translateX(200px);
	  opacity: 0;
	}
	10% {
	  transform: translateX(0);
	  opacity: 1;
	}
	20% {
	  transform: translateX(0);
	  opacity: 1;
	}
	30% {
	  transform: translateX(-200px);
	  opacity: 0;
	}
	100% {
	  transform: translateX(-200px);
	  opacity: 0;
	}
}
  
.pic-ctn {
	position:absolute;
	right: 0px; bottom: 10;
	height: 30px;
	width: 100px;
}
  
.pic-ctn > img {
	position: absolute;
	top: 0;
	left: calc(0 - 100px);
	opacity: 0;
	animation: display 10s infinite;
}
  
.pic-ctn img:nth-child(2) {
animation-delay: 2s;
}
.pic-ctn img:nth-child(3) {
animation-delay: 4s;
}
.pic-ctn img:nth-child(4) {
animation-delay: 6s;
}
.pic-ctn img:nth-child(5) {
animation-delay: 8s;
}

body {
  background-color : #ededed; 
  font-family: "Open Sans", sans-serif;
}

h1 {
  padding: 40px; 
  text-align: center; 
  font-size: 1.5em;
}

li a {
  text-decoration : none; 
  color : #2d2f31;
}


nav {
  background: #d9d9d9;
}

label[for="touch"] > span:first-child {
  padding : 30px;
  background : #2d2f31; 
  color : white;
  font-size : 1.2em;
  font-variant : small-caps;
  cursor : pointer;
  display: block;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

label[for="touch"] > span::after {
  float: right;
  right: 10%;
  content: "+";
}

.slide {
  clear:both;
  width:100%;
  height:0px;
  overflow: hidden;
  text-align: center;
  transition: height .4s ease;
}

.slide li {padding : 30px;}

#touch {position: absolute; opacity: 0; height: 0px;}    

#touch:checked + .slide {
  height: 350px;
} 

@media screen and (min-width: 768px) {
  nav {
    max-width: 300px;
    margin: 0 auto;
    transition: all 100ms;
  }
  #monitor {
    min-width: 800px;
    max-width: 1000px;
  }
}
  
/* @media screen and (min-width: 1000px) {
  #monitor {
    min-width: 850px;
  }
} */