
@font-face {
  font-family: 'neon_80sregular';
  src: url('./fonts/neon-webfont.woff2') format('woff2'),
       url('./fonts/neon-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

:root {
  --color-primary: #f890e7;
  --color-secondary: #0bd3d3;
  --color-tertiary:  #ffbb00;
  --color-primary-darker: #fd42de;
  --color-primary-darkest: #fd424b;
  --gradient-primary: linear-gradient(to top left, #f890e7,#0bd3d3);
  --gradient-secondary: linear-gradient(to top left, #ffb003, #ffcb03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #fff;
  line-height: 1.9;
  background-color: #070707;
  background-image: url(./img/background.jpg);
  /* background-repeat: no-repeat; */
  background-size: fill;
  background-clip: inherit;
}

/* GENERAL ELEMENTS */
.section {
  padding: 15rem 3rem;
  /* border-top: 1px solid #ddd; get rid after */

  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.section__title {
  max-width: 80rem;
  margin: 0 auto 8rem auto;
}

.section__description {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__header {
  font-size: 4rem;
  line-height: 1.3;
  font-weight: 500;
}

.btn {
  display: inline-block;
  background-color: var(--color-primary);
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background-color: var(--color-secondary);
}

.btn--text {
  display: inline-block;
  background: none;
  font-size: 1.7rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--color-primary);
  border: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

p {
  color: rgb(219, 219, 219);
}

button:focus {
  outline: none;
}

img {
  transition: filter 0.5s;
}

.lazy-img {
  filter: blur(20px);
}

/* NAVIGATION */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  width: 100%;
  padding: 0 6rem;
  z-index: 100;
}

/* nav and sticky class at the same time */
.nav.sticky {
  position: fixed;
  height: 6rem;
  width:100%;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav__logo {
  height: 3rem;
  transition: all 0.3s;
  filter: invert(85%)
   sepia(46%)
   saturate(1219%)
   hue-rotate(275deg)
   brightness(100%)
   contrast(99%)
   opacity(80%)
   drop-shadow(14px 14px 0 #0bd3d3)
   drop-shadow(-14px 14px 0 #fff);
}

/* .logo__title {
  position: relative;
  font-size: 8rem;
  font-weight: 400;
  color: white;
  transition: all 0.3s;
  text-decoration: none;
} */

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav__item {
  margin-left: 4rem;
}

.nav__link:link,
.nav__link:visited {
  font-size: 1.7rem;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}

.nav__link--btn:link,
.nav__link--btn:visited {
  padding: 0.8rem 2.5rem;
  border-radius: 3rem;
  background-color: var(--color-primary);
  color: #222;
}

.nav__link--btn:hover,
.nav__link--btn:active {
  color: inherit;
  background-color: var(--color-secondary);
  color: #333;
}

/* HEADER */
.header {
  padding: 0 3rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__title {
  flex: 1;

  max-width: 115rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  row-gap: 3rem;
  align-content: center;
  justify-content: center;

  align-items: start;
  justify-items: start;
  transform: translateY(8rem);
}

h1 {
  font-family: 'neon_80sregular';
  font-size: 5.0rem;
  line-height: 1.35;
  font-style: italic;
  color: #fff;
  animation: headerflicker 10.5s infinite alternate;
}

h1::-moz-selection {
  color: var(--primary-color);
}

h1::selection {
  color: var(--color-primary);
}

h1:focus {
  outline: none;
}

@keyframes headerflicker {

  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {

      text-shadow:
          -0.2rem -0.2rem 1rem #fff,
          0.2rem 0.2rem 1rem #fff,
          0 0 2rem var(--color-primary),
          0 0 4rem var(--color-primary),
          0 0 6rem var(--color-primary),
          0 0 8rem var(--color-primary),
          0 0 10rem var(--color-primary);
  }

  20%, 24%, 55% {
      text-shadow: none;
      box-shadow: none;
  }
}

/* Animate neon flicker */
@keyframes flicker {

    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {

        text-shadow:
            -0.2rem -0.2rem 1rem #fff,
            0.2rem 0.2rem 1rem #fff,
            0 0 2rem var(--color-primary),
            0 0 4rem var(--color-primary),
            0 0 6rem var(--color-primary),
            0 0 8rem var(--color-primary),
            0 0 10rem var(--color-primary);

        box-shadow:
            0 0 .5rem #fff,
            inset 0 0 .5rem #fff,
            0 0 2rem var(--color-secondary),
            inset 0 0 2rem var(--color-secondary),
            0 0 4rem var(--color-secondary),
            inset 0 0 4rem var(--color-secondary);
    }

    20%, 24%, 55% {
        text-shadow: none;
        box-shadow: none;
    }
}

h4 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
}

.header__img {
  width: 100%;
  height: 100%;
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  transform: translateY(-10rem) translateX(4rem);
  transform: rotate(10deg);
  filter: invert(100%)
   opacity(100%)
   brightness(200%)
   contrast(100%)
   blur(1.35px);
  text-shadow: 5px 5px 10px white;

}

.highlight {
  position: relative;
  font-family: 'neon_80sregular';
  font-weight: 50;
  font-size: 10rem;
  font-style: oblique;
  line-height: 1.65;
  transform:skew(25deg);
  animation: headflicker 10.5s infinite alternate;
}

.highlight::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* z-index: -1; */
  opacity: 1;
  transform: scale(1.10, 1.3) skewX(-15deg);
  /* background-image: var(--gradient-primary); */
  animation: flicker 10.5s infinite alternate;
}

.btn--text.btn--scroll-to {
  transform: translateY(-20rem);
}

.slogan {
  transform: translateY(-8rem);
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 0 12rem;
}

.features__img {
  width: 100%;
}

.features__feature {
  align-self: center;
  justify-self: center;
  width: 70%;
  font-size: 1.5rem;
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  height: 5.5rem;
  width: 5.5rem;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.features__icon svg {
  height: 2.5rem;
  width: 2.5rem;
  fill: var(black);
}

.features__header {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* OPERATIONS */
.operations {
  max-width: 100rem;
  margin: 12rem auto 0 auto;

  background-color: #fff;
}

.operations__tab-container {
  display: flex;
  justify-content: center;
}

.operations__tab {
  margin-right: 2.5rem;
  transform: translateY(-50%);
}

.operations__tab span {
  margin-right: 1rem;
  font-weight: 600;
  display: inline-block;
}

.operations__tab--1 {
  background-color: var(--color-secondary);
}

.operations__tab--1:hover {
  background-color: var(--color-primary-darker);
}

.operations__tab--2 {
  background-color: var(--color-primary);
}

.operations__tab--2:hover {
  background-color: var(--color-primary-darker);
}

.operations__tab--3 {
  background-color: var(--color-tertiary);
  margin: 0;
}

.operations__tab--3:hover {
  background-color: var(--color-primary-darker);
}

.operations__tab--active {
  transform: translateY(-66%);
}

.operations__content {
  display: none;
  font-size: 1.7rem;
  padding: 2.5rem 7rem 6.5rem 7rem;
}

.operations__content--active {
  display: grid;
  grid-template-columns: 7rem 1fr;
  column-gap: 3rem;
  row-gap: 0.5rem;
}

.operations__header {
  font-size: 2.25rem;
  color: black;
  font-weight: 500;
  align-self: center;
}

.operations__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
}

.operations__icon svg {
  height: 2.75rem;
  width: 2.75rem;
}

.operations__content p {
  grid-column: 2;
}

.operations__icon--1 {
  background-color: var(--color-primary-darker);
}
.operations__icon--2 {
  background-color: var(--color-primary-darker);
}
.operations__icon--3 {
  background-color: var(--color-primary-darker);
}
.operations__icon--1 svg {
  fill: var(--color-secondary);
}
.operations__icon--2 svg {
  fill: var(--color-secondary);
}
.operations__icon--3 svg {
  fill: var(--color-secondary);
}

.operations__text {
  color: #666;
}

/* SLIDER */
.slider {
  max-width: 100rem;
  height: 50rem;
  margin: 0 auto;
  position: relative;
  background: rgba(5, 5, 5, 0.1);
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur( 2.0px );
  -webkit-backdrop-filter: blur( 2.0px );
  border-radius: 2px;

  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50rem;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s;
}

.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;

  border: none;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  color: #333;
  border-radius: 50%;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;
}

.slider__btn--left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 6%;
  transform: translate(50%, -50%);
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dots__dot {
  border: none;
  background-color: #b9b9b9;
  opacity: 0.7;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  margin-right: 1.75rem;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot:last-child {
  margin: 0;
}

.dots__dot--active {
  background-color: #fff;
  /* background-color: #888; */
  opacity: 1;
}

/* TESTIMONIALS */
.testimonial {
  width: 65%;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -5.7rem;
  left: -6.8rem;
  line-height: 1;
  font-size: 20rem;
  font-family: inherit;
  color: var(--color-primary);
  z-index: -1;
}

.testimonial__header {
  font-size: 2.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.testimonial__text {
  font-size: 1.7rem;
  margin-bottom: 3.5rem;
  color: #fff;
}

.testimonial__author {
  margin-left: 3rem;
  font-style: normal;

  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 2rem;
}

.testimonial__photo {
  grid-row: 1 / span 2;
  width: 6.5rem;
  border-radius: 50%;
}

.testimonial__name {
  font-size: 1.7rem;
  font-weight: 500;
  align-self: end;
  margin: 0;
}

.testimonial__location {
  font-size: 1.5rem;
}

.section__title--testimonials {
  margin-bottom: 4rem;
}

/* SIGNUP */
.section--sign-up {
  /* background-color: #37383d; */
  border-top: none;
  /* border-bottom: 1px solid #444; */
  text-align: center;
  padding: 10rem 3rem;
  padding: 0 3rem;
  height: 100vh;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.section--sign-up .section__title {
  flex: 1;

  max-width: 100vw;
  display: grid;
  grid-template-columns: 3fr 3fr;
  row-gap: 3rem;
  align-content: center;
  justify-content: center;

  align-items: space-around;
  justify-items: space-around;
  transform: translateY(8rem);
}

.left_block {
  z-index: 2;
}

.right__block {
  z-index: -2;
}

.gbg2__img {
  width: 110rem;
  height: 110rem;
  transform: translateY(-12rem) translateX(-10rem);
  /* grid-column: 3 / 3;
  grid-row: 1 / span 1; */
  /* z-index: -10; */
  /* filter: invert(100%)
   opacity(100%)
   brightness(200%)
   contrast(100%)
   blur(1.35px); */
  /* text-shadow: 5px 5px 10px white; */
}


.section--sign-up .section__header {
  margin-top: 15rem;
  /* margin-left: 10rem; */
  color: #fff;
  text-align: center;
  z-index: 2;
}

.section--sign-up .section__title {
  margin-top: 6rem;
  z-index: 2;
  /* margin-bottom: 6rem; */
}

.section--sign-up .btn {
  margin-top: 5rem;
  font-size: 1.9rem;
  padding: 2rem 5rem;
}

/* FOOTER */
.footer {
  padding: 10rem 3rem;
  background-color: #232427;
}

.footer__nav {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
}

.footer__item {
  margin-right: 4rem;
}

.footer__link {
  font-size: 1.6rem;
  color: #eee;
  text-decoration: none;
}

.footer__logo {
  height: 4rem;
  display: block;
  margin: 0 auto;
  margin-bottom: 5rem;
  transition: all 0.3s;
  filter: invert(85%)
   sepia(46%)
   saturate(1219%)
   hue-rotate(275deg)
   brightness(100%)
   contrast(99%)
   opacity(80%)
   drop-shadow(14px 14px 0 #0bd3d3)
   drop-shadow(-14px 14px 0 #fff);
}

.footer__copyright {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
}

.footer__copyright .footer__link {
  font-size: 1.4rem;
}

/* MODAL WINDOW */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 98vh;
  background-color: black;
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
}

.account__dash {
  height: 100%;
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.dashboard {
  width: 100%
}

.modal__header {
  font-size: 3.25rem;
  margin-bottom: 4.5rem;
  line-height: 1.5;
}

.modal__form {
  margin: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 2.5rem;
}

.modal__form label {
  font-size: 1.7rem;
  font-weight: 500;
}

.modal__form input {
  font-size: 1.7rem;
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}

.modal__form button {
  grid-column: 1 / span 2;
  justify-self: center;
  margin-top: 1rem;
}

.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}

/* COOKIE MESSAGE */
.cookie-message {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100vw;
  z-index: 2;
  /* margin-right: 275px; */
  background-color: white;
  color: #bbb;
  font-size: 1.5rem;
  font-weight: 400;
}
