@font-face {
  font-family: 'opensans';
  src: url('/static/opensans.ttf');
}

* {
  font-family: sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  background-color: #15181a;
  display: flex;
  margin: none;
  padding: none;
  justify-content: center;
  align-items: center;
}

a {
  font-weight: bold;
  color: #0087f2;
}

a:hover {
  color: #5eabea;
}

.box {
  display: block;
  background: none;
  box-shadow: 0px 0px 20px #000;
  width: 30%;
  height: calc(100% - 50px);
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 8px;
  position: relative;
}

#chat {
  color: #fff;
  position: absolute;
  top: calc(100% - 10px);
  left: 10px;
  width: calc(100% - 20px);
  translate: 0 -100%;
  padding: 10px;
  outline: none;
  background-color: #1f272a;
  border: 1px solid black;
  border-radius: 5px;
  position: absolute;
}

#chat:disabled {
  cursor: not-allowed;
}

#chatc {
  height: 92.5%;
  background: none;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.amberimage {
  margin: 15px 0px 0px 16px;
}

.amberimage img {
  width: 250px;
}

.box{
  margin: 0px 13px;
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: none;
  border-radius: 4px;
  padding: 2px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #88888855;
  opacity: 0;
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #88888899;
}

font {
  font-size: 20px;
}

p {
  background-color: #000;
  color: #aaa;
  padding: 10px 20px;
  border-radius: 15px;
}

.box p {
  width: fit-content;
  max-width: 75%;
  margin: 16px 16px 0px 16px;
}

.statics {
  display: none;
}

@media (max-width: 1100px) {
  * {
    font-family: 'opensans';
    font-size: 13px;
  }

  body {
    align-items: normal;
  }
  
  .statics {
    flex-direction: column;
    height: fit-content;
    width: fit-content;
    justify-content: center;
    font-size: 10px;
    margin-top: 10px;
  }

  .statics p {
    align-self: center;
    font-size: 12px;
    width: 85%;
  }

  .statics font {
    font-size: 14px;
  }

  .statics a {
    font-size: 12px;
  }

  #chat {
    position: absolute;
    top: calc(100% - 10px);
    left: 3px;
    width: 85%;
  }

  .box {
    width: 100%;
    height: 100%;
    box-shadow: none;
  }

  .box p {
    margin: 10px 5px 0px 0px;
  }

  #chatc {
    height: 91%;
  }

  .amberimage{
    margin: 15px 0px 0px 20px;
  }

  .amberimage img {
    width: 200px;
  }

  hr {
    display: none;
  }

  font {
    font-size: 16px;
  }

  p {
    padding: 6px 13px;
  }
}