
/*carosoul formatting*/
* {
    box-sizing: border-box;
  }
  
  /*body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    font-family: "DM Sans", sans-serif;
    transition: background 0.4s ease-in;
  }*/
  input[type=radio] {
    display: none;
  }
  .card {
    position: absolute;
    width: 80%;
    height: 110%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.4s ease;
    cursor: pointer;
  }
  .container {
   /*background: gray;*/
     margin-top: 50%px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 1000px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .cards {
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 40px;
  }
  img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  #item-1:checked ~ .cards #song-3,
  #item-2:checked ~ .cards #song-1,
  #item-3:checked ~ .cards #song-2 {
    transform: translatex(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
  }
  #item-1:checked ~ .cards #song-2,
  #item-2:checked ~ .cards #song-3,
  #item-3:checked ~ .cards #song-1 {
    transform: translatex(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
  }
  #item-1:checked ~ .cards #song-1,
  #item-2:checked ~ .cards #song-2,
  #item-3:checked ~ .cards #song-3 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;
  }
  #item-1:checked ~ .cards #song-1 img,
  #item-2:checked ~ .cards #song-2 img,
  #item-3:checked ~ .cards #song-3 img {
    box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
  }
  .player {
    margin-top: 50px;
    width: calc(95%);
    min-width: 500px;
    background-color: rgb(71, 71, 71);
    border-radius: 8px;
    min-width: 500px;
    /*padding: 16px 10px;*/
  }
  .upper-part {
    position: relative;
    display: flex;
    align-items: center;
    /*margin-top: 25px;
    margin-bottom: 25px;*/
    height: 180px;
    overflow: hidden;
  }
  /*.play-icon {
    margin-right: 10px;
  }*/
  .song-info {
    width: calc(100% - 32px);
    display: block;
  }
  .song-info .title {
    margin-top: 25px;
    color: #dadada;
    font-size: 20px;
    line-height: 30px;
  }
  .sub-line {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .subtitle,
  .time {
    font-size: 15px;
    line-height: 25px;
    color: #dadada;
    margin-bottom: 25px;
  }
  .time {
    font-size: 15px;
    line-height: 25px;
    color: #a5a5a5;
    font-weight: 500;
    margin-left: auto;
  }
  .info-area {
    width: 100%;
    position: absolute;
    top: 20px;
    left: 20px;
    transition: transform 0.4s ease-in;
  }
  #item-2:checked ~ .player #test {
    transform: translateY(0);
    
  }
  #item-2:checked ~ .player #test {
    transform: translateY(-130px);
  }
  #item-3:checked ~ .player #test {
    transform: translateY(-290px);
  }