html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fcfcfc;
  box-sizing: border-box;
}
h1, h2, h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}
#firstHeading {
  margin-top: 4px;
}
.contactB{
margin: 10px 0 0 0; padding: 10px; background: white; border: 1px solid #F3C70B;
color: #161211; border-radius: 7px; text-decoration: none;
font-size: 12px;
}
.contactB:hover{background: #F3C70B; color: black;}
#container1 {
  min-height: 100%;
  position: relative;
}
main {
  padding-bottom: 128px;
}
#titleband {
  width: 100%;
  height: 47px;
  background-color: #fcc708;
  box-shadow: 0px 2px 7px #adadad;
}
/*#shadow {
  width: 100%;
  height: 12px;
  background-image: linear-gradient(#bdbdbd, #e0e0e0, #f2f4fc, #fcfcfc);
}*/
@keyframes appear-up {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes appear-dot {
  0% {opacity: 0;}
  59% {opacity: 1;}
  100% {opacity: 0;}
}
@keyframes appear-com {
  0% {opacity: 0;}
  59% {opacity: 1;}
  100% {opacity: 0;}
}
#logo-t {
  margin-left: 15%;
}
#logo-t, #logo-i, #logo-p, #logo-p2, #logo-x {
  padding-top: 3px;
  color:#474e56;
  font-size: 190%;
  font-family: 'Audiowide', cursive;
  float: left;
  text-decoration: none;
  animation-name: appear-up;
  animation-duration: 1.7s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}
#logo-t {animation-delay: 0.1s;}
#logo-i {animation-delay: 0.2s;}
#logo-p {animation-delay: 0.3s;}
#logo-p2 {animation-delay: 0.4s;}
#logo-x {animation-delay: 0.5s;}

#logo-dot {
  padding-top: 3px;
  color:#474e56;
  font-size: 190%;
  font-family: 'Audiowide', cursive;
  float: left;
  text-decoration: none;
  animation-name: appear-dot;
  animation-duration: 2.5s;
  animation-delay: 1.1s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}
#logo-com {
  padding-top: 14px;
  font-size: 120%;
  color:#474e56;
  font-family: 'Audiowide', cursive;
  float: left;
  text-decoration: none;
  animation-name: appear-com;
  animation-duration: 2s;
  animation-delay: 1.5s;
  animation-fill-mode: both;
  animation-timing-function: linear;
}


#flexContainerID {
  float: right;
}
.menu-item {
  color:#474e56;
  font-family: 'Nunito', sans-serif;
  float: right;
  font-weight: 500;
  font-size: 15px;
  padding-left: 22px;
  padding-right: 22px;
  padding-top:10px;
  margin-top: 3px;
  padding-bottom: 10px;
}
.menu-item a {
  text-decoration: none;
  color:inherit;
}
.menu-item a:hover {
  color:#ed3f28;
}
#menuButtonDiv {
  display: none;
  float: right;
  margin-right: 14px;
  margin-top: 12px;
}
#menuButtonImageRed {
  display: none;
}
#main-content-box {
  background-color: #fcfcfc;
  font-family: 'Nunito', sans-serif;
  width: 69%;
  margin: 34px 0.5% 50px 1%;
  color: #212121;
  padding: 0px 15px 5px 20px;
  float: left;
  text-align: justify;
  box-sizing: border-box;
}
#side-content-box {
  background-color: #f2f2f2;
  font-family: 'Nunito', sans-serif;
  float: left;
  padding: 0px 15px 30px 15px;
  width: 28%;
  margin: 34px 1% 30px 0.5%;
  color: #464b51;
  box-sizing: border-box;
}
.video-responsive{
  overflow: hidden;
  padding-bottom:56.25%;
  margin-bottom: 20px;
  position:relative;
  height:0;
}
.video-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}
.clear-float {
  clear:both;
}
footer {
  width: 100%;
  height: 128px;
  box-sizing: border-box;
  background-color: #22272d;
  background-image: linear-gradient(#111314, #22272D);
  text-align: center;
  padding-top: 25px;
  border-top: 18px solid #e89d14;
  font-family: 'Nunito', sans-serif;
  color: #fcc708;
  position: absolute;
  bottom: 0;
}
footer hr {
  width: 35%;
  background-color: #ffcb37;
  height: 1px;
  border: 0;
}
#logo-container {
  -webkit-transition:1.3s all ease-in-out;
  -moz-transition:1.3s all ease-in-out;
  -o-transition:1.3s all ease-in-out;
  transition:1.3s all ease-in-out;
  width: 200px;
  }
#logo-container:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  -moz-transform:scale(1.2);
  -o-transform:scale(1.2);
  transform:scale(1.2);
}
@media screen and (max-width: 800px) {
          #main-content-box, #side-content-box {
              width: 98%;
              margin: 20px 1%;
              padding: 2px 10px 10px 10px;
              box-sizing: border-box;
          }
          #logo-dot, #logo-com {
              display: none;
          }
          .menu-item {
              background: #e5e4e0;
              margin: 0px 0;
              padding-top: 15px;
              padding-bottom: 0.5px;
              font-size: 14px;
              font-weight: bold;
              text-align: center;
          }
          #menu-item-first {
              background: linear-gradient(#a5a4a4, #cecccc, #e0e1e2, #e5e4e0 25%);
          }
          #menu-item-last {
              background: linear-gradient(#e5e4e0 20%, #e0e1e2 61% 80%, #cecccc 96% 82%, #a5a4a4 100%);
          }
          .menu-item:hover {
              filter: brightness(90%);
          }
          .menu-item:hover:after {
              content: ""; /* This is necessary for the pseudo element to work. */
              display: block; /* This will put the pseudo element on its own line. */
              margin: 0 auto; /* This will center the border. */
              width: 75%; /* Change this to whatever width you want. */
              padding-top: 15px; /* This creates some space between the element and the border. */
              border-bottom: 1px solid #474e56; /* This creates the border. Replace black with whatever color you want. */
          }
          .menu-item:after {
              content: ""; /* This is necessary for the pseudo element to work. */
              display: block; /* This will put the pseudo element on its own line. */
              margin: 0 auto; /* This will center the border. */
              width: 75%; /* Change this to whatever width you want. */
              padding-top: 15px; /* This creates some space between the element and the border. */
              border-bottom: 1px solid #474e56; /* This creates the border. Replace black with whatever color you want. */
          }
          #menu-item-last:after {
              border-bottom: none;
          }
          .flexContainer2 {
              display: none;  /*JS to change to flex*/
              flex-direction: column;
              width: 100%;
              overflow: hidden;
              position: absolute;
              margin-top: 47px;
              right: 0;
              background: linear-gradient(#fcc708 47px, #e5e4e0 0%);
          }
          #logo-link {
              margin-left: 10%;
          }
          #menuButtonDiv {
              display: inline;
          }
          .contactB{
            text-align: center;
            padding: 15px;
            display: block;
            margin-left: 0px; 
            margin-top: 10px;
          }
}
.box {
  background-color: #bbc3cc;
  height: 140px;
  width: 170px;
  margin: 20px;
}
.box2 {
  background-color: #ccc5bb;
  height: 160px;
  width: 170px;
  margin: 20px;
}
.flex-container2 {
  background-color: #f2f2f2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  align-content: space-between;
}
.flex-container2 > div {
  text-align: center;
}
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 10px;
  background-color: #88beff;
  padding: 10px;
}
.grid-container > div {
  background-color: #f2eed7;
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
}
.item1 {
  grid-column-start: 1;
  grid-column-end: 3;
}
.item2 {
  grid-column: 3;
  grid-row: 1 /span 2;
}
.item8 {
  grid-column: 2 /span 2;
  grid-row: 4;
}
.item9 {
  grid-column: 1 /span 3;
  grid-row: 5;
}
.item4 {
  grid-column: 2;
  grid-row: 2 / span 2;
}
