@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  background-color: #05172B;
}

/* Removing the Violet Rails auto-generated navbar */
body > .nav {
  display: none;
}

.story-heading-wrapper {
  z-index: 3;
  position: absolute;
  margin: auto;

}

.hero-text span:first-child {
  color: #F1FDFF;
}

.hero-text span:nth-child(2) {
  color: #1DCEF2;
}

.product-story-wrapper, .testimonial-story-wrapper, .call-to-action-wrapper {
  padding-bottom: 200px;
  z-index: 3;
}

.testimonial-logo-wrapper {
  width: auto;
  height: 100px;
}


/* animation css */
.story-wrapper {
  height: auto;
  width: 100%;
  object-fit: contain;
  z-index: 3;
}

.story {
  height: auto;
  width: 100%;
  object-fit: contain;
}

#lottie {
  height: 100%;
}

.indicator {
  position: relative;
} 

.indicator img {
  transform: rotate(90deg);
} 


/* animation css */

@media only screen and (min-width: 1100px) {
  /* desktop */    
  .hero-text span:nth-child(2) {
    font-size: 3.5rem;
  }
}

@media only screen and (min-width: 500px) and (max-width: 1100px) {
  /* tablet */
  .hero-text span:first-child {
    font-size: inherit;
  }
  
  .hero-text span:nth-child(2) {
    font-size: 3.5rem;
  }
}

@media only screen and (min-width: 100px) and (max-width: 500px) {
  /* mobile */
  .hero-text span:first-child {
    font-size: inherit;
  }
  
  .hero-text span:nth-child(2) {
    font-size: 2.2rem;
  }
}

/* loader */
#loader {
  position: absolute;
  top: 45vh;
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 8px;
  box-sizing: border-box;
  border: 32px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

/* hover animation on products */

.product-link-wrapper {
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.product-link-wrapper:hover {
  -webkit-filter: drop-shadow(0px 0px 20px #1DCEF2);
  filter: drop-shadow(0px 0px 20px #1DCEF2);
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  background: transparent;
}



/* chevron scroll icon */

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text {
  display: block;
  margin-top: 140px;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}


/* chevrons */
.chevron-1-home {
  transform: rotate(-90deg);
  left: 59%;
  top: 0%;
}

.chevron-2-home {
  transform: rotate(90deg);
  left: -14%;
  bottom: 0%;
}

.chevron-sm-1-home {
  transform: rotate(90deg);
  right: 61%;
  top: 0.2%;
}

.chevron-sm-2-home {
  transform: rotate(-90deg);
  left: 59%;
  bottom: 3%;
}

#public-body {
  background-color: #05172B;
}
body > div {
  position:relative;
}

.vertical-content-spacer {
  padding-top: 100px;
  padding-bottom: 100px;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif !important;
}

h5, h6, a, p, label, strong, small {
  font-family: 'Exo 2', sans-serif !important;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

.no-overflow-x {
  overflow-x:hidden;
  /* prevent the intro animation from going out of the screen */
}

.restarone-logo {
  height: auto;
}

.restarone-chevron {
  width: 55%;
  height: auto;
  position: absolute;
  z-index: 2;
}

.veneer {
  width: 100%;
  z-index: 1;
  position: absolute !important;
  left: 0;
  bottom: 0%;
}

/* glass effect on nav/footer */

.footer {
  z-index: 3;
  position: relative;
}

.extra-light-frosted-glass {
  background: rgb(158, 169, 180);
  opacity: 1;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.light-frosted-glass {
  background-color: rgba(255, 255, 255, .15);  
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(30px);
}

.frosted-glass {
  background-color: rgba(5, 23, 43, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.dark-frosted-glass {
  background: rgba(2, 15, 29, 0.8);
  backdrop-filter: blur(70px);
  -webkit-backdrop-filter: blur(70px);
}

/* bs button overrides */

.btn-outline-warning {
  color: white;
  outline-color: #8655E9 !important;
  font-weight: 700;
  border-color: #8655E9 !important;
}

.btn-outline-warning:hover {
  background-color: #8655E9 !important;
  border-color: #8655E9 !important;
}

.btn-cta {
  text-align: center;
  vertical-align: center;
}

/* for button primary/secondary hover effect start*/

.btn-primary {
  color: white;
  background-color: #8655E9 !important;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  z-index: 1;
  position: relative;
  padding: 12px 30px;
}

.btn-primary::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(78.92deg, #8655E9 0%, #1DCEF2 100%);
  border-radius: 5px;
  z-index: -1;
  transition: opacity 0.1s linear;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}


.btn-secondary {
  color: white;
  background-color: #1DCEF2 !important;
  font-weight: 700;
  border-radius: 5px;
  z-index: 1;
  border: none;
  position: relative;
  padding: 12px 30px !important;
}

.btn-secondary::before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(78.92deg, #1DCEF2 0%, #8655E9 100%);
  border-radius: 5px;
  z-index: -1;
  transition: opacity 0.1s linear;
  opacity: 0;
}

.btn-secondary:hover::before {
  opacity: 1;
}
/* for button primary/secondary hover effect end*/

/* typography */

h1 {
  font-weight: 800;
  color: white;
}

.text-primary {
  color: #F1FDFF !important;
}

.text-secondary {
  color: #1DCEF2 !important;
}

/* backgrounds */

.extra-dark-background {
  background-color: #05172B;
  position: relative;
}

.dark-background {
  background-color: #082847;
  position: relative;
}

.red-background {
  background-color: #F1FDFF ;
  position: relative;
}

/* input fields */

.input-main {
  background: none;
  border: none;
  background-color: #05172B;
  color: white;
}

.input-main:focus {
  background: none;
  border: 1px solid #1DCEF2;
  color: white;
}

/* containers */
.main-content-wrapper {
  position: relative;
  min-height: 100vh;
  /* clear the fixed navbar */
  padding-top: 65px;
}

@media (min-width: 1025px) {
  /* desktop styles */
  .restarone-logo {
    max-width: 200px;
  }
}


@media (min-width: 700px) and (max-width: 1025px) {
  /* small tablet styles */
  .restarone-logo {
    max-width: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1025px) {
  /* large tablet styles */
  .restarone-logo {
    max-width: 200px;
  }
}

@media (min-width: 374px) and (max-width: 700px) {
  /* large mobile styles */
  .restarone-logo {
    max-width: 180px;
  }
}

@media (min-width: 300px) and (max-width: 374px) {
  /* small mobile styles */
  .restarone-logo {
    max-width: 150px;
  }
}

/* bs navbar overrides */

.nav-link { 
  color: white !important; 
} 

.navbar-brand { 
  color: white !important; 
} 

.navbar-toggler {
  border: none;
  position: relative;
}

/* full size navbar expand */
.navbar-collapse.collapse {
  transition: height 0.2s;
}
.navbar-collapse.collapsing {
  height: 0 !important;
}
.navbar-collapse.collapse.in {
  max-height: none;
  height: 100vh;
}

.nav-item .currently-selected {
  font-weight: bolder;
  color: #1DCEF2 !important;
}

@media (min-width: 300px) and (max-width: 992px) {
  /* animated move navbar brand to center when navbar is expanded on small screens start */
  @keyframes navbar-brand-centering {
    from {
      transform: translate(-204%, -125%);
    }
    to {
      transform: translate(-50%, 50%);
    }
  }
  @keyframes navbar-brand-returning {
    from {
      transform: translate(-50%, 50%);
    }
    to {
      transform: translate(-204%, -125%);
    }
  }
  .navbar-brand-centered {
    position: absolute;
    left: 50%;
    top: 10%;
    animation-name: navbar-brand-centering;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
  }

  .navbar-brand-returned {
    position: absolute;
    left: 46%;
    top: 9%;
    animation-name: navbar-brand-returning;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
  }
  /* animated move navbar brand to center when navbar is expanded on small screens end */

  /* show full height navbar collapse*/
  .navbar .show {
    height: 100vh;
    touch-action: none;
    display: flex;
  }

  /* increase spacing between navbar links when full height navbar collapse is shown */
  .navbar-nav .nav-item {
    margin-bottom: 20px;
  }
}

.navbar-toggler:focus {
  outline: none !important;
}

.navbar-toggler div {
  background: linear-gradient(78.92deg, #1DCEF2 0%, #8655E9 100%);
  width: 20px;
  height: 5px;
  margin: 5px 0;
  transition: .25s ease-out;
}

.navbar-toggler.open div:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 4px;
}

.navbar-toggler.open div:nth-child(2) {
  transform: rotate(-45deg);
}

.navbar-brand {
  transition: .25s ease-in-out;
}

/* bs footer overrides */
.footer-custom {
  background-color: #05172B;
  color: white;
  text-align: center;
}