@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");

html {
  background-color: #222;
  color: white;
  font-family: "Roboto", sans-serif;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

* {
  margin: 0;
  padding: 0;
}

html::-webkit-scrollbar {
  display: none;
}

#backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111;
  z-index: 1;
  opacity: 0;
  transition: 350ms;
}

@media only screen and (min-width: 600px) {
  #loader {
    background-color: blue;
    position: fixed;
    top: 0;
    left: 0;
    width: 10vw;
    height: 0.5vh;
    animation: loader 1.5s infinite;
    animation-timing-function: ease-in-out;
  }

  @keyframes loader {
    0% {
      left: -6vw;
      width: 5vw;
    }
    100% {
      left: 100vw;
      width: 50vw;
      opacity: 0;
    }
  }

  #startup-alert {
    position: fixed;
    top: 0;
    padding-top: 30vh;
    height: 100vh;
    width: 100vw;
    background-color: darkred;
    z-index: 100;
  }

  #startup-alert h1 {
    font-size: 10vh;
    margin-bottom: 5vh;
  }

  #startup-alert input {
    margin-bottom: 5vh;
    margin-top: 25vh;
  }

  #startup-alert button {
    height: 8vh;
    width: 15vw;
    font-size: 5vh;
    border-radius: 10px;
    outline: none;
    border: 3px solid black;
    cursor: pointer;
    transition: 200ms;
  }

  #startup-alert button:hover {
    background-color: grey;
    color: black;
    transition: 200ms;
  }

  #sidebar-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 3vw;
    height: 100vh;
    z-index: 1;
    border: none;
    animation: abc 1s;
    transition: 100ms;
  }

  @keyframes abc {
    0% {
      background-color: red;
      opacity: 0;
    }
    25% {
      background-color: green;
      opacity: 0.1;
    }
    50% {
      background-color: red;
      opacity: 0.1;
    }
    75% {
      background-color: green;
      opacity: 0.1;
    }
    100% {
      background-color: red;
      opacity: 0;
    }
  }

  #sidebar {
    position: fixed;
    top: 0;
    left: -25vw;
    width: 25vw;
    height: 100vh;
    background-color: #333;
    z-index: 1;
    overflow-y: scroll;
    transition: 500ms;
  }

  #sidebar::-webkit-scrollbar {
    display: none;
  }

  #sidebar h1 {
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9vh;
    margin-top: 5vh;
    margin-bottom: 5vh;
    cursor: default;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
  }

  #sidebar div {
    padding: 5%;
    margin-left: 4%;
    margin-right: 4%;
    border-bottom: 1px solid #444;
    cursor: pointer;
    font-size: large;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    transition: 200ms;
  }

  #sidebar div:hover {
    background-color: #444;
    transition: 200ms;
  }

  #sidebar div:active {
    background-color: #222;
    transition: 200ms;
  }

  #sidebar h2 {
    display: none;
  }

  #open-sidebar {
    display: none;
  }

  #dd-file-upload {
    height: 50vh;
    width: 194.4%;
    border: 4px dashed #222;
    margin-left: 2%;
    margin-bottom: 3%;
    border-radius: 10px;
  }

  #dd-file-upload img {
    height: 30vh;
    margin-top: 0vh;
    pointer-events: none;
  }

  #dd-file-upload h1 {
    pointer-events: none;
  }

  #dd-file-upload p {
    pointer-events: none;
    font-size: 3vh;
  }

  #footer {
    background-color: #333;
    padding: 0.1%;
    text-align: center;
    border-radius: 10px;
  }

  #alert-box {
    position: fixed;
    top: 2vh;
    left: -15vw;
    background-color: #444;
    width: auto;
    grid-template-columns: repeat(2, auto);
    padding: 0;
    padding-right: 2vw;
    border-radius: 5px;
    overflow: hidden;
    transition: 500ms;
  }

  #alert-embed-color {
    background-color: red;
    width: 0.3vw;
    margin-right: 1vw;
  }

  #version-display {
    color: white;
    position: absolute;
    top: 1vh;
    right: 1vw;
    margin: 0;
  }

  #heading {
    padding-top: 0vh;
  }

  #div2 {
    margin-left: 35%;
  }

  #upload-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #333;
    border-radius: 10px;
    padding: 1%;
    padding-top: 1.5%;
    padding-bottom: 0%;
    width: 90vw;
    padding-bottom: 0.1%;
    margin-left: 3.5vw;
  }

  #submit {
    background-color: #222;
    outline: none;
    border: 1px solid white;
    padding: 2%;
    padding-left: 8%;
    padding-right: 8%;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    margin-left: 0%;
    cursor: pointer;
    width: 31.5%;
  }

  #submit:hover {
    background-color: #444;
  }

  #submit:active {
    background-color: #222;
  }

  #notifications{
    position: fixed;
    bottom: 2vh;
    right: 1vw;
    width: 30vw;
    height: fit-content;
    max-height: 68vh;
    overflow-y: scroll;
  }

  #notifications::-webkit-scrollbar{
    display: none;
  }

  #notification-red{
    background-color: darkred;
    border: 2px solid red;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-green{
    background-color: darkgreen;
    border: 2px solid green;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-yellow{
    background-color: darkgoldenrod;
    border: 2px solid goldenrod;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
    color: black;
  }

  #notification-orange{
    background-color: darkorange;
    border: 2px solid orange;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-grey{
    background-color: #333;
    border: 2px solid grey;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-custom{
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }
}

@media only screen and (max-width: 600px) {

  #notifications{
    position: fixed;
    bottom: 2vh;
    right: 0vw;
    width: 100vw;
    height: fit-content;
    max-height: 68vh;
    overflow-y: scroll;
    z-index: 2;
  }

  #notification-red{
    background-color: darkred;
    border: 2px solid red;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-green{
    background-color: darkgreen;
    border: 2px solid green;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-yellow{
    background-color: darkgoldenrod;
    border: 2px solid goldenrod;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
    color: black;
  }

  #notification-orange{
    background-color: darkorange;
    border: 2px solid orange;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-grey{
    background-color: #333;
    border: 2px solid grey;
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #notification-custom{
    padding: 4%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
    margin: 1%;
    margin-top: 3%;
  }

  #loader {
    background-color: blue;
    position: fixed;
    top: 0;
    left: 0;
    width: 10vw;
    height: 0.5vh;
    animation: loader 1.5s infinite;
    animation-timing-function: ease-in-out;
  }

  @keyframes loader {
    0% {
      left: -50vw;
      width: 50vw;
    }
    100% {
      left: 100vw;
      width: 50vw;
    }
  }

  #startup-alert {
    position: fixed;
    top: 0;
    padding-top: 10vh;
    height: 100vh;
    width: 100vw;
    background-color: darkred;
    z-index: 100;
  }

  #startup-alert h1 {
    font-size: 7vh;
    margin-bottom: 5vh;
  }

  #startup-alert p {
    font-size: 2vh;
    padding: 4%;
  }

  #startup-alert input {
    margin-bottom: 5vh;
    margin-top: 20vh;
  }

  #startup-alert button {
    height: 8vh;
    width: 55vw;
    font-size: 5vh;
    border-radius: 10px;
    outline: none;
    border: 3px solid black;
    cursor: pointer;
    transition: 200ms;
  }

  #startup-alert button:hover {
    background-color: grey;
    color: black;
    transition: 200ms;
  }

  #startup-alert button:active {
    background-color: grey;
    color: black;
    transition: 200ms;
  }

  #sidebar-trigger {
    position: fixed;
    top: 0;
    left: 0;
    width: 10vw;
    height: 100vh;
    z-index: 1;
  }

  #sidebar {
    position: fixed;
    top: 0;
    left: -85%;
    width: 85%;
    height: 100%;
    background-color: #333;
    z-index: 1;
    overflow-y: scroll;
    transition: 500ms;
  }

  #sidebar::-webkit-scrollbar {
    display: none;
  }

  #sidebar h1 {
    width: 95%;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9vh;
    margin-top: 5vh;
    margin-bottom: 5vh;
    cursor: default;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
  }

  #sidebar div {
    padding: 5%;
    margin-left: 4%;
    margin-right: 8%;
    border-bottom: 1px solid #444;
    cursor: pointer;
    font-size: larger;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    transition: 200ms;
  }

  #sidebar div:hover {
    background-color: #444;
    transition: 200ms;
  }

  #sidebaridebar div:active {
    background-color: #444;
  }

  #sidebar h2 {
    position: fixed;
    bottom: 3%;
    width: 85%;
    height: 13%;
    background-color: #333;
  }

  #sidebar h2 button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    height: 50%;
    border: 2px solid white;
    color: white;
    margin-left: 7%;
    margin-top: 6.5%;
    background: none;
    outline: none;
    border-radius: 10px;
    font-size: x-large;
    font-weight: bold;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
  }

  #open-sidebar {
    position: fixed;
    left: -4%;
    bottom: 7%;
    font-size: 5vh;
    background-color: #333;
    padding-left: 9%;
    padding-right: 6%;
    border-radius: 10px;
    z-index: 1;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    transform: 500ms;
  }

  #footer {
    background-color: #333;
    padding: 0.1%;
    text-align: center;
    border-radius: 10px;
  }

  #alert-box {
    position: fixed;
    bottom: -4vh;
    left: 5vw;
    background-color: #444;
    width: 90vw;
    height: auto;
    grid-template-columns: repeat(2, auto);
    padding: 0;
    padding-right: 1vw;
    border-radius: 5px;
    overflow: hidden;
    transition: 500ms;
  }

  #alert-embed-color {
    background-color: red;
    width: 2vw;
    margin-right: 3vw;
  }

  #alert-text {
    text-align: left;
    font-size: large;
  }

  #version-display {
    color: white;
    position: absolute;
    top: 1vh;
    right: 5vw;
    margin: 0;
  }

  #heading {
    padding-top: 2vh;
    padding-bottom: 0.1vh;
    font-size: 1.5vh;
    font-weight: bold;
  }

  #uaf-txt {
    display: none;
    width: 0;
    height: 0;
  }

  #upload-div {
    background-color: #333;
    border-radius: 10px;
    width: 80vw;
    margin-left: 5.5vw;
    padding: 3%;
  }

  #div2 {
    padding-top: 1vh;
    padding-bottom: 0.5vh;
    display: grid;
  }

  #submit {
    background-color: #222;
    outline: none;
    border: 1px solid white;
    padding: 3%;
    padding-left: 8%;
    padding-right: 8%;
    color: white;
    font-weight: bold;
    border-radius: 20px;
    margin-left: 0%;
    cursor: pointer;
    margin-top: 2vh;
  }

  #submit:hover {
    background-color: #444;
  }

  #submit:active {
    background-color: #222;
  }
}
