/* Intro
--------------------------------------------- */
html.site-intro {
  height: 100%;
  margin-top: 0 !important;
  padding-top: var(--wp-admin--admin-bar--height);
  background-color: black;
}

.site-intro body {
  height: 100%;
  padding-top: 0;
}

.site-intro #page {
  position: relative;
  width: 100%;
  height: 100%;
}

.site-intro .site-header {
  z-index: 20;
  position: fixed;
  left: 0;
  top: 3rem;
  opacity: 0;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  right: 0;
  width: var(--wide-width-no-limit);
  margin-left: auto;
  margin-right: auto;
  height: auto;
  align-items: flex-start;
}

.site-intro .toggled .menu-toggle {
  top: auto;
  right: auto;
  left: auto;
  margin: 0;
  width: auto;
  z-index: 1;
  position: relative;
}

.site-intro .site-branding {
  position: absolute;
  padding-right: 100px;
}

.site-intro .main-navigation {
  margin-left: auto;
}

.site-intro .site-footer {
  display: none;
}

.site-intro-wrapper {
  width: 100%;
  height: 100%;
  z-index: 10;
  position: absolute;
}

.site-intro-wrapper .sta,
.site-intro-wrapper .jk {
  background: hsla(200, 20%, 20%, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
}

.site-intro-wrapper .sta {
  left: 50%;
  background-image: url('assets/image_bg.jpg');
  background-size: cover;
  background-position: bottom;
}

.site-intro-wrapper .sta svg,
.site-intro-wrapper .jk svg {
  height: 150px;
  max-width: calc(100% - 2rem);
}

.site-intro .jk-active #jk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.site-intro .sta-active #sta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.site-intro #jk,
.site-intro #sta {
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  opacity: 0;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: calc(24px + 10%);
}

.site-intro #jk {
  background-image: url('assets/kanhaiya-sharma-_HdRQWJ-Pt8-unsplash\ 2.jpg');
}

.site-intro #sta {
  left: 100%;
  background-image: url('assets/pablo-heimplatz-EAvS-4KnGrk-unsplash\ 1.jpg');
  background-position: bottom;
}

.site-intro #jk h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: #29373E;
}

.site-intro #sta h2 {
  color: white;
  font-size: 3rem;
}

.site-intro .button {
  background: var(---petrolblue, #008193);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  color: var(---white, #FFFFFF);
  border: none;
  min-width: 200px;
}

.site-intro .button:hover {
  background-color: var(---petrolblue_strong);
}

.site-intro #sta .button {
  background: white;
  color: var(---orange, #FF6622);
  flex-shrink: 0;
}
.site-intro #sta .button:hover {
  background-color: #F5F5F5;
  color: #CD521C;
}

.site-intro-wrapper button {
  border: 1px solid var(---white, #FFFFFF);
  background: transparent;
  color: var(--white, #FFFFFF);
  padding: 1.2rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
  border-radius: 50px;
}

.site-intro-wrapper .jk button:hover {
  background: #fff;
  color: var(---petrolblue);
}

.site-intro-wrapper .sta button {
  background: #FF662252;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-intro-wrapper .sta button:hover {
  background: #fff;
  color: var(---orange);
}

.site-intro-wrapper button .fas {
  font-size: .8rem;
  margin-left: 5px;
  transition: margin-left 0.25s ease-in-out;
}

.site-intro-wrapper button:hover .fas {
  margin-left: 10px;
  transition: margin-left 0.25s ease-in-out;
}

/* transitioning */
.site-intro #primary {
  flex-grow: 1;
}

.site-intro .sta-active #page .site-header,
.site-intro .jk-active #page .site-header {
  opacity: 1;
  z-index: 2;
  transition: opcity 0.4s ease-in-out 0.8s;
}

.site-intro .sta-active #page #sta,
.site-intro .jk-active #page #jk {
  opacity: 1;
  transition:
    left 0.8s ease-in-out,
    opacity 0.4s ease-in-out 0.8s;
}

.site-intro .sta-active #page #sta {
  left: 0;
}

.site-intro .sta-active #page .site-intro-wrapper,
.site-intro .jk-active #page .site-intro-wrapper {
  background-image: url('assets/transitionJK.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.site-intro .sta-active #page .site-intro-wrapper {
  background-image: none;
  background-color: black;
}


.not-first-render {
  display: none;
}

.site-intro .sta-active #page #menu-jk,
.site-intro .jk-active #page #menu-sta,
.site-intro .sta-active #page .jk-logo,
.site-intro .jk-active #page .sta-logo {
  display: none;
}


#switch-jk,
#switch-sta {
  display: none;
  background: transparent;
  border: none;
  z-index: 1;
  position: absolute;
  background: #008193A3;
  backdrop-filter: blur(16px);
  font-size: 18px;
  font-weight: 500;
}

#switch-sta {
  background: #FF6622A3;
  backdrop-filter: blur(16px);
}

.sta-active #switch-jk,
.jk-active #switch-sta {
  display: block;
  transition: all .5s;
}

#switch-jk span,
#switch-sta span {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}

#switch-sta span svg,
#switch-jk span svg {
  width: 48px;
  aspect-ratio: 1;
  transition: all .5s;
}

#switch-sta:hover svg,
#switch-jk:hover svg {
  fill: white;
  width: 56px;
  transition: all .5s;
}
#switch-jk:hover {
  background: #008193;
  transition: all .5s;
}
#switch-jk:hover svg path:not(.circle){
  stroke: #008193;
  transition: all .5s;
}
#switch-sta:hover {
  background: #CD521C;
  transition: all .5s;
}
#switch-sta:hover svg path:not(.circle){
  stroke: #CD521C;
  transition: all .5s;
}

#switch-sta.animate span,
#switch-jk.animate span {
  opacity: 0;
  transition: all .2s;
}

@media (max-width: 768px) {
  .site-intro-wrapper .sta, .site-intro-wrapper .jk {
    width: 100%;
    height: 50%;
  }
  .site-intro-wrapper .sta {
    left: 0;
    top: 50%;
  }

  .site-intro .sta-active #page .sta {
    opacity: .5;
    top: 0%;
    height: 100%;
    transition: all .8s;
  }

  .site-intro .sta-active #page .jk {
    opacity: 0;
    top: -50%;
    transition: all .8s;
  }

  .site-intro .jk-active #page .jk {
    opacity: 0;
    height: 100%;
    transition: all .8s;
  }

  .site-intro .jk-active #page .sta {
    opacity: 0;
    top: 100%;
    transition: all .8s;
  }

  .site-intro .sta-active #sta,
  .site-intro .jk-active #jk {
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    text-align: left;
  }
  .site-intro #jk, .site-intro #sta {
    padding: 0 16px 120px;
  }

  #switch-jk,
  #switch-sta {
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
  }

  #switch-jk span,
  #switch-sta span {
    justify-content: space-between;
  }

  @keyframes switchGrowFade {
    0% {
      height: 80px;
      opacity: 80%;
      display: block;
    }

    80% {
      height: 100%;
    }

    100% {
      height: 100%;
      display: none;
      opacity: 80%;
    }
  }

  #switch-sta.animate,
  #switch-jk.animate {
    animation: switchGrowFade 1s forwards;
  }
  
}

@media (min-width: 769px) {
  .site-intro .sta-active #page .sta {
    opacity: .5;
    left: 0%;
    width: 100%;
    transition: all .8s;
  }

  .site-intro .sta-active #page .jk {
    opacity: 0;
    left: -50%;
    transition: all .8s;
  }

  .site-intro .jk-active #page .jk {
    opacity: 0;
    width: 100%;
    transition: all .8s;
  }

  .site-intro .jk-active #page .sta {
    opacity: 0;
    left: 100%;
    transition: all .8s;
  }

  #switch-jk,
  #switch-sta {
    width: 118px;
    top: 0;
    left: 0;
    height: 100%;
  }

  #switch-sta {
    left: auto;
    right: 0;
  }

  #switch-jk span,
  #switch-sta span {
    justify-content: center;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: 0 0;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vh;
    width: 100dvh;
    height: 118px;
  }

  #switch-sta span svg,
  #switch-jk span svg {
    rotate: -90deg;
  }
  #switch-sta span svg {
    rotate: 90deg;
  }

  @keyframes switchGrowFade {
    0% {
      width: 118px;
      opacity: 80%;
      display: block;
    }

    80% {
      width: 100%;
    }

    100% {
      opacity: 80%;
      width: 100%;
      display: none;
    }
  }

  #switch-sta.animate,
  #switch-jk.animate {
    animation: switchGrowFade 1s forwards;
  }

}