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

:root {
  --primary-color: #6e00b3;
  --secondary-color: black;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-family: "Roboto", sans-serif;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

img {
  -webkit-user-drag: none;
}

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

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

  b{
    color: white;
  }

  #center-text {
    display: none;
  }

  /* Auth Container */

  #auth-container {
    background-color: #171a21;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
  }

  #auth-container-faq-btn{
    position: absolute;
    top: 3%;
    right: 1.5%;
    font-family: "Roboto", sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: fit-content;
    font-size: 1.5vw;
    outline: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: 200ms ease-in-out opacity;
    animation: breath 2s infinite;
  }

  #faq-btn:hover {
    opacity: 0.8;
    transition: 200ms ease-in-out opacity;
  }

  @keyframes breath {
    0% {
      opacity: 0.8;
      scale: 1;
    }
    50% {
      opacity: 1;
      scale: 1.1;
    }
    100% {
      opacity: 0.8;
      scale: 1
    }
  }

  #discord-logo {
    filter: invert(100%);
    padding-top: 6%;
    padding-left: 12%;
    padding-bottom: 2%;
    scale: 1.5;
  }

  h1 {
    color: #fff;
    scale: 1.5;
  }

  p {
    color: #b8b6b4;
    scale: 0.9;
    padding-top: 1%;
    padding-bottom: 4%;
  }

  #auth-input-container {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #discord-auth-input {
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: 50vw;
    font-size: 1.5vw;
    outline: none;
    border: none;
  }

  #connect-btn {
    font-family: "Roboto", sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: 50vw;
    font-size: 1.5vw;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 200ms ease-in-out opacity;
  }

  #connect-btn:hover {
    opacity: 0.8;
    transition: 200ms ease-in-out opacity;
  }

  #connect-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  #auth-desclaimer {
    padding-top: 5%;
    text-align: center;
  }

  /* Account Confirmation Container */

  #account-confirmation-container {
    background-color: #171a21;
    display: none;
    flex-direction: column;
    align-items: center;
    height: 100vh;
  }

  #account-confirmation-container img {
    margin-top: 3%;
    width: 20%;
    border-radius: 50%;
  }

  #account-confirmation-container h1 {
    margin-top: 2%;
    color: #fff;
    scale: 1.5;
  }

  #account-confirmation-container h2 {
    color: #b8b6b4;
    scale: 0.9;
    padding-top: 1%;
    padding-bottom: 4%;
  }

  #confirm-account-btn {
    font-family: "Roboto", sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: 50vw;
    font-size: 1.5vw;
    outline: none;
    border: none;
    cursor: pointer;
  }

  #confirm-account-btn:hover {
    opacity: 0.8;
    transition: 100ms;
  }

  #deny-account-btn {
    font-family: "Roboto", sans-serif;
    background-color: darkred;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: 50vw;
    font-size: 1.5vw;
    outline: none;
    border: none;
    cursor: pointer;
  }

  #deny-account-btn:hover {
    opacity: 0.8;
    transition: 100ms;
  }

  /* Dashboard Container */

  #dashboard-container {
    background-color: #171a21;
    height: 100vh;
    display: none;
  }

  #dashboard-faq-btn{
    position: absolute;
    top: 2%;
    right: 11%;
    font-family: "Roboto", sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: fit-content;
    font-size: 1vw;
    outline: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: 200ms ease-in-out opacity;
  }

  #dashboard-faq-btn:hover {
    opacity: 0.8;
    transition: 200ms ease-in-out opacity;
  }

  #rhs-container {
    position: absolute;
    top: 27.5%;
    right: 2%;
    width: 43.7vw;
    height: 68vh;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 2%;
  }

  #notice-container {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    color: #b8b6b4;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    background-color: darkred;
    border: 1px solid rgb(179, 0, 0);
    padding: 1%;
    padding-left: 2%;
    padding-right: 2%;
    border-radius: 5px;
  }

  #selected-action-container {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    color: #b8b6b4;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    background-color: var(--primary-color);
    border: 1px solid #9d00ff;
    padding: 1%;
    padding-left: 2%;
    padding-right: 2%;
    border-radius: 5px;
  }

  #non-watermarked-messages-container{
    font-family: "Roboto", sans-serif;
    color: #b8b6b4;
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: #555555a1;
    border: 1px solid #777777;
    padding: 1%;
    padding-left: 2%;
    padding-right: 2%;
    border-radius: 5px;
  }

  #non-watermarked-messages-container div{
    background-color: red;
    border-left: 1px solid #777777;
    border-top: 1px solid #777777;
    width: fit-content;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-radius: 5px 0 5px 0px;
    color: white;
    position: relative;
    top: -5.4%;
    left: -2.4%;
  }

  #non-watermarked-messages-text{
    font-size: 25px;
    text-align: right;
    margin-left: 5%;
    margin-top: -8.5%;
  }

  #non-watermarked-messages-count{
    text-align: center;
    width: fit-content;
    font-size: 60px;
    width: 100%;
    margin-top: -20px;
    margin-bottom: -20px;
    color: white;
  }

  #disconnect-btn {
    font-family: "Roboto", sans-serif;
    position: absolute;
    top: 2%;
    right: 2%;
    background-color: darkred;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: fit-content;
    font-size: 1vw;
    outline: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: 200ms ease-in-out opacity;
  }

  #disconnect-btn:hover {
    opacity: 0.8;
    transition: 200ms ease-in-out opacity;
  }

  #dashboard-container h1 {
    padding: 4%;
    margin-left: 17%;
    color: #fff;
    font-size: 3vw;
  }

  #dashboard-container h2 {
    color: #b8b6b4;
    margin-top: -2%;
    padding-left: 2.5%;
  }

  #inputs {
    display: flex;
    flex-direction: column;
    gap: 2%;
  }

  #server-id-input {
    font-family: "Roboto", sans-serif;
    margin-top: 2%;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #server-id-input:disabled {
    cursor: not-allowed;
  }

  #channel-id-input {
    font-family: "Roboto", sans-serif;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #channel-id-input:disabled {
    cursor: not-allowed;
  }

  #message-input {
    font-family: "Roboto", sans-serif;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    height: 15vh;
    resize: none;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #message-input:disabled {
    cursor: not-allowed;
  }

  #interval-type-select {
    font-family: "Roboto", sans-serif;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #interval-type-select:disabled {
    cursor: not-allowed;
  }

  #interval-input {
    font-family: "Roboto", sans-serif;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #interval-input:disabled {
    cursor: not-allowed;
  }

  #interval-unit-select {
    font-family: "Roboto", sans-serif;
    margin-left: 2.5%;
    background-color: #101217;
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 2%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
  }

  #interval-unit-select:disabled {
    cursor: not-allowed;
  }

  #schedule-btn {
    margin-left: 2.5%;
    font-family: "Roboto", sans-serif;
    background-color: var(--primary-color);
    color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 1%;
    width: 50vw;
    font-size: 1vw;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 200ms ease-in-out opacity;
  }

  #schedule-btn:hover {
    opacity: 0.8;
    transition: 200ms ease-in-out opacity;
  }

  /* #discord-message-preview {
    background-color: #313338;
    position: absolute;
    top: 28vh;
    right: 4vw;
    width: 40vw;
    max-height: 67.5vh;
    height: fit-content;
    overflow-y: scroll;
    overflow-x: hidden;
  } */

  #help-center {
    display: none;
    position: fixed;
    top: 10%;
    left: 10%;
    width: 80vw;
    height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #222631;
    border: 1px solid #b8b6b4;
    padding-top: 1%;
    z-index: 1;
    border-radius: 8px 0 8px 8px;
  }

  #help-center div{
    width: 100%;
    padding-left: 22%;
    height: fit-content;
    padding-top: 0.2%;
    padding-bottom: 0.2%;
    border-bottom: 1px solid #b8b6b4;
  }

  #help-center div h1{
    color: white;
    text-align: left;
    margin-top: 2%;
    font-size: 1.2vw;
    width: 70%;
  }

  #help-center div p{
    color: #b8b6b4;
    text-align: left;
    margin-top: 2%;
    font-size: 1.5vw;
    padding: 0;
    margin: 0;
    width: 90%;
    margin-top: 1%;
    margin-bottom: 2%;
    margin-left: -22%;
  }

  #close-help-center-btn{
    position: fixed;
    top: 10%;
    right: 3.39%;
    font-family: "Roboto", sans-serif;
    background-color: #222631;
    border: 1px solid #b8b6b4;
    border-left: none;
    color: white;
    padding: 1%;
    border-radius: 0 5px 5px 0;
    margin-bottom: 2%;
    width: fit-content;
    font-size: 1.5vw;
    outline: none;
    cursor: pointer;
  }

}

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

  body {
    background-color: black;
  }

  #center-text {
    position: fixed;
    top: 50%;
    left: 64%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4vh;
    width: 50vw;
    text-align: center;
    scale: 1.5;
  }

  #auth-container {
    display: none;
  }

  #account-confirmation-container {
    display: none;
  }

  #dashboard-container {
    display: none;
  }

  #close-help-center-btn{
    display: none;
  }

}
