:root {
	--white: #ffffff;
	--black: #14161A;
	--sub1: #0099FF;
	--sub1_light: #CCE5FF;
	--sub2: #00B277;
	--sub2_light: #CCFFF7;
	--gray0: #F1F3F5;
	--gray2: #737780;
	--gray3: #292C33;
}

.new_cardlist {
  display: flex;
  width: 100%;
  max-width: 1170px;
  flex-direction: row;
  gap: 45px;
  flex-wrap: wrap;
}
.new_card {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 520px;
  letter-spacing: -0.8px;
  font-style: normal;
  box-shadow: 0 10px 30px 0 rgba(51, 64, 128, 0.05);
  border-radius: 32px 0;
  overflow: hidden;

  .img {
    height: 200px;
    font-size: 14px;
    font-weight: 700;

    .img_container {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;

      .card_type {
        height: 100%;
        width: auto;
        object-fit: contain;
        display: block;
      }
      .label {
        position: absolute;
        top: 20px;
      }
      .status {
        display: flex;
        width: fit-content;
        height: 32px;
        padding: 0 12px;
        justify-content: center;
        align-items: center;
        border-radius: 16px;
        color: var(--white);
        left: 20px;
      }

      .remain {
        width: fit-content;
        height: 32px;
        padding: 0 12px;
        justify-content: center;
        align-items: center;
        border-radius: 16px;
        gap: var(--spacing-0, 0);
        background-color: var(--white);
        color: var(--gray2);
        right: 20px;

      }
    }


  }
  .contents {
    flex: 1;
    background-color: var(--white);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;

    .number {
      font-size: 12px;
      font-weight: 700;
      line-height: 160%;
      color: var(--gray2);
    }
    .title {
      color: var(--Black);
      font-size: 20px;
      font-weight: 700;
      line-height: 150%; /* 30px */
      margin-bottom: 8px;
    }
    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .tag::before {
      content: "#";
    }

    .tag {
      display: inline-block;
      font-size: 14px;
      margin-bottom: 24px;
    }

    .info {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      align-self: stretch;
    }

    .container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: var(--spacing-4, 4px);
      flex: 1 0 0;
    }

    .label {
      color: var(--gray2);
      font-size: 12px;
      font-weight: 500;
      line-height: 160%;
      text-align: center;
    }

    .value {
      display: flex;
      color: var(--black);
      font-size: 20px;
      font-weight: 500;
      line-height: 150%;
      text-align: center;
    }
    .day::before {
      content: "일";
    }

    .bottom {
      font-size: 14px;
      line-height: 160%;
      width: 100%;
    }
    .funding-amount {
      justify-content: center;
      align-content: center;
      width: 100%;
      padding: 8px 0;
      border-radius: 8px;
      background-color: var(--gray0);
      color: var(--gray2);
      font-weight: 700;
    }

    .graph {
      .graph_data {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        align-self: stretch;
        padding-bottom: 8px;
      }
    }

    .amount {
      color: var(--gray2);
      font-weight: 500;
    }

    .available {
      color: var(--gray2);
      font-weight: 700;
    }
    .bar {
      border-radius: 100px;
      background-color: var(--gray0);
      width: 100%;
      height: 4px;
      border-radius: 2px;
      overflow: hidden;

    }
    .progress {
      width: 70%;
      min-width: 4px;
      height: 4px;
      border-radius: 100px;
      background: linear-gradient(90deg, #0AF 0%, #00B277 100%);
    }
  }
}

.type1 {
  .img {
    background-color: var(--sub1_light);

    .status {
      background-color: var(--sub1);
    }
    .remain {
      display: flex;
    }

  }

  .value.highlight {
    color: var(--sub1);
    font-weight: 700;
  }
  .funding-amount {
    display: none;
  }
  .graph {
    display: block;
  }
}

.type2 {
  .img {
    background-color: var(--sub2_light);

    .status {
      background-color: var(--sub2);
    }
    .remain {
      display: flex;
    }
  }

  .value.highlight {
    color: var(--sub1);
    font-weight: 700;
  }
  .funding-amount {
    display: flex;
  }
  .graph {
    display: none;
  }
}
.type3 {
  .img {
    background-color: var(--gray3);

    .status {
      background-color: var(--black);
    }
    .remain {
      display: none;
    }
  }

  .value.highlight {
    color: var(--sub1);
    font-weight: 700;
  }
  .funding-amount {
    display: none;
  }
  .graph {
    display: block;
  }
}
.type4 {
  .img {
    background-color: var(--gray3);

    .status {
      background-color: var(--gray2);
    }
    .remain {
      display: none;
    }
  }

  .value.highlight {
    color: var(--sub1);
    font-weight: 700;
  }
  .funding-amount {
    display: flex;
  }
  .graph {
    display: none;
  }
}
