@font-face {
  font-family: 'digital-7';
  src: url('../assets/digital-7.ttf');
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  background: #293049;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
}

p {
  margin: 0;
}

.all-cart {
  width: 1160px;
  margin: 0 auto;
}

.sectionY {
  width: 1160px;
  margin: 0 auto;
}

.header {
  height: 115px;
}

.header div img {
  height: 80px;
}

.header div p {
  margin-left: -18px;
}

.singleCart {
  width: 270px;
  height: 155.5px;
  border-radius: 11px;
  background: #000;
  border: 2px solid #060803;
  margin: 15px 0;
}

.singleCart .top {
  width: 266px;
  height: 76px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(#6e6e6e 0%, #060803 100%);
}

.singleCart .top p:nth-child(1) {
    font-size: 19px;
    padding: 8px 0 0 4px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.singleCart .top p:nth-child(2) {
    font-size: 19px;
    text-transform: uppercase;
    padding: 0px 0 0 4px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.progressBarBG {
    width: 262px;
    height: 6px;
    background: #2f2f2f;
    border: 1px solid #262626;
    margin: 2px 0 9px 2px;
    border-radius: 1px;
}

.progressBar {
  background: #80FF00;
  width: 0%;
  height: 4px;
}

.desactive .top p, .desactive .top canvas, .desactive .bottom .curTime, .desactive .bottom .intro, .desactive .bottom .bpm-, .desactive .bottom .speed0, .desactive .top .progressBarBG, .desactive .bottom .curTimeSet {
  visibility: hidden;
}

.inactive .top {
  background: linear-gradient(#cacaca 0%, #818388 100%) !important;
  border-radius: 8px 8px 4px 4px !important;
}

.inactive .top p {
  color: #000;
}

.active .top {
  background: linear-gradient(#3bc744 0%, #2b8931 100%) !important;
  border-radius: 8px 8px 4px 4px !important;
}

.active .top p {
  color: #fff;
}

.lecture .top {
  background: linear-gradient(#fe3535 0%, #a10e0e 100%) !important;
  border-radius: 8px 8px 4px 4px !important;
}

.lecture .top p {
  color: #fff;
}

.singleCart .bottom {
  width: 270px;
  height: 76px;
}

.curTime, .curTimeSet {
  top: 0;
  left: 4px;
  font-size: 29px !important;
}

.numCart {
    top: 0;
    right: 8px;
    color: #08FBFB;
    float: right;
    font-size: 26px !important;
    font-weight: 400 !important;
}

.bpm {
    top: 20px;
    left: -139px;
    font-size: 10px !important;
}

.bpm- {
    top: 20px;
    left: -86px;
    font-size: 10px !important;
}

.speed {
    top: 35px;
    left: -178px;
    font-size: 10px !important;
}

.speed0 {
    top: 5px;
    left: 56px;
    color: #dbeb06 !important;
}

.intro {
    top: -2px;
    left: 72px;
    font-size: 22px !important;
}

.pfl {
    border: none;
    border-radius: 16px;
    background-color: #D6BD3F !important;
    padding: 0px 24px;
    top: 3px;
    left: 86px;
    font-size: 18px;
}

.blinking {
  animation: blinker 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes blinker {
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
