@font-face {
  font-family: "Smalle";
  src: url("fonts/smalle.ttf") format("truetype");
}
html {
  scrollbar-color: #c4c2b9 #1a1a17;
}
body {
  margin: 0;
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("images/background.JPG");
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  font-family: Smalle;
}

/* =============================== main container =============================== */
.mainScene {
  position: relative;
  width: 1100px;   
  height: 700px;  
  margin-top: 20px;

}
/* ======================= background image  =======================*/
.bg {
  position: absolute;
  width: 900px;
  top: 80px;
  left: 0;
}

/* ======================= title ======================= */
.title {
    position: absolute;
    width: 500px;
    top: 60px;
    left: 296px;
    z-index: 0;
    filter: drop-shadow(0 0 5px rgba(0,0,0,1));
}

/* ======================= hands ======================= */
.lefthand {
  position: absolute;
  width: 420px;
  top: 110px;
  left: 27px;
  transform: rotate(-8deg);
}
.shadow1 {
  position: absolute;
  width: 430px;
  top: 360px;
  left: 30px;
  filter: brightness(0%);
  opacity: 0.8;
  animation: swayLeft 1s ease-in-out infinite alternate;
}
.righthand {
  position: absolute;
  width: 420px;
  top: 110px;
  left: 640px;
  transform: rotate(8deg);
}
.shadow2 {
  position: absolute;
  width: 430px;
  top: 360px;
  left: 640px;
  filter: brightness(0%);
  opacity: 0.8;
  animation: swayRight 1s ease-in-out infinite alternate;
}
@keyframes swayLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-10px);
    }
}
@keyframes swayRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(10px);
    }
}
.emptyorb {
  position: absolute;
  width: 488px;
  top:160px;
  left: 300px;
  z-index: 0;
  opacity: 0.8;
}

/* ======================= socials menu ======================= */
#socialsLinks {
  position: relative;
  z-index: 100;
}
.socialsmenu {
  position: absolute;
  width: 35px;
  top: 40px;
  left: 1055px;
  cursor: pointer;
  z-index: 100;
  transition: transform .3s ease;
}
.social {
  opacity: 0;
  transform: translateY(-60px);
  transition:
  opacity .3s ease,
  transform .3s ease;
}
.rotated {
  transform: rotate(135deg) scale(1.6);
}
#socialicons {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 100;
}

#socialicons.show {
  opacity: 1;
  pointer-events: auto;
}
#socialicons.show .social {
  opacity: 1;
  transform: translateY(0);
}

.instagram {
  position: absolute;
  width: 40px;
  top: 100px;
  left: 1052px;
  z-index: 100;
  transition-delay: 0s;
  filter: drop-shadow(0 0 3px rgba(0,0,0,1));
}
.twitter {
  position: absolute;
  width: 40px;
  top: 150px;
  left: 1052px;
  z-index: 100;
  transition-delay: 0.05s;
  filter: drop-shadow(0 0 3px rgba(0,0,0,1));
}
.itch {
  position: absolute;
  width: 40px;
  top: 200px;
  left: 1052px;
  z-index: 100;
  transition-delay: 0.1s;
  filter: drop-shadow(0 0 3px rgba(0,0,0,1));
}
.steam {
  position: absolute;
  width: 40px;
  top: 250px;
  left: 1052px;
  z-index: 100;
  transition-delay: 0.15s;
  filter: drop-shadow(0 0 3px rgba(0,0,0,1));
}
.email {
  position: absolute;
  width: 40px;
  top: 300px;
  left: 1052px;
  z-index: 100;
  transition-delay: 0.2s;
  filter: drop-shadow(0 0 3px rgba(0,0,0,1));
}

.delete {
  position: absolute;
  top: 0px;
}

.delete1 {
  position: absolute;
  top: 18px;
}
/* ====================== Tooltip container ===================== */
.socialslinksTooltip {
    position: absolute;
    top: 50px;
    left: 1000px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
.socialsmenu:hover + .socialslinksTooltip {
    opacity: 1;
}
.socialsmenu.rotated + .socialslinksTooltip {
    transform: translateX(-10px);
    transition: 0.3s ease;
}
  .instagramTooltip {
    position: absolute;
    top: 110px;
    left: 940px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
  a:hover + .instagramTooltip {
    opacity: 1;
  }
.twitterTooltip {
    position: absolute;
    top: 160px;
    left: 965px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
  a:hover + .twitterTooltip {
    opacity: 1;
  }
.itchTooltip {
    position: absolute;
    top: 209px;
    left: 980px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
  a:hover + .itchTooltip {
    opacity: 1;
  }
  .steamTooltip {
    position: absolute;
    top: 261px;
    left: 979px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
  a:hover + .steamTooltip {
    opacity: 1;
  }
  .emailTooltip {
    position: absolute;
    top: 310px;
    left: 987px;
    z-index: 100;
    font-size: 20px;
    color: #c4c2b9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    filter: drop-shadow(-1px 0px 2px #1A1A17) blur(0.6px);
    white-space: nowrap;
  }
  a:hover + .emailTooltip {
    opacity: 1;
  }

/* ======================= GALLERY ======================= */
.galleryWindow {
  position: absolute;
}
.gallery-titlewindow1 {
  position: absolute;
  width: 200px;
  top: 30px;
  left: 430px;
  z-index: 21;
  filter: drop-shadow(0 6px 6px  rgba(0,0,0,1));
}
  #gallery-title1 {
    position: absolute;
    width: 220px;
    top: 45px;
    left: 421px;
    font-size: 30px;
    color: #c4c2b9;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,1));
    z-index: 21;
    text-align: center;
  }
.gallery-backwindow {
  position: absolute;
  width: 1000px;
  top: -60px;
  left: 45px;
}
.closeButtonGallery {
  position: absolute;
  width: 35px;
  top: 5px;
  left: 125px;
  cursor: pointer;
  z-index: 2;
  transform: rotate(225deg)
}

.filter-btn:hover {
  filter: brightness(0.8);
}
    .filter-btn:hover + #all-label {
      filter: brightness(0.8);
    }
    .filter-btn:hover + #illustration-label {
      filter: brightness(0.8);
    }
    .filter-btn:hover + #conceptart-label {
      filter: brightness(0.8);
    }
    .filter-btn:hover + #pixelart-label {
      filter: brightness(0.8);
    }
    .filter-btn:hover + #fakegames-label {
      filter: brightness(0.8);
    }
    .filter-btn:hover + #graphicdesign-label {
      filter: brightness(0.8);
    }
.filter-btn-active {
  filter: brightness(0.5);
}
    .filter-btn-active + #all-label {
      filter: brightness(0.5);
    }
    .filter-btn-active + #illustration-label {
      filter: brightness(0.5);
    }
    .filter-btn-active + #conceptart-label {
      filter: brightness(0.5);
    }
    .filter-btn-active + #pixelart-label {
      filter: brightness(0.5);
    }
    .filter-btn-active + #fakegames-label {
      filter: brightness(0.5);
    }
    .filter-btn-active + #graphicdesign-label {
      filter: brightness(0.5);
    }

#all-button {
  position: relative;
  width: 50px;
  height: 31px;
  top: 100px;
  left: 190px;
}
#all-label {
    position: absolute;
    top: 110px;
    left: 204px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}
#illustration-button {
  position: relative;
  width: 131px;
  height: 33px;
  top: 100px;
  left: 190px;
}
#illustration-label {
    position: absolute;
    top: 110px;
    left: 262px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}
#conceptart-button {
  position: relative;
  width: 130px;
  top: 100px;
  left: 190px;
}
#conceptart-label {
    position: absolute;
    top: 110px;
    left: 400px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}
#pixelart-button {
  position: relative;
  width: 112px;
  height: 31px;
  top: 99px;
  left: 190px;
}
#pixelart-label {
    position: absolute;
    top: 110px;
    left: 537px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}
#fakegames-button {
  position: relative;
  width: 130px;
  top: 100px;
  left: 190px;
}
#fakegames-label {
    position: absolute;
    top: 110px;
    left: 653px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}
#graphicdesign-button {
  position: relative;
  width: 140px;
  height: 33px;
  top: 100px;
  left: 190px;
}
#graphicdesign-label {
    position: absolute;
    top: 110px;
    left: 785px;
    color: #c4c2b9;
    font-size: 15px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 22;
}

/* gallery images */

 .gallery-grid {
   position: absolute;
   display: grid;
   top: 140px;
   left: 155px;
   max-width: 740px;
   max-height: 400px;
   overflow: scroll;
   grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
   gap: 35px;
   padding: 20px;
   margin: 0 auto;
 }
.gallery-item:hover {
  transform: translateY(-5px);
  filter: brightness(0.6);
}
.gallery-item {
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
  z-index: 23;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 23;
}

/* ======================= blur homepage ======================= */
.mainScene {
  transition: filter .4s ease;

}
.mainScene.blurred {
  filter: blur(8px);
}

/* ======================= hidden windows ======================= */
.hidden {
  display: none;
}

/* ======================= popup window ======================= */
.window {
  position: relative;
  width: 1100px;
  min-height: 680px;
  margin: 50px auto;
  background: rgba(0,0,0,.8);
  box-shadow: 0 0 15px 15px rgba(0,0,0,.8);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
