* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: 'Raleway', 'Segoe UI', 'Arial', sans-serif;
  position: relative;
}

.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(#202020 1px, transparent 1px),
    linear-gradient(90deg, #202020 1px, transparent 1px);
  background-size: 90px 90px;
  background-color: #0A0A0A;
  z-index: -1;
}

.container {
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.logo {
  width: 90px;
  height: 90px;
  position: relative;
  animation: upDown 2.0s infinite .8s ease-in-out;
  /* duration timing-function delay iteration-count direction fill-mode */
}

@keyframes upDown {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: -10px;
  }
}

.logo-text {
  font-size: 45px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0;
  line-height: 60px;
  letter-spacing: -0.9px;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.image-grid-top {
  position: absolute;
  top: -18%;
  left: 0;
  width: 100%;
  z-index: -1;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  animation: moveDown 2s .2s ease-in-out;
}

@keyframes moveDown {
  0% {
    top: -40%;
  }

  100% {
    top: -18%;
  }


}

.image-grid-bottom {
  position: absolute;
  bottom: -18%;
  left: 0;
  width: 100%;
  z-index: -1;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
  animation: moveUp 2s .2s ease-in-out;
}

@keyframes moveUp {
  0% {
    bottom: -40%;
  }

  100% {
    bottom: -18%;
  }
}

.image-column {
  max-width: 210px;
  width: 25%;
  height: 100%;
  opacity: 0.4;
  overflow: hidden;
}

.image-column img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.heading {
  font-size: 48px;
  font-weight: 900;
  line-height: 49.92px;
  color: #FFFFFF;
  margin-top: 16px;

}

.accent {
  background: linear-gradient(90deg, #00D5E5 80.84%, #D014FF 104.5%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.subheading {
  font-size: 19px;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 12px;
}

.generation-wrapper {

  width: 982px;
  min-height: 184px;
  background: linear-gradient(120deg, #00d5e5, #a200ff);
  border-radius: 12px;
  padding: 2px;
  margin: 40px auto;
  min-width: 50vw;
  max-width: 80vw;
}




.input-container {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 184px;
  height: 100%;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(92deg, rgba(129, 129, 129, 0.70) 0.57%, rgba(103, 103, 103, 0.60) 99.99%);
  padding: 12px;
  z-index: 3;
}

.input-container::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #0A0A0A;

  border-radius: 12px;
  z-index: 0;
}

.input-container::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(92deg, rgba(129, 129, 129, 0.70) 0.57%, rgba(103, 103, 103, 0.60) 99.99%);
  border-radius: 12px;
  z-index: 0;
}





.input-field {
  width: 100%;
  display: flex;
  height: 97px;
  padding: 12px;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
  flex: 1;
  outline: none;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 24px;
  background: transparent;
  resize: none;
}

textarea::placeholder {
  color: #FFFFFF;
  font-size: 16px !important;
  line-height: 24px;
}

.inspire-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  color: #FFFFFF;
  background-color: transparent;
  border-radius: 12px;
  border: 1.5px solid #FFF;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin-right: 10px;
}

.inspire-btn:hover {
  background-color: #f9f9f9;
  color: #202020;
}

.generate-btn {
  display: flex;
  width: 351px;
  padding: 12px 28px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: linear-gradient(269deg, #0097A3 -26.32%, #00D5E5 104.07%);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #FFFFFF;

}

.generate-btn:hover {
  opacity: 0.85;
}

.generate-btn svg {
  margin-right: 8px;
}

.button-group {
  justify-self: flex-end;
  display: flex;
  flex: 1;
  justify-content: flex-end;
  z-index: 2;

}

@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .content {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: -0.8px;
  }

  .heading {
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 39.6px;
    margin-top: 8px;
  }

  .subheading {
    ont-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 23.8px;
  }

  .generation-wrapper {
    max-width: 100%;
  }

  .input-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 118px;
  }

  .input-field {
    width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21.6px;
    margin-bottom: 15px;
  }

  textarea::placeholder {
    color: #FFFFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21.6px;

  }

  .button-group {
    width: 100%;
    display: flex;
    justify-content: flex-end;

  }

  .generate-btn {
    width: 200px;
    flex-grow: 1;
  }



  .inspire-btn,
  .generate-btn {
    text-align: center;
    justify-content: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    padding: 12px 28px;
  }

  .image-grid-bottom {
    bottom: -10px;
  }

  .image-grid-top .image-column:nth-child(4) {
    display: none;
  }

  .image-grid-top {
    top: -10px;
  }

  .image-column {
    max-width: 250px;
    height: 100%;
    opacity: 0.4;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: -0.8px;
  }

  .heading {
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 39.6px;
    margin-top: 8px;
  }

  .subheading {
    ont-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 23.8px;
  }

  .generation-wrapper {
    max-width: 100%;
  }

  .input-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 118px;
  }

  .input-field {
    width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21.6px;
    margin-bottom: 15px;
  }

  .button-group {
    width: 100%;
    display: flex;
    justify-content: flex-end;

  }

  .generate-btn {
    width: 200px;
    flex-grow: 1;
  }

  .inspire-btn,
  .generate-btn {
    text-align: center;
    justify-content: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    padding: 12px 15px;
  }
}

@media (min-width: 1660px) {
  .image-grid-bottom {
    bottom: -100px;
  }

  .image-grid-top {
    top: -100px;
  }

  .image-column {
    max-width: 250px;
    height: 100%;
    opacity: 0.4;
    overflow: hidden;
  }

  .generation-wrapper {
    max-width: 60vw;
  }
}