body {
  font-family: sans-serif;
}

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

.hero {
  padding: 1.5em;
  height: 100vh;
  min-height: 40em;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/*Overlay*/
.hero::before {
  content: "";
  background-image: radial-gradient(
    rgba(38, 44, 52, 0.5) 0%,
    rgba(38, 44, 52, 0.5) 60%,
    #101117 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousels-container {
  position: absolute;
  width: 110%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(25deg);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.infinite-carousel {
  margin: 2em 0;
}

.infinite-carousel > div {
  height: max-content;
  width: 100%;
  padding: 0 0.5em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 0.8em;
  list-style: none;
}

.infinite-carousel img {
  border-radius: 8px;
}

.hero-text {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text > div {
  max-width: 500px;
}

.hero-text h1 {
  line-height: 1.2em;
  font-weight: 800;
  /*Fallback for older browsers*/
  font-size: 3em;
  /*Responsive text with min and max limits*/
  font-size: clamp(2em, 5vw, 6em);
  text-transform: uppercase;
}

p {
  font-size: 1.1em;
  margin: 1em 0;
  line-height: 30px;
}

.btn {
  text-decoration: none;
  padding: 0.7em 1.5em;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
  font-size: 1.2em;
  transition: 200ms;
  display: inline-block;
}

.btn:hover {
  background-color: #111;
}

/*Movement Animation*/
@keyframes move {
  to {
    transform: translateY(calc(-50% - 0.4em));
  }
}

/*Adjust sizes for smaller screens*/
@media screen and (max-width: 1600px) {
  .carousels-container {width: 110%;}
  .infinite-carousel img {width: 25em;}
}

@media screen and (max-width: 1100px) {
  .carousels-container {width: 120%;}
  .infinite-carousel img {
    width: 20em;
  }
}

@media screen and (max-width: 700px) {
  .carousels-container {width: 150%;}
  .infinite-carousel img {
    width: 15em;
  }
}

@media screen and (max-width: 400px) {
  .carousels-container {width: 180%;}
  .infinite-carousel img {
    width: 12em;
  }
}

.wrapper{
  height: 100vh;
  display: grid;
  place-items: center;
}
.typing-demo{
  width: 100ch;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
  font-size: 2em;
}

@keyframes typing{
  from{
    width: 0;
  }
}

@keyframes blink{
  50%{
    border-color: transparent;
  }
}