body {
  font-family: Quicksand, sans-serif;
  background-color:#181818;
font-weight: 400;
font-size: 1.4em;
font-style: normal;
color: #e8e8e8;
background-color: #181818;


}


html {
  overflow-y: scroll;
}

#footy{
  position: relative;
  bottom: 0;
  width: 100%;
  height: 4vw;

  background: white;
  opacity: 0.05;
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #e6e6e6;
}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  min-height:2em;
}
*::-webkit-scrollbar-track {
  margin-right: 2em;
background-color:#111111;
  border-radius: 30px;
  opacity: 0.1;
}
*::-webkit-scrollbar-thumb {
  border-radius: 30px;
  background-color:#e8e8e8;


}

.scroller::-webkit-scrollbar-thumb {
  background-color: #e8e8e8;
  opacity: 0.8;
   transition: background-color 0.2s linear;
  -webkit-transition: background-color 0.2s linear;
  -ms-transition: background-color 0.2s linear;
  -o-transition: background-color 0.2s linear;
  -ms-transition: background-color 0.2s linear;

}

.scroller::-webkit-scrollbar-thumb:active {
background-color: white;
}



a:link {


 text-decoration: none;


}


a:visited {


 text-decoration: none;


}


a:hover {


 text-decoration: none;


}


a:active {


 text-decoration: none;


}

html {
  scroll-behavior: smooth;
}



#topbar {
  margin-top: 16vw;
font-weight: 700;
  margin-bottom: 4em;
  text-align: right;
background-color: red;
}
#topbar2 {
  margin-top: 12em;
font-weight: 700;
  margin-bottom: 4em;
  text-align: right;
}

#topbarld {

font-weight: 700;
  margin-bottom: 4em;
  text-align: right;
position: absolute;
width: 100%;
  z-index: 99;
background-color: #181818;
}
#introtextmainld {

  width: 20%;
  margin-right: 3%;
  margin-left: 17%;
  float: left;
  visibility: hidden;

}
#divmainld {
  min-width: 20%;
  max-width: 20%;
  padding-bottom: 2em;
  float: left;


}
#loading {


}
#loading-image {
  max-height: 100%;
  width: 70%;
  opacity: 0.1;

}


#logoimage {
  opacity: 0.9;
}

#logoimage:hover {
  opacity: 1;
}

#projecttitle {


  text-align: center;
  display: inline-block;
  color: white;

  text-align: center;
  font-weight: bolder;


}

.buttona {

opacity: 0.8;
  transition: opacity .55s ease-in-out;
  text-align: center;
  display: inline-block;

  background-color: white;
  padding: 0.2em;
  padding-left: 1.2em;
  padding-right: 1.2em;
  border-radius: 100em;
  color: black;
  min-width: 8em;

  text-align: center;
  font-weight: bolder;


}

.buttona:hover {
  opacity: 1;
  transition: opacity .55s ease-in-out;

}
#heropjimg {
  animation: fadeIn2 0.2s;
}
#heropjimg:active {
  animation: fadeoff 0.2s;
}
.container {
  display: grid;
  animation: fadeIn2 0.6s ease-out;
}
#logo {
  max-height: 70%;
  max-width: 70%;


transition: 0.2s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
@keyframes fadeIn2 {
  0% { opacity: 0; }
  10% { opacity: 0.1; }
  100% { opacity: 1; }
}
@keyframes fadeoff {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 0; }
}


#logo:hover {


  opacity: 0.6;
}

#pdiv {
  float: left;
  overflow-x:scroll;
  white-space:nowrap;
  width: 33%;

height: 50%;
padding-top: 5%;
position: relative;
}




#introtextmain {

width: 20%;
margin-right: 1%;
margin-left: 19%;
float: left;
  animation: fadeIn2 0.4s ease-out;
}

#logodivmain {
  min-width: 20%;
  max-width: 20%;
  float: left;

}

#pdivmain {
  float: left;
  overflow-x:scroll;
  white-space:nowrap;
  width: 25%;
  height: 50%;
  padding-top: 2em;
  position: relative;

}

.img-wrapper {
  display: block;
  background: #000;
}




.project-img {
  position: relative;
  width: 9em;
  height: 9em;
  overflow: hidden;
  text-align: center;
  display: inline-flex;
  margin-right: 2em;
  margin-bottom: 2em;
  border-radius: 3px;
}

.project-img img {
  z-index: -1;
  width: 9em;
  height: 9em;
}

.project-img:hover p {
  opacity: 1;
  transition:opacity 0.4s;
}



.project-img:hover img {


  -webkit-filter: brightness(50%);
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}

.project-img p {
  opacity: 0;
  position: absolute;
    top: 45%;
    bottom: 0;
    left: 0;
    right: 0;

    color: white;
}

.image-inpage {

display: inline-block;
max-width:100%;
max-height:100%;

}

.img-row {

}
.img__description {
  position: absolute;
  text-align: center;

  background: rgba(29, 106, 154, 0.72);
  color: black;

  opacity: 1;

  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}





.vidbg p {

z-index: -1;
opacity: 0.4;
font-style: italic;
font-size: 12px;
}
.vidbg  {
background-color: #DCDCDC;

}




.row {
  margin-top: 2em;
}

.subtext2 {
  background-color: white;
  margin-left: 40%;
  margin-right: 40%;
  margin-bottom: 4em;
  padding: 0.5em;
  border-radius: 100em;
  color: black;
  font-size: 1em;
  text-align: center;
  font-weight: bolder;
  margin-top: 0.5em;
  min-width: 12em;
  opacity: 0.8;
}

.subtext{
  font-size: 0.8em;
  text-align: center;
  font-weight: lighter;
  margin-top: 0.5em;
  opacity: 0.8;
}

.ptype {
  width: 100%;
  height: 30em;
}
.righttopbar {
  text-align: left;
  margin-top: 2em;
}
.lefttopbar {
  text-align: right;
  margin-top: 2em;
}

  #introtext {


    width: 15%;

  }

@media screen and (max-width: 767.98px) {

  body {
    font-size: 1.2em;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    margin-left: 0.6em;
      margin-right: 0.6em;
  }

  body::-webkit-scrollbar {
  display: none;
}


  .subtext {
    font-size: 0.8em;

  }



  #introtextmain {

    display: block;
    text-align: center;
    margin-left: 5%;
    width: 90%;
    margin-right: 5%;

  }
  #logodivmain {

    display: block;
    text-align: center;
    margin-top: 2em;
    margin-left: 25%;
    min-width: 50%;
    margin-right: 25%;

  }
  #pdivmain {

    text-align: center;
    margin-left: 5%;
        width: 90%;
            margin-right: 5%;
    display: grid;
    grid-template-columns: auto  auto;
    grid-column-gap: 1em;
    justify-content: center;
    overflow-x:visible;
    margin-bottom: 5em;
  }


  #topbarld {

  font-weight: 700;
    margin-bottom: 4em;
    width: 100%;
height: 200%;

  position: absolute;
  width: 100%;
    z-index: 99;
  background-color: #181818;
  }
  #introtextmainld {
    display: block;
    text-align: center;
    margin-left: 25%;
    width: 50%;
    margin-right: 25%;
  }
  #logodivmainld {
    display: block;
    text-align: center;
    margin-top: 2em;
    margin-left: 25%;
    min-width: 50%;
    margin-right: 25%;
  }
  #loading {


  }
  #loading-image {
    visibility: hidden;


  }


  #logo {
    width: 100%;
    height: inherit;
  }

  #introtext {
    display: block;
    text-align: center;

    width: 100%;

  }


  #logodiv {
    float: left;
    margin-top: 2em;
    text-align: center;

    width: 100%;
    display: block;
  }
  #topbar {
    margin-top: 1em;
  font-weight: 700;
    margin-bottom: 1em;
    width: 100%;


  }
  #topbar2 {
    margin-top: 12em;
  font-weight: 700;
    margin-bottom: 4em;

      width: 100%;
  }


  .project-img {
    float:left;

    width: 100%;
    height: inherit;
    text-align: center;
    margin-bottom: 2em;
    border-radius: 3px;
  }

  .project-img img {
    z-index: -1;
    width: 100%;
    height: 100%;
  }


  .project-img img {
    -webkit-filter: brightness(60%);
  }

  .project-img p {
    opacity: 1;
    position: absolute;
      top: 45%;
      bottom: 0;
      left: 0;
      right: 0;

      color: white;
  }

  .img__description {
    position: absolute;
    text-align: center;

    background: rgba(29, 106, 154, 0.72);
    color: black;

    opacity: 1;

    /* transition effect. not necessary */
    transition: opacity .2s, visibility .2s;
  }

  .righttopbar {
    text-align: center;

  }

  .ptype {
    width: 100%;
    height: 100vh;
  }

  .subtext2 {
    background-color: white;
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 4em;
    padding: 0.5em;
    border-radius: 100em;
    color: black;
    font-size: 1em;
    text-align: center;
    font-weight: bolder;
    margin-top: 0.5em;

    opacity: 0.8;
  }
 #footy {
   visibility: hidden;
 }
}
