@font-face {
  font-family: 'Bungee';
  src: url('https://www.nonage.net/fonts/RobotoSlab-VariableFont_wght.ttf') format("truetype");
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('https://www.nonage.net/fonts/RobotoSlab-VariableFont_wght.ttf') format("truetype");
  font-display: swap;
}

body {
  background-color: #fff;/*#00BFFF;*/
  background-image: none;
  color: #fff;
  font-family: 'Roboto Slab', serif;
  /*test*/
  margin: 0;
  font-size: 1.35em;
  line-height: 1.35em;
  /*test to fix footer to bottom*/
  /*margin-bottom:550px;*/
}

header{

  background-color: #fff;
  color:#000;
  height: 100px;
  border-bottom: 2px solid /*dashed*/ #999;
  padding: 20px;
}

#site-logo
{
  background-color: #fff;
  color:#000;
  background-image: url(https://www.nonage.net/images/NonageFull_LightTheme_2022_cropped.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 100%;
  margin: auto;
}

h1 {
  margin: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

h2 {
  color: #000;
  font-size: 2em;
  margin: 0;
  font-family: 'Bungee', cursive;
  clear: left;
  line-height: 1;
}

h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
  color: #fff;
}
h2 a:hover
{
  color: #000;
}

a:link, a:visited { color:#00d3ff;}
a:hover {color: #000; }

nav {
  text-align: center;
  float: none;
  width: auto;
  font-weight: bold;
  padding-top: 0;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
  padding: 1em;
  font-size: 1.3em;
  width: 8em;
  font-weight: bold;
  border-style: none;

}

nav ul { list-style: none; padding: 0; margin: 0;}
nav li { display: inline-block; }





footer{
  border-top: 2px #000 solid /*dashed*/;
  background-color: #fff;
  color: #000;
  font-size: .80em;
  font-style: italic;
  text-align: center;

  /*test to fix footer to bottom*/
  position: fixed;
  height: 220px;
  width:100%;
  bottom: 0;
  left: 0;
  opacity: .9;
}
footer:hover
{
  opacity: 1;
}

/*main,*/ .main-div{ /*using main-div in place of main to allow multiple.*/
  padding-top: 10px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px; /*added to allow shadow*/
  margin-top: 10px; /*added to allow shadow*/
  background-color: #fff;
  color: #000;
  /*overflow: auto;*/
 /* border-radius: 25px;*/
}

footer a {
  padding: 5px;
}

.hamburger {
    background-color: #fff;
    color: #00d3ff;
    padding: 0;
}

.marg-left
{
    margin-left: 150px;
}



.viewport-header {
  position: relative;
}



/*animations*/
.anim1 {
  position: relative;
  width: 100%;
  height: 80vh;
  background: #CCFFFF;
  transition-property: width;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  transition-delay:0s;
}
.anim2 {
  position: relative;
  width: 100%;
  height: 80vh;
  background: #00d3ff;
  transition-property: width;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  transition-delay:.1s;
}
.anim3 {
  position: relative;
  width: 100%;
  height: 80vh;
  background: #CCFFFF;
  transition-property: width;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  transition-delay:.5s;
}
.anim4 {
  position: relative;
  width: 100%;
  height: 80vh;
  background: 00d3ff;
  transition-property: width;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  transition-delay:.1s;
}

.anim5 {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 800px;
  background: #f5f5f5;
  transition-property: width;
  transition-duration: .5s;
  transition-timing-function: ease-in-out;
  transition-delay:0s;
  padding-top:15px;
}

.move {
  width: 0px;
}

header, nav, /*main,*/ footer, .main-div {display: block;} /*using main-div in place of main to allow multiple.*/

img{
  border:0;
}

.blog-image
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 900px;
    height: auto;
}


.big-img
{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 800px;
    height: 80vh; /*1500px;*/
    width: 100%;
}

.img-gif-row
{
    margin: auto;
    width: 70%;
}

.img-gif
{
    max-width: 800px;
    margin: auto;
    margin-top: 25px;
}

.img-gif h2
{
    text-align: center;
    margin: 0px;
    /*font-size: 2em;*/
    padding: 15px;
}

.img-gif p
{
    margin-top: 0px;
    margin-bottom: 10px;
}

.responsive-gif
{
    width: 100%;
    height: auto;
}

.fade {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.fade:hover {
    opacity: 0.5;
}

.fadequick {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.fadedelay {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    transition-delay:1s;
}


.fadeout {
    opacity: 0;
    height: 0px;
    /*send offscreen when invisible*/
    position: absolute;
    left: -500000px;
}


table {
  width: 90%;
  margin: auto;
  border: 2px solid #000;
  border-spacing: 0;
  background-color: #fff;
}
td, th{
  padding: 10px;
  border: 1px dashed #000;
  min-width: 100px;
}
thead, tr:nth-of-type(even) {
  background-color: #fff;
}
td:first-of-type{
  text-align: center;
  font-weight: bold;
}

form
{
    max-width:300px;
    margin-left:7%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.75em;
}

.form-group label, .formgroup label{
  text-align: left;
  font-weight: bold;
}

label {
  float: left;
  display: block;
  text-align: right;
  width: 8em;
  padding-right: 1em;
}

input[type=text], input[type=email], input[type=number], input[type=password], input[type=date], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.button {
    background-color: #00d3ff;
    border: none;
    border-radius: 25px;
    color: white;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */

    /*iPhone styling*/
    -webkit-appearance: none;

    transition-duration: 0.4s;
    cursor: pointer;
    font-family: 'Bungee', cursive;
}

.button:hover {
    background-color: #fff;
    color: #00d3ff;
    border: 2px solid #00d3ff;
}

.button {
    background-color: #00d3ff;
    color: #fff;
    border: 2px solid #00d3ff;
}

.button-inverse {
    background-color: #fff;
    border: none;
    border-radius: 25px;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
    font-family: 'Bungee', cursive;
}

.button-inverse:hover {
    background-color: #fff;
    color: #00d3ff;
    border: 2px solid #000;
}

.button-inverse {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}



.button-special:hover {
    background-color: #999;
    color: #fff;
    border: 2px solid #000;
}


input, textarea {
  display: block;
  margin-bottom: 1em;
}

#mySubmit {
  margin-left: 12em;
}

.nav-wrapper
{
    display: inline-block;
    min-width: 180px;
    width: 6%;
    margin: 2%;
    background-color: #fff;
    /*box-shadow: 10px 10px 1px #dcdcdc;/*#1E90FF;*/
}

.nav-wrapper
{
    display: inline-block;
    min-width: 180px;
    width: 10%;
    margin: 2%;
    background-color: #fff;
    /*box-shadow: 10px 10px 1px #dcdcdc;/*#1E90FF;*/
    vertical-align: top;
    /*border-radius: 25px;*/
}

.wrapper {
  background-color: #fff;
  min-width: 700px;
  /*box-shadow: 10px 10px 1px #dcdcdc;/*#1E90FF;*/
  width: 90%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  /*border-radius: 25px;*/
  border-bottom: solid 1px #999;
}

.wrapper-first {
    display: inline-block;
    margin: 2%;
    margin-left: 0;
    width: 74%;
    min-width: 600px;
}

.wrapper-small {
    max-width: 600px;
    max-height: 1600px;
}

.post-header
{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.profile-pic
{
  background-repeat:
  no-repeat; background-position:
  center; border-radius: 50%;
  border: 3px solid #dcdcdc;
  height:30px; width:30px;
  background-size:cover;
}

.post-options
{
  cursor: pointer;
  opacity: .6;
}

.post-options:hover, .post-options-selected
{
  opacity: 1;
}

.post-menu
{
    position: absolute;
    margin-left: -100px;
    /*box-shadow: 5px 5px 1px #dcdcdc;/*#1E90FF;*/
    border: 2px solid #dcdcdc;
    /*border-radius: 10px;*/
    padding: 10px;
    background: #fff;
}

.post-menu li
{
  list-style: none;
  padding: 5px;
}

.post-menu li:hover
{
  background: #dcdcdc;
}

.post-menu a, .post-menu a:link, .post-menu a:visited, .post-menu  a:hover
{
  text-decoration: none;
  color: #000;
}
/****Health bar*******/
.health-bar-parent
{
  display: flex;
  flex-direction: row;
  margin: 10px 0 10px 0;
}

.hp
{
  margin: 0 0 0 8px;
}

.health-bar {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 200px;
  height: 20px;
  padding: 5px;
  background: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: relative;
}
.bar {
  background: #fdfd96;/*#c54;*/
  /*width: 60%;*/
  height: 10px;
  position: relative;

  transition: width .5s linear;
}

.hit {
  background: rgba(255,255,255,0.6);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0px;

  transition: width .5s linear;
}
/***END HEALTH BAR***/


.main-div p
{
    color: #000;
    background-color: #fff;
    overflow-wrap: break-word;
}

.container {
  height: 0px;
  position: relative;
}

.center-button {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  /*background-color: #2196F3;
  padding: 10px;*/
}
.grid-item {
  /*background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;*/
  font-size: 30px;
  text-align: center;
}


.center
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#mobile { display:none; }
#desktop { display: inline; }


.sliderobotimg {
  width:64px;
  height:64px;

}

.slide-bot-img .bot {
    width: 300px;
    height: 200px;
    left: -70px;
}

.slide-bot-img {
    height: 100px;
    position: relative;
    overflow: hidden;
    width: 280px;
    cursor:default;
    margin-bottom: -31px;
}

.slide-bot-img img {
    position: absolute;
    -webkit-transition: all 1000ms ease-out;
    -moz-transition: all 1000ms ease-out;
    -o-transition: all 1000ms ease-out;
    -ms-transition: all 1000ms ease-out;
    transition: all 1000ms ease-out;
}

.slide-bot-img .bot {
    position: absolute;
    -webkit-transition: all 1000ms ease-out;
    -moz-transition: all 1000ms ease-out;
    -o-transition: all 1000ms ease-out;
    -ms-transition: all 1000ms ease-out;
    transition: all 1000ms ease-out;
}

.slide-bot-img:hover .bot {
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

/*collapsible menu*/
.collapsible {
  cursor: pointer;
  padding: 18px;
  width: 100%;
  display: none;
  margin: auto;
  border: none;
  text-align: center;
  outline: none;
  font-size: 15px;
}
/*
.active, .collapsible:hover {
  background-color: #555;
}*/

.content {
  padding: 0 18px;
  display: block;
  overflow: hidden;
}
/*end collapsible menu*/


@media only screen and (max-width: 1024px) {
  body{
    margin: 0;
    /*margin-bottom: 350px;*/
    background-image: none;

    /*test to fix footer to bottom*/
    /*margin-bottom:150px;*/
  }
/*
  footer
  {
    position: relative;
    height: 200px;
    padding-left: 30px;
    padding-right: 30px;
  }
*/
  .nav-wrapper, .wrapper:first-of-type
  {
      display: block;
  }

  .wrapper, .nav-wrapper, .wrapper-first, .center {
    width: 100%;
    /*width: auto;*/
    min-width: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0px;
  }

  header{
    /*mobile*/
      height: 100px;
  }
  #site-logo
  {
      background-image: url(https://www.nonage.net/images/NonageFull_LightTheme_2022_cropped.webp);/*logo2_jpg.jpg); /*change to gif?*/
      background-position: center;
      background-repeat: no-repeat;
  }

  nav {
    float: none;
    width: auto;
    padding-top: 0;
    margin-top: 10px;
  }
  nav li { display: inline-block; }
  nav a {
    padding: 1em;
    font-size: 1.3em;
    width: 8em;
    font-weight: bold;
    border-style: none;
  }
  nav ul {
    padding: 0;
    margin: 0;
  }
 /* main,*/ .main-div { /*using main-div in place of main to allow multiple.*/
    padding: 2em;
    margin: 0;
    font-size: 90%;
    margin-bottom: 10px;
  }

  .wrapper-small {
      max-width: none;
    }

    .content {
      display: block;
    }

}




@media only screen and (max-width: 768px) {

.collapsible {
  display: block;
}

.menu-div
{
    padding: 0;
}

.content {
  display: none;
}

nav a {
  display: block;
  padding: 0.2em;
  width: auto;
}

nav li {
  display: block;
}

h2 {
  padding: 0.4em;
  margin-right: 0.5em;
}


#mobile {display: inline;}
#desktop {display: none;}


body{
  margin: 0;
  background-image: none;
  /*test to NOT fix footer to bottom for mobile*/
  /*margin-bottom:700px;*/
}

footer
{
  height: 200px;
/*  position: relative;
  height: 200px;
  padding-left: 30px;
  padding-right: 30px;*/
}



.wrapper-small {
    max-width: none;
  }


}

@media only screen and (max-width: 495px) {

  /*footer
  {
    height: 170px;
  }*/
/*
  body{
    margin-bottom:1200px;
  }*/

}
