/** {
  outline: 1px solid red;
}*/

html{
    scroll-behavior: smooth;
  }

body{
    font-family:  'Barlow','Roboto','Source Sans Pro','Open Sans','Lato',Helvetica, Arial, sans-serif;
    font-size:100%;
    /*background-color: ghostwhite;*/
    /*background: rgb(0,8,34);*/
    background: linear-gradient(90deg, rgba(0,8,34,1) 10%, rgba(0,0,0,1) 50%, rgba(0,8,34,1) 90%);
    overflow-x: hidden;
  }


.headerdiv{
    overflow: hidden;
    position:relative;
    background-color:rgba(0, 110, 255, 0.247);
    margin-bottom: 1.3rem;
    margin-top: 0.6rem;
    margin-left: 0.0rem;
    margin-right: 0.0rem;
    border-width:1px;
    border-style:solid;
    border-color:rgb(0, 153, 255);
    box-shadow: 0 2px 5px 0 rgb(0, 153, 255, 0.26),0 2px 10px 0 rgb(0, 153, 255, 0.22);  
  }

  #canvas {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  .title{
    color: rgb(174, 216, 255);
    text-shadow: 0 0 0.6rem rgb(174, 216, 255, 0.5);
    text-align: center;
    font-size:min(1.9rem,5vw);
    letter-spacing: 0;
    text-transform: uppercase;
    margin-left:60px;
    margin-right:60px;
    padding:1.9rem 0;
  }

  .homebutton{
    position:absolute;
    top:50%;
    transform: translate(0,-50%);
    margin-left:10px;
  }

  .homebutton:hover {
    background-color: rgba(0, 110, 255, 0.247); /* Add a dark-grey background on hover */
    
  }

  .main{
    max-width:100ch;
    margin-left:auto;
    margin-right:auto;
    padding:1rem;
  }

  h2{
    color: rgb(174, 216, 255);
    text-shadow: 0 0 0.6rem rgb(174, 216, 255, 0.5);
  }
  
  p{
    padding-top:2rem;
    text-align: center;
    color:rgb(174, 216, 255);
  }

a{
    color:springgreen;
    text-decoration: none;
}

ul{
  color:rgb(174, 216, 255);
  line-height: 200%;
  /*list-style:none;*/
  list-style-type:"\2666   ";
}

/*
ul li::before{
  content:"\2666";
}
*/

img{
    display:block;
    margin-left:auto;
    margin-right:auto;
    padding:10px;
    max-width:80%;
}


.codebox{
    max-width:100ch;
    margin-left:auto;
    margin-right:auto;
}




#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 1.6rem; /* Place the button at the bottom of the page */
    right: 2rem; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: 1px dashed rgb(174, 216, 255); /* Remove borders */
    outline: none; /* Remove outline */
    background-color:rgba(0, 110, 255, 0.147); /* Set a background color */
    color:rgb(174, 216, 255); /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 1rem; /* Some padding */
    font-size: 1rem; /* Increase font size */
    /*box-shadow: 0 2px 5px 0 rgb(0, 153, 255, 0.26),0 2px 10px 0 rgb(0, 153, 255, 0.22);  */
  }
  
  #myBtn:hover {
    background-color: rgba(0, 110, 255, 0.247); /* Add a dark-grey background on hover */
    border: 1px solid rgb(174, 216, 255); /* Remove borders */
    box-shadow: 0 2px 5px 0 rgb(0, 153, 255, 0.26),0 2px 10px 0 rgb(0, 153, 255, 0.22);  
  }
  

  .twocolumns{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(40ch, 1fr));
  }

  .column{
    width:100%;
  }

  .gallery{
    margin-left: auto;
    margin-right:auto;
    margin-bottom:1rem;
    width: 90%;
    display:grid;
    /*grid-auto-flow: column;
    grid-auto-columns: 1fr;*/
    /*grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    */
    grid-template-columns: repeat(auto-fit, minmax(30ch, 1fr));
    gap:1em;
  counter-reset: css-counter 0; /* initializes counter to 0; use -1 for zero-based numbering */
}

.gallery-item{
    box-shadow: 0 2px 5px 0 rgb(0, 153, 255, 0.26),0 2px 10px 0 rgb(0, 153, 255, 0.22);  
    background-color: rgb(0,0,0,0);
    width:100%;
  border-style:solid;
  border-color:rgb(0, 153, 255);
  border-width:1px;
}

.gallery-item:hover {
  background-color: rgba(0, 110, 255, 0.247); /* Add a dark-grey background on hover */
   border-color: rgb(174, 216, 255);
}

.gallery-item img, .gallery-item p{
   display:block;
   margin-left:auto;
   margin-right:auto;
   max-width:90%;
   margin-top:1rem;
}

.gallery-item p{
  counter-increment: css-counter 1; /* Increase the counter by 1. */
}

.gallery-item p:before{
  content: counter(css-counter) ". "; /* Apply counter before children's content. */
}



.main-button{
  color: rgb(174, 216, 255);
  text-shadow: 0 0 0.6rem rgb(174, 216, 255, 0.5);
  text-align: center;
  font-size:min(1.9rem,5vw);
  letter-spacing: 0;
  text-transform: uppercase;
  padding:1rem;
  /*background-color:rgba(0, 110, 255, 0.247);*/
    margin:1rem;
    border-width:1px;
    border-style:solid;
    border-color:rgb(0, 153, 255);
    box-shadow: 0 2px 5px 0 rgb(0, 153, 255, 0.26),0 2px 10px 0 rgb(0, 153, 255, 0.22);  
    display:block;
}

.main-button:hover{
  background-color:rgba(0, 110, 255, 0.247);
}