/* Colors:
#F4F4F6 - background
#071952 - dark
#35A29F - 3D button shadow
#97FEED - light
#0B666A - link:hover
*/

body {
  /* min-height: 75rem; */
  background-color: #F4F4F6;
  max-width: 100rem;
  /* height: 100vh; */
  margin: 0 auto;
}

/* hide close when burger shown */
.navbar-toggler span {
  display: block;
  background-color: #4f4f4f;
  height: 3px;
  width: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  position: relative;
  left: 0;
  opacity: 1;
  transition: all 0.35s ease-out;
  transform-origin: center left;
}

.navbar-toggler span:nth-child(1) {
  margin-top: 0.3em;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: translate(15%, 33%) rotate(-45deg);
}

.navbar-toggler span:nth-child(1) {
  transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
  opacity: 1;
}

.navbar-toggler span:nth-child(3) {
  transform: translate(0%, 0%) rotate(0deg);
}

.add-logo-high {
  height: 46px;
  transition: all 0.3s ease;
}

.add-logo-low {
  height: 40px;
  transition: all 0.3s ease;
}

/* hero button */
.r-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  /* text-decoration: none; */
  background-color: #071952;
  border: 1px solid #071952;
  border-radius: 100px;
  box-shadow: 5px 5px 0 #35A29F;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.r-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: perspective(500px) rotateX(-90deg);
  transform-origin: 50% 100%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.r-button:hover {
  box-shadow: 3px 3px 0 #35A29F;
  border: 1px solid #0B666A;
  transform: translate(2px, 2px);
}

.r-button:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}

.r-button:active::before {
  transform: perspective(500px) rotateX(0);
}

/* hero button */
.r-button2 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  /* text-decoration: none; */
  background-color: #071952;
  border: 1px solid #071952;
  border-radius: 100px;
  box-shadow: 5px 5px 0 #071952;;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.r-button2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: perspective(500px) rotateX(-90deg);
  transform-origin: 50% 100%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.r-button2:hover {
  box-shadow: 3px 3px 0 #071952;
  border: 1px solid #071952;
  transform: translate(2px, 2px);
}

.r-button2:active {
  box-shadow: none;
  transform: translate(5px, 5px);
}

.r-button2:active::before {
  transform: perspective(500px) rotateX(0);
}

#contact {
  background-color: white;
  color: #071952;
}

/* contact button */
.c-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  /* text-decoration: none; */
  background-color: #071952;
  border: 1px solid #071952;
  border-radius: 100px;
  box-shadow: 5px 5px 0 #97FEED;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.c-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: perspective(500px) rotateX(-90deg);
  transform-origin: 50% 100%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.c-button:hover {
  box-shadow: 3px 3px 0 #97FEED;
  transform: translate(2px, 2px);
}

.c-button:active {
  background-color: #97FEED;
  border-color: #97FEED;
  color: #071952;
  box-shadow: none;
  transform: translate(5px, 5px);
}

.c-button:active::before {
  transform: perspective(500px) rotateX(0);
}

a {
  text-decoration: none;
}

#services {
  padding-top: 80px;
  color: #071952;
}

#services img {
  height: 6rem;
}

@media (min-width: 991px) {
  #services .box:hover {
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  }
}

#services .box {
  height: 300px;
}

@media (min-width: 1200px) {
  #services .box {
    height: 400px
  }
}

#small_move {
  /* background-image: linear-gradient(#071952, #61A7BA); */
  background-color: white;
  color: #071952;
}

#large_move {
  /* background-image: linear-gradient(#071952, #61A7BA); */
  background-color: white;
  color: #071952;
}

#storage {
  /* background-image: linear-gradient(#071952, #61A7BA); */
  background-color: white;
  color: #071952;
}

#labor_only {
  /* background-image: linear-gradient(#071952, #61A7BA); */
  background-color: white;
  color: #071952;
}

.dropdown a:hover {
  background-color: transparent;
}

/* Reveal animation */
.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}

.active.animated-fade-up {
  animation: fade-up 0.5s ease-in;
}

.active.animated-fade-left {
  animation: fade-left 1s ease-in;
}

.active.animated-fade-right {
  animation: fade-right 1s ease-in;
}

@media (max-width: 991px) {
  .reveal {
    position: relative;
    opacity: 1;
  }

  .active.animated-fade-up {
    animation: none;
  }

  .active.animated-fade-left {
    animation: none;
  }

  .active.animated-fade-right {
    animation: none;
  }
}

/* All animations */
@keyframes fade-up {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

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

@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

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

@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

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

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down-small {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

@keyframes left-right {
  0% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(-5px);
  }
}

@keyframes right-left {
  0% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(10px);
  }
}

@keyframes scale {
  0% {
    transform: scale(1, 1);
  }

  100% {
    transform: scale(1.05, 1.05);
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

.navbar {
  background-color: #97FEED;
  max-width: 100rem;
  margin: 0 auto;
}

/* .navbar a {
  color: #071952;
} */

/* .navbar a:hover {
  color: #0B666A;
} */

/* .navbar .btn {
  color: #071952;
  border-color: #071952;
}

.navbar .btn:hover {
  background-color: #071952;
  color: white;
} */
/* 
.navbar .btn:focus {
  color: yellow;
  border-color: white
} */

/* .navbar .btn:active {
  background-color: red;
  color: white;
} */

.scrolled-down {
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;

}

.scrolled-up {
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}

/* Add shaddow after Y scroll */
.add-shadow {
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #97FEED;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  /* width: 100%; */
  min-height: 97vh;
  /* background: #f8f9fa; */
  padding-top: 100px;
  /* padding-bottom: 20px; */
  color: #071952;
}

#hero .card {
  background-color: transparent;
  border-color: #071952;
  color: #071952;
}

#cta button {
  background-color: transparent;
  border-color: #071952;
  color: #071952;
}

#cta .card {
  background-color: transparent;
  border-color: #071952;
  color: #071952;
}

@media (pointer: fine) {
  #cta button:hover {
    background-color: white;
  }

  #cta .card:hover {
    background-color: white;
  }
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 991px) {
  #hero .animated {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Explore
--------------------------------------------------------------*/

#story {
  background-color: #FEF8FB;
  color: #071952;
}

#explore1 {
  background-color: white;
  color: #071952;
}

#explore2 {
  background-color: white;
  color: #071952;
}

#explore3 {
  background-color: white;
  color: #071952;
}

#explore4 {
  background-color: white;
  color: #071952;
}

#explore5 {
  background-color: #F0FAFE;
  color: #071952;
}

#explore1 .animated {
  animation: left-right 2s ease-in-out infinite alternate-reverse both;
}

#explore2 .animated {
  animation: scale 5s ease-in-out infinite alternate-reverse both;
}

#explore3 .animated {
  animation: scale 5s ease-in-out infinite alternate-reverse both;
}

#explore4 .animated {
  animation: scale 5s ease-in-out infinite alternate-reverse both;
}

#explore5 .animated {
  animation: up-down-small 5s ease-in-out infinite alternate-reverse both;
}

#contact .animated {
  animation: left-right 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 991px) {
  #explore1 .animated {
    animation: none;
  }

  #explore2 .animated {
    animation: none;
  }

  #explore3 .animated {
    animation: none;
  }

  #explore4 .animated {
    animation: none;
  }

  #explore5 .animated {
    animation: none;
  }

  #contact .animated {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#home {
  background-color: #071952;
  /* color: black; */
}

#home p {
  color: white;
}

@media (pointer: fine) {
  #home i:hover {
    color: #97FEED;
  }

  #home a:hover {
    color: #97FEED;
  }
}

#home a {
  color: white;
}

#home #copyright {
  color: white;
}

#about {
  background-color: transparent;
  /* color: black; */
}

#about p {
  color: #071952;
}

#about a {
  color: #071952;
}

#about #copyright {
  color: #071952;
}

@media (pointer: fine) {
  #about i:hover {
    color: #0B666A;
  }

  #about a:hover {
    color: #0B666A;
  }
}