

/* 939 */
/*--------------------------------------------------------------
# Cluster Canvas
--------------------------------------------------------------*/
.cluster-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/*================================================================*/

.cluster-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;


  /*background-image: */
  background:
    linear-gradient(to bottom, rgba(0, 31, 63, 0.5), rgba(0, 20, 40, 0.5)), 
  
  background-size: 
    /*100% 100%, */
    cover; 
  
  background-position: 
    bottom;
  
  background-repeat: no-repeat;

  filter: blur(10px);
  transform: scale(1.1);
  z-index: -1;
}



.cluster-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 430px;
  width: 1300px; 
  max-width: calc(100% - 40px); /* Prevents overflow on smaller screens with 20px margin on each side */
  background:
    linear-gradient(30deg, #030630a1 0%, #171a4e 50%, #171a4e 50%, #030639 100%);
  
  background-size: 
    inherit;
  
  background-position: 
    center;
  
  background-repeat: 
    no-repeat;

  border: 1px solid #0562fd;
  border-radius: 18px;
  filter: drop-shadow(2px 4px 6px black);
  overflow: hidden;
  z-index: 1;
  filter: opacity(0.65);
}

/*================================================================*/


.promptWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 65%;
  max-width: 1100px;
  height: 360px;
  padding: 10px 100px;

  /*background-color: #0a57e44f;*/
  background-color: #01082294;
  border-radius: 4px;
  z-index: 5;
}

/* ---------- Rows ---------- */
.rowT {
  display: block;
  width: 100%; /* Make all rows full width */

    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* ---------- Row One ---------- */
.rOne {
  /*padding: 36px;*/
  margin: 30px 0 0 0;
  font-size: 1.45rem;
  letter-spacing: .075rem;
  font-weight: 300;
  color: #fff;
}

.rOne span {
  display: inline-block;
  font-size: 155%;
  font-weight: 900;

  background-image: linear-gradient(90deg, #feb8ff, #e990ff, #4fdcff); 
    /*background-image: linear-gradient(90deg, #feb8ff, #e990ff, #c793ff);*/
    background-size: 150% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

}

/* ---------- Row Two ---------- */
.rTwo {
  margin: 1.30rem 0 1.85rem -5px;
  padding: 22px 29px;
  height: 140px;
  font-size: 1.04rem;
  font-style: italic;
  /*letter-spacing: .035rem;*/
    letter-spacing: .075rem;
  font-weight: 300;
  color: #b9bec9;
  background-color: #000000cc;
  border: 4px solid #0b57e4;
  border-radius: 8px;
}

/* ---------- Row Three (buttons) ---------- */
.rThree {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
/*  flex-wrap: inherit;
  width: 79%;*/
}

/* Left button group */
.btnGroup {
  display: flex;
  padding-left: 6px;
  gap: 12px;
  flex-shrink: 1; /* Allow to shrink if needed */
  min-width: 0; /* Allow shrinking below content size */
}

/* Base button styles */
.btn {
  padding: 10px 28px;
  border-radius: 8px;
  border: 1px solid #0b57e4;
  background: transparent;
  color: #fff;
  font-size: .9rem;
  letter-spacing: .05rem;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping */
}

.btnIcon:hover {
  border-color: #0b57e4;
  color: #fff;
}

.btnIcon img {
  margin-right: 16px;
  margin-top: -5px;
}

.btnIcon span {
  display: inline-block;
  padding-top: 3px;
}

/* Submit button */
.btnSubmit {
  margin-right: 12px;
  padding-top: 12px;
  padding-bott0m: 12px;
  background-color: #0b57e4;
  border-color: #0b57e4;
  width: 200px;
  font-weight: 800;
  flex-shrink: 0; /* Don't let it shrink */
  /* Remove: margin-right: 200px; */
}

.btnSubmit:hover {
  background-color: #0b57e4;
  /*border-color: #0b57e4;*/
  color: #fff;
}




/*================================================================*/

canvas#bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: 
    linear-gradient(30deg,rgba(0, 0, 0, .97) 0%, rgba(7, 7, 54, .99) 50%, rgba(5, 10, 20, .85) 100%),
    url(../img/dots.png), 
    linear-gradient(30deg,rgba(0, 0, 0, .75) 0%, rgba(7, 7, 54, .75) 50%, rgba(5, 38, 87, .75) 100%),
    url("../img/portfolio/bg-blur-dodfs.png");

  background-size: 
    cover,
    60%,
    cover,
    cover;

  
  background-repeat: 
    repeat, 
    no-repeat, 
    repeat, 
    no-repeat;
  
  background-position: 
    top, 
    right, 
    top, 
    center;
  background-blend-mode: normal;
}





@media (max-width: 992px) {

    .cluster-wrap {
        height: 380px;
    }

    .promptWrapper {
        width: 100%;
        height: 320px;
        padding: 20px 30px;
        background-color: transparent;
    }

    .cluster-wrap::after {
        content: "";
        position: absolute;
        height: 430px;
        height: 364px;
        width: 1300px; 
        max-width: calc(100% - 20px); /* Prevents overflow on smaller screens with 20px margin on each side */
      }

    .rOne {
        margin: 0;
        font-size: 1.10rem;
    }

    .rTwo {
        margin: 1.30rem 0 1.85rem 0;
        width: 101%;
    }

    .btnGroup {
        -left: 6px;
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
    }

    .btnSubmit {
        width: 124px;
        flex-shrink: 0; /* Don't let it shrink */
    }


}