html, body { 
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  margin: 0px;
  padding: 0px;
}

h1{
  margin: 0px;
  padding-top: 10px;
}

.container {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: 10px;    
}

button{
  text-decoration: none;
}

/* ! NAV BAR ****************************/
nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #111;
  height: 50px;
  padding-left: 50px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  float: right;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: rgb(66, 66, 66);
  border-radius: 3px;
  transition: 0.5s;
}

.myName{
  float: left;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ! FIRST PAGE *************************/
#overlay {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 2; 
  transition: opacity 0.5s ease;
}

.firstPage{
  position: relative;
  height: 100vh;
  width: 100vw;
  transform-style: preserve-3d;
  z-index: -1;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.firstPageBackground{
    background-image: url(../img/portfolio2.png);
    transform: translateZ(-10px) scale(2);
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

.firstPageText{
  padding: 0px;
  margin-left: 10px;
  position: absolute;
  z-index: -1;
  overflow: hidden;
  margin: 0 auto;
  width: 60vw;

}

#lineAnim{
  height: 0px;
  width: 0px;
  border-left: 8px solid #cc3333;
  border-radius: 5px;
  position: absolute;
  top: 20%;
  margin-left: 20%;
  
  -webkit-animation: increase 3s;
  -moz-animation:    increase 3s; 
  -o-animation:      increase 3s; 
  animation: increase 3s forwards, wide 5s forwards;
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
}

@keyframes increase {
    100% {
      height: 25vw;
    }
}

.remove-scrolling { 
  height: 100%; 
  overflow: hidden; 
} 




.firstPageText p{
  color: white;
  margin: 0px;
  font-size: 7vw;
  /* text-align: center; */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ! PROJECT PAGE ***************************/
.projectPage{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

/** TITLE  */

.projectTitle{
    font-size: 20vw;
    margin: 0px auto;
    display: inline-block;
    background-image: url(../img/dragon.png);
    background-size: cover;
    background-size: 70%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: black;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    background-attachment: fixed;
    letter-spacing: 9px;
}

/** PROJECTS */

.originalArtwork{
  background-color: rgb(58, 58, 58);
  color: white;
  border-radius: 4px;
  padding: 5px 0px 5px 0px;
  text-align: center;
}

.projectSection{
  width: 85vw;
  margin: 0px auto 0px auto;
  background-color: #111;
  color: white;
  border-radius: 5px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a{
  text-decoration: none;
  color: white;
}

a:visited{
  text-decoration: none;
  color: white;
}

.projectContainer{
  display: flex;
  justify-content: space-between;
  padding: 4%;
  border-bottom: 3px #eee solid;
}

.projectText{
  width: 40%;
  scale: 1;
  transition-duration: 0.5s;
  transform-origin: left;
}

.projectDescription{
  padding-left: 3%;
}

.projectText h2{
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 2vw;
  border-bottom: 4px rgb(75, 75, 75) solid;
  padding-bottom: 2%;
  margin: 0px;
}

.languagesUsed{
  background-color: lightgray;
  color: black;
  display: inline;
  border-radius: 15px;
  padding: 7px 20px;
  margin-right: 6px;
  margin-top: 5px;
  display: inline-block;
}

.projectImage{
  width: 40%;
  border: 3px gray solid;
  border-radius: 5px;
  scale: 1;
  transition-duration: 0.5s;
  transform-origin: right;
}
.westWorldProjectImage{
  background-image: url(../img/westWorldThumb.png);
  background-position: center;
  background-size: cover;
}

.tamagotchiProjectImage{
  background-image: url(../img/tamagotchiImage.png);
  background-position: center;
  background-size: cover;
}

.hiddenObjectsProjectImage{
  background-image: url(../img/hiddenObjectsThumnail.png);
  background-position: center;
  background-size: cover;
}
.joooKoooProjectImage{
  background-image: url(../img/joooKoooThumb.png);
  background-position: center;
  background-size: cover;
}
.aggysArtImage{
  background-image: url(../img/aggyArtThumb.png);
  background-position: center;
  background-size: cover;
}
.galleryProjectImage{
  background-image: url(../img/galleryThumb.png);
  background-position: center;
  background-size: cover;
}
.scratchwinImage{
  background-image: url(../img/scratchThumb.png);
  background-position: center;
  background-size: cover;
}


/* WESTWORLD HOVER */
.westworld:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgb(36, 95, 134, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .wLanguagesUsed{
    background-color: rgb(159, 204, 233);
  }
  .projectText h2{
    border-bottom: 4px rgb(48, 70, 85) solid;
  }
  .westWorldProjectImage{
    border: 3px rgb(159, 204, 233) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .westworldText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }
}

/* TAMAGOTCHIHOVER */
.tamagotchi:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgba(119, 36, 134, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .tLanguagesUsed{
    background-color: rgb(182, 159, 233);
  }
  .tamagotchiText h2{
    border-bottom: 4px rgb(77, 48, 85) solid;
  }
  .tamagotchiProjectImage{
    border: 3px rgb(182, 159, 233) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .tamagotchiText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }

  .originalArtworkt{
    background-color: #3b3b3b;
    color: white;
    border-radius: 4px;
    padding: 5px 0px 5px 0px;
    text-align: center;
  }
  .originalArtworkt:hover{
    background-color: #508539;
  }
}

/* HIDDEN OBJECTS HOVER */
.hiddenObjects:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgba(192,57,43, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .hLanguagesUsed{
    background-color: rgb(231,76,60);
  }
  .hiddenObjectsText h2{
    border-bottom: 4px rgb(192,57,43) solid;
  }
  .hiddenObjectsProjectImage{
    border: 3px rgb(231,76,60) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .hiddenObjectsText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }

  .originalArtworkh:hover{
    background-color: #30336b;
    color: white;
    border-radius: 4px;
    padding: 5px 0px 5px 0px;
    text-align: center;
  }
}

/* JOOOKOOO */
.joooKooo:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgba(19,100,167, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .jLanguagesUsed{
    background-color: rgb(26, 136, 229);
    color: white;
  }
  .joooKoooText h2{
    border-bottom: 4px rgb(19, 100, 167) solid;
  }
  .joooKoooProjectImage{
    border: 3px rgb(26, 136, 229) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .joooKoooText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }

}

/* AGGYS ART HOVER */
.aggysArt:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgba(2, 40, 62, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .aLanguagesUsed{
    background-color: rgb(3,89,138);
    color: white;
  }
  .aggysArtText h2{
    border-bottom: 4px rgb(2, 57, 88) solid;
  }
  .aggysArtImage{
    border: 3px rgb(3,89,138) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .aggysArtText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }
}

/* GALLERY HOVER */
.gallery:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgb(249, 202, 36, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .gLanguagesUsed{
    background-color: rgb(256, 229, 141);
  }
  .projectText h2{
    border-bottom: 4px rgb(249, 202, 36) solid;
  }
  .galleryProjectImage{
    border: 3px rgb(256, 229, 141) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .galleryText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }
}

/* SCRATCH AND WIN HOVER */
.scratchwin:hover {
  transition-duration: 5s;
  background-image: linear-gradient(rgba(255,0,0,0),rgb(249, 118, 36, 0.5), rgba(255,0,0,0));
  cursor: pointer;

  .sLanguagesUsed{
    background-color: rgb(252, 143, 75);
  }
  .projectText h2{
    border-bottom: 4px rgb(249, 118, 36) solid;
  }
  .scratchwinImage{
    border: 3px rgb(252, 143, 75) solid;
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: right;
  }
  .scratchwinText{
    scale: 1.01;
    transition-duration: 0.5s;
    transform-origin: left;
  }
}
