/* FONT IMPORT */
@import url("https://fonts.googleapis.com/css?family=Megrim");

/* BODY BACKGROUND */
body {
  background-color: black;
}

/* HEADING && LOGO*/
h1 {
  font-family: Megrim, cursive;
  font-size: 4.5vw;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: rgb(255, 255, 255) 0px 0px 5px, rgb(255, 255, 255) 0px 0px 10px,
    rgb(255, 255, 255) 0px 0px 15px, #ffc107 0px 0px 20px, #ffc107 0px 0px 30px,
    #ffc107 0px 0px 40px, #ffc107 0px 0px 55px, #ffc107 0px 0px 75px;
}

.mainLogo {
  width: 35%;
  height: auto;
}

header {
  height: 100vh;
  display: flex;
  align-items: center;
}

/* PARALLAX */
.parallax {
  background-image: url("../Img/ParallaxBg.jpg");
  height: 100%;
  width: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* NAVBAR */
.navBarLogo {
  width: 5rem;
  height: auto;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
}

/* COIN CARDS */
.coins {
  margin: 3rem;
}

.card {
  margin: 1rem;
  width: 15rem;
  height: 100%;
}

.card:hover {
  box-shadow: 0 4px 10px rgb(255, 193, 7), 0 4px 10px rgb(255, 193, 7);
}

/* CARD BUTTON */
.moreInfo {
  width: 100%;
}

/* HOVER FOR BUTTONS */
.moreInfo:hover,
#changeCoin:hover,
#closeModal:hover {
  color: #ffc107;
  background: black;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2),
    0 3px 8px 0 rgba(255, 193, 7, 0.15);
}

/* LOADING SPINNER */
#spinner {
  display: none;
  position: absolute;
  z-index: 9999;
}

.spin {
  width: 40%;
}

/* CHECKBOX */
input[type="checkbox"] {
  cursor: pointer;
}

/* COLLAPSE */
.collapse {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  transition: height 0.3s;
}

.collapseImg {
  margin: auto;
  width: 50%;
  border: 2px solid #ffc107;
  background: white;
  box-shadow: 0px 6px 5px #ffc107;
  border-radius: 190px;
}

/* MODAL */
.modal-content {
  border: 2px solid #ffc107;
  background: rgba(0, 0, 0, 0.8);
  color: #ffc107;
}

/* MODAL COLLAPSE */
.approveChange {
  margin: auto;
  margin-top: 1rem;
  width: 2.5rem;
}

/* NAVBAR ACTIVE  */
.nav-link.active {
  background-color: #ffc107;
  color: black !important;
  border-radius: 10px;
}

/* LIVE REPORTS */
.liveReportChartHead {
  text-align: center;
  margin-bottom: 2rem;
}
#liveReports {
  height: 45rem;
}

/* ABOUT */
#about {
  padding: 2.5rem;
  border-radius: 20%;
  width: 50%;
  height: 100;
  margin: auto;
  background-color: rgba(255, 193, 7, 0.9);
}

.coinsImg {
  height: 16rem;
  max-width: 100%; /* This will ensure the image doesn't exceed its container width */
}

/* layout for medium-sized screens */
@media (min-width: 768px) {
  #about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #about > div {
    flex-basis: 90%;
    max-width: 90%;
  }
}
