@font-face {
  font-family: Montserrat;
  src: url("Montserrat-VariableFont_wght.ttf");
}

header {
  text-align: center;
}
body {
  font-family: "Montserrat";
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, var(--background) 21px, transparent 1%)
      center,
    linear-gradient(var(--background) 21px, transparent 1%) center, #8fb3ff;
  /* background-size: 22px 22px; */
  animation: BodyDots 1s ease-in-out;
  -webkit-animation: BodyDots 1s ease-out;
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  -webkit-animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
  /* scroll-snap-type: y proximity; */
}
:root {

  --primary: #8fb3ff;
  --secondary: #001952;
  --accent: #f199bf;
  --text: #ffffff;
  --textb: #000;
  --background: #000714;
  --secondaryN: #EBF1FF;
  --backgroundN: #E8EDF8;
  --textN :#000714;

}
ul {
  list-style: none;
}
a {
  color: var(--text);
  text-decoration: none;
  transition: all 100ms linear;
}
a:hover {
  color: var(--primary);
}
h1 {
  font-size: 38px;
  font-weight: 300;
}
h4 {
  font-size: 20px;
  font-weight: 300;
}
p {
  font-size: 16px;
}
.psmall {
  font-size: 12px;
}
.flex {
  display: flex;
  flex-direction: row;
}

.hidden-fast {
  opacity: 0;
  -webkit-transition: all ease-in-out 0.5s;
  transition: all ease-in-out 0.5s;
}
.hidden-normal {
  opacity: 0;
  -webkit-transition: all ease-in-out 4.5s;
  transition: all ease-in-out 04.5s;
}
.hidden-slow {
  opacity: 0;
  -webkit-transition: all ease-in-out 3.5s;
  transition: all ease-in-out 3.5s;
}

.show {
  opacity: 1;
}
.primary-header {
  width: 100%;
  flex-direction: row;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: var(--background);
  backdrop-filter: blur(1em);
  -webkit-backdrop-filter: blur(1em);
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px -5px 13px 1px;
  /* position: relative; */
  animation: Nav-Down 2500ms ease-in;
  /* animation-delay: 2s; */

}
.img-header {
    /* position: absolute; */
    margin: 0.2%;
    width: 150px;
    border-radius: 15px;
    margin-left: 20px;
    transition: all 500ms ease;
    z-index: 1001;
}

.primary-navigation {
  align-items: center;
  margin-right: 20px;
  list-style: none;
  width: fit-content;
  padding: unset;
  gap: 3rem;
}
.primary-navigation > li {
  font-size: 18px;
}

.mobile-connect {
  display: none;
}
/* Styles for the dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* left: -60%; */
  background-color: var(--background);
  min-width: fit-content;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border-radius: 0px 0px 25px 25px;
}

.dropdown-content a {
  color: var(--text);
  font-weight: 500;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  gap: 5px;
  transition: 500ms all linear;
  font-size: 16px;
}

.dropdown-content a:hover {
  color: var(--primary);
}
.dropdown:hover .dropdown-content {
  /* background-color: var(--primary); */
  display: block;

  border-radius: 0px 0px 25px 25px;
}
.text-effect {
  /* font-size: 38px; */
  background: linear-gradient(120deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-content {
  scroll-snap-align: start;
  margin: 0 auto;
  padding: 20px;
}
/* Add some spacing between sections */
.main-content > div:not(:first-child) {
  margin-bottom: 100px;
}
/* Style blocks. Background blur and border radius + content padding */
.main-content > div {
  margin-top: 2%;

  border-radius: 55px;
  padding: 40px;
  box-shadow: 0px 0px 20px 1px;
  transition: all 500ms ease-in;
}

.main-content .hero {
  margin-top: 10%;
  box-shadow: none;
  height: 200px;
}

.hero-content {
  margin: auto;
}
.hero-content h1 {
  line-height: 0;
}
.hero-content > .text-effect {
  font-size: 38px;
  /* letter-spacing: 35px; */
  display: inline-block;
  /* width: 300px; */
  /* -webkit-animation: PortalText 2s infinite linear;
  animation: PortalText 2s infinite linear; */
  cursor: unset;
}

@keyframes PortalText {
  0% {
    background: linear-gradient(0deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  10% {
    background: linear-gradient(30deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  20% {
    background: linear-gradient(60deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  30% {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  40% {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  50% {
    background: linear-gradient(150deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  60% {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  70% {
    background: linear-gradient(210deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  80% {
    background: linear-gradient(240deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  90% {
    background: linear-gradient(270deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  95% {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  100% {
    background: linear-gradient(360deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}




.btn {
  color: var(--textb) !important;
  text-decoration: none;
  padding: 5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: #e8e8e8;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
 
}
.btn:hover {
  outline: 2px solid #e8e8e8;
  background: transparent;
  color: var(--text) !important;
}
.btn:active {
  box-shadow: none;
}

/*  */
/*  */
/*  */
/*  */
.main-content > .hero-rework {
  box-shadow: unset !important;

}

.hero-rework {
  display: grid;
  gap: 1.5rem;
  grid-auto-columns: 1fr;
  /* grid-auto-rows: 0.5fr; */
  grid-template-areas: 
  "one"
  "two"
  "three"
  "four"
  "five"
  "six"
  "seven";
  margin-inline: auto;
  width: min(95%, 110rem);
  /* height: 100vh; */
  margin-bottom: 5%;
}
.hero-rework:hover {
  scale: 1;
}
.bento-card {
  /* height: fit-content; */
  position: relative;
  padding: 1.5rem;
  border-radius: 3rem;
  transition: all 0.5s;
  flex-direction: column;
  text-align: initial;
  backdrop-filter: blur(0.08em);
  -webkit-backdrop-filter: blur(0.08em);
}
.bento-card::before {
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-radius: 3em;
  transition: all 0.5s;
}
.bento-card:hover {
  box-shadow: none !important;
  z-index: 5;
  /* scale: 1.05; */
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-card:nth-child(1) {
  /* Welcome */
  grid-area: one;
}
.bento-card:nth-child(1):hover,.bento-card:nth-child(7):hover {
  scale: 1;
}


.bento-card:nth-child(2) {
  /* EVR */
  grid-area: two;
  box-shadow: 0px 0px 0px 5px #0188cb;
}
.bento-card:nth-child(2)::before {
  background: linear-gradient(
    -45deg,
    #004aad 10%,
    #bab164 100%
  );
}
.bento-card:nth-child(3) {
  /* reDevice */
  box-shadow: 0px 0px 0px 5px #002b17;
  grid-area: three;
}
.bento-card:nth-child(3)::before{
  background: #002b17;
}
.bento-card:nth-child(4) {
  /* Weather IO */
  box-shadow: 0px 0px 0px 5px #c9a7ae;
  grid-area: four;
}
.bento-card:nth-child(4) img {
  width: 90px;
}
 .bento-card:nth-child(4)::before {
    background: linear-gradient(
    -45deg,
    #27395A 10%,
    #d56590 100%
  );
}
.bento-card:nth-child(5) {
  /* Recommendator */
  grid-area: five;
  box-shadow: 0px 0px 0px 5px #002b17;
}
.bento-card:nth-child(5)::before {
  background:#002b17 ;
}
.bento-card:nth-child(6) {
  /* Me */
  grid-area: six;
  box-shadow: 0px 0px 0px 5px var(--accent);
}
.bento-card:nth-child(6)::before {
  background: linear-gradient(120deg, var(--primary), var(--accent));
}
.bento-card:nth-child(7) {
  /* More soon */
  grid-area: seven;
  text-align: center;
  font-size: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card:nth-child(7) i {
  position: absolute;
  left: 40%;
  top: 60%;
}
.bento-card:nth-child(7) i:nth-of-type(4) {
  position: absolute;
  top: 54%;
  opacity: 0;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 100ms linear;
  z-index: 5;
}
.bento-card:nth-child(7) i:nth-of-type(2) {
  position: absolute;
  
}
.bento-card:nth-child(7) i:nth-of-type(3) {
  position: absolute;
  
}
.bento-card:nth-child(7):hover i:nth-of-type(1),.bento-card:nth-child(7):hover  i:nth-of-type(2),.bento-card:nth-child(7):hover  i:nth-of-type(3) {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bento-card:nth-child(7):hover  i:nth-of-type(2) {
  animation: arrow-down2 2s linear infinite;
  /* animation-delay: 750ms; */
}
.bento-card:nth-child(7):hover  i:nth-of-type(3) {
  animation: arrow-down3 2s linear infinite;
  animation-delay: 1000ms;
}
.bento-card:nth-child(7):hover i:nth-of-type(4) {
  opacity: 1;
}


@keyframes arrow-down2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}
@keyframes arrow-down3 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(35px);
  }
}
.bento-card img {
  width: 150px;
}
.bento-card .flex {
  flex-direction: row;
  align-items: center;
}


.rating {
  gap: 0.5rem;
  align-items: center;
}

/*  */
/*  */
/*  */

.tall {
  height: 100%;
}

.hero-text p {
  font-size: 30vh;
  margin: auto;
  font-weight: 600;
  line-height: 0.9;
}
.hero-text > p {
  opacity: 1;
}

.hero-names {
  height: 100vh;
  padding: 5% 5% 0% 5%;
}

.toms {
  /* left: 12%; */
  animation: NameToms 1s ease-out;
  -webkit-animation: NameToms 1s ease-out;
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  -webkit-animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}
.ernests {
  /* top: 20%; */
  /* left: 30%; */
  animation: NameErnests 1s ease-out;
  -webkit-animation: NameErnests 1s ease-out;
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  -webkit-animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}
.velme {
  /* top: 40%; */
  /* left: 45%; */
  animation: NameVelme 1s ease-out;
  -webkit-animation: NameVelme 1s ease-out;
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  -webkit-animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}
@keyframes BodyDots {
  0% {
    background: var(--background);
    background-size: 22px 22px;
  }
  1% {
    background: linear-gradient(90deg, var(--background) 21px, transparent 1%)
      center,
    linear-gradient(var(--background) 21px, transparent 1%) center, var(--background);
    background-size: 22px 22px;
  }
  100% {
    background: linear-gradient(90deg, var(--background) 21px, transparent 1%)
      center,
    linear-gradient(var(--background) 21px, transparent 1%) center, #8fb3ff;
    background-size: 22px 22px;
  }
}



@keyframes NameToms {
  20% {
    opacity: 0;
  }
  100% {
    transform: translateX(1200px);
    opacity: 0;
  }
}
@keyframes NameErnests {
  25% {
    opacity: 0;
  }
  100% {
    transform: translateX(1400px);
    opacity: 0;
  }
}
@keyframes NameVelme {
  30% {
    opacity: 0;
  }
  100% {
    transform: translateX(1600px);
    opacity: 0;
  }
}

.intro-text {
  margin: auto auto 20% auto;
  text-align: center;
  scroll-snap-align: center;
}
.intro-text span {
  font-size: 27rem;
  line-height: 0.6;
}
@keyframes slide-in {
  0% {
    transform: translateY(340px);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slidedown {
  0% {
    /* height: 100%; */
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    /* height: 0%; */
    opacity: 0;
  }
  
}
span[data-word="Ernests"] {
  margin-left: 5%;
}
span[data-word="Velme"] {
  margin-left: 20%;
}
.toms span[data-char="T"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1s;
  animation-fill-mode: forwards;
}
.toms span[data-char="o"]{
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.1s;
  animation-fill-mode: forwards;
}
.toms span[data-char="m"]{
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
}
.toms span[data-char="s"]{
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.3s;
  animation-fill-mode: forwards;
}

.ernests span[data-char="E"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="r"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.1s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="n"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="e"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.3s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="s"][style*="--char-index: 4"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.4s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="t"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.45s;
  animation-fill-mode: forwards;
}
.ernests span[data-char="s"][style*="--char-index: 6"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}

.velme span[data-char="V"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1s;
  animation-fill-mode: forwards;
}
.velme span[data-char="e"][style*="--char-index: 1"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.1s;
  animation-fill-mode: forwards;
}
.velme span[data-char="l"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
}
.velme span[data-char="m"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.3s;
  animation-fill-mode: forwards;
}
.velme span[data-char="e"][style*="--char-index: 4"] {
  opacity: 0;
  animation: slide-in 1s cubic-bezier(0, 0, 0.53, 0.91);
  animation-delay: 1.4s;
  animation-fill-mode: forwards;
}

.name.toms::before,.name.ernests::before,.name.velme::before {
  position: absolute;
  z-index: 2;
  content: "";
  top: 100%;
  width: 100%;
  height: 400px;
  background: var(--background);
}

@keyframes Nav-Down {
  from {
    transform: translateY(-100px);
  } 
  to {
    transform: translateY(0px);
  } 
}


/* Large Screens */
@media (min-width: 1200px) {
  .hero-rework {
    scale: unset !important;
    grid-template-areas: 
    "two three six five"
    "two one one five"
    "four four seven five"
    ;
  }
}

@media (max-width: 1199px) {
  .main-content > div {
    padding: 20px;
  }
  .bento-card:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hero-rework {
    scale: unset !important;
    grid-template-areas: 
    "two two six" 
    "five one one"
    "four four three"
    "seven seven seven"
  }
}
/* Laptop Screens or non full HD displays */
@media screen and (min-width: 1365px) and (max-width: 1367px)
              and (min-height: 767px) and (max-height: 769px) {
  .main-content > div {
    padding: 10px;
  }
  .bento-card:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }              
  .hero-rework {
    scale: unset !important;
    grid-template-areas: 
    "two two six" 
    "three one one"
    "four four five"
    "seven seven seven"
  }
  .hero-text {
    margin-bottom: 10%;
  }
  .hero-names {
    margin-top:0;
    left: 10%;
    
  }
  .toms {
    left: 2%;
    animation: NameToms 1s ease-out;
    -webkit-animation: NameToms 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .ernests {
    top: 35%;
    left: 10%;
    animation: NameErnests 1s ease-out;
    -webkit-animation: NameErnests 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .velme {
    top: 70%;
    left: 35%;
    animation: NameVelme 1s ease-out;
    -webkit-animation: NameVelme 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .bento-card:nth-child(7) i {
    position: absolute;
    left: 50%;
    top: 60%; 
  }
}
/* 1080p Screens */
@media screen and (min-width: 1919px) and (max-width: 1921px)
              and (min-height: 1079px) and (max-height: 1081px) {
  .hero-text {
    margin-bottom: 10%;
  }
  .hero-names {
    left: 15%;
    
  }
  .toms {
    left: 2%;
    animation: NameToms 1s ease-out;
    -webkit-animation: NameToms 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .ernests {
    top: 35%;
    left: 10%;
    animation: NameErnests 1s ease-out;
    -webkit-animation: NameErnests 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .velme {
    top: 70%;
    left: 35%;
    animation: NameVelme 1s ease-out;
    -webkit-animation: NameVelme 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}
@media (max-width: 450px) {
  h1 {
    text-align: center;
    font-size: 35px;
    font-weight: normal;
  }
  h2 {
    text-align: initial;
    font-size: 30px;
  }
  h3 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }
  .main-logo {
    width: 250px;
  }
  .primary-header img {
    margin-left: unset !important;
  }
  .primary-header {
    padding-top: 5px;
  }
  .primary-navigation {
    padding-top: 50%;
    align-items: flex-end;
    flex-direction: column;
    gap: 0rem;
    position: fixed;
    top: -25px;
    left: 500px;
    width: 100%;
    height: 110%;
    -webkit-backdrop-filter: blur(00.5rem);
    backdrop-filter: blur(00.5rem);
    transition: all ease-in-out 0.5s;
    z-index: 1001;

  }
  .primary-navigation a {
    font-size: 34px;
    text-align: end;
  }
  .primary-navigation ul {
    margin-top: 10% !important;
  }
  .primary-navigation li {
    font-size: 30px !important;
    flex-direction: row;
    align-items: center;
    margin: 0% 10% 5% 0%;
  }

  .flex {
    flex-direction: column;
  }

  .primary-navigation.active {
    left: 0;
  }

  .dropdown {
    display: none;
  }

  .mobile-connect {
    display: flex;
    flex-direction: column !important;
    gap: 1rem;
    text-align: center;
  }
  .mobile-connect i {
    padding-right: 20px;
  }

  .fa-angle-double-left,.fa-angle-double-right {
    display: block !important;
    position: fixed;
    background-color: transparent;
    border: none;
    font-size: 3rem !important;
    z-index: 1002;
    margin: 1%;
    color: var(--evr_text);
    top: 1%;
    left: 82%;
    margin-right: 5%;
    padding: 0;
    cursor: pointer;
  }

  .main-content {
    margin: 10% auto;
    padding: unset;
    width: 100%;
    border-radius: 0;
  }
  .main-content > div,
  .main-content > div:not(:first-child) {
    box-shadow: none;
    border-radius: 0;
    background: none;
    margin: 0;
  }
  .primary-header {
    margin: auto;
    max-width: 100%;
    animation: none;
    
  }
  .heading {
    font-size: 24px;
  }
  .hero {
    margin-top: 25% !important;
  }
  .card-small {
    width: unset;
  }
  .card-small.inner {
    width: 100%;
    height: 250px;
    margin-bottom: 10%;
  }
  .second-content {
    width: 100%;
  }
  .projects, .projects:hover {
    border-radius: 0;
    box-shadow: unset;
  }
  .hero-rework {
    margin-top: 40% !important;
    padding: 10px !important;
    scale: unset !important;
    grid-template-areas: 
    "one"
    "two"
    "three"
    "four"
    "five"
    "six"
    "seven"
    ;
  }
  .intro-text {
    display: none;
    margin: auto auto 20% auto;
    text-align: center;
    scroll-snap-align: center;
  }
  .intro-text span {
    font-size: 7rem;
  }
  .hero-text p {
    font-size: 5rem;
  }
  .hero-text {
    /* margin: 40% 0% 10% 0%; */
    /* margin-bottom: 10%; */
    /* margin-left: 15%; */
  }
  .hero-names {
    margin: 85% 0% 10% 0%;
    /* left: 15%; */
    
  }
  .toms {
    top: 5%;
    left: 2%;
    animation: NameToms 1s ease-out;
    -webkit-animation: NameToms 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  .ernests {
    top: 20%;
    left: 2%;
    animation: NameErnests 1s ease-out;
    -webkit-animation: NameErnests 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  
  .velme {
    top: 40%;
    left: 2%;
    animation: NameVelme 1s ease-out;
    -webkit-animation: NameVelme 1s ease-out;
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    -webkit-animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
  span[data-word="Ernests"] {
    margin-left: 0%;
  }
  span[data-word="Velme"] {
    margin-left: 0%;
  }
}