@import url("https://fonts.googleapis.com/css2?family=Goldman&family=Vast+Shadow&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Outline&family=Foldit:wght@600&family=Lexend+Tera:wght@800&family=Stalinist+One&display=swap");

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: #2c7a2b;
  border-radius: 3px;
}

::-webkit-scrollbar-track-piece {
  background: #000;
}

* {
  box-sizing: border-box;
}

html {
  height: -webkit-fill-available;
}

body {
  padding: 0;
  margin: 0;
  background-color: #000;
  /* height: -webkit-fill-available; */
  height: auto;
}

/* .scrollContainer {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
} */

a {
  color: inherit;
}

.hidden {
  display: none;
  transform: translateY(-100vh);
  overflow: hidden;
}

/* Loading screen*/
#loadingScreen {
  font-family: "Goldman", sans-serif;
  font-size: 40px;
  width: 100%;
  overflow: hidden;
  background-color: #27245a;
}

#loadingScreen,
.loadingFrame,
.insideFrame {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.loadingFrame {
  z-index: 1;
  background-color: #2c7a2b;
  position: absolute;
  height: 320px;
  width: 320px;
  border-radius: 16px;
  overflow: hidden;
}

.loadingFrame.active {
  background-color: #000;
}

.loadingFrame::before {
  content: "";
  position: absolute;
  height: 650px;
  width: 650px;
  background-image: conic-gradient(
    transparent,
    transparent,
    transparent,
    #2c7a2b
  );
}

.loadingFrame.active:before {
  animation: loadingBarRotation 2.2s linear infinite;
}

@keyframes loadingBarRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.insideFrame {
  position: absolute;
  background-color: #27245a;
  height: 308px;
  width: 308px;
  border-radius: 12px;
  color: #2c7a2b;
  font-size: 40px;
  font-weight: bold;
}

.soundOnParagraph {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  margin: 0;
  color: #2c7a2b;
  text-align: center;
  font-weight: bold;
  line-height: 45px;
  width: 320px;
}

.soundOnParagraph.shown {
  opacity: 1;
  animation: showSoundOnParagraph 1s forwards;
}

@keyframes showSoundOnParagraph {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(-50%, -43vh);
  }
}

@keyframes showEnterButton {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(-50%, 31vh);
  }
}

#enterButton {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  color: #2c7a2b;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  line-height: 55px;
  width: 320px;
  background-color: #000;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}

#enterButton.shown {
  opacity: 1;
  animation: showEnterButton 1s forwards;
}

/* #enterButton:before{
    content: '';
    top: 0;
    left: 0;
    background-color: #2c7a2b;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    z-index: -1;
    transform: scale(.9);
    transition: .5s;
}

#enterButton:hover:before{
    filter: blur(3px);
    transform: scale(1.9);
    box-shadow: 0 0 15px #2c7a2b;
} */

#enterButton:hover {
  box-shadow: 0 0 35px #2c7a2b;
}

.dropDownBackground {
  content: "";
  opacity: 0;
  z-index: 2;
  background-color: #000;
  min-height: 100vh;
  min-width: 100vw;
  transform: translateY(-100%);
}

.dropDownBackground.shown {
  opacity: 1;
  animation: showDropDownBackground 0.5s ease forwards;
}

@keyframes showDropDownBackground {
  0% {
    transform: translateY(-100%);
  }
  40% {
    transform: translateY(0%);
  }
  85% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(0%);
  }
}

@media screen and (max-width: 1000px) {
  #loadingScreen {
    font-size: 25px;
  }
  .loadingFrame {
    height: 200px;
    width: 200px;
  }
  .loadingFrame::before {
    height: 350px;
    width: 350px;
  }
  .insideFrame {
    height: 190px;
    width: 190px;
    border-radius: 13px;
    font-size: 25px;
  }
  .soundOnParagraph {
    line-height: 40px;
    width: 200px;
  }
  #enterButton {
    line-height: 40px;
    width: 200px;
    border-radius: 7px;
  }
  @keyframes showSoundOnParagraph {
    0% {
      transform: translate(-50%, -50%);
    }
    100% {
      transform: translate(-50%, -29vh);
    }
  }
  @keyframes showEnterButton {
    0% {
      transform: translate(-50%, -50%);
    }
    100% {
      transform: translate(-50%, 27vh);
    }
  }
  @keyframes showDropDownBackground {
    0% {
      transform: translateY(-100%);
    }
    40% {
      transform: translateY(0%);
    }
    85% {
      transform: translateY(-7%);
    }
    100% {
      transform: translateY(0%);
    }
  }
}

#audioButton {
  opacity: 0;
  z-index: 2;
  position: absolute;
  top: -100vh;
  text-align: center;
  font-size: 40px;
  line-height: 50px;
  width: 50px;
  border-radius: 50%;
  color: #2c7a2b;
  background-color: #000;
  cursor: pointer;
  transition: 0.5s;
}

#audioButton.shown {
  opacity: 1;
  position: fixed;
  top: 55px;
  left: 55px;
}

/* #audioButton::before{
    content: '';
    top: 0;
    left: 0;
    background-color: #2c7a2b;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(.9);
    transition: .5s;
}

#enterButton:hover::before{
    filter: blur(3px);
    transform: scale(1.2);
    box-shadow: 0 0 15px #2c7a2b;
}

#audioButton:hover{
    box-shadow: 0 0 35px #2c7a2b;
} */

@media screen and (max-width: 1000px) {
  #audioButton {
    font-size: 30px;
    line-height: 50px;
    width: 50px;
  }
  #audioButton.shown {
    top: 20px;
    left: 20px;
  }
}

/* Banner */
#banner {
  color: #2c7a2b;
}

.bannerTitleRow {
  /* scroll-snap-align: start; */
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: -100vh;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  font-size: 80px;
  font-weight: 200;
  font-family: "Bungee Outline", sans-serif;
}

.bannerTitleRow.shown {
  top: 27vh;
}

.bannerWordComing {
  opacity: 0;
  margin: 0 0 0 auto;
  padding-right: 2%;
  transform: translateX(-100vw);
}

.bannerWordComing.shown {
  opacity: 1;
  animation: showBannerWordComing 0.7s ease forwards;
}

@keyframes showBannerWordComing {
  0% {
    transform: translateX(-100vw);
  }
  50% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(-4%);
  }
  100% {
    transform: translateX(0%);
  }
}

.bannerWordSoon {
  opacity: 0;
  margin: 0 auto 0 0;
  padding-left: 2%;
  transform: translateX(100vw);
}

.bannerWordSoon.shown {
  opacity: 1;
  animation: showBannerWordSoon 0.7s ease forwards;
}

@keyframes showBannerWordSoon {
  0% {
    transform: translateX(100vw);
  }
  50% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(0%);
  }
}

.bannerDescription {
  opacity: 0;
  position: absolute;
  top: -100vh;
  height: fit-content;
  width: 100%;
}

#banner h2 {
  text-align: center;
  width: 870px;
  margin: 0 auto;
  font-family: "Goldman", sans-serif;
  font-size: 40px;
}

.bannerDescription.shown {
  opacity: 1;
  top: 50vh;
  animation: showBannerDescription 3s ease forwards;
}

@keyframes showBannerDescription {
  0% {
    transform: rotateX(-1170deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

/* Scroll indicator */
.scrollIndicator {
  opacity: 0;
  position: absolute;
  top: 79vh;
  left: 50%;
  transform: translate(-50%, -50%);
}

.scrollIndicator.shown {
  opacity: 1;
  transition: 1s;
}

.scrollIndicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid #2c7a2b;
  border-right: 5px solid #2c7a2b;
  transform: rotate(45deg);
  margin: -10px;
  animation: scrollIndicatorAnimation 2s infinite;
}

.scrollIndicator span:nth-child(2) {
  animation-delay: -0.2s;
}
.scrollIndicator span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes scrollIndicatorAnimation {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

@media screen and (max-width: 1000px) {
  .bannerTitleRow {
    display: block;
    font-size: 25px;
    font-weight: 200;
    text-align: center;
  }
  .bannerTitleRow.shown {
    top: 23vh;
  }
  .bannerWordSoon {
    padding-top: 3vh !important;
  }
  #banner h1 {
    margin: 0;
    padding: 0;
  }
  .bannerDescription.shown {
    top: 45vh;
  }
  #banner h2 {
    text-align: center;
    width: 200px;
    margin: 0 auto;
    font-size: 17px;
  }
  .scrollIndicator.shown {
    top: 73vh;
  }
  .scrollIndicator span {
    top: 80vh;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid #2c7a2b;
    border-right: 3px solid #2c7a2b;
  }
}

/* Business card */
#businessCard,
.frontSide,
.backSide,
.content {
  position: absolute;
}

#businessCard {
  top: 100vh;
  left: 50%;
  transform: translate(-50%, -3.6%);
  height: 400px;
  width: 290px;
  font-family: "Goldman", sans-serif;
  transform-style: preserve-3d;
  perspective: 1000px;
}

#businessCard:hover > .backSide {
  transform: rotateY(0deg);
}

#businessCard:hover > .frontSide {
  transform: rotateY(-180deg);
}

.frontSide,
.backSide {
  height: 100%;
  width: 100%;
  text-align: center;
  background-image: url(/media/myPicture.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.content {
  left: 0;
  width: 100%;
  perspective: 1000px;
  transform: translateZ(60px) scale(0.94);
}

.frontSide h3 {
  color: #fff;
  font-size: 35px;
  margin-top: 177px;
}

.backSide {
  transform: rotateY(180deg);
  background: #27245a;
  color: #fff;
}

.backSide p,
span {
  /* Make both Resume & Contact span ?? */
  font-size: 25px;
  margin: 15px 0;
}

.backSide img {
  width: 40%;
  height: auto;
  border-radius: 7px;
}

.backSide h3 {
  font-size: 35px;
  margin: 10px 0;
}

/* Contact links */
.backSide ul {
  list-style: none;
  margin-top: 17px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backSide li {
  position: relative;
  display: block;
  font-size: 25px;
  height: 50px;
  width: 50px;
  background-color: #000;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 7px;
  cursor: pointer;
  transition: 0.5s;
}

.backSide li:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: #2c7a2b;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0.9);
  transition: 0.5s;
}
/* Shadow hover example */
.backSide li:hover:before {
  filter: blur(3px);
  transform: scale(1.2);
  box-shadow: 0 0 15px #2c7a2b;
}

.backSide li:hover {
  color: #2c7a2b;
  box-shadow: 0 0 15px #2c7a2b;
  text-shadow: 0 0 15px #2c7a2b;
}

.instagramDescription {
  opacity: 0;
  z-index: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  width: 325px;
  background-color: #000;
  color: #fff;
  border: 4px solid #2c7a2b;
  border-radius: 12px;
}

/* .instagramDescription:before{
    z-index: -1;
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    background: #2c7a2b;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
} */

#instagramDescriptionCloseButton {
  position: absolute;
  font-size: 25px;
  color: #2c7a2b;
  padding: 8px 13px;
  top: -5px;
  right: -5px;
  max-height: 42px;
  cursor: pointer;
}

#instagramDescriptionCloseButton:hover {
  transform: rotate(180deg);
  transition: 0.5s;
}

.instagramDescription.shown {
  opacity: 1;
  transition: 1s;
  animation: showInstagramDescription 1s ease forwards;
}

.instagramDescription.hiding {
  opacity: 0;
  transition: 1s;
  animation: hideInstagramDescription 1s ease forwards;
}

@keyframes showInstagramDescription {
  0% {
    transform: translateX(-50%) translateY(-80%);
  }
  100% {
    transform: translateX(-50%) translateY(0%);
  }
}

@keyframes hideInstagramDescription {
  0% {
    transform: translateX(-50%) translateY(0%);
  }
  100% {
    transform: translateX(-50%) translateY(80%);
  }
}

.bottomOfWebpage {
  /* scroll-snap-align: end; */
  height: 64vh;
  content: "";
}

@media screen and (max-width: 1000px) {
  #businessCard {
    height: 370px;
    width: 240px;
  }
  .frontSide h3 {
    font-size: 30px;
    margin-top: 166px;
  }
  .backSide p,
  span {
    /* Make both Resume & Contact span ?? */
    font-size: 22px;
    margin: 22px 0;
  }
  .backSide img {
    border-radius: 5px;
  }
  .backSide h3 {
    font-size: 30px;
    margin: 13px 0;
  }
  /* Contact links */
  .backSide li {
    height: 45px;
    width: 45px;
    margin: 0 5px;
  }
  .instagramDescription {
    width: 280px;
    border: 3px solid #2c7a2b;
    border-radius: 10px;
  }
  #instagramDescriptionCloseButton {
    top: -6px;
    right: -6px;
  }
  .bottomOfWebpage {
    height: 56vh;
  }
}
