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

html,
body {
  height: 100%;
  width: 100%;
  color: #e7e7e7;
  background-color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  overflow: hidden;
}

#main {
  background-color: #111;
  min-height: 100vh;
  line-height: 1.5;
}

.image-gredient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
}

.layer-blur {
  height: 0;
  width: 30rem;
  position: absolute;
  top: 30%;
  right: 0;
  box-shadow: 0 0 700px 15px white;
  rotate: -30deg;
}

#page1 {
  padding: 1rem 0rem;
  z-index: 999;
}

.head {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 26rem;
}
.head h1 {
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}

.head h1 sub {
  font-weight: 100;
  font-style: italic;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #e7e7e7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  transition: all 0.4s ease-in-out;
  z-index: 999;
}

nav a:hover {
  color: gray;
}

.head button {
  text-transform: uppercase;
  padding: 0.8rem 1.4rem;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  z-index: 999;
  cursor: pointer;
  transition: background-color 0.4s ease-in-out;
}

.head button:hover {
  background-color: gray;
  color: white;
}

.page1-content {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  align-items: start;
  flex-direction: column;
  margin-top: 10rem;
  margin-left: 8rem;
  max-width: 40rem;
  z-index: 999;
}

.page1-tag {
  height: 2.9rem;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to right,
    gray,
    blue,
    darkblue,
    pink,
    lightgray,
    gray
  );
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  background-size: 200%;
  animation: animationGrad 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  position: relative;
}

@keyframes animationGrad {
  to {
    background-position: 200%;
  }
}

.page1-tag .tag {
  position: absolute;
  inset: 3px 3px 3px 3px;
  background-color: black;
  border-radius: 50px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
  cursor: pointer;
}

.page1-tag .tag:hover {
  color: #5300a0;
}

.page1-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 7px;
  margin: 2rem 0;
}

.description {
  font-size: 1.2rem;
  color: gray;
  line-height: 1.3;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.buttons a {
  text-decoration: none;
  border-radius: 50px;
  padding: 0.8rem 1.4rem;
  font-size: 15px;
  font-weight: 600;
  margin: 2rem 0;
  letter-spacing: 1px;
  transition: background-color 0.4s ease-in-out;
}

.btn-1 {
  border: 1px solid #2a2a2a;
}
.btn-1:hover {
  background-color: #1a1a1a;
}

.btn-2 {
  background-color: lightgrey;
  color: #111;
}

.btn-2:hover {
  background-color: gray;
  color: white;
}

.robot-3d {
  position: absolute;
  top: 0;
  right: -20%;
}

/* Tablet Responsive */

@media (max-width: 1300px) {
  .head {
    padding: 1rem 1.5rem;
    gap: 24%;
  }

  .page1-content {
    margin-top: 85%;
  }

  .robot-3d {
    scale: 1.4;
    top: -18%;
    right: 2%;
  }
}

/* Mobile Responsive*/
@media (max-width: 768px) {
  .head {
    padding: 1rem 0.4rem;
  }

  nav {
    display: none;
  }

  .head h1 {
    font-size: 2rem;
  }

  .head button {
    padding: 0.6rem 1.5rem;
  }

  .page1-content {
    margin-top: 25rem;
  }

  .robot-3d {
    scale: 0.5;
    top: -25%;
    right: 0;
  }

  .page1-content {
    max-width: 30rem;
    margin-left: 10%;
  }

  .page1-tag {
    width: 12rem;
  }

  .page1-content h1 {
    font-size: 2.5rem;
  }

  .description {
    font-size: 1rem;
  }

  .buttons a {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  .buttons .btn-2 {
    padding: 0.5rem 2rem;
  }
}
