* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }
  body {
    background-color: #4183c4;
  }
  .title {
    text-align: center;
    margin: 30px;
  }
  .center{
    color: white;
    text-align: center;
    margin-top: 30px;
    font-family: "Poppins", sans-serif;

  }
  .wrapper {
    background-color: #ffffff;
    width: 90%;
    max-width: 31.25em;
    position: absolute;
    /* transform: translateX(-50%); */
    left: 60%;
    margin-top: 80px;
    top: 0.5em;
    padding: 1.5em;
    border-radius: 0.8em;
  }
  img {
    display: block;
    width: 80%;
    margin: auto;
  }
  .btns-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    margin: 1em 0 1.5em 0;
  }
  input,
  label,
  button {
    border: none;
    outline: none;
  }
  input[type="file"] {
    display: none;
  }
  label,
  button {
    display: block;
    font-size: 1.1em;
    background-color: #686de0;
    color: #ffffff;
    text-align: center;
    padding: 0.8em 0;
    border-radius: 0.3em;
    cursor: pointer;
  }
  #result {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
  }
  #result div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #result input {
    background-color: transparent;
    font-size: 1em;
    padding: 0.5em;
    width: 100%;
    color: #313b4c;
    border-bottom: 0.1em solid #021637;
  }
  #result button {
    position: absolute;
    right: 0.6em;
    background-color: transparent;
    color: #7c8696;
  }
  #picked-color-ref {
    grid-column: 2;
    grid-row: 1 / 3;
    border: 0.6em solid #d9e8ff;
    border-radius: 0.5em;
  }
  #custom-alert {
    transform: scale(0);
    transition: 0.5s;
    transform-origin: center;
    background-color: #d9e8ff;
    color: #025bee;
    text-align: center;
    padding: 0.5em;
    margin-top: 1.5em;
  }
  .hide {
    display: none;
  }
  #error {
    color: #ff725a;
    text-align: center;
  }
  .line {
    color: black;
    width: 2px;
    height: 200px;
  }
  /* Import Google font - Poppins */
  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
  /* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  body {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #8A6CFF;
  } */
  .wrappe {
    background-color: #ffffff;
    width: 90%;
    max-width: 31.25em;
    position: absolute;
    transform: translateX(-50%);
    left: 20%;
    margin-top: 80px;
    top: 0.5em;
    padding: 1.5em;
    border-radius: 0.8em;
  }
  .wrappe .gradient-box {
    display: block;
    border: #021637;
    height: 220px;
    width: 100%;
    border-radius: 7px;
    background: linear-gradient(to left top, #5665e9, #a271f8);
  }
  .wrappe .row {
    display: flex;
    margin: 20px 0;
    justify-content: space-between;
  }
  .options p {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .row :where(.column, button) {
    width: calc(100% / 2 - 12px);
    width: 120px;
    height: 60px;
    margin-top: 0 5px;
  }
  .options .select-box {
    border-radius: 5px;
    padding: 10px 15px;
    border: 1px solid #aaa;
    /* transform: translateX(%); */
    right: 50%;
  }
  .select-box select {
    width: 100%;
    margin-left: 10px;
    border: none;
    outline: none;
    font-size: 1.12rem;
    background: none;
  }
  .options .palette {
    /* display: inline; */
    position: relative;
    margin-left: 20px;
  }
  .palette input {
    /* display: inline; */
    height: 41px;
    transform: translateX(-50%);
    width: 50%;
    left: 70%;
  }
  .palette input:last-child {
    margin-left: 20px;
    position: absolute;
    /* margin-top: -0px; */
  }
  .wrappe textarea {
    width: 100%;
    color: #333;
    font-size: 1.05rem;
    resize: none;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .buttons button {
    padding: 15px 0;
    border: none;
    outline: none;
    color: #fff;
    margin: 0 0 -15px;
    font-size: 1.09rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .buttons .refresh {
    background: #6c757d;
  }
  .buttons .refresh:hover {
    background: #5f666d;
  }
  .buttons .copy {
    background: #8a6cff;
  }
  .buttons .copy:hover {
    background: #704dff;
  }
  
  @media screen and (max-width: 432px) {
    .wrappe {
      background-color: #ffffff;
      width: 80%;
      max-width: 21.25em;
      position: relative;
      transform: translateY(-10%);
      left: 10%;
      margin-top: -10px;
      top: 5 em;
      /* padding: 1.5em;
      border-radius: 0.8em; */
    }
    .wrapper {
      width: 80%;
      position: relative;
      left: 10%;
    }
    .row :where(.column, button) {
      width: calc(100% / 2 - 8px);
    }
    .options .select-box {
      padding: 8px 15px;
    }
    .options .palette {
      margin-left: 40px;
    }
    .options .colors {
      display: flex;
      justify-content: space-between;
    }
    .palette input {
      width: calc(100% / 2 - 5px);
    }
    .palette input:last-child {
      margin-left: 0;
    }
  }
  