/* Importing Google font - Poppins */

@import url("https://fonts.googleapis.com/css2?family=Audiowide&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  
}

body{

  height: 100vh;
  margin-top: 50px;
  background-color: rgb(0, 0, 0);
}

video{

    height: 40%;

}

.image-generator {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url("Screenshot\ 2024-02-21\ 204127.png");
  background-size: cover;
  background-position: center;
}

.image-generator::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: #000000;
}

.image-generator .content {
  position: relative;
  color: #fff;
  padding: 0 15px;
  max-width: 760px;
  text-align: center;
}

.image-generator h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.image-generator p {
  margin-top: 10px;
  font-size: 1.35rem;
}

.image-generator .generate-form {
  height: 56px;
  padding: 6px;
  display: flex;
  margin-bottom: 15px;
  background: #fff;
  align-items: center;
  border-radius: 30px;
  margin-top: 45px;
  justify-content: space-between;
}

.generate-form .prompt-input {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 17px;
  border: none;
  font-weight: bolder;
  color: #000000;
  background: rgb(255, 255, 255);
  font-size: 1rem;
  border-radius: 30px;
}

.generate-form .controls {
  display: flex;
  height: 100%;
  gap: 15px;
}

.generate-form .img-quantity {
  outline: none;
  border: none;
  height: 44px;
  background:none;
  color: #2e0cb5;
  font-size: 1rem;
}

.generate-form .generate-btn {
  font-size: 1rem;
  outline: none;
  border: none;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  height: 100%;
  padding: 0 25px;
  border-radius: 30px;
  background: #000000;
}

.generate-form .generate-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.generate-form button:hover {
  background: #1d1de2;
}

.image-gallery {
  display: flex;
  gap: 15px;
  padding: 0 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px auto;
  max-width: 1250px;
}

.image-gallery .img-card {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  background: #b6b0b0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 285px;
}

.image-gallery .img-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image-gallery .img-card.loading img {
  width: 80px;
  height: 80px;
}

.image-gallery .img-card .download-btn {
  bottom: 15px;
  right: 15px;
  height: 36px;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.image-gallery .img-card .download-btn img {
  width: 14px;
  height: 14px;
}

.image-gallery .img-card:not(.loading):hover .download-btn {
  opacity: 1;
  pointer-events: auto;
}

@media screen and (max-width: 760px) {
  .image-generator {
    height: 45vh;
    padding-top: 30px;
    align-items: flex-start;
  }

  .image-generator h1 {
    font-size: 1.8rem;
  }

  .image-generator p {
    font-size: 1rem;
  }

  .image-generator .generate-form {
    margin-top: 30px;
    height: 52px;
    display: block;
  }

  .generate-form .controls {
    height: 40px;
    margin-top: 15px;
    justify-content: end;
    align-items: center;
  }

  .generate-form .generate-btn[disabled] {
    opacity: 1;
  }

  .generate-form .img-quantity {
    color: #fff;
  }

  .generate-form .img-quantity option {
    color: #000;
  }

  .image-gallery {
    margin-top: 20px;
  }

  .image-gallery .img-card:not(.loading) .download-btn {
    opacity: 1;
    pointer-events: auto;
  }

 .he{

    margin-bottom: 20%;
    margin-top: -10%;
   
  
  }

  .photo2{
    margin-top: -90%;
    margin-bottom: 50%;
  }
  .photo3{
    margin-top: -20%;
  }
  .photo{

    margin-top: -25%;
  }
  .more{

    margin-top: 10%;
  }
  
}

@media screen and (max-width: 500px) {
  .image-gallery .img-card {
    width: 100%;
  }
  .photo2{
    margin-top: -50%;
  }
  .photo3{
    margin-top: -20%;
  }
}

.photo{

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  width: 100vw;
  background-color: rgb(0, 0, 39);
}

.he{

  height: 20%;
  width: 100%;
  background-color: rgb(0, 0, 0);
  overflow: hidden;
 

}
.he .tex{

  margin-top: 1%;

}

.box{

  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;   
  animation: animate 20s linear infinite;
}

@keyframes animate{

0%{

  transform: perspective(1000px) rotateY(0deg);
}
100%{

  transform: perspective(1000px) rotateY(-360deg);    
}

}


.circle{

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 80%;
  overflow: hidden;
  width: 100vw;
 margin-top: -10%;
  
  background-color: rgb(0, 0, 0);
}

.box span{

  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i)* 40deg)) translateZ(400px);
}
.box span img{

  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;   
  object-fit: cover;
  transition: 1s;
}

.box span:hover img{

  transform: translateY(-50px)scale(1.2);
}

.pho{

  height: 100%;

}
.photo2{
  margin-top: -10%;
}
.more{
  padding: 20px;
  font-family: "Audiowide", cursive;
  
}