body {
  font-family: sans-serif;
  background-color: #151516;
  color: white;
}

.bg {
  width: 100vw;
  height: 100vh;
  background-color: #151516;
  color: white;
  position: fixed;
  z-index: 9999;
}

.inline {
  float: left;
}

.center-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  text-align: center;
}

#page-build-panel {
  opacity: .25;
  background-color: grey;
  width: 100%;
  height: 100%;
}

#cssBG, #javaBG, #htmlBG {
  /* -webkit-animation: blrPre 5s;
          animation: blrPre 5s;
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards; */
  -webkit-filter: blur(1px);
     -moz-filter: blur(1px);
      -ms-filter: blur(1px);
       -o-filter: blur(1px);
          filter: blur(1px);
}

/* @keyframes blrPre {
  0% {
    -webkit-filter: blur(0px);
       -moz-filter: blur(0px);
        -ms-filter: blur(0px);
         -o-filter: blur(0px);
            filter: blur(0px);  
  } 33% {
    -webkit-filter: blur(0px);
       -moz-filter: blur(0px);
        -ms-filter: blur(0px);
         -o-filter: blur(0px);
            filter: blur(0px);
  } 100% {
    -webkit-filter: blur(1px);
       -moz-filter: blur(1px);
        -ms-filter: blur(1px);
         -o-filter: blur(1px);
            filter: blur(1px);
  }
} */

.left, .right {
  width: 10%;
  border-radius: 10px;
  color: black;
}

.middle {
  width: 80%;
}

#page-text, .bracket-buttons {
  font-size: 2.5vw;
  padding-right: 0px;
  padding-left: 0px;
}

#page-build {
  opacity: 1;
  width: 80%;
}

#page-build a {
  color: white;
}

#left-bracket {
  -webkit-animation: bounceLeft .5s infinite alternate;
          animation: bounceLeft .5s infinite alternate;
}

#right-bracket {
  -webkit-animation: bounceRight .5s infinite alternate;
          animation: bounceRight .5s infinite alternate;
}

@keyframes bounceRight {
  from {
    transform: translateX(0px);
  } to {
    transform: translateX(15px);
  }
}

@keyframes bounceLeft {
  from {
    transform: translateX(0px);
  } to {
    transform: translateX(-15px);
  }
}

@media only screen and (max-width: 600px) {
  #page-text {
    font-size: 4vw;
  }
  .bracket-buttons {
    font-size: 8vw;
  }
}

#cssBG, #htmlBG, #javaBG, pre {
  display: inline-block;
  height: 100%;
  padding: 9.5px;
  margin: 0px;
  margin-top: 60px;
  font-size: 0.8vw;
  line-height: 1.42857143;
  color: white;
  overflow: hidden;
  background-color: #151516;
  border: 0;
  border-radius: 0px;
  word-break: normal;
  word-wrap: normal;
}

#htmlBG {
  width: 40%;
}

#cssBG {
  width: 20%;
}

#javaBG {
  width: 30%
}

.comment {
  color: #335b1f;
}
.target {
  color: #DCDCAA;
}
.primary {
  color: #d8a089;
}
.character {
  color: #9CDCFE;
}
.value {
  color: #d5edad;
}
.control {
  color: #545454;
}
.logic {
  color: #c392db;
}
.tag {
  color: #569cd6;
}
.cursor {
  color: white;
}

@media only screen and (max-width: 600px) {
  #cssBG {
    visibility: hidden;
    width: 0%;
  }
  #htmlBG {
    visibility: hidden;
    width: 0%;
  }
  #javaBG {
    font-size: 2vw;
    width: 80%;
  }
}

/* The Modal (background) */
.CSSmodal {
  color: white;
  opacity: 0;
  z-index: 1; /* Sit on top */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0%; 
  height: 0%;
  overflow: auto; 
  vertical-align: middle;
  text-align: center;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.85);
}

/* Modal Content/Box */
.CSSmodal-content {
  transform: translate(0%, 90%);
  margin: auto; 
  text-align: center;
  vertical-align: middle;
  width: 100%; 
  height: 50%;
}

#abootModal, #cbootModal {
  color: white;
  display: none; /* Hidden by default */
  z-index: 1; /* Sit on top */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  vertical-align: middle;
  text-align: center;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.85);
}

.modal-dialog {
  width: 100%; /* Full width */
  top: 35%;
}

.modal-content {
  background-color: transparent;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

a, .CSSmodal-content a, #left-bracket, #right-bracket { 
  text-decoration: none;
  color: white; 
}

.CSSmodal {
  -webkit-animation-duration: .75s;
     -moz-animation-duration: .75s;
       -o-animation-duration: .75s;
          animation-duration: .75s;
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.nav-bar {
  position: fixed;
  z-index: 999;
  top: 0%;
  width: 100%;
  height: 70px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.nav-item {
  float: right;
  text-align: left;
  vertical-align: middle;
  cursor: pointer;
  line-height: 350%;
  font-size: 20px;
  height: 70px;
  margin-left: 30px;
  margin-right: 30px;
}

.nav-link {
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  text-transform: capitalize;
}

.navb, .navc {
  opacity: 0;
  color: white;
  -webkit-animation-duration: .75s;
     -moz-animation-duration: .75s;
       -o-animation-duration: .75s;
          animation-duration: .75s;
  -webkit-animation-fill-mode: forwards;
     -moz-animation-fill-mode: forwards;
       -o-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.navb {
  -webkit-animation-delay: .5s;
     -moz-animation-delay: .5s;
       -o-animation-delay: .5s;
          animation-delay: .5s;
}

.navc {
  -webkit-animation-delay: 0.25s;
     -moz-animation-delay: 0.25s;
       -o-animation-delay: 0.25s;
          animation-delay: 0.25s;
}

.hvr-underline-reveal {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  -webkit-transition-property: transform;
          transition-property: transform;
  -webkit-transition-duration: 0.1s;
          transition-duration: 0.1s;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
}

.hvr-underline-reveal:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  height: 4px;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  -webkit-transition-property: transform;
          transition-property: transform;
  -webkit-transition-duration: 0.1s;
          transition-duration: 0.1s;
  -webkit-transition-timing-function: ease-in-out;
          transition-timing-function: ease-in-out;
}

.hvr-underline-reveal:hover:before, .hvr-underline-reveal:hover {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.fade-in {
  -webkit-animation-name: fade-in;
     -moz-animation-name: fade-in;
       -o-animation-name: fade-in;
          animation-name: fade-in;
}

.fade-out {
  -webkit-animation-name: fade-out;
     -moz-animation-name: fade-out;
       -o-animation-name: fade-out;
          animation-name: fade-out;
}

.fade-in-up {
  -webkit-animation-name: fade-in, fadeup;
     -moz-animation-name: fade-in, fadeup;
       -o-animation-name: fade-in, fadeup;
          animation-name: fade-in, fadeup;
}

/*fade-in*/
@keyframes fade-in {
  0% { 
    opacity: 0;
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0.975; 
    width: 100%; 
    height: 100%;
  }
}

@-webkit-keyframes fade-in {
  0% { 
    opacity: 0; 
    width: 100%; 
    height: 100%;
  } 100% { 
    opacity: 0.975; 
    width: 100%; 
    height: 100%;
  }
}

@-moz-keyframes fade-in {
  0% { 
    opacity: 0;
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  }
}

@-o-keyframes fade-in {
  0% { 
    opacity: 0;
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  }
}

@keyframes fade-out {
  0% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  } 99% { 
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0;
    width: 0%;
    height: 0%;
  }
}

@-webkit-keyframes fade-out {
  0% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  } 99% { 
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0;
    width: 0%;
    height: 0%;
  }
}

@-moz-keyframes fade-out {
  0% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  } 99% { 
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0;
    width: 0%;
    height: 0%;
  }
}

@-o-keyframes fade-out {
  0% { 
    opacity: 0.975;
    width: 100%;
    height: 100%;
  } 99% { 
    width: 100%;
    height: 100%;
  } 100% { 
    opacity: 0;
    width: 0%;
    height: 0%;
  }
}

@keyframes fade-up {
  0%   { opacity: 0; }
  100% { opacity: 0.975; }
}

@-webkit-keyframes fade-up {
  0%   { opacity: 0; }
  100% { opacity: 0.975; }
}

@-moz-keyframes fade-up {
  0%   { opacity: 0; }
  100% { opacity: 0.975; }
}

@-o-keyframes fade-up {
  0%   { opacity: 0; }
  100% { opacity: 0.975; }
}
