/**
 * Main Style
 * 
 * @author : mchairul
 *
 */

body {
    font-family: "Roboto", sans-serif;
    background-color: #f5f5f5;
}

.main-nav{
    background-color: #b0bedc;
}

/**
 * ----------------------------------------
 * animation bounce-in-top
 * ----------------------------------------
 */
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

/**
 * ----------------------------------------
 * animation tracking-in-expand
 * ----------------------------------------
 */
@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation color-change-2x
 * ----------------------------------------
 */
@-webkit-keyframes color-change-2x {
  0% {
    background: #f5f5f5;
  }
  100% {
    background: #f6f6f6;
  }
}
@keyframes color-change-2x {
  0% {
    background: #f5f5f5;
  }
  100% {
    background: #f6f6f6;
  }
}

.bounce-in-top {
	-webkit-animation: bounce-in-top 1.1s both;
	        animation: bounce-in-top 1.1s both;
}

.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.color-change-2x {
	-webkit-animation: color-change-2x 2s linear infinite alternate both;
	        animation: color-change-2x 2s linear infinite alternate both;
}

h1{
    color: #3171af;
}

.nav-link {
    color: #fdf8e2;
}

.border-jasaweb {
  border-color: #3171af !important;
}

.btn-outline-jasaweb {
  color: #3171af;
  border-color: #3171af;
}
.btn-outline-jasaweb:hover {
  color: #fff;
  background-color: #3171af;
  border-color: #3171af;
}
.btn-check:focus + .btn-outline-jasaweb, .btn-outline-jasaweb:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-check:checked + .btn-outline-jasaweb, .btn-check:active + .btn-outline-jasaweb, .btn-outline-jasaweb:active, .btn-outline-jasaweb.active, .btn-outline-jasaweb.dropdown-toggle.show {
  color: #fff;
  background-color: #3171af;
  border-color: #3171af;
}
.btn-check:checked + .btn-outline-jasaweb:focus, .btn-check:active + .btn-outline-jasaweb:focus, .btn-outline-jasaweb:active:focus, .btn-outline-jasaweb.active:focus, .btn-outline-jasaweb.dropdown-toggle.show:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-outline-jasaweb:disabled, .btn-outline-jasaweb.disabled {
  color: #3171af;
  background-color: transparent;
}

.btn-jasaweb {
  --bs-btn-color: #fdf8e2;
  --bs-btn-bg: #3171af;
  --bs-btn-border-color: #3171af;
  --bs-btn-hover-color: #fdf8e2;
  --bs-btn-hover-bg: #3171af;
  --bs-btn-hover-border-color: #3171af;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fdf8e2;
  --bs-btn-active-bg: #3171af;
  --bs-btn-active-border-color: #3171af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fdf8e2;
  --bs-btn-disabled-bg: #3171af;
  --bs-btn-disabled-border-color: #3171af;
}

.pricing-header {
  max-width: 700px;
}

.color-main-jasaweb {
    color: #3171af;
}

.color-text-jasaweb {
    color: #fdf8e2;
}

.bouncing-element {
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.bounce-animation {
  animation-name: bounce;
}

.portfolio {
  padding: 4rem 0;
}
.portfolio button {
  text-transform: capitalize;
}

.portfolio-box {
  position: relative;
  width: 100%;
  height: 18.5rem;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border-top: 0.5rem solid #3171af;
}

.portfolio-box img {
  width: 100%;
  height: 100%;
}

.portfolio-box .portfolio-info{
  background-color: rgba(24, 70, 187, 0.75);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.portfolio-box:hover img {
  transform: scale(1.5);
  transition-duration: 2s;
  transition-property: all;
}

.portfolio-box:hover .portfolio-info {
  opacity: 1;
  transition-duration: 1s;
  transition-property: all;
}
