@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Light.ttf");
  font-weight: 100;
}

@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: Roboto;
  src: url("/fonts/Roboto-Bold.ttf");
  font-weight: 800;
}

:root {
  --background-color: #252934;
  --secondary-background-color: #2F3443;
  --tertiary-background-color: #3D4357;
  --header-background-color: #292D3B;
  --primary-color: #bdc2d5;
  --logo-color: #B1C0EA;
  --console-color: #1A1C22;
  --placeholder-color: #454C63;
}

body {
  /*display: flex;*/
  /*background-color: var(--background-color); v3*/
  min-height: 100vh;
  margin: 0;
  color: var(--primary-color);
  font-family: 'Roboto';

  display: grid;
  grid-template-columns: 260px calc(100% - 260px);
  grid-template-rows: max(100vh, calc(100% - 97px));
  
  background: radial-gradient(circle at top left, #2a2a2e 0%, #1a1a1d 35%); /*v3*/
}

.newborder1 {
  background: transparent !important;
  box-shadow: #6888DF 0 0 100px -20px, inset #6888DF11 0 0 100px 0 !important;
  border: 2px solid #6888DF !important;
}
.newborderred {
  background: transparent !important;
  box-shadow: #8E2B2B 0 0 100px -20px, inset #8E2B2B11 0 0 100px 0 !important;
  border: 2px solid #8E2B2B !important;
}
.newborderyellow {
  background: transparent !important;
  box-shadow: #C2982A 0 0 100px -20px, inset #C2982A11 0 0 100px 0 !important;
  border: 2px solid #C2982A !important;
}
.newbordergray {
  background: transparent !important;
  box-shadow: #3d4357 0 0 100px -20px, inset #3d435711 0 0 100px 0 !important;
  border: 2px solid #3d4357 !important;
}
.newbordergreen {
  background: transparent !important;
  box-shadow: #2B8E4D 0 0 100px -20px, inset #2B8E4D11 0 0 100px 0 !important;
  border: 2px solid #2B8E4D !important;
}

.module_default {
  border: 2px solid var(--secondary-background-color);
  border-radius: 20px;
  background: #25293488;
  margin: 20px;
}

/*.container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh + 10px);
  justify-content: space-between;
}*/

input {
  color: var(--primary-color);
  font-family: 'Roboto';
}

select {
  color: var(--primary-color);
  font-family: 'Roboto';
}

.leftcontainer {
  width: 240px;
  /* padding: 0 20px; */
  min-height: 100vh;

  grid-row-start: 1;
  padding-bottom: 30px;
  box-sizing: border-box;
  /* background-color: #25293488;
  border: 2px solid var(--secondary-background-color);
  margin-top: 20px; */
  margin-left: 20px;
  border-radius: 20px;
  height: fit-content;
}

.leftcontainer>h1 {
  color: var(--logo-color);
  font-weight: 800;
  cursor: pointer;
}

.experimentaltag {
  display: block;
  margin-top: -25px;
  font-size: 12px;
  text-align: right;
  color: #6888DF;
  font-weight: 900;
  margin-bottom: 11px; /*v3*/
}

.section>h3 {
  font-size: 16px;
  margin-bottom: 0;
}

.leftbox {
    border: 2px solid var(--secondary-background-color);
    border-radius: 20px;
    padding: 0 20px;
    background: #25293488;
    margin-top: 20px;
}
.selected_arrow {
    filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(265%) hue-rotate(190deg) brightness(93%) contrast(88%);
    margin-left: 8px;
    transform: translateY(2px) scale(1.5);
}
.group {
    padding: 15px;
}
.group_elements {
    padding-left: 15px;
}

.group>p {
  font-size: 18px;
}

.group_title {
  display: flex;
}

.group_title>img {
  width: 30px;
  height: 31px;
  filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(265%) hue-rotate(190deg) brightness(93%) contrast(88%); /*v3*/
}

.group_title>p {
  margin: 6px 0 6px 10px;
  font-weight: 900;
}
.group_title>a {
  margin: 6px 0 6px 10px;
  display: block;
  color: var(--primary-color);
  text-decoration: none;
}

.group_container {
  /* display: flex; */
}

.group_line {
  width: 6px;
  background-color: var(--tertiary-background-color);
  border-radius: 3px;
  margin: 0 12px;
}

.group_elements>a {
  margin: 10px 0 8px;
  display: block;
  color: var(--primary-color);
  text-decoration: none;
  /* height: 19px; */
  transition: all 0.2s;
}

.group_elements>a:hover {
  transform: translate(5px, 0);
}

.maincontainer {
  /*width: calc(100% - 220px);*/
  width: 100%;
  grid-row-start: 1;
  grid-row-end: 4;
}

/*
.header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  background-color: var(--header-background-color);

  position: sticky;
  top: 0;
  border-bottom: solid 5px var(--background-color);
  margin-bottom: -5px;
  z-index: 1;
}
*/

.header {
  display: flex;
  width: calc(100% - 44px);
  justify-content: space-between;
  background-color: #25293488;

  position: sticky;
  top: 20px;
  z-index: 1;
  backdrop-filter: blur(2px);

  margin: auto;
  border: 2px solid var(--secondary-background-color);
  border-radius: 20px;
  margin-top: 20px;
  align-items: center; /*v3*/
}

.header p, .header a, p, a, span, h1, h2 {
  text-shadow: #B1C0EA66 0 0 40px;
}

.header>p {
  margin-left: 15px;
}

.header>p a {
  color: var(--primary-color);
  text-decoration: none;
}

.account_header {
  display: flex;
}

.account_header>img {
  width: 32px;
  cursor: pointer;
  transition: all 0.5s;
  filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(265%) hue-rotate(190deg) brightness(93%) contrast(88%); /*v3*/
}

.account_header>img:hover {
  animation: none;
  transform: scale(1.1);
}

.account_header>a {
  margin: auto 10px auto 5px;
  color: var(--primary-color);
  text-decoration: none;
}

/*
.upgrade_button {
  background: linear-gradient(180deg, #7D57CD 0%, #1A8181 100%);
  margin: 0;
  height: 40px;
  padding: 5px 18px 5px 27px;
  border-radius: 0;
  box-shadow: #84b1c9 0px 0px 7px 0px;
  animation: UpgradeAnimation 3s linear infinite;
  width: 157px;
  cursor: pointer;
  clip-path: polygon(100% 0, 100% 100%, 9% 100%, 0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}
*/

.upgrade_button {
  background: linear-gradient(180deg, #7D57CD 0%, #1A8181 100%);
  margin: 0;
  /* animation: UpgradeAnimation 3s linear infinite; */
  width: 157px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  border-radius: 10px;
  padding: 0 10px;
  margin-right: 10px;
  height: 30px;
  box-shadow: #1A8181 0 0 60px -10px;
}

.upgrade_button>p {
  margin: 0;
  color: #A2E3CC;
}

/*
@keyframes UpgradeAnimation {
    0%{box-shadow: #84b1c9 0px 0px 7px 0px;}
    50%{box-shadow: #84b1c9 0px 0px 2px 0px;}
    100%{box-shadow: #84b1c9 0px 0px 7px 0px;}
}
*/

@keyframes UpgradeAnimation {
    0%{box-shadow: #84b1c9 0px 0px 10px 0px;}
    50%{box-shadow: #84b1c9 0px 0px 5px 0px;}
    100%{box-shadow: #84b1c9 0px 0px 10px 0px;}
}

.upgrade_text {
  background: rgb(150,113,227);
  background: linear-gradient(90deg, rgba(150, 113, 227, 1) 0%, rgba(25, 203, 203, 1) 50%, rgba(150, 113, 227, 1) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: UpgradeTextAnimation 3s linear infinite;
}

@keyframes UpgradeTextAnimation { 
  0%{background-position:0% 0%}
  100%{background-position:200% 0%}
}


/*GUIDE*/
.guidediv {
  position: absolute;
  top: 70px;
  right: 35px;
  width: 300px;
  z-index: 10;
  transition: 0.5s;
}
#gwindow {
  background-color: var(--secondary-background-color);
  width: 300px;
  border-radius: 15px;
  box-shadow: #0004 0px 6px 8px;
  transform-origin: 5px -30px;
  transition: all 0.5s;

  transform: scale(0);
  opacity: 0;
  display: none;
  border: 2px solid #3d4357 !important;

  position: fixed;
}
.gsearchbar {
  margin-bottom: 9px;
  padding: 10px 10px 0;
}
.gsearchbar>input {
  border: 0;
  outline: 0;
  width: 266px;
  background-color: var(--background-color);
  border-radius: 10px;
  padding: 5px 7px;
}
#gcontainer>a>div>h3 {
  margin: 0;
}
#gcontainer>a>div {
  margin: 10px;
  background-color: var(--tertiary-background-color);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}
#gcontainer {
  padding-bottom: 1px;
}
#gcontainer>p {
  margin: 20px;
  text-align: center;
}
#gcontainer>p>a {
  color: var(--logo-color);
}

.footer {
  background-color: #25293488;
  width: 236px;
  padding: 5px 0;
  margin-left: 20px;
  border: 2px solid var(--secondary-background-color);
  border-radius: 20px;
  margin-top: 20px;
  height: 44px;
  margin-bottom: 20px;
}
.footer>p {
  color: var(--logo-color);
  text-align: center;
  font-size: 12px;
  margin: 5px 0;
}
.footer a {
  color: var(--logo-color);
  text-decoration: none;
}
#statusnotification {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    right: 0;
    width: 300px;
    background-color: darkred;
    padding: 8px;
    text-align: justify;
    display: none;
}
.afordiv {
  text-decoration: none;
  color: inherit !important;
  margin: 0 !important;
}

@media (max-width: 800px) {
  .leftcontainer {
    width: calc(100% - 40px);
    gap: 20px;
    min-height: 0;
    display: block;
    column-count: 2;
    padding-bottom: 0;
    padding-top: 20px;
  }
  body {
    display: block;
  }
  .group {
    break-inside: avoid;
  }
  .afordiv>.leftbox {
    margin-top: 0 !important;
  }
  .footer {
    margin-top: 0;
    width: calc(100% - 44px);
  }
}

@media (max-width: 550px) {
  .leftcontainer {
    column-count: 1;
  }
  .header {
    width: calc(100% - 40px);
    display: block;
  }
  .upgrade_button {
    width: 120px;
    font-size: 14px;
    padding: 0 5px;
  }
  .header>p {
    margin: 15px;
  }
  .account_header {
    margin: 15px;
    justify-content: flex-end;
  }
}