body {
  z-index: 1;
  background: url("../images/backgroundautumn.png") fixed no-repeat;
  background-size: cover;
  
  font-family: 'Truth And Ideals';
  font-size: 14px;
  color: black;
  height: 100%;
  text-shadow: 1px 1px 2px gray;
  }
  

a {
  color: darkslategray;
  padding: 3px 3px;
}

a:hover {
  background-color: lightgray;
  border-radius: 3px;
}

  
@font-face {
    font-family: 'Truth And Ideals';
    src: url('../Truth-And-Ideals-Normal.woff2') format('woff2'),
        url('../Truth-And-Ideals-Normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  }



/*The header bar that stays at the top of the screen*/
.top-bar {
  z-index: 20;
  text-transform: uppercase; /*Make the text in the header display as all caps*/
  font-style: italic;
  letter-spacing: 5px;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  background: url("../images/Box_Black.png");
  color: white;
  padding: 5px;
  padding-left: 15px;
  line-height: 25px;
  overflow: auto;
  }
  
.main, .main-first, .main-buttons{
  z-index: 3;
  position: relative;
  margin-top: 30px;
  margin-left: 450px;
  width: 600px;
  border: 5px solid lightgrey;
  background: white;
  /*border-radius: 10px;*/

  padding: 15px 25px 15px 25px;
  box-shadow: 7px 7px rgb(0, 0, 0, 0.6);
  margin: center;
  }
  
/*Make sure the first main box has an extra top margin so it's not hidden by the header*/
.main-first {
  margin-top: 60px;
  }

.main-buttons {
  background: url("../images/Box_City_V.png");
}

.main-buttons a:hover{
  background-color: transparent;
}

.sidebar {
  z-index: 4;
  position: fixed;
  width: 300px;
  min-height: 75px;
  border: 1px solid black;
  border-radius: 5px;
  margin-top:0px;
  margin-left:25px;
  color: white;
  text-shadow: 1px 1px 2px darkslategrey;
  /*The 7px is vertical and horizontal offset for the shadow, if you want to change it.*/
  box-shadow: 7px 7px rgb(0, 0, 0, 0.78);
  background: url("../images/cafe_tile01.png");
  }

  
/*Prevent image overflow*/  
.main img, .main-first img, .sidebar img {
  max-width: 100%;
  height: auto;
  }

.sidebar-pic {
  text-align: center;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border: 0;
  }

.sidebar-pic img {
  width: 100%;
  height: 100%;
  }
  
/*Text section in sidebar.*/  
.sidebar-description {
  padding: 15px;
  }
  
.sidebar-links {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  background: url("../images/Box_Black.png");
  color: white;
  width: 100%;
  height: 60px;
  }
  
.button {
  padding: 5px;
  padding-left: 10px;
  display: inline-block
  }

.sidebar-links a {
  color: white;
  text-decoration: none;
  background-color: inherit;
  }
  
.sidebar-links a:hover {
  color: #bbb;
  }
  
/*Text at bottom below main divs*/
.footer {
  z-index: 5;
  text-align: left;
  margin-left: 475px;
  width: 500px;
  font-size: 13px;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 40px;
  color: white;
}

.sprites {
  position: fixed;
  margin-top: 0px;
  margin-left: 1200px;
  width: 500px;
  height: 500px;
  background: white;
}
/*For narrow screens*/
@media (max-width: 1100px) {
    .sidebar {
      z-index: 5;
      width: 275px;
      margin-left: 10px;
      }
    .sidebar-links {
      height: 90px;
    }
    .main, .main-first, .main-buttons {
      width: 420px;
      margin-left: 315px;
      }
  }
  
/*Mobile compatibility.*/
@media (orientation: portrait) {
  .sidebar {
    margin: 0 auto;
    position: static;
    z-index: 5;
    margin-top: 60px;
    margin-bottom: 15px;
    width: 90%;
    }
  
  .sidebar-links {
    height: 90px;
  }
    
  .main, .main-first, .main-buttons {
    margin: 0 auto;
    margin-top: 20px;
    width: 80%;
    }
    
  .footer {
    width: 80%;
    padding: 5%;
    margin: 0 auto;
    }
    
  .top-bar {
    font-size: 13.5px;
    letter-spacing: 4px;
    font-size: 90%; /*To help reduce height if it overflows the first line.*/
    }
  }
  
#sprite {
  top: 75%;
  left: 75%;
  position: absolute;
  width: 64px;
  height: 64px;
  }