/*  || IMPORTS */

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

/*  || RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*  || VARIABLES */

:root {
  /* COLOR */
  --BGC: #222;
  --PRIMARY-COLOR: #222;
  --SECONDARY-COLOR: #25aae8;
  --ADDITIONAL-COLOR: #fff;
  /* FONTS */
  --FONT: "Roboto", sans-serif;
  --FS-MAIN: 22px;
  --FS-TITLE: 32px;
  --FC: white;
  /* OTHER */
}

/*  || UTILITY CLASSES */

.underline {
  text-decoration: underline;
}

/*  || GENERAL */

html {
  scroll-behavior: smooth;
  font-family: var(--FONT);
}

body {
  background-color: var(--BGC);
  margin-bottom: 700px;
  overflow-x: hidden;
}

/*  || BLOCKS */

.bar {
  background-color: var(--BGC);
  height: 50px;
  z-index: 9999;
  position: fixed;
  width: 100%;
  top: 0;
}

.item {
  color: var(--SECONDARY-COLOR);
}

.text a :hover {
  color: var(--ADDITIONAL-COLOR);
  visibility: initial;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: var(--FC);
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--SECONDARY-COLOR);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav {
  width: 100%;
}

.nav li .contact {
  display: inline;
  position: fixed;
  top: -5px;
  right: 10px;
}

.contact p {
  color: var(--FC);
  width: 75px;
  text-align: center;
  border: 1px solid var(--ADDITIONAL-COLOR);
  border-radius: 5px;
  padding: 5px;
}

.main {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--BGC);
}

.main h1 {
  color: var(--FC);
  font-size: 110px;
  font-family: "Roboto", sans-serif;
}


.frame {
  position: absolute;
  bottom: 25vh;
  margin: 0 auto;
  width: 600px;
  height: 70px;
  border-radius: 2px;
  background: #222;
  overflow: hidden;
}

.element {
  white-space: nowrap;
  text-align: center;
  font-size: 50px;
  line-height: 60px;
  color: #25abe8;
  width: 100%;
}

.carousel {
  margin: auto;
  display: flex;
  flex-direction: row;
  gap: 500px;
  animation: carousel 8s ease-in-out infinite;
}

@keyframes carousel {
  0%,
  25% {
    transform: translateX(80px);
  }
  30%,
  55% {
    transform: translateX(-780px);
  }
  60%,
  85% {
    transform: translateX(-1590px);
  }
  90%,
  100% {
    transform: translateX(-2476px);
  }
}

.info p {
  color: var(--FC);
  width: 80%;
  margin: auto;
  text-align: center;
}

.why {
  text-align: center;
  color: var(--FC);
  margin-top: 60px;
}

.dwhy {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin: auto;
}