@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;
  }

/* ======================= BIRDHOUSE STUFF ======================= */
.birdhouseWindow {
  position: absolute;
}
.birdhouse-titlewindow1 {
  position: absolute;
  width: 550px;
  height: 130px;
  top: -20px;
  left: 380px;
  z-index: 21;
  filter: drop-shadow(0 6px 6px  rgba(0,0,0,1));
}
  #birdhouse-title1 {
    position: absolute;
    width: 500px;
    top: 0px;
    left: 405px;
    color: #c4c2b9;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,1));
    z-index: 21;
    text-align: center;
  }
.birdhouse-backwindow {
  position: absolute;
  width: 1000px;
  top: -60px;
  left: 45px;
}
.birdhouse-keyimage{
  position: absolute;
  width: 230px;
  top: 80px;
  left: 140px;
}
.birdhouse-keyimage2{
  position: absolute;
  width: 230px;
  top: 260px;
  left: 140px;
}
.birdhouse-keyimage3{
  position: absolute;
  width: 200px;
  height: 170px;
  top: 440px;
  left: 155px;
}

#bh-info1 {
  position: absolute;
  width: 560px;
  top: 130px;
  left: 385px;
  font-size: 16.5px;
  color: #c4c2b9;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,1));
  z-index: 21;
  text-align: justify;
}
#bh-info2 {
  position: absolute;
  width: 800px;
  top: 380px;
  left: 140px;
  font-size: 18px;
  color: #c4c2b9;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,1));
  z-index: 21;
  text-align: justify;
}
#birdhouse-links {
  position: absolute;
  width: 800px;
  top: 562px;
  left: 340px;
  font-size: 22px;
  color: #c4c2b9;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,1));
  z-index: 21;
  text-align: center;
}
a {
  color: yellow
}

.closeButtonBirdhouse {
  position: absolute;
  width: 35px;
  top: 5px;
  left: 125px;
  cursor: pointer;
  z-index: 2;
  transform: rotate(225deg)
}


/* ======================= 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;
}
