.info-card {
  z-index: 500;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  height: 600px;
  width: 360px;
  margin: 8px;
  cursor: pointer;
  color: black;
  padding: 24px;
  border: 3px solid black;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  }

.info-top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data {
  display: flex;
  flex-direction: column;
}

.data span {
  font-size: 20px;
}

.info-image-container {
  display: flex;
  justify-content: center;
}

.info-card img {
  height: 200px;
}

.close-button {
  cursor: pointer;
  padding: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0);
}

.close-button img {
  height: 32px;
}

.info-type-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.type-button-container {
  display: flex;
}

.info-type-container button {
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  width: 80px;
  margin: 4px;
  border: none;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.chart {
  position: fixed;
  bottom: -35px;
  right: 15px;
}

canvas {
  height: 400px;
}

.left-arrow {
	position: fixed;
	left: -120px;
  top: 250px;
}

.right-arrow {
	position: fixed;
	right: -120px;
  top: 250px;
}

.left-arrow img,
.right-arrow img {
  height: 120px;
  cursor: pointer;
	opacity: 0.6;
  filter: invert(29%) sepia(57%) saturate(0%) hue-rotate(178deg) brightness(100%) contrast(96%);
}

.d-none {
  display: none;
}

@media(max-width: 660px) {
  .info-card {
    height: 440px;
    width: 240px;
    margin: 0;
    cursor: pointer;
    color: black;
    padding: 24px;
    border: 3px solid black;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    }
    
  .info-card img {
    height: 160px;
  }
  
  .close-button {
    cursor: pointer;
    padding: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0);
  }
  
  .close-button img {
    height: 20px;
  }
    
  .data span {
    font-size: 16px;
  }
  
  .info-type-container button {
    font-size: 12px;
    padding: 8px;
    width: 80px;
    margin: 4px;
    border: none;
    border-radius: 4px;
  }

  .info-type-container span {
    font-size: 14px;
  }
  
  .chart {
    position: fixed;
    bottom: -35px;
    right: 15px;
  }
  
  canvas {
    height: 285px;
  }
  
  .left-arrow {
    position: fixed;
    left: 1%;
    top: 130px;
  }
  
  .right-arrow {
    position: fixed;
    right: 1%;
    top: 130px;
  }
  
  .left-arrow img,
  .right-arrow img {
    height: 50px;
    cursor: pointer;
    opacity: 0.6;
    filter: invert(29%) sepia(57%) saturate(0%) hue-rotate(178deg) brightness(100%) contrast(96%);
  }
}