/******************************************
/* CSS
/*******************************************/

/* Box Model Hack */
*{
  box-sizing: border-box;
}

/******************************************
/* LAYOUT
/*******************************************/
body {
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

body *{
  z-index: 4;
}

.wrapper {
  display: flex;
  flex-flow: column nowrap;
  align-content: space-between;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 auto
}
.nasa {
  color: rgba(23, 67, 141, 1)
}

.title {
  font-size: 4rem;

}

p {
  font-weight: 200;
  width: 50%;
  border: 1rem solid rgba(128, 128, 128, 0);
  line-height: 1.3;
}

.apiTitle {
  font-size: 0.9rem;
}

.apiLine{
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.icon {
  width: 3rem; 
}

.interactive {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  height: auto;
}


.interactive *{
  height: 2em;
  border-radius: 0.375em;
}

button {
  background-color: rgba(3, 58, 146, 1);
  color: white;
}

.media {
  max-height: 60vh;
  height: 50em;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.potd{
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.375em;
  object-fit: contain;
  border: 2rem solid rgba(128, 128, 128, 0.2);
}

iframe {
  display: block;
  margin: 0 auto;
  width: 50%;
  height: 100%;
}


/******************************************
/* ADDITIONAL STYLES
/*******************************************/



@keyframes move-background {
  from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}
@-webkit-keyframes move-background {
  from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

@-moz-keyframes move-background {    
	from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

    @-webkit-keyframes move-background {
	from {
		-webkit-transform: translate3d(0px, 0px, 0px);
	}
	to { 
		-webkit-transform: translate3d(1000px, 0px, 0px);
	}
}

.background-container{
	position: fixed;
	top: 0;
	left:0;
	bottom: 0;
	right: 0;
  z-index: 1;
}

.stars {
 background: black url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png) repeat;
 position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
  	z-index: 1;
}

.twinkling{
	width:10000px;
	height: 100%;
	background: transparent url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/twinkling.png") repeat;
	background-size: 1000px 1000px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    
    -moz-animation:move-background 70s linear infinite;
  -ms-animation:move-background 70s linear infinite;
  -o-animation:move-background 70s linear infinite;
  -webkit-animation:move-background 70s linear infinite;
  animation:move-background 70s linear infinite;
	
}