@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Righteous&family=Shrikhand&display=swap');

html,
body {
  color: #0f0e0e;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: black;
}

.navbar a {
  color: #ffffff;
}

.navbar li a:hover {
  color: red;
}


.centered {
    /* display: grid;
    gap: 15px;
    grid-template-columns: repeat(1, 1fr); */
    margin: 25px auto;
    width: 75%;
  }

  .card {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 2fr;
    border: 3px solid black;
    padding: 0px;
    margin-bottom: 1px;
    transition: transform 0.25s ease;
    cursor: zoom-in;
  }

  .card p {
    padding-top: 12px;
  }
.card .tradingview-widget-container{
  grid-column-start: 2;
  grid-column-end: five;
  grid-row-start: row2-start;
  grid-row-end: 4;
}

.search-container .tradingview-widget-container{
  grid-column-start: 2;
  grid-column-end: five;
  grid-row-start: row2-start;
  grid-row-end: 4;
}

  .card:hover {
    background-color: #f7f7f7;
    transform: scale(1.3);
    cursor: zoom-out;
    margin-bottom: 10px;
  }



  .container {
    margin:10px, 10px;
    padding:4px;
    background-color: #ffffff;
    width: 1025px;
    height: 1000px;
    text-align:justify;
  }

  @media only screen 
  and (min-width: 768px) 
  and (max-width: 1279px){
    div.container {
      width: auto;
      height: auto;
    }
    p.title {
      word-spacing: 3.3rem;
      font-size: 20px;
    }
    main section {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
    }
    
}

@media (max-width: 767px) {
  div.container{
    width: auto;
    height: auto;
  }
  p.title {
    word-spacing: 1.2rem;
    font-size: 12px;
  }
  h1 {
    font-size: 20px;
  }
  #search{
    width: 10rem;
  }
  main section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

  h2, h3, h4 {
    font-size: 1rem;
  }
  .card p {
    font-size: 15px;
    padding-top: 9px;
  }
}


/* 
  section  {
    display: ;
  } */

  h2 {
    font-size: 30px;
    margin: 0px;
    background-color: black;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

h3 , h4 {
  font-size: 25px;
}

header {
    display: grid;
    min-height: 25vh;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
}


h1, h3, h4, p {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'Monoton', cursive;
    margin-bottom: 10px;
}



form {
    text-align: center;
}

label {
  display: grid;
}

#search {
    border: solid 2px white;
    border-radius: 3px;
    width: 20rem;
    height: 1.5rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

#button {
    width: 7rem;
    height: 2rem;
    border-radius: 10px;
    background-color: red;
    color: #ffffff;
    font-weight: 900;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.title {
    word-spacing: 5.5rem;
    background-color: black;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 0;
}

main section {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.search-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 3px solid black;
    padding: 0px;
}

.hot {
    font-size: 70px;
justify-content: space-between;}

.date {
    font-size: 20px;
    justify-content: end;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/*//////////////////////////////////////LIVE CHARTS CSS////////////////////////////////*/

.tradingview-widget-container {
  height: 300px;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
