:root{
  --ds-font-color: #2f4763;
}

body {
  color: var(--ds-font-color);
  font-family: 'Montserrat', sans-serif;
}
p {
  color: #242527;
}
a {
  color: var(--ds-font-color);
}

.h2, h2 {
  font-size: calc(1.5rem + .5vw);
}

.h3, h3 {
  font-size: calc(1.25rem + .5vw);
  font-weight: 400;
}

.opacity-50 {
  opacity: .5;
}
.text-gray {
  color: #b5b5b5 !important;
}
.fs-7 {
  font-size: .85rem;
}

.standout-text {
  color: var(--ds-font-color);
}

.lh-md {
  line-height: 1.75;
}

/* nav */
.connect-container {
  display: flex;
}
.connect-message {
  display: flex;
  align-items: flex-end;
  line-height: 1;
  margin-right: 5px;
}
.connect-container img {
  max-width: 35px;
}
#Logo {
  width: 100px;
}
.logo-name {
  fill:#2f4763;
}

#esus,
#ustodio {
  opacity: 0;
  transform: translate(-4px, 0px);  
  -webkit-transition: all .4s ease-out;
  -moz-transition: all .4s ease-out;
  -o-transition: all .4s ease-out;
  transition: all .4s ease-out;

  animation-name: NameFadeOut;
  animation-duration: 4s;
  animation-iteration-count: 1;  
}
#JC:hover ~ #esus,
#JC:hover ~ #ustodio {
  opacity: 1;
  transform: translate(0.8px, 0px);

  -webkit-animation-play-state:paused;
  animation-play-state:paused;  
}
#JC {
  pointer-events: bounding-box;
}

/* keyframes */
@keyframes NameFadeOut {
  0% {
    opacity: 0;
    transform: translate(-4px, 0px);  
  }
  25% {
    opacity: 1;
    transform: translate(0.8px, 0px);  
  }    
  50% {
    opacity: 1;
    transform: translate(0.8px, 0px);  
  }  
  75% {
    opacity: 1;
    transform: translate(0.8px, 0px);  
  }    
  100% {
    opacity: 0;
    transform: translate(-4px, 0px);  
  }
}

header {
  background-color: rgba(255,255,255,0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0px 0px 2000px rgb(255 255 255 / 50%);
  /*border-bottom: 1px solid #f0f0f0;*/
}
.nav-link.active {
  text-decoration: underline;
  color: #075dc1;
  font-weight: 600;
}



/* icons */
.tool-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}
.icon-container {
  position: relative;
}
/*
.icon-container:hover:after {
  content: attr(data-hover);
  position: absolute;
  left: -10px;
  font-size: 0.9rem;
  background-color: rgba(0,0,0,.75);
  padding: 0.5rem 1rem;
  top: -30px;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  z-index: 1;
}
*/

/* tabs */
.nav-pills {
  justify-content: center;
}
.nav-pills .nav-link {
  color: #2f4763;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #2f4763;
  background-color: transparent;
  border-bottom: 3px solid #2f4763;
  border-radius: 0;
  text-decoration: none;
}
.section-tabs {
  top: 3.4rem;
  z-index: 1100;
  opacity: 1;
  transition: top 0.5s ease, opacity 0.5s ease;
}
.section-tabs-hide {
  top: 0;
  opacity: 0;
}

.navbar-hide {
  top: -56px;
}
.project-type, 
.project-tab-title {
  display: none;
}

ul.project-responsibilities {
  padding-left: 1.25rem;
}
ul.project-responsibilities li {
  list-style: square;
}


/* thumbnails */
.Thumbnail {
  /*animation-name: floating;*/
  animation-duration: 5s;
  animation-iteration-count: infinite;
	position: relative;

	transform: translateY(0);
  transform: translateY(-10px);
	transition: transform 1s ease-in-out;

  /*border: 1px solid #c9d1db;*/
  border-radius: .5rem;
}
.Thumbnail:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -30px;
  left: 30px;
  height: 8px;
  width: 90%;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  opacity: .4;
  /*transform: translate(-5%, 0);*/
  transform: translate(0, 15px) scale(0.8);
  transition: transform 1s ease-in-out;

  /*animation-name: floating-shadow;*/
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

.Thumbnail:hover,
.Thumbnail:hover:after {
  -webkit-animation-play-state:paused;
  animation-play-state:paused;
}


/* keyframes */
@keyframes floating {
  0% {
    transform: translate(0%, 0);
  }
  50% { 
    transform: translateY(-10px);
  }
  100% {
    transform: translate(0%, 0);
  }
}
@keyframes floating-shadow {
  0% {
    transform: translate(0%, 0);
  }
  50% { 
	  transform: translate(0, 15px) scale(0.8);
    opacity: .4;
  }
  100% {
    transform: translate(0%, 0);
  }
}


/***** Design Container *****/
.section-wrapper-clip-path {
  clip-path: polygon(0% 0%, 100% 0, 100% 80%, 0 100%);
  /*padding: 2rem 0;*/
 
  -webkit-transition: clip-path .4s ease;
  -moz-transition: clip-path .4s ease;
  transition: clip-path .4s ease;

  position: relative;

  margin-bottom: -8.25rem;
  background-color: #fff;
  z-index: 1;  
}
.project-wrapper:last-child {
  margin-bottom: 0;
}
.project-details {

}

.intro-container .row {
  max-width: 1040px;
}

.intro-container h1 {
  font-weight: 700;
}
.intro-container .description {
  /*padding-bottom: 7rem;*/
}
.intro-container .name {
  padding-top: 3rem;
}

.section-experience.section-wrapper-clip-path {
  margin-top: -8.5rem;
  margin-bottom: 0;
  clip-path: polygon(0% 20%, 100% 0, 100% 100%, 0 100%);
}

/***** Design Container - JPT *****/
.project-wrapper.gradient-skyblue-lightgrey {

}

.jpt-brochure .Thumbnail, 
.jpt-brochure .Thumbnail:after {
  animation-name: none; 
}
.jpt-brochure .Thumbnail:after {
  display: none;
}


/***** Design Container - AEC *****/
.project-wrapper.client-aec {

}

/***** Design Container - Digital Events *****/
.project-wrapper.gradient-lightgrey-skyblue {
  background-image: linear-gradient(-45deg, #f7f7f7, #c8dff7, #f7f7f7, #c8dff7);
  background-size: 400% 400%;

  -webkit-animation: BGGradient 15s ease infinite;
  -moz-animation: BGGradient 15s ease infinite;
  animation: BGGradient 15s ease infinite;

  -webkit-transition: clip-path .4s ease;
  -moz-transition: clip-path .4s ease;
  transition: clip-path .4s ease;

  position: relative;
  padding-bottom: 5rem;
}

@keyframes BGGradient {
  0% {
    background-position: 0% 50%;
  }
  50% { 
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* slider */
.carousel-indicators [data-bs-target] {
  background-color: #2f4763;
  height: 7px;
}


/* slider arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #07214fab;
  border-radius: 5px;
  background-size: 63%;
}
.carousel-control-next,
.carousel-control-prev {
  width: 10%;
}


/* color blocks */
.color-block-evergreen {
  background-color: #249b84;
  width: 5rem;
  height: 5rem;
}
.color-block-forestgreen {
  background-color: #0f332c;
  width: 5rem;
  height: 5rem;
}
.color-block-mintgreen {
  background-color: #30c1ac;
  width: 5rem;
  height: 5rem;
}
.color-block-sandybrown {
  background-color: #d3a671;
  width: 5rem;
  height: 5rem;
}
.color-block-oceanteal {
  background-color: #147285;
  width: 5rem;
  height: 5rem;
}
.color-block-shallowocean {
  background-color: #1eabc7;
  width: 5rem;
  height: 5rem;
}
.color-block-deepocean {
  background-color: #0a3942;
  width: 5rem;
  height: 5rem;
}


/* before & after slider */
.bas-left-image:before {
  content: "Before";
  position: absolute;
  bottom: 1rem;
  left: 0;
  background: rgb(37 55 77 / 91%);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01rem;
  z-index: 1;
}
.bas-right-image:after {
  content: "After";
  position: absolute;
  bottom: 1rem;
  right: 0;
  background: rgb(37 55 77 / 91%);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01rem;
}
img {
  /*display: block;*/
  /*max-width: 100%;*/
}

main {
  display: grid;
  place-items: center;
  /*min-height: 100vh;*/
}

.before-after-container {
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  --position: 50%;
}

.image-container {
  max-width: 800px;
  /*max-height: 90vh;*/
  /*aspect-ratio: 1/1;*/
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-before {
  position: absolute;
  inset: 0;
  width: var(--position);
  /*filter: grayscale(100%)*/
}

.before-after-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  /* for Firefox */
  width: 100%;
  height: 100%;
}

.before-after-slider:focus-visible ~ .slider-button {
  outline: 5px solid black;
  outline-offset: 3px;
}

.slider-line {
  position: absolute;
  inset: 0;
  width: .2rem;
  height: 100%;
  background-color: #fff;
  /* z-index: 10; */
  left: var(--position);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
}

.slider-button {
  position: absolute;
  background-color: #fff;
  color: black;
  padding: .5rem;
  border-radius: 100vw;
  display: grid;
  place-items: center;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* z-index: 100; */
  box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
  display: flex;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2f4763d9;
  --bs-btn-border-color: #2f4763d9;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2f4763;
  --bs-btn-hover-border-color: #2f4763;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2f4763d9;
  --bs-btn-active-border-color: #2f4763d9;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #2f47635e;
  --bs-btn-disabled-border-color: #2f47635e;
}

.btn-project-summary {
  display: none;
}

.btn-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #bbd6edb3;
  padding: 0.45rem 0.75rem;
  border-radius: 50px;
  z-index: 1100;
  display: none;
}
.btn-back-to-top:hover {
  background-color: #2f4763;
  color: #fff;
}

#btn-scroll-down .bi-chevron-down {
  -webkit-animation: ScrollDownAnimate 1.5s infinite;
  animation: ScrollDownAnimate 1.5s infinite;
}
.btn-scroll-down:hover {

}

/***** scroll down animate *****/
@-webkit-keyframes ScrollDownAnimate {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0px, 20px);
    opacity: 0;
  }
}
@keyframes ScrollDownAnimate {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0px, 20px);
    opacity: 0;
  }
}



/***** Media Query *****/
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1366px;
  }
}

@media screen and (max-width: 960px) { 
  .section-wrapper-clip-path {
    clip-path: polygon(0% 0%, 100% 0, 100% 94%, 0 100%);
  }
  .project-wrapper.gradient-lightgrey-skyblue {
    padding-top: 8rem !important;
    padding-bottom: 7rem;
  }
  .section-experience.section-wrapper-clip-path {
    clip-path: polygon(0% 7%, 100% 0, 100% 100%, 0 100%);
    padding-top: 4rem !important;
  }  
  .project-type, 
  .project-tab-title  {
    display: block;
  }
  .section-title .fs-1 {
    font-size: calc(1.75rem + 1.5vw)!important;
  }
  .section-tabs {
    display: none;
  }
  .tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
  .intro-container .description {
  }
  .intro-container .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }  
  .project-tab-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .tab-pane {
    position: relative;
    padding: 0 1.5rem 3rem;
    border-bottom: 1px solid #2f476354;
  }
  .tab-pane:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .carousel-control-next,
  .carousel-control-prev {
    width: 7%;
  }
  .carousel-control-prev {
    left: -15px;
  }
  .carousel-control-next {
    right: -15px;
  }
  .tab-pane:not(:first-child) {
    padding-top: 5rem;
  }
  .experience-date {
    line-height: 1.5 !important;
  }
}

@media screen and (max-width: 768px) { 
  .experience-date,
  .experience-title {
    text-align: center;
  }  
}

@media screen and (max-width: 640px) {
}