@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.3s ease-in-out;
}
body {
    font-family: "Roboto Slab";
    font-weight: 300;
    background: rgb(10,10,10);
    color: white;
    height: 100%;
}
html {
  height: 100%;
}
:root {
    --buy: rgb(0, 150, 255);
    --sell: orange;

    /* --buy: rgb(0, 156, 117);
    --sell: rgb(160, 0, 0); */
}
a{
  text-decoration: none;
  color: white;
}

/*-- scroll styling */

::-webkit-scrollbar {
    width: 3px;
    border-radius: 10px;
    height: 3px;
    margin: 0px 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;
    margin: 0px 20px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgb(170,170,170);
    border-radius: 0px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: orange;
    ;
  }
  
  /* -------------------- */
  
  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* Firefox */
  input[type=number] {
    -moz-appearance: textfield;
  }

  /* globalMessage----------- */
  .globalMessage {
    position: fixed;
    top: 150px;
    right: 50%;
    transform: translateX(50%);
    font-size: 15px;
    letter-spacing: 1px;
    padding: 5px 45px;
    border-radius: 2px;
    font-weight: 400;
    z-index: 999999999999;
    font-family: "Kanit";
    box-shadow: 0px 0px 50px black;
    animation: messagePop 0.2s ease-in-out;
    text-align: center;
  }
  #info, #error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  #info i, #error i{
    padding-top: 3px;
    font-size: 14px;
  }
  .info {
    color: white;
    background: var(--buy);
    display: none;
  }
  .error {
    color: black;
    background: var(--sell);
    display: none;
  }
  @keyframes messagePop {
    0%{
      transform: translateY(-50px) translateX(50%);
      opacity: 0;
    }
    100%{
      transform: translateY(0px) translateX(50%);
      opacity: 1;
    }
  }