.navbar {
  overflow: hidden;
  background-color: white; 
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  z-index: 999;
}

.navbar a {
  float: center;
  color: #000000;
  padding: 1px 1px;
  text-decoration: none;
  font-size: 100%;
  font-family: "Helvetica", "Arial", sans-serif;
}

.navbar a:hover {
  color: #6699ff;
}

.main {
  background-color: white; 
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
}

/* Tiny reset thingy */
body,html{margin:0;padding:0;}

.wrapper {
  /* The height needs to be set to a fixed value for the effect to work.
   * 100vh is the full height of the viewport. */
  height: 100vh;
  /* The scaling of the images would add a horizontal scrollbar, so disable x overflow. */
  overflow-x: hidden;
  /* Enable scrolling on the page. */
  overflow-y: auto;
  /* Set the perspective to 2px. This is essentailly the simulated distance from the viewport to transformed objects.*/
  perspective: 2px;
}

.section {
  /* Needed for children to be absolutely positioned relative to the parent. */
  position: relative;
  /* The height of the container. Must be set, but it doesn't really matter what the value is. */
  height: 100vh;
  
  /* For text formatting. */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 0 0px #000;
  font-family: "Helvetica", "Arial", sans-serif
}

.parallax::after {
  /* Display and position the pseudo-element */
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  
  /* Move the pseudo-element back away from the camera,
   * then scale it back up to fill the viewport.
   * Because the pseudo-element is further away, it appears to move more slowly, like in real life. */
  transform: translateZ(-1px) scale(1.5);
  /* Force the background image to fill the whole element. */
  background-size: 100%;
  /* Keep the image from overlapping sibling elements. */ 
  z-index: -1;
}

/* The styling for the static div. */
.static {
  background: white;
  height: 400px;
  font-family: "Helvetica", "Arial", sans-serif;
  color: black;
}

/* Sets the actual background images to adorable kitties. This part is crucial. */
.bg1::after {
  background-image: url("images/storytelling.gif");
}

.bg2::after {
  background-image: url("images/shelter.gif");
}

.bg3::after {
  background-image: url("images/outdoors.gif");
}

/* The device with borders */
.smartphone {
  position: relative;
  width: 360px;
  height: 640px;
  margin: auto;
  border: 16px black solid;
  border-top-width: 60px;
  border-bottom-width: 60px;
  border-radius: 36px;
}

/* The horizontal line on the top of the device */
.smartphone:before {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone:after {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}

/* The screen (or content) of the device */
.smartphone .content {
  width: 360px;
  height: 640px;
  background: white;
}

.main {
  padding: 16px;
  margin-top: 100px;
  margin: auto;
  width: 50%;
}

.footer {
  position: static;
  bottom:0;
  padding: 16px;
  margin-top: 100px;
  margin: auto;
  width: 50%; 
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 90%;
}

h1 { 
  font-size: 400%;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
  font-family: "Helvetica", "Arial", sans-serif
  color: black;
}

h2 { 
  font-size: 200%;
  margin-bottom: 0.1em;
  font-weight: bold;
  font-family: "Helvetica", "Arial", sans-serif
}

p {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 100%;
  line-height: 30px;
}

p.crunched {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 100%;
  line-height: 30px;
  width: 400px;
}

ul {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 100%;
  line-height: 30px;
}

.narrow
{
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 100%;
  line-height: 40px;
  width: 400px;
}

div.about {
  width: 50%;
  border: 0px;
  font-size: 120%;
}

.center {
  text-align: center;
  border: 1px dashed gray;
  width: 50%;
}

div.video
    {
  margin: auto;
  margin-top: 170px;
  width: 60%;
  border: 1px dashed gray;
  padding: 40px;
    }

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  background-color: #ffffff;
  padding: 30px;
}

img.responsive {
  width: 100%;
  height: auto;
}

img.left {
  float: left;
}





/* unvisited link */
a:link {
  color: #3399ff;
}

/* visited link */
a:visited {
  color: #3399ff;
}

/* mouse over link */
a:hover {
  color: #0099cc;
}

/* selected link */
a:active {
  color: #0099cc;
}

