@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

:root {
  --cerulean-blue: #0173e3;
  --pumpkin: #e37101;
  --dark-sky-blue: #4293e3;
  --bluey-grey: #869db4;
  --white: #ffffff;
  --blueish-black: #002e5a;
}

@font-face {
  font-family: Hero;
  src: url("../fonts/ProximaNovaFont.otf") format("opentype");
}

body {
  height: 100vh;
}

.logo {
  height: 32px;
  width: auto;
}

.hero {
  font-family: "Hero", Georgia, sans-serif;
  padding: 0;
  margin-top: 4rem;
}

.hero svg {
  width: 80%;
  height: 80%;
}

.hero .title {
  color: var(--cerulean-blue);
  font-size: 32px;
  line-height: 1.2;
  font-weight: bold;
}

.hero .tagline {
  color: var(--dark-sky-blue);
  font-size: 14px;
  line-height: 16px;
}

.nav-item {
  overflow: hidden;
}

.nav-item:first-child {
  margin-left: 0 !important;
}

.nav-item:last-child {
  margin-right: 0 !important;
}

.nav-item .nav-link {
  padding: 0;
}

.nav-link svg {
  fill: var(--cerulean-blue);
  width: 32px;
  height: 32px;
}

.nav-link .nav-title {
  line-height: 1;
}

.nav-link:hover svg,
.nav-item .nav-link.active svg {
  fill: var(--cerulean-blue);
}

.nav-item .nav-link:hover .nav-title,
.nav-item .nav-link.active .nav-title {
  background-color: var(--cerulean-blue);
  color: var(--white);
}

.category-wrapper {
  position: relative;
  z-index: 1;
}

.search-wrapper {
  background-color: var(--cerulean-blue);
}

.search-panel {
  background-color: var(--white);
  height: 62px;
  font-family: "Hero", Georgia, sans-serif;
  overflow: hidden;
}

.search-panel .icon {
  width: 16px;
  height: 16px;
  fill: var(--blueish-black);
}

.search-panel input {
  border-width: 0px;
  outline: none;
  color: var(--blueish-black);
}

.input::placeholder {
  color: var(--bluey-grey) !important;
}

.search-wrapper .btn-primary {
  background-color: var(--pumpkin);
  border-color: var(--pumpkin);
  color: var(--white);
  width: 8rem;
}

.wave-bg {
  flex-grow: 1;
  margin-top: -5px;
  background-color: var(--cerulean-blue);
}

.waves {
  position: relative;
  width: 100%;
  height: 80px;
  min-height: 40px;
  /* margin-bottom: -7px; Fix for safari gap */
  max-height: 150px;
  padding: 0;
}

.waves-section {
  overflow: hidden;
}

/* Animation */

.parallax > use {
  animation: move-forever 50s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 17s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 20s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 23s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 30s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Media Queries */

/* Small */
@media (min-width: 576px) {
  .nav-link svg {
    width: 40px;
    height: 40px;
  }
}

/* Medium */
@media (min-width: 768px) {
  .hero svg {
    width: 80%;
    height: 80%;
  }

  .hero .title {
    font-size: 42px;
    line-height: 48px;
  }


  .nav-item,
  .nav-link {
    width: 125px;
    height: 125px;
    border-radius: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid var(--cerulean-blue);
    background-color: var(--white);
  }

  .category-wrapper {
    position: absolute;
  }

  .nav-item {
    width: auto !important;
    box-shadow: 0px 7px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  }

  .nav-link svg {
    width: 48px;
    height: 48px;
    fill: var(--cerulean-blue);
  }

  .nav-link .nav-title {
    border-radius: 0;
  }

  .nav-item .nav-link:hover .nav-title,
  .nav-item .nav-link:active .nav-title {
    background-color: transparent;
    color: var(--white);
  }

  .nav-item .nav-link:hover,
  .nav-item .nav-link.active {
    background-color: var(--cerulean-blue);
    color: var(--white);
  }

  .nav-link:hover svg,
  .nav-item .nav-link.active svg {
    fill: var(--white);
  }

  .waves {
    height: 15vh;
  }
}

.oopsModal,
.amountSuccess,
.wishlistSuccess {
  width: 100%;
  position: relative;
  text-align: center;
  border-radius: 30px;
}
.oopsModal:before,
.amountSuccess:before,
.wishlistSuccess:before {
  content: '';
  width: 60px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/RightRectBackground.svg);
  background-size: auto;
  background-position: left -40px;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}
.oopsModal h4,
.amountSuccess h4,
.wishlistSuccess h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.oopsModal h4 img,
.amountSuccess h4 img,
.wishlistSuccess h4 img {
  max-width: 50px;
  margin-right: 15px;
}
.oopsModal p,
.amountSuccess p,
.wishlistSuccess p {
  font-size: 16px;
  line-height: 26px;
}
.oopsModal a,
.amountSuccess a,
.wishlistSuccess a {
  background-color: #0173e3;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 15px;
  border-radius: 30px;
  min-width: 80px;
  margin-bottom: 15px;
  text-decoration: none;
}
.oopsModal a:hover,
.amountSuccess a:hover,
.wishlistSuccess a:hover,
.oopsModal a:focus,
.amountSuccess a:focus,
.wishlistSuccess a:focus {
  color: #fff;
}
/* large */
@media (min-width: 992px) {
  .logo {
    height: 45px;
    width: auto;
  }

  .hero svg {
    width: 100%;
    height: 100%;
  }

  .hero .title {
    font-size: 50px;
    line-height: 1.4;
    font-weight: 600;
  }

  .hero .tagline {
    font-size: 16px;
    line-height: 1.2;
  }

  .nav-item,
  .nav-link {
    width: 125px;
    height: 125px;
    border-radius: 100%;
  }

  .nav-link svg {
    width: 48px;
    height: 48px;
    fill: var(--cerulean-blue);
  }

  .search-panel {
    height: 62px;
  }

  .search-panel .icon {
    width: 24px;
    height: 24px;
  }

  .search-panel input {
      font-size: 18px;
  }
}

/* xl */
@media (min-width: 1200px) {
  .hero .title {
    font-size: 52px;
    line-height: 1.4;
    font-weight: 900;
  }

  .hero .tagline {
    font-size: 17px;
    line-height: 18px;
  }
}

/* xxl */
@media (min-width: 1400px) {
  .hero-content {
    margin-bottom: 6rem;
  }
}
