:root {
  --main-cyan: #43CCBD;
  --main-pink: #F530C5;
  --main-black: #101C21;
  --main-white: #E8E8E8;

  --titles: 2.25rem;
  --bodycopy: 1.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--main-black);
  line-height: 1.25;
}

::selection {
  background-color: var(--main-cyan);
}

.header--wordlogo {
  color: var(--main-cyan);
  font-family: "Deuterium-Variable";
  font-size: 2.5rem;
  font-variation-settings: 'wght'630;
}

.nav__wordLogo--link {
  text-decoration: none;
  color: var(--main-cyan);
  font-family: "Deuterium-Variable";
  font-size: 2.5rem;
  font-variation-settings: 'wght'630;
}


.testPage1__header--wordlogolink {
  text-decoration: none;
}

.testPage1__header--wordlogolink:visited {
  color: var(--main-cyan);
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  padding-top: 2.5rem;
}

.nav_items {
  display: flex;
  gap: 1.8rem;
}

.nav__items--links {
  font-family: "Deuterium-Variable";
  font-size: var(--bodycopy);
  color: var(--main-white);
  text-decoration: none;
  font-variation-settings: 'wght' 400;
}

.nav__items--links:hover {
  color: var(--main-cyan);
}

.nav__items--test {
  border-radius: 6.25rem;
  background: var(--main-cyan);
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-size: var(--bodycopy);
  font-variation-settings: 'wght'480;
  text-decoration: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.heroImage {
  background-image: url("../assets/heroimage.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  margin-top: 1.5rem;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-rows: repeat(2, 35rem);
  grid-template-columns: repeat(3, 29rem);
}

.heroImage__heading {
  color: var(--main-white);
  font-family: "puffin-arcade-yoko";
  font-size: 6rem;
  font-weight: 800;
  text-align: center;
}

.heroImage__text {
  color: var(--main-pink);
  font-family: "puffin-arcade-yoko";
  font-size: var(--titles);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.heroImage__textbox {
  grid-column: 2;
  grid-row: 1/2;
}

.heroImage__CTA--text {
  color: var(--main-white);
  font-family: "Spline Sans";
  font-size: var(--bodycopy);
  font-weight: 700;
}


.heroImage__CTA--button {
  width: 4rem;
  position: relative;
  animation: moveDown 1s ease-in-out infinite;
}

@keyframes moveDown {
  0%, 100% {
    top: 0;
  }
  50% {
    top: 5px;
  }
}

.heroImage__CTA {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sectionOne {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-top: 4rem;
}

.sectionOne__textbox {
  color: var(--main-white);
  font-family: "Spline Sans";
  font-size: var(--bodycopy);
  font-weight: 400;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 7rem;
}

.sectionOne__image {
  max-width: 18rem;
  max-height: 33.5rem;
}

.sectionOne__title {
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght'630;
  scroll-margin-top: 120px;
}

.sectionOne__title--highlight {
  color: var(--main-pink);
}

.sectionOne__text {
  margin-top: 2rem;
  max-width: 32rem;
}

.sectionOne__text--highlight {
  color: var(--main-pink);
}

.sectionTwo {
  display: flex;
  justify-content: space-between;
}

.sectionTwo__textbox {
  display: flex;
  justify-content: center;
}

.sectionTwo__text {
  color: var(--main-white);
  font-family: "Spline Sans";
  font-size: var(--bodycopy);
  align-self: center;
  justify-self: center;
  margin-top: 2rem;
  margin-left: 2.5rem;
  max-width: 26.25rem;
  text-align: center;
}

.sectionTwo__text--highlight {
  font-weight: 600;
  color: var(--main-cyan);
}

.sectionTwo__glitchblocks--1 {
  max-width: 29rem;
  max-height: 15rem;
}


.sectionTwo__glitchblocks--2 {
  margin-top: 4rem;
  max-width: 29rem;
  max-height: 15rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0,0);
  border: 0;
}

.sectionThree {
  margin-top: 4rem;
}

.sectionThree__drones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.sectionThree__drone {
  max-width: 75rem;
  max-height: 12.5rem;
}

.sectionThree__drones--container1 {
  grid-column: 3/4;
  margin-top: 1rem;
  position: relative;
  left: 4rem;
  display: flex;
  justify-content: center;
}

.sectionThree__drones--container2 {
  grid-column: 4/5;
}

.sectionThree__container {
  color: var(--main-white);
  font-family: "Spline Sans";
  font-size: var(--bodycopy);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.sectionThree__container--textBlock1 {
  grid-column: 2/4;
  grid-row: 1;
  align-self: flex-end;
}

.sectionThree__container--textBlock2 {
  grid-column: 3 / 5;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

.sectionThree__container--textBlock3 {
  grid-column: 2 / 4;
  grid-row: 3;
}

.sectionThree__container--highlight {
  color: var(--main-cyan);
}

.sectionThree__door {
  width: 24rem;
  height: 40rem;
  grid-column: 5/7;
  grid-row: 1/5;
  justify-self: end;
}

.sectionFour {
  position: relative;
  top: 6.5rem;
  background-color: var(--main-white);
  font-family: "Spline Sans";
}

.sectionFour::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--main-white);
  transform: skewY(-12deg);
  transform-origin: top left;
  z-index: -10;
}
.sectionFour::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: var(--main-white);
  transform-origin: top left;
  z-index: -10;
}

.highlight--cyan {
  color: var(--main-cyan);
}

.sectionFour__title {
  color: var(--main-black);
  text-align: center;
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght'630;
} 

.sectionFour__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 12rem;
  justify-items: center;
  margin-top: 4rem;
}

.sectionFour__listItem--title {
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-variation-settings: 'wght' 630;
  font-size: 1.5rem;
  text-align: center;
}

.sectionFour__listItem--image {
  max-width: 11rem;
  max-height: 7.625rem;
  justify-self: center;
}

.sectionFour__listItem--text {
  color: var(--main-black);
  max-width: 13rem;
  font-size: var(--bodycopy);
  text-align: center;
  justify-self: center;
}

.sectionFour__listItem {
  display: grid;
  gap: 1rem;
  grid-template-rows: 9rem 2rem 1fr ;
}

.sectionFour__listItem--drone {
  align-self: center;
}
.sectionFive {
  color: var(--main-black);
  position: relative;
  font-family: "Spline Sans";
  z-index: 10;
  background-color: var(--main-white);
}

.sectionFive__title {
  color: var(--main-black);
  text-align: center;
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght' 630;
}

.sectionFive__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  margin-top: 4rem;
  column-gap: 5rem;
}

.sectionFive__image {
  max-width: 40rem;
  max-height: 30rem;
  grid-row: 1/4;
}

.sectionFive__textblock--1 {
  grid-column: 2/3;
  grid-row: 1;
  align-self: flex-end;
  max-width: 28rem;
  font-size: var(--bodycopy);
}

.sectionFive__textblock--2 {
  grid-column: 2/3;
  grid-row: 2;
  align-self: center;
  max-width: 28rem;
  font-size: var(--bodycopy);
}

.sectionSix {
  position: relative;
  z-index: 10;
  color: var(--main-black);
  background-color: var(--main-white);
  height: 65vh;
  font-family: "Spline Sans";
}

.sectionSix__title {
  color: var(--main-black);
  text-align: center;
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght' 630;
}

.sectionSix__reviews--reviewbox {
  grid-column: 1 / 5;
  grid-row: 3 / 3;
  justify-content: center;
  column-gap: 2rem;
  align-self: center;
  justify-self: start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sectionSix__reviews--score {
  grid-column: 1 / 2;
  justify-self: end;
  align-self: center;
}

.sectionSix__reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 18rem;
  column-gap: 2rem;
  margin-top: 4rem;
}

.sectionSix__reviews--picture {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  justify-self: center;
  align-self: start;
  margin-top: 1rem;
  max-width: 4rem;
}

.sectionSix__reviews--reviewText {
  color: var(--main-white);
  grid-column: 2/4;
  justify-self: start;
  max-width: 15rem;
  padding-right: 2rem;
}

.sectionSix__reviews--name {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  margin-bottom: 1rem;
  color: var(--main-black);
  text-align: center;
  font-family: "Deuterium-Variable";
  font-variation-settings: 'wght' 630;
  font-size: var(--bodycopy);
  position: relative;
  left: 1rem;
}

.sectionSix__reviews--review {
  background-image: url('../assets/reviewbox.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  font-size: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr );
}

.sectionSix__reviews--review2 {
  background-image: url("../assets/reviewbox2.png");
}

.sectionSeven {
  background-color: var(--main-white);
  font-family: "Spline Sans";
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sectionSeven__controller {
  max-width: 27rem;
  grid-row: 1 / 4;
}

.sectionSeven__title {
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght' 630;
  grid-column: 1 / 4;
  grid-row: 1;
  justify-self: start;
  align-self: center;
}

.sectionSeven__textContainer {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(5, 1fr);
  grid-column: 2 / 6;
  column-gap: 3rem;
  justify-self: end;
}

.sectionSeven__text {
  grid-column: 1/5;
  max-width: 33rem;
  justify-self: start;
}

.sectionSeven__button {
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: var(--main-cyan);
  font-family: "Spline Sans";
  color: var(--main-black);
  border-radius: 2.5rem;
  text-decoration: none;
  font-size: 1.5rem;
}

.sectionSeven__buttonContainer {
  grid-row: 3;
  grid-column: 2/5;
  justify-self: center;
  margin-top: 3rem;
}

.sectionSeven__button--buttonContainer1 {
  grid-row: 3;
  grid-column: 1 / 3;
  justify-self: start;
  margin-top: 3rem;
}

.sectionSeven__button--button2 {
  padding: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: transparent;
  border: 1px solid var(--main-cyan);
}

.sectionSeven__button--button2:hover {
  background-color: var(--main-cyan);
}


.footer {
  background-color: var(--main-black);
  height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__text {
  font-size: var(--bodycopy);
  font-family: "Spline Sans";
  color: var(--main-white);
}

.noJsScreen {
  font-family: "Spline Sans";
  font-size: 1.75rem;
  text-align: center;
  color: var(--main-white);

}

.noJsScreen__container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  flex-direction: column;
  gap: 2rem;
}

.noJsScreen__header {
  display: flex;
  padding: 2rem;
}

.testPage1 {
  background-image: url("../assets/glitch-blocks_test1.png");  
  background-repeat: no-repeat;
  background-size: contain;
  height: 100vh;
  font-family: "Spline Sans";
  display: none;
}

.testPage2__foodlist--itemImage.highlight {
  outline: 2px solid yellow;
}

#virtual-cursor {
  position: absolute;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  pointer-events: none;
  z-index: 30;
}

.testPage1_header {
  padding: 2rem;
  padding-top: 2.5rem;
}

.testPage1__infobox {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 65vh;
  gap: 3rem;
}

.testPage1__infobox--title {
  color: var(--main-white);
  text-align: center;
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght'630;
}

.testPage1__infobox--explanation {
  max-width: 29rem;
  color: var(--main-white);
  font-size: var(--bodycopy);
}

.testPage1__infobox--startButton {
  background-color: var(--main-cyan);
  border-radius: 3.25rem;
  padding: 1.25rem;
  border: 1px solid var(--main-cyan);
  color: var(--main-black);
  font-size: var(--bodycopy);
}

.testPage1__bottom {
  padding: 2rem;
}

.test__footerBottom--link {
  border: 2px solid var(--main-cyan);
  background-color: transparent;
  border-radius: 100px;
  font-family: "Spline Sans";
  font-size: 1.5rem;
  color: var(--main-cyan);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
}

.test__footerBottom--link:hover {
  background-color: var(--main-cyan);
  color: var(--main-black);
} 

.testPage1__drone1 {
  background-image: url("../assets/droneWithBoule.png");
  height: 20rem;
  width: 20rem;
  left: 2.5rem;
  top: 13rem;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
}

.testPage1__drone2 {
  background-image: url("../assets/droneWithChips.png");
  height: 38rem;
  width: 20rem;
  right: 0.1rem;
  top: 4rem;
  background-repeat: no-repeat;
  position: absolute;
  background-size: contain;
  z-index: -1;
}

.testPage2 {
  display: none;
  font-family: "Spline Sans";
}

.testPage2__openFridge {
  max-width: 27.5rem;
  max-height: 28rem;
}

.testPage__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}

.progressbar {
  width: 32rem;
  height: 3rem;
  grid-column: 2;
}

.testPage__help {
  width: 2.5rem;
  height: 2.5rem;
  grid-column: 3;
  border-radius: 50%;
  background-color: var(--main-pink);
  color: var(--main-white);
  border: 1px solid var(--main-pink);
  justify-self: end;
  margin-right: 4rem;
  align-self: end;
  font-size: var(--bodycopy);
}

.testPage__helpScreen {
  background-color: var(--main-cyan);
  border: none;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.testPage2__helpScreen--header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.testPage2__helpScreen--title {
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght'630;
  text-align: center;
  grid-column: 2;
}

.testPage__helpScreen--cross {
  grid-column: 3;
  justify-self: end;
  width: 1.5rem;
}

.testPage__helpScreen--cross:hover {
  cursor: pointer;
}

.testPage2__helpScreen--list {
  margin-top: 2rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: var(--bodycopy);
}

.testPage2__screen {
  display: grid;
  grid-template-rows: 5.5rem 1fr;
}

.testPage__title {
  color: var(--main-white);
  font-family: "Deuterium-Variable";
  font-size: var(--titles) ;
  font-variation-settings: 'wght'630;
  text-align: center;
  grid-row: 1;
  align-self: flex-end;
  margin-bottom: 1rem;
}

.testPage__bottom--2 {
  padding: 0rem 2rem;
}

.testPage2__fridgeContainer {
  width: 27.5rem;
  height: 28rem;
  justify-self: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../assets/fridge_open.png);
  display: grid;
  grid-template-columns: repeat(4, 7rem);
  grid-template-rows: repeat(5, 5rem);
}

.testPage2__dropzone--1 {
  width: 2rem;
  height: 2rem;
  border: 1px dashed var(--main-black);
  grid-column: 2;
  grid-row: 4;
}

.testPage2__dropzone--2 {
  width: 2rem;
  height: 2rem;
  border: 1px dashed var(--main-black);
  grid-column: 1 / 5;
  grid-row: 1 / 7;
  justify-self: center;
  align-self: center;
}

.testPage2__dropzone--3 {
  width: 2rem;
  height: 2rem;
  border: 1px dashed var(--main-black);
  grid-column: 4;
  grid-row: 5;
}

.testPage__bottom {
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  justify-content: space-between;
}

.testPage__bottom--button {
  width: 12.5rem;
  height: 4.5rem
}

.testPage2__foodlist {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.testPage2__foodlist--item:hover {
  cursor: grabbing;
}

.testPage2__bottom--next {
  background-color: var(--main-cyan);
  color: var(--main-black);
}

.testPage3 {
  display: none;
  font-family: "Spline Sans";
}

.testPage3__screen {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 37rem 1fr;
  grid-template-rows: 1fr 4rem 24rem;
  justify-content: center;
}

.testPage3__title {
  grid-column: 2;
}

.testPage3__timer {
  color: var(--main-white);
  border: 3px solid #E36CC6;
  border-radius: 3.125rem;
  text-align: center;
  align-self: center;
  justify-self: center;
  width: 9rem;
  padding: 0.5rem;
  font-size: var(--bodycopy);
  grid-column: 2;
}

.testPage3__highscoresBoard--line {
  border-color: var(--main-black);
  border-bottom: solid;
}

.testPage3__buttonLayout {
  background-image: url("../assets/gamepad_circle.png");
  background-repeat: no-repeat;
  background-position: center;
  display: grid;
  grid-template-columns: repeat(3, 6rem);
  grid-template-rows: repeat(3, 6rem);
  justify-content: center;
  align-content: center;
  grid-column: 2;
}

.testPage3__buttonLayout--buttons {
  border-radius: 100%;
  padding: 1rem 1.3rem;
  align-self: center;
  justify-self: center;
  font-size: 1.5rem;
  background-color: var(--main-black);
}

.testPage3__buttonLayout--buttons:hover {
  background-color: #E36CC6;
  border: 1px solid #E36CC6;
}


.testPage3__buttonLayout--Y {
  grid-row: 1;
  grid-column: 2;
  color: #E8E906;
}

.testPage3__buttonLayout--X {
  grid-row: 2;
  grid-column: 1;
  color: #43CCBD;
}

.testPage3__buttonLayout--A {
  grid-row: 3;
  grid-column: 2;
  color: #25D336;
}

.testPage3__buttonLayout--lightup {
  background-color: var(--main-pink);
}

.testPage3__buttonLayout--B {
  grid-row: 2;
  grid-column: 3;
  color: #E83737;
}

.testPage3__bottom {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.testPage3__bottom--start {
  background-color: #E36CC6;
  border-radius: 3.125rem;
  border: 1px solid #E36CC6;
  font-size: var(--bodycopy);
  color: var(--main-black);
  padding-left: 2rem;
  padding-right: 2rem;
}

.testPage3__highscoresBoard {
  background: #E36CC6;
  grid-column: 3;
  grid-row: 1 / 4;
  max-height: 29rem;
  width: 18rem;
  justify-self: end;
  border-top-left-radius: 15%;
  border-bottom-left-radius: 15%;
}

.testPage3__highscoresBoard--title {
  color: var(--main-black);
  font-family: "puffin-arcade-yoko";
  font-size: 3rem;
  text-align: end;
  margin-right: 1rem;
  margin-top: 1rem;
  
}

.testPage3__highscoresBoard--listItem {
  line-height: 4rem;
  margin-left: 4rem;
  padding-right: 1rem;
  border-bottom: 2.5px solid black;
  font-family: "Spline Sans";
  text-align: end;
  margin-top: 0.5rem;
}

.testPage3__highscoresBoard--listItem:nth-child(5) {
  border-bottom: none;
}

.testPage3__bottom--start:hover {
  background-color: var(--main-cyan);
  border: 1px solid var(--main-cyan);
}

.testPage3__bottom--next {
  background-color: var(--main-cyan);
  color: var(--main-black);
}

.testPage4 {
  height: 90vh;
  display: none;
  font-family: "Spline Sans";
  font-size: 1.5rem;
}

.testPage4__screen {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: repeat(4, 1fr);
  height: 75vh;
}

.testPage__title--4 {
  grid-row: 1;
  align-self: start;
  grid-column: 1 / 5;
  margin-top: 3rem;
}

.testPage4__cookie {
  max-width: 18rem;
  grid-row: 2 / 4;
  grid-column: 3 / 4;
  align-self: center;
}

.testPage4__micButton {
  border-radius: 100%;
  background-color: var(--main-cyan);
  align-self: center;
  padding: 1.5rem;
  grid-column: 2;
  grid-row: 2 / 4;
  justify-self: center;
  margin-left: 4rem;
}

.testPage4__canvas--container {
  width: 77%;
  height: 235%;
  grid-column: 3;
  grid-row: 4 / 5;
  align-self: center;
  position: relative;
  z-index: -10;
}

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

.testPage4__micButton--icon {
  width: 3rem;
}

.testPage4__micButton:hover {
  background-color: var(--main-pink);
}

.testPage4__playButton:hover {
  background-color: var(--main-pink);
}

.testPage4__recording {
  grid-column: 1 / 5;
  justify-self: center;
  grid-row: 4;
  align-self: center;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.testPage4__playButton {
  border-radius: 50%;
  padding: 0.5rem 1rem;
  background-color: var(--main-cyan);
  max-width: 4rem;
  align-self: center;
}

.testPage4__playButton--image {
  width: 1.5rem;
  height: 2rem;
}

.testPage4__recording--text {
  font-size: var(--bodycopy);
  color: var(--main-white);
}

.testPage5 {
  display: none;
  color: var(--main-white);
  font-family: "Spline Sans";
}

.testPage5__input {
  height: 2.5rem;
  background-color: #D9D9D9;
  border-radius: 3.125rem;
  width: 20rem;
  display: block;
  padding: 0rem 1rem;
  margin-left: -1rem;
}

input:focus {
  outline-color: var(--main-cyan);
  outline-width: 2px;
}

.input_notComplete {
  border-color: var(--main-pink);
  border-width: 2px;
}

.testPage5__form {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 2rem;
  row-gap: 0.5rem;
  height: 40vh;
}

.testPage5__form--names {
  display: flex;
  grid-row: 1;
  grid-column: 2 / 4;
  flex-direction: column;
  gap: 2rem;
}

.testPage5__form--email {
  grid-column: 2 / 5;
  grid-row: 1;
  justify-self: end;
}

.testPage5__title {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.testPage5__submit {
  grid-row: 2 / 3;
  grid-column: 5;
  align-self: end;
  position: relative;
}

.testPage5__label {
  color: var(--main-cyan);
  font-size: var(--bodycopy);
  font-weight: 600;
  margin-left: 1rem;
}

.testpage5__bottom {
  background-image: url(../assets/glitch_bottom.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100vw;
  background-position: bottom;
  height: 11.5rem;
}

.testPage5__bottom--goBack {
  margin-left: 2rem;
}

.rectangle__button {
  max-width: 1rem;
}

.reminder__header {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.reminder__container {
  row-gap: 2rem;
  margin-top: 2rem;
  width: 52vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.overlay__cross {
  align-self: center;
  justify-self: center;
  max-width: 2rem;
  grid-column: 4;
  margin-right: 2rem;
}

.overlay__cross {
  cursor: pointer;
}

.reminder__text {
  font-size: var(--bodycopy);
  font-family: "Spline Sans";
}

.reminder_body {
  grid-column: 1 / 4;
  justify-self: center;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  font-family: "Spline Sans";
}

.overlay__title {
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-size: var(--titles);
  font-variation-settings: 'wght' 630;
  text-align: center;
  grid-column: 1 / 4;
}

.reminder {
  background-color: var(--main-cyan);
  padding-bottom: 4rem;
  border: none  ;
}

.reminder__stay {
  padding: 1.5rem;
  border: 3px solid var(--main-black);
  font-size: var(--bodycopy);
  border-radius: 3.125rem;
  max-width: 14rem;
  background-color: transparent;
  align-self: center;
}

.reminder__stay:hover {
  background-color: #E36CC6;
  border: 3px solid #E36CC6;
}

.reminder_skip {
  margin-top: 1rem;
  background-color: transparent;
  align-self: center;
  border: none;
  font-size: var(--bodycopy);
  font-family: "Spline Sans";
}

.testPage__bottom--next {
  background-color: var(--main-cyan);
  color: var(--main-black);
}

.testPage5__submit--button {
  border: 2px solid var(--main-cyan);
  color: var(--main-black);
  background-color: var(--main-cyan);
  border-radius: 100px;
  font-family: "Spline Sans";
  font-size: 1.5rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  width: 12.5rem;
  height: 4.5rem;
  margin-top: 0rem;
  position: absolute;
  left: 2rem;
}

.button__filled {
  background-color: var(--main-cyan);
  color: var(--main-black);
}

.button__filled:hover {
  background-color: var(--main-pink);
  color: var(--main-white);
  border: 1px solid var(--main-pink);
}


.testResult {
  font-family: "Spline Sans";
  color: var(--main-white);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr 1fr 15vh;
}

.testResult__header {
  background-image: url("../assets/glitch_top.png");
  background-position: top;
  background-size: contain;  
  background-repeat: no-repeat;
  height: 20vh;
  grid-row: 1;
  grid-column: 1 / 6;
}

.testResult__button {
  border-radius: 6.25rem;
  background: var(--main-cyan);
  color: var(--main-black);
  font-family: "Deuterium-Variable";
  font-size: var(--bodycopy);
  font-variation-settings: 'wght'480;
  text-decoration: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.testResult__background {
  grid-row: 2 / 3;
  grid-column: 2 / 5;
  justify-self: center;
  height: 100%;
}

.testResult__title {
  color: var(--main-cyan);
  font-family: "Deuterium-Variable";
  font-size: 2.5rem;
  font-variation-settings: 'wght' 630;
  grid-column: 2 / 5;
  grid-row: 1;
  justify-self: center;
  align-self: end;
  margin-bottom: 2rem;
}

.testResult__label {
  font-weight: 700;
}

.testResult__button--container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.testResult__container {
  background-color: var(--main-cyan);
  border-radius: 3.125rem;
  color: var(--main-black);
  height: 80%;
  padding: 2rem;
  display: grid;
}

.testResult__footer {
  background-image: url("../assets/glitch_bottom.png");
  background-position: bottom;
  background-size: contain;  
  background-repeat: no-repeat;
  height: 20vh;
  grid-row: 5;
  grid-column: 1 / 6;
}

.testResult__drone {
  background-image: url('../assets/drone_result.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.testResult__drone--1 {
  width: 7rem;
  height: 3rem;
  grid-column: 1 / 2;
  justify-self: center;
}

.testResult__drone--2 {
  width: 9rem;
  height: 4rem;
  grid-column: 1 / 3;
  justify-self: center
}

.testResult__drone--3 {
  width: 7rem;
  height: 3rem;
  justify-self: center;
  grid-row: 2;
  grid-column: 4 / 6;
}
.testResult__drone--4 {
  width: 7rem;
  height: 3rem;
  justify-self: end;
  grid-row: 3;
  grid-column: 3 / 5;
}

.error {
  font-size: 1rem;
  position: relative;
  left: 0;
}

.error__email {
  left: 1rem;
}

button {
  position: relative;
}

button:hover {
  cursor: pointer;
}

button::after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 3%, #43CCBD 3%, #43CCBD 5%, #F530C5 5%);
  text-shadow: -3px -3px 0 #f8f005, 3px 3px 0 #43CCBD;
  clip-path: var(--slice-0);
}

button:hover::after {
  animation: glitch 1s steps(2, end) infinite;
}

a {
  position: relative;
}

a::after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 3%, #43CCBD 3%, #43CCBD 5%, #F530C5 5%);
  text-shadow: -3px -3px 0 #f8f005, 3px 3px 0 #43CCBD;
  clip-path: var(--slice-0);
}

.nav__wordLogo--link::after {
  content: "GameCool";
}

.testPage__bottom--link::after {
  content: 'Back to home';
}

.testResult__button::after {
  content: "Back to Home";
}

.nav__items--test::after {
  content: 'Play the test';
}

.testPage1__infobox--startButton::after {
  content: "Start the mission";
}

.test__footerBottom--link::after {
  content: "Go back";
}

.testPage__bottom--next::after {
  content: "Next level";
}

.testPage5__submit--button::after {
  content: "Submit";
}

a:hover::after {
  animation: glitch 1s steps(2, end) infinite;
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(50px, 10px); 
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(30px, 10px); 
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(40px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(35px, 0px); 
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(45px, 0px); 
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(45px, 10px); 
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(30px, 10px); 
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(60px, -10px); 
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(30px, 0px); 
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(40px, 0); 
  }
}