@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

body {
    background-color: rgb(245 247 248);
    font-family: 'Poppins', sans-serif;
}

.color-input-group {
    position: relative;
}

.remove-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#gradientPreview {
    width: 100%;
    height: 35vh;
    border: none;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

img.footer-logo {
    width: 75%;
    margin-left: -5px;
    margin-bottom: 5px;
}

img.hueio-logo {
    transform: translate(0, -80%);
    width: 160px;
}

.panel {
    transform: translate(0, -15%);
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 2em 1em;
    border-radius: 15px;
    margin-bottom: -2.5em;
}

.input-group-text {
    background: linear-gradient(0deg, #ebf4f5, #b5c6e0);
}

.form-floating>.form-control {
    padding: 1rem;
}

button#copyCssCode {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 7em;
    font-weight: 500;
}



.copycss .fa-xl {
    font-size: 1.5em;
    line-height: 1;
    vertical-align: -0.125em;
}

.cursor-pointer {
    cursor: pointer;
}

/* div#colorInputs {
    display: flex;
    gap: 10px;
} */


.add-color-hover {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border: none;
    padding: 1em;
    background-size: 300% 100%;
    border-radius: 10px;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.add-color-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.add-color-hover:focus {
    outline: none;
}

.add-color-hover.addc {
    background-image: linear-gradient(to right,
            #6253e1,
            #852d91,
            #a3a1ff,
            #f24645);
    box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}

.color-input-group:nth-child(5n){
    margin-right: 0;
}

textarea#cssOutput {
    color: #787878;
    font-weight: 400;
    font-size: 0.9em;
}

.color-input-group {
    cursor: pointer;
    position: relative;
    width: 19%;
    margin-right: 1.25%;
    padding: 0.4em;
    background-color: #4a4a4a;
    border-radius: 5px;
    border-radius: 6px;
    padding: 1em;
    display: block;
    background: #fff;
    color: #555;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

input.custom-hex-input {
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.9);
    color: #ffff;
    font-weight: 700;
    font-size: 0.88em;
}

input.custom-hex-input:focus {
    color: #ffff;
}

.form-control:focus {
    box-shadow: none;
    border-color: #b8b8b8;

}

i.delete {
    line-height: 20px;
    width: 20px;
    aspect-ratio: 1;
    font-size: 10pt;
    position: absolute;
    top: 0;
    right: -4%;
    text-align: center;
    background-color: #cdcdcd;
    border-radius: 50%;
    color: #000000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.saved-gradients h4 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 1em;
}

.saved-gradients{
    background-color: #eaeaea;
    padding: 1em;
}

label {
    font-weight: 500;
    font-weight: 500;
    font-size: 0.88em;
}

.gradient-text {
    font-size: 0.8em;
    opacity: 0.6;
    padding: 0.3em;
}

.color-input-group.selected {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.create-random {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
  }
  
  .create-random:before {
    content: "";
    background: linear-gradient(
      45deg,
      #ff0000,
      #ff7300,
      #fffb00,
      #48ff00,
      #00ffd5,
      #002bff,
      #7a00ff,
      #ff00c8,
      #ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: withhueiocreate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
  }

  @keyframes withhueiocreate {
    0% {
      background-position: 0 0;
    }
    50% {
      background-position: 400% 0;
    }
    100% {
      background-position: 0 0;
    }
  }

  .create-random:active {
    color: #f3f3f3;
  }
  
  
  .create-random:hover:before {
    opacity: 1;
  }
  
  .create-random:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2c2c32;
    left: 0;
    top: 0;
    border-radius: 0.375rem;
  }

#gradientPreview {
    position: relative;
    /* Diğer stil ayarları */
}

*/ #savedGradients {
    margin-top: 20px;
    /* Diğer stil ayarları */
}

.gradient-preview {
    width: 100%;
    aspect-ratio: 3/1;
    border-radius: 5px;
    display: inline-block;
    position: relative;

}

li {
    list-style-type: none;
    /* Liste işaretlerini kaldır */
    margin-bottom: 10px;
}

.IroBox {
    border: 0px !important;
}

ul#gradientList {
    flex-wrap: wrap;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
}

li.saved-gradient-item {
    background-color: #ffff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 0.75em;
    position: relative;
    cursor: pointer;
    width: 24.5%;
    margin-right: 0.5%;
}

.gradient-text-container {
    overflow: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div.tip span {
    font-size: 0.88em;
    color: #7f7f97;
}

.delete-gradient {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translate(-50%, -50%);
    border: none;
    background: none;
    cursor: pointer;
    color: white;
    opacity: 0.5;
}

.delete-gradient:hover {
    opacity: 0.99;
}

span.color-code {
    border: solid 1px #c0c0c0;
    border-radius: 4px;
    padding: 2px;
    margin-right: 6px;
}

.input-group {
    position: relative;
    display: flex;
}

.custom-hex-input {
    padding-right: 30px; /* Adjust as needed */
}

i.fa.fa-copy.copy-icon {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Additional styling for the icon */
.fa-copy {
    color: #333; /* Adjust color as needed */
}

input.form-control.custom-hex-input.cursor-pointer {
    border-radius: 5px !important;
}

i.fa.fa-copy.copy-icon.input-copy {
    color: #ffffff;
    filter: drop-shadow(0 0 0.2rem rgba(0, 0, 0, 0.116));
}

.color-code {
    display: flex;
    justify-content: space-between;
    font-size: 0.88em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    align-items: center;
}