/**
 * *********************************
 *
 * @format
 */

/*************************************/
/* General
*************************************/
html,
body {
  position: relative;
  overflow-x: hidden;
}
body,
.beige-bg {
  background-color: var(--kafolio-beige);
}
section .container {
  max-width: 1200px;
  margin: 0 auto;
}
section.main-parent {
  transition: all 1s ease-out;
}
h1,
h3 {
  color: var(--kafolio-secondary);
}
h4 {
  color: var(--kafolio-primary);
}
h3 {
  text-transform: lowercase;
}

.btn-primary {
  background-color: var(--kafolio-secondary);
  color: #ffffff;
  max-width: 200px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff;
}
.col-auto {
  width: auto !important;
}

/*************************************/
/* Navbar
*************************************/
.st0 {
  fill: #e66a5f;
}
.st1 {
  font-family: "Sacramento-Regular";
}
.st2 {
  font-size: 606.6744px;
}
.st3 {
  letter-spacing: -1;
}

nav .navbar-brand svg {
  width: 120px;
  height: auto;
  display: block;
}
nav .container {
  max-width: 1200px;
}

/*************************************/
/* Hero - OLD
*************************************/
/* .hero-parent .container img:first-child {
  width: 22vw;
  margin-left: -4vw;
  z-index: 1;
  opacity: 0;
  animation: rollRight 0.8s ease 0.4s 1 forwards;
  filter: drop-shadow(0px 4px 0px rgba(0, 0, 0, 0.2));
}
@keyframes rollRight {
  0% {
    opacity: 0;
    transform: translateX(250px) rotate(200deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}
.hero-parent .container img:nth-child(2) {
  width: 7vw;
  opacity: 0;
  animation: scaleLeft 10s ease 1.15s infinite normal forwards;
  position: relative;
  top: -8vw;
}
@keyframes scaleLeft {
  0% {
    transform: scale(0);
    transform-origin: 0% 50%;
    opacity: 0;
  }
  5% {
    transform: scale(1);
    transform-origin: 0% 50%;
    opacity: 1;
  }
  20% {
    transform: translate(-4px, 4px);
    opacity: 1;
  }
  40% {
    transform: translate(-4px, -4px);
    opacity: 1;
  }
  60% {
    transform: translate(4px, 4px);
    opacity: 1;
  }

  80% {
    transform: translate(4px, -4px);
    opacity: 1;
  }
  95% {
    transform: scale(1);
    transform-origin: 0% 50%;
    opacity: 1;
  }
  100% {
    transform: scale(0);
    transform-origin: 0% 50%;
    opacity: 0;
  }
}
.hero h2 {
  font-weight: 900;
  text-transform: lowercase;
  color: #3dd6c2;
  font-size: 19vw;
  margin-top: -10vw;
  animation: slideTop 0.5s ease 0s 1 normal forwards;
}
@keyframes slideTop {
  0% {
    opacity: 0;
    transform: translateY(-250px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
.intro-text {
  margin-top: -3vw;
  padding: 0 10px;
  opacity: 0;
  animation: fadeBottom 0.5s ease 1.3s 1 normal forwards;
}
.intro-text h1 {
  font-weight: 400;
}
@keyframes fadeBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
span.name b {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffb970;
  text-transform: uppercase;
}
span.name b.small {
  font-size: 1em;
  font-weight: 400;
  color: #6cc8d1;
  text-transform: uppercase;
  font-weight: 700;
}
span.name img {
  display: inline;
  margin: 0 0 5px 0;
}
@media (max-width: 767px) {
  .hero-parent .container img:first-child {
    width: 25vw;
    margin-left: -4vw;
  }
  .hero-parent .container img:nth-child(2) {
    width: 10vw;
  }
  .hero h2 {
    font-size: 22vw;
    margin-top: -13vw;
  }
}
@media (max-width: 575px) {
  .hero-parent .container img:first-child {
    width: 29vw;
    margin-left: -4vw;
  }
  .hero-parent .container img:nth-child(2) {
    width: 11vw;
  }
  .hero h2 {
    font-size: 26vw;
    margin-top: -17vw;
  }
} */

/*************************************/
/* Hero - New
*************************************/
.hero-parent .container > .row {
  padding-top: 2rem;
}
.hero-parent .name img {
  max-width: 250px;
  width: 40vw;
  position: relative;
}
.hero-parent .intro-text h2 {
  font-weight: normal;
}
@media (min-width: 768px) {
  .hero-parent .container > .row {
    min-height: 50vh;
  }
}
@media (min-width: 576px) {
  .hero-parent .name h1 span.left {
    margin-right: 8vw;
  }
  .hero-parent .name h1 span.right {
    margin-left: 8vw;
  }
  .hero-parent .name img {
    max-width: 250px;
    width: 18vw;
    position: absolute;
    bottom: 10%;
    left: 52%;
    transform: translateX(-52%);
  }
}
@media (max-width: 767px) {
  .hero-parent .container > .row {
    padding-top: 7rem;
  }
}
@media (max-width: 575px) {
  .hero-parent .container > .row {
    padding-top: 0rem;
  }
}

/*************************************/
/* Hero Grid
*************************************/
.hero-grid.container-fluid > .row {
  padding: 0rem 4rem;
}
.hero-grid-parent .specialize-grid {
  border: 1px solid var(--kafolio-primary);
  border-right: none;
  position: relative;
}
.hero-grid-parent .specialize-grid::before {
  content: "specializing in:";
  position: absolute;
  top: -30px;
  left: -1px;
  width: 130px;
  height: 30px;
  background-color: var(--kafolio-primary);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-grid-parent .specialize-grid::after {
  content: "";
  border-top: 1px solid var(--kafolio-primary);
  border-bottom: 1px solid var(--kafolio-primary);
  position: absolute;
  width: 100%;
  height: calc(100% + 2px);
  bottom: -1px;
  transform: translateX(100%);
}
.hero-grid-parent .specialize-grid .col-md-4:first-child,
.hero-grid-parent .specialize-grid .col-md-4:nth-child(2) {
  border-right: 1px solid var(--kafolio-primary);
}
.hero-grid-parent .specialize-grid h4 {
  font-size: 2.75vw;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  color: var(--kafolio-beige);
  text-shadow: -1px -1px 0 var(--kafolio-primary), 1px -1px 0 var(--kafolio-primary), -1px 1px 0 var(--kafolio-primary), 1px 1px 0 var(--kafolio-primary);
}
@media (min-width: 1400px) {
  .hero-grid-parent .specialize-grid h4 {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .hero-grid-parent .container-fluid > .row {
    min-height: 50vh;
  }
}
@media (max-width: 991px) {
  .hero-grid-parent .specialize-grid::after {
    display: none;
  }
  .hero-grid-parent .specialize-grid .col-md-4:nth-child(3) {
    border-right: 1px solid var(--kafolio-primary);
  }
}
@media (max-width: 767px) {
  .hero-grid.container-fluid > .row {
    padding: 0 1rem 5rem;
  }
  .hero-grid-parent .specialize-grid .col-md-4 {
    border-right: 1px solid var(--kafolio-primary);
    border-bottom: 1px solid var(--kafolio-primary);
  }
  .hero-grid-parent .specialize-grid .col-md-4:last-child {
    border-bottom: 0;
  }
  .hero-grid-parent .specialize-grid h4 {
    font-size: 5vw;
  }
  .hero-grid-parent .specialize-grid::after {
    display: none;
  }
}
@media (max-width: 575px) {
  .hero-grid-parent .specialize-grid h4 {
    font-size: 7vw;
  }
}

/*************************************/
/* About
*************************************/
.about {
  padding-bottom: 5rem !important;
}
.about .row div:nth-child(2) {
  position: relative;
}
.img-wrapper {
  height: 300px;
  z-index: 1;
  position: relative;
}
.about .img-wrapper {
  width: 100%;
  height: auto;
  text-align: center;
}
.about .img-wrapper img {
  border-radius: 100%;
  background: linear-gradient(315deg, #3ed6c2, #b2fff5);
  background-repeat: no-repeat;
  padding: 4px;
  width: 70%;
}
@media (max-width: 767px) {
  .about .col-md-6 {
    text-align: center;
  }
  .about .img-wrapper img {
    width: 50%;
  }
  .about .btn-primary {
    margin: 0 auto;
  }
}

/*************************************/
/* Portfolio
*************************************/
.portfolio-parent .col-md-6 .artwork-cards {
  position: relative;
  cursor: pointer;
  width: 100%;
  padding: 3vw 3vw 0 3vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.artwork-cards img {
  width: 100%;
}
.max-404 {
  background-color: #99a4b4;
}
.minecraft {
  background-color: #af7a4f;
}
.aquaman {
  background-color: #82dceb;
}
.true-detective {
  background-color: #dcdcdc;
}
.godzilla-kong {
  background-color: #dcdcdc;
}
.wizarding-world {
  background-color: #33625f;
}
.pennyworth {
  background-color: #ffef0b;
}
.hbomax-infinity-carousel {
  background-color: #dcdcdc;
}
.the-nevers {
  background-color: #dcdcdc;
}
.rent-the-runway {
  background-color: #e0aca8;
}
.vudu {
  background-color: #fdd103;
}
.tilt {
  background-color: #dcdcdc;
}
.fullstack {
  background-color: #dcdcdc;
}
.time-for-kids {
  background-color: #99a4b4;
}
.sees-candies {
  background-color: #5ccba2;
}
.portfolio-parent .col-md-6 .artwork-cards::before,
.portfolio-parent .col-md-6 .artwork-cards::after {
  transition: all 0.3s ease;
}
.portfolio-parent .col-md-6 .artwork-cards::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 106, 95, 0.9);
  opacity: 0;
}
.portfolio-parent .col-md-6 .artwork-cards:hover::before {
  opacity: 1;
  animation: artworkHoverBG 0.25s ease 0s 1 normal forwards;
}
@keyframes artworkHoverBG {
  0% {
    transform: scaleY(0);
    transform-origin: 100% 0%;
  }

  100% {
    transform: scaleY(1);
    transform-origin: 100% 0%;
  }
}
.portfolio-parent .col-md-6 .artwork-cards::after {
  content: "View Details";
  text-transform: lowercase;
  position: absolute;
  z-index: 0;
  width: 120px;
  height: 30px;
  text-align: center;
  top: 50%;
  opacity: 0;
  border-bottom: 3px solid #ffffff;
  color: #ffffff;
}
.portfolio-parent .col-md-6 .artwork-cards:hover::after {
  animation: artworkHoverTxt 0.25s ease 0.25s 1 normal forwards;
}
@keyframes artworkHoverTxt {
  0% {
    transform: scaleY(0);
    transform-origin: 0% 100%;
    opacity: 0;
  }

  100% {
    transform: scaleY(1);
    transform-origin: 0% 100%;
    opacity: 1;
  }
}
@media (min-width: 768px) {
  /* .portfolio-parent .col-md-6:nth-child(1) {
    position: absolute;
  } */
  .portfolio-parent .col-md-6:nth-child(3) {
    /* margin-top: -15vw; */
  }
  .portfolio-text {
    height: 390px;
  }
  .portfolio .col-md-6 {
    max-width: 46%;
  }
}
@media (max-width: 767px) {
  .portfolio-text {
    text-align: center;
  }
}

/*************************************/
/* Portfolio Details
*************************************/
.portfolio-scroll-parent {
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  transform: translateX(100vw);
  /* transition: all 1s ease-out; */
  background-color: #ffffff;
}
.portfolio-scroll .row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  align-items: center;
  height: 100vh;
}
.portfolio-scroll .col-md-12 {
  display: flex;
  flex-direction: row;
  /* flex: 0 0 65%;
  max-width: 65%; */
  align-items: center;
  /* justify-content: flex-start; */
}
.portfolio-scroll .row .col-md-12 {
  position: absolute;
  bottom: 5%;
  width: 100%;
  /* left: 20vw;
  width: 60vw;
  max-width: 60vw; */
  z-index: 2;
}
.portfolio-scroll .row .col-md-12 .button-close {
  min-width: auto;
  position: absolute;
  left: 91vw;
  background: var(--kafolio-primary);
  border-radius: 50%;
}
.portfolio-scroll .row .col-md-12 .button-close svg {
  width: 20px;
}
.portfolio-scroll .row .col-md-12 .button-close a {
  width: 35px;
  height: 35px;
  padding: 0.25rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.portfolio-scroll-parent h4 {
  font-size: 2.5rem;
}
.portfolio-scroll .row .col-md-12 .h-progress-bar-container {
  position: fixed;
  width: 85vw;
  left: 5vw;
  height: 5px;
  transition: 0.3s ease;
}
.portfolio-scroll .row .col-md-12 .h-progress-bar-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--kafolio-beige);
  border-radius: 5px;
}
.portfolio-scroll .row .col-md-12 .h-progress {
  position: absolute;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background-color: var(--kafolio-primary);
}
.portfolio-scroll .rich-text {
  min-width: 60%;
}
.portfolio-scroll .text-wrapper {
  background: linear-gradient(90deg, #b908f6, #5816bd);
  color: #ffffff;
  height: 100%;
  aspect-ratio: 3/2;
  padding: 4rem;
}
.portfolio-scroll .text-wrapper p.title {
  font-weight: bold;
  font-size: 2.25rem;
}
.portfolio-scroll .img-wrapper-override {
  min-width: 40%;
  text-align: center;
}
.portfolio-scroll .img-wrapper-override img {
  max-width: 90%;
}
.video-player {
  position: relative;
  cursor: pointer;
}
.video-player video {
  position: relative;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease-in;
}
.video-icon {
  position: absolute;
  top: calc(50% - 3.5vw);
  left: calc(50% - 3.5vw);
  opacity: 1;
}
.video-icon i {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 7vw;
  color: #ffffff;
  content: "\f144";
  filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.5));
}
.video-player:hover .video-icon i {
  animation: pulse 0.8s ease 0s 1 normal forwards;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}
.video-player .video-cover {
  background-image: url("../images/pennyworth-video-cover.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s ease-in;
  opacity: 1;
}
.the-nevers-scroll .video-player .video-cover {
  background-image: url("../images/the-nevers-video-cover.jpg");
}
.hbomax-infinity-carousel-scroll .video-player .video-cover {
  background-image: url("../images/hbomax-infinity-carousel-video-cover.jpg");
}
.minecraft-scroll .video-player .video-cover {
  background-image: url("../images/a-minecraft-movie-video-cover.jpg");
}
.aquaman-scroll .video-player .video-cover {
  background-image: url("../images/aquaman-video-cover.jpg");
}
.true-detective-scroll .video-player .video-cover {
  background-image: url("../images/true-detective-video-cover.jpg");
}
.godzilla-kong-scroll .video-player .video-cover {
  background-image: url("../images/godzilla-kong-video-cover.jpg");
}
.wizarding-world-scroll .video-player .video-cover {
  background-image: url("../images/wizarding-world-video-cover.jpg");
}
.tilt-scroll .video-player .video-cover {
  background-image: url("../images/tilt-video-cover.jpg");
}
.image-wrapper img {
  width: 100%;
}
.no-scroll {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.no-scroll p {
  max-width: 60%;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) {
  .portfolio-scroll-parent .col-md-6 {
    padding-right: 0 !important;
  }
  .video-player video {
    width: auto;
    height: 100%;
    max-height: 80vh;
  }
  .portfolio-scroll .row {
    margin-left: 0;
  }
  .portfolio-scroll .col-auto {
    max-width: inherit;
    height: 100%;
    max-height: 80vh;
  }
  .image-wrapper,
  .image-wrapper img {
    height: 100%;
    width: auto;
  }
}
@media (max-width: 767px) {
  .video-player video {
    width: 100%;
    height: auto;
  }
  .no-scroll p,
  .characters p {
    max-width: 100%;
    margin: 0 auto 3rem;
    padding: 0 15px;
  }
  .portfolio-scroll .row {
    flex-direction: column;
    gap: 2%;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .portfolio-scroll .row .col-md-12 {
    flex-direction: column-reverse;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    justify-content: center;
    z-index: 2;
  }
  .portfolio-scroll .row .col-md-12 {
    left: 0;
    bottom: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    align-items: flex-start;
  }
  .portfolio-scroll .row .col-12:last-child {
    margin-bottom: 5.5rem;
  }
  .portfolio-scroll .row .col-md-12 .button-close {
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0;
  }
  .portfolio-scroll .row .col-md-12:first-child a {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 1rem 0 !important;
    color: #ffffff;
  }
  /* .portfolio-scroll .row .col-md-6:nth-child(2) {
    margin: 10% 0 0 0;
  }
  .portfolio-scroll .row .col-md-6:last-child {
    margin: 0 0 15% 0;
  } */
  .portfolio-scroll .rich-text {
    text-align: center;
  }
  .portfolio-scroll .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
  .portfolio-scroll .text-wrapper {
    width: 100%;
    padding: 2rem;
  }
  .portfolio-scroll .text-wrapper p.title {
    font-size: 1.5rem;
  }
  .portfolio-scroll .img-wrapper-override img {
    max-width: 50%;
  }
}
@media (max-width: 575px) {
  .portfolio-scroll .img-wrapper-override img {
    max-width: 70%;
  }
}

/*************************************/
/* Design Process
*************************************/
.design-process-parent {
  background-color: var(--kafolio-primary);
}
.design-process.container-fluid {
  padding: 5rem 4rem;
}
.design-process-grid {
  position: relative;
}
.design-process-grid::before {
  content: "";
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  transform: translateX(-100%);
}
.design-process .col-lg-2 {
  position: relative;
}
.design-process .col-lg-2:first-child::before {
  content: "1.";
}
.design-process .col-lg-2:nth-child(2)::before {
  content: "2.";
}
.design-process .col-lg-2:nth-child(3)::before {
  content: "3.";
}
.design-process .col-lg-2:nth-child(4)::before {
  content: "4.";
}
.design-process .col-lg-2:nth-child(5)::before {
  content: "5.";
}
.design-process .col-lg-2:nth-child(6)::before {
  content: "6.";
}
.design-process .col-lg-2::before {
  position: absolute;
  background-color: #ffffff;
  color: var(--kafolio-primary);
  font-size: 1rem;
  font-weight: bold;
  height: 25px;
  width: 25px;
  top: 0;
  left: 0;
}
.design-process .col-lg-2:first-child {
  border-left: 1px solid #ffffff;
}
.design-process .col-lg-2 {
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}
.design-process h3 {
  color: var(--kafolio-primary);
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
  text-align: center;
  text-transform: uppercase;
}
.design-process p {
  color: #ffffff;
  margin: 2rem 0.5rem;
  font-weight: bold;
}
@media (max-width: 1199px) {
  .design-process p {
    font-size: 0.9rem;
  }
}
@media (max-width: 991px) {
  .design-process-grid::before {
    display: none;
  }
  .design-process .col-lg-2:nth-child(4) {
    border-left: 1px solid #ffffff;
  }
  .design-process .col-lg-2:nth-child(4),
  .design-process .col-lg-2:nth-child(5),
  .design-process .col-lg-2:nth-child(6) {
    border-top: none;
  }
}
@media (max-width: 767px) {
  .design-process.container-fluid {
    padding: 5rem 1rem;
  }
}
@media (max-width: 575px) {
  .design-process .col-lg-2:nth-child(3) {
    border-top: none;
  }
  .design-process .col-lg-2:nth-child(4) {
    border-left: none;
  }
  .design-process .col-lg-2:nth-child(3),
  .design-process .col-lg-2:nth-child(5) {
    border-left: 1px solid #ffffff;
  }
}

/*************************************/
/* Contact
*************************************/
.contact {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.col-md-7 a {
  margin-right: 1.25rem;
}
.col-md-7 a:last-of-type {
  margin-right: 0;
}
.fa-solid,
.fa-brands {
  font-size: 2.8rem;
}

/*************************************/
/* Footer
*************************************/
.footer-parent {
  border-top: 1px solid var(--kafolio-primary);
}
.footer p {
  font-size: 0.75rem;
  color: var(--kafolio-primary);
}

/*************************************/
/* CSS Animations
*************************************/
.element-scroll {
  opacity: 0;
}
.element-scroll.scrolled {
  opacity: 1;
}
.fade-in-left.scrolled {
  animation: fadeInLeft 0.5s ease 0s 1 normal forwards;
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.slide-up.scrolled,
.slide-up-mobile.scrolled {
  animation: slideUp 0.5s ease 0s 1 normal forwards !important;
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
