.egg {
  .eggPosition {
    display: block;
    border-radius: 20px;
    height: 0;
    width: 0;
    padding: 26%;
    margin: 0 auto;
    position: relative;
  }

  .eggBorder {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .egg-g {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: center/70% no-repeat;
    border-radius: 15px;
  }

  .egg-gs {
    position: absolute;
    top: -13.5%;
    left: 0;
    bottom: 0;
    right: 0;
    background: center/70% no-repeat;
    border-radius: 15px;
  }

  .egg-T {
    position: absolute;
    top: 9%;
    left: 54%;
    transform: translateX(50%) rotate(0deg);
    height: 0;
    width: 0;
    padding: 9%;
    background: center/contain no-repeat;
    transform-origin: right bottom;
  }

  @keyframes attack {
    0% {
      transform: rotate(0deg);
    }

    50% {
      transform: rotate(90deg);
    }

    75% {
      transform: rotate(-25deg);
    }

    100% {
      transform: rotate(0deg);
    }
  }

  .egg-attacded {
    animation: attack 0.5s;
    animation-iteration-count: 1;
  }

  .click {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-sizing: border-box;
    top: 72%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 10%;
    background: linear-gradient(180deg, #ffdc7b 0%, #fec75c 100%);
    border-radius: 24px;
    border: 2px solid #c3752d;
    text-align: center;
    min-height: 26px;
    max-height: 60px;
    cursor: pointer;
  }

  .clickText {
    line-height: 5%;
    font-size: 2vw;
    font-family: PingFangSC-Semibold, PingFang SC;
    font-weight: 600;
    color: #9d5f28;
  }
}
