:root {
  --mainbg: #162027;
  --maincomp: #FF0000;
  --textcolor: #FFFFFF;
  --bgimg: initial;
  --mdbg: rgba(22, 32, 39, 0.75);
}

/* damn you looking at my css code too? its such a mess fr */


.button:hover {
  background-color: var(--maincomp);
  color: var(--textcolor);
}

body {
  margin: 0 auto;
  background-color: var(--mainbg);
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
  border-radius: 36px;
}


/* buttons idk */

.infobutton{background-color: var(--mainbg); font-size: 32px; height: 10%; width: 15%; border-radius: 32px; position: fixed; top: 30.5%; left: 90%; translate: -50% -50%;}
.suggestbutton{background-color: var(--mainbg); font-size: 32px; height: 10%; width: 15%; border-radius: 32px; position: fixed; top: 82.5%; left: 90%; translate: -50% -50%;}

.resetbutton{background-color: var(--mainbg); font-size: 32px; height: 10%; width: 15%; border-radius: 32px; position: fixed; top: 56.5%; left: 90%; translate: -50% -50%;}
.accbutton{background-color: var(--mainbg); font-size: 32px; height: 100%; width: 25%; border-radius: 32px;}
.bgbutton{background-color: var(--mainbg); font-size: 32px; height: 100%; width: 25%; border-radius: 32px;}
.logobutton{background-color: var(--mainbg); font-size: 32px; height: 100%; width: 25%; border-radius: 32px;}
.bgimgbutton{background-color: var(--mainbg); font-size: 32px; height: 100%; width: 25%; border-radius: 32px;}
.customimgbutton{background-color: var(--mainbg); font-size: 32px; height: 100%; width: 25%; border-radius: 32px;}


.custom {
  border-color: blue;
  background-color: var(--mainbg); 
  font-size: 32px; 
  height: 64px; 
  width: 240px; 
  border-radius: 32px; 
}

#infop {
  font-size: 140%;
  color: var(--textcolor);
}

#acclabel {
  font-size: 200%;
  color: var(--textcolor);
}

#bglabel {
  font-size: 200%;
  color: var(--textcolor);
}

#logolabel {
  font-size: 200%;
  color: var(--textcolor);
}

#bgimglabel {
  font-size: 200%;
  color: var(--textcolor);
}

#info {
  display: flex;
  justify-content: flex-start;
  height: 80px;
  width: 900px;
  font-size: 16px;
}


#accselector {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 23%;
  width: 80%;
  font-size: 16px;
}

#bgselector {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 23%;
  width: 80%;
  font-size: 16px;
}

#logoselector {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 23%;
  width: 80%;
  font-size: 16px;
}

#imgform {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  width: 100%;
  height: 100%;

}

#imgformsubmit {
  color: var(--textcolor);
  padding: 8px 8px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  background-color: var(--mainbg);
  transition-duration: 0.4s;
  border: 8px solid var(--maincomp);
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: auto;
  width: 100%;
  height: 90%;
  border-radius: 64px;
  grid-area: 3 / 1 / 4 /2;
}

#imgadlabel {
  font-size: 48px;
  grid-area: 1 / 1 / 2 / 2;
}

#faddress {
  border-radius: 64px;
  background: var(--mainbg);
  border: 8px solid var(--maincomp);
  font-size: 24px;
  color: var(--textcolor);
  grid-area: 2 / 1 / 3 /2;
}

#imgformsubmit:hover {
  background-color: var(--maincomp);
  color: var(--textcolor);
}

#mainpopupbody {
  width: 95%;
  height: 90%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.exitbutton {
  border-radius: 16px;
}

#popupheader {
  grid-area: 1 / 1 / 2 / 5;
  width: 90%;
}

#popupbody {
  grid-area: 2 / 1 / 6 / 6;
}

.exitbutton {
  border-radius: 64px;
  grid-area: 1 / 5 / 2 / 6;
  width: 90% ;
  height: 90%;
}

#imagepopup {
  position: fixed;
  width: 35%;
  height: 50%;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background-color: var(--mainbg);
  border-radius: 64px;
  border: 8px solid var(--maincomp);
  z-index: 1;
  color: var(--textcolor);
  display: none;
  justify-content: center;
}

#bgimgselector {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 23%;
  width: 80%;
  font-size: 16px;
}

#settingcontainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  width: 98%;
  height: 90%;
  position: fixed;
  color: var(--maincomp);
  top: 2.5%;
  left: 50%;
  translate: -50% 0%;
  overflow-y: scroll;
  gap: 1em;
}

.gameimage {
  width: 100%;
  height: 100%;
}

#gamecontainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  min-height: 95%;
  padding: 10px;
  width: 97%;
  height: 90%;
  position: fixed;
  color: var(--maincomp);
  cursor: pointer;
  top: 1%;
  left: 50%;
  translate: -50% 0%;
  overflow-y: scroll;
  gap: 1em;
  
}

#gameframe {
  width: 100%;
  height: 100%;
  border: none;
}

.show {
  display: sh;
}

.filterDiv {
  margin: 0 auto;
  flex-grow: 1;
  flex-shrink: 0;
  position: relative;
  float: left;
  align-content: center;
  width: 100%;
  text-align: center;
  margin: 2px;
  display: show; /* Hidden by default */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0 auto;
  z-index: 1;
  min-width: 260px;
  max-width: 340px;
  min-height: 220px;
  max-height: 340px;
  overflow:hidden;
}

#myInput {
  border-radius: 64px;
  background: var(--mainbg);
  border: 8px solid var(--maincomp);
  font-size: 24px;
  color: var(--textcolor);
  grid-area: 2 / 2 / 3 / 3;
}

#gameheading {
  color: var(--textcolor);
  position: absolute;
  top: 1%;
  left: 50%;
  translate: -50% -50%;
  font-size: 48px;
}

html {
  background-color: var(--mainbg);
}



#maindiv {
  align-content: center;
  padding: 10px;
  width: 90%;
  height: 72%;
  background-color: var(--mdbg);
  position: absolute;
  color: var(--maincomp);
  display: inline-block;
  cursor: pointer;
  margin: auto;
  border-radius: 64px;
  border: 8px solid var(--maincomp);
  top: 20%;
  left: 50%;
  translate: -50% 0%;

}

#container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

#background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  display: var(--bgimg);
}

.gradient {
  height: 100%;
  width: 100%;
  background-image:linear-gradient(to top, var(--mainbg), transparent);
  position: absolute;
  top: 0;
  left: 0;
}

#maindivheading {
  grid-area: 1 / 2 / 2 / 3;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



#main {
  text-align: center;
  font-size: 300%;
  color: var(--textcolor);
}

#gogamebutton {
  width: 90%;
  height: 90%;
  grid-area: 1 / 1 / 3 / 2;
}

#gosettingsbutton {
  grid-area: 1 / 3 / 3/ 4;
}

#barbuttons {
  width: 90%;
  height: 64px;
  padding: 1px;
  cursor: pointer;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#bar {
  z-index: 1;
  align-content: center;
  padding: 8px;
  width: 90%;
  height: 14%;
  background-color: var(--mainbg);
  position: fixed;
  color: var(--maincomp);
  display: inline-block;
  cursor: pointer;
  margin: auto;
  border-radius: 64px;
  border: 8px solid var(--maincomp);
  top: 1%;
  left: 50%;
  translate: -50% 0%;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-template-columns: repeat(3, minmax(0, 1fr));

}

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


::-webkit-scrollbar-track {
  background: transparent;
}


::-webkit-scrollbar-thumb {
  background: var(--maincomp);
  border-radius: 4px;
}


::-webkit-scrollbar-thumb:hover {
  background: var(--maincomp);
}

.button {
  color: var(--textcolor);
  padding: 8px 8px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  background-color: var(--mainbg);
  transition-duration: 0.4s;
  border: 8px solid var(--maincomp);
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
  margin: auto;
}

.material-symbols-outlined {
  font-size: 64px;
}

.button1 {background-color: var(--mainbg); font-size: 32px; height: 90% ; width: 90%; border-radius: 64px;}
.gamebutton {background-color: var(--mainbg); font-size: 150%; height: 100%; width: 100%; border-radius: 32px; overflow: hidden;}




.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

