body {
  font-family: sans-serif;
  font-size: 1.2rem;
}

#news, #art {margin-top: -60px;}

#content_studio, #donate {
  display: none;

}

#content_translate {
  display: none;
  padding-left: 30px;
  padding-right: 400px;
  }

img[id="icp"] {
  position: absolute;
  max-width: 35vw;
  max-height: 25vw;
  top: 0px;
  left: 5px;
  margin: 5px;
  z-index: 10;
}

p[id="counter"] {
  display: block;
  position: absolute;
  top: 40px;
  left: 20px;
  margin: 5px;
  font-size: 10px;
  color: grey;
}


img[id="side_menu_but"] {
  display: none;
  position: absolute;
  top: 0;
  right: 10px;
  margin: 5px;
  cursor: pointer;
  width: 26px;
}

img[id="login_but"] {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

#login_but:hover {
  opacity: 0.7;
}

#m_news, #m_art, #m_chat {display: none;}

img[id="loading"] {
  display: none;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
}

img[id="loading2"] {
  position: absolute;
  z-index: 10;
  padding: 20px;
}

form {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  flex-flow: row wrap;
  max-width: 80vw;
  margin: auto;
  align-items: baseline;
}

form[id="improve"] {
  margin-top: 10px;
  display: flex;
}

form[id="add"] {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
}

input[id="inpeng"] {
  min-width: 35%;
  height: 20px;
}

textarea[id="inpgob"] {
  min-width: 35%;
}

div[id="admin"] {
  display: none;
  border: 1px solid #222;
  background-color: white;
  opacity: 0.9;
  margin-top: 30px;
  padding: 30px;
  margin-left: 2vh;
  margin-right: 2vh;
}

div[id="gt1"] {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100vw;
  margin: auto;
}

div[id="gt2"] {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100vw;
  margin: auto;
}

div[id="translate"] {
  border: 1px solid #222;
  background-size: cover;
  height: 40vh;
  padding-bottom: 20vh;
  margin-top: 100px;
}

div[id="studio"] {
  width: 50%;
  margin: 0 auto;
  margin-top: 100px;
}

div[id="controls"] {
  float: left;
  max-width: 10vw;
}

div[id="specials"] {
  float: left;
  padding-left: 16px;
  max-width: 5vh;
  margin-left:0;
}

div[id="art_canvas"] {
  float: left;
  width: 30vw;
  height: 30vw;
  max-width: 820px;
  max-height: 820px;
  touch-action: pan-y;
}

div[id="controls"] img,
div[id="specials"] img {
  max-width: 4.5vw;
  opacity: 0.6;
}

div[id="controls2"] img {
  max-width: 4.5vw;
  margin-left: 1.2vw;
  padding-left: 0;
  opacity: 0.6;
}

div[id="controls"] img:hover {
  opacity: 0.7;
  scale: 110%;
}


div[id="specials"] img:hover {
  opacity: 0.7;
  scale: 110%;
}

.buttonz img:hover {
  scale: 110%;
}

.stack {
  display: flex;
  position: relative;
  grid-row: 1;
  grid-column: 1;
  width: 40%;
  padding-right: 300px;
  margin: 0 auto;
}

div.buttonz img {
  margin-top: 10px;
  max-width: 4vw;
}

div.buttonz {
  padding-left: 10vw;
}

.art_img {
  position: absolute;
  max-height: 820px;
  height: 30vw;
  width: 30vw;
  border: 1px solid black;
  max-width: 820px;
  max-height: auto;
}

#final_img {
  position: absolute;
  box-sizing: border-box;
  border: none;
  margin: auto;
  display: block;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 20px;
}

#close_but {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  filter: invert(1);
}

#close_but:hover {
  scale: 120%;
}

.gtiL,
.gtiL2 {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  min-width: 30%;
}

.gtiR,
.gtiR2 {
  display: flex;
  flex-flow: row wrap;
  min-width: 30%;
}

.gtiL button,
.gtiL2 button {
  position: absolute;
  top: 15px;
  right: 10px;
  display: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: black;
}

.gtiL button:hover {
  color: grey;
}

#TrCtrls1, #TrCtrls2 {
  text-align: center;
  width: 100%;
  margin-top: 3vw;
  display: block;
}


#swL1, #swL2 {
  z-index: 10;
  margin-top: 3vw;
  margin-bottom: 10px;
  width: 40px;
  cursor: pointer;
}

#swF {
  width: 45px;
  cursor: pointer;
  opacity: 0.3;
}


#swL1:hover,
#swL2:hover,
#swF:hover {
  scale: 120% !important;
}

textarea[id="gt1_i"],
[id="gt2_i"] {
  width: 100%;
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2rem;
  border-radius: 0px;
  padding: 25px 60px 20px 20px;
  line-height: 20px;
  resize: none;
  outline: none;
}

textarea[id="gt1_i"],
textarea[id="gt2_r"] {
  background-color: #add7cf;
  opacity: 0.8;
}

textarea[id="gt1_r"],
textarea[id="gt2_i"] {
  background-color: #9faf87;
  opacity: 0.8;
}

textarea[id="gt1_i"]::placeholder,
textarea[id="gt1_r"]::placeholder {
  color: DimGray;
}

textarea[id="gt2_i"]::placeholder,
textarea[id="gt2_r"]::placeholder {
  color: DimGray;
}

textarea[id="gt1_r"],
[id="gt2_r"] {
  width: 100%;
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2rem;
  border-radius: 0;
  margin-left: 0px;
  padding: 25px 60px 20px 20px;
  line-height: 20px;
  resize: none;
  outline: none;
}

.donate {
  margin-top: 3vh;
  margin-right: 320px;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 150%;
}

#trans {
  margin: 30px auto;
  padding: 10px 60px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  line-height: 160%;
}

#trans:empty {
  display: none;
}

#leng {
  margin-left: -42px;
}

#rightCol {
  display: block;
  position: absolute;
  width: 360px;
  background-color: #FFF;
  font-size: 21px;
  overflow-y: scroll;
  right: 0;
  top:100px;
  bottom: 0;
}

#art {
  display: none;
}

#oc {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-left: #d1d9de 1px solid;
  background: url('oc-gt.webp');
  background-position: center bottom;
  background-repeat: no-repeat; 
}

.deselected {
  opacity: 50%;
}

.selected {
  opacity: 1 !important;
  scale: 110%;
}

.notif {
  font-size: 1rem;
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: #323232;
  color: white;
  padding: 12px;
  border-radius: 10px;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 20;
  cursor: pointer;
}

#topmenu1 {
 max-width: 40vw;
 margin-left: auto;
 margin-right: auto;
 padding-right: 280px;
}

#topmenu1 img {
  position: absolute;
  top: 35px;
  max-width: 20vw;
}

#topmenu1_2,
#topmenu1_2l {
  margin-left: 22vw;
}

#topmenu1_2l {
  display: none;
}

#topmenu1 img:hover, #topmenu2 img:hover {
  scale: 110%;
}

#topmenu1_close, #topmenu2_close {
  display: none;
  position: fixed;
  top: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  right: 10px;
  cursor: pointer
}

#topmenu2 {
position: absolute;
width: 380px;
height: 6px;
top: 35px;
right: 0;
background-color: white;
z-index:14;
}


#topmenu2 img {
  position: fixed;
  touch-action:  none;
}

#topmenu2_2, #topmenu2_2l {
right: 100px;
}

#topmenu2_3, #topmenu2_3l {
right: 0;
}

#topmenu2_2l, #topmenu2_3l {
  display: none;
}

@media (max-width: 1000px) {
  
  input {
    font-size: 16px;
  }

  .gtiL,
  .gtiL2 {
    min-width: 95%;
  }

  .gtiR,
  .gtiR2 {
    margin-left: 0px;
    min-width: 95%;
  }

  input[id="inpeng"] {
    min-width: 80%;
  }

  textarea[id="inpgob"] {
    font-family: 'Noto Sans', sans-serif;
    min-width: 80%;
  }

  #leng {
    margin-left: 10px;
  }

  #rightCol {
    position: absolute;
    top:80px;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    z-index:15;
  }

.notif {
    bottom: 38%;
    width: 70%;
    padding: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
  }

  #oc {
    display: none;
    position: relative;
    top: 0px;
    margin-left: -2px;
    height: 78vh;
    width: auto;
    background-size: cover;
  }

  #content_translate, #content_studio {
    padding: 0;
    margin: 0;
  }
  
  #topmenu1 {
    margin: 0;
  }

  #topmenu2 {
  display: none;
  height: 40px;
  width: 100%;}

  #news, #art {margin-top: -65px;}

  #topmenu1 img  {
    margin-top: 10px;
    max-width: 40vw;
}

#topmenu2 img {
  padding-top: 0px;
  max-width: 28vw;
}

#topmenu1_2,
#topmenu1_2l {
  right: 10px;
}

#topmenu2_2,
#topmenu2_2l {
  left: 37vw;
}

#topmenu2_3,
#topmenu2_3l {
  right:-20px;
}

img[id="side_menu_but"] {
  display: block;
}

#content_studio {
  height: 100vh;
}

div[id="translate"] {
  margin-left: -10px;
  margin-right: -10px;
  margin-top: 85px;
}


div[id="studio"] {
  width: 100%;
  height: auto;
  margin: 0 auto;
  margin-top: 80px;
}

.art_img {
  position: absolute;
  width: 100%;
  height: auto;
  max-width:none;
  max-height:none;
  border: 0px solid black;
}

div[id="art_canvas"] {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  border: 0px solid black;
  overflow-y: scroll;
}

div[id="controls"] {
  position: absolute;
  float: none;
  max-width: none;
  padding-top: 100vw;
}

div[id="controls"] img {
  max-width: 18vw;
  opacity: 0.6;
}

div[id="specials2"] {
  margin-left: -5px;  
}
div[id="specials2"] img {
margin-left: 5px;
}

div[id="controls"] img:hover {
  opacity: 0.7;
  scale: 100%;
}

.selected {
  opacity: 1 !important;
  scale: 100%;
}

.donate {
margin: 0;
}

#rightCol {
display: none;
}

.bodsy {
  overflow-x: hidden;
}
#left_but {
  position: absolute;
  left: 10px;
  top: 45vw;
  scale: 200%;
}
#right_but {
  position: absolute;
  right: 10px;
  top: 45vw;
  scale: 200%;
}
#rnd_but {
  position: absolute;
  left: 15px;
  top: 85vw;
  scale: 200%;
}

#dwn_but {
  position: absolute;
  right: 5vw;
  top: 85vw;
  scale: 200%;
}

#search_but {
  position: absolute;
  right: 15px;
  top: 10px;
  scale: 200%;
}

.stack {
  width: 100%;
  padding: 0;
  margin: 0;
}

div.buttonz {padding-left: 0;

}
#m_news, #m_art, #m_chat {display: block;}

#final_img {
  top: 80px;
  width: 100%;
  height: auto;
  padding: 20px;
  min-height: 0;
  min-width: 0;
}

#counter {
  display: none;
}

img[id="login_but"] {
  top: 
  2px;
  right: 60px;
}
}

#side_menu {
display: none;
background-color: rgb(179, 237, 191);
position: absolute;
padding: 28px;
top: 0;
right: 0;
width: 220px;
height:auto;
opacity: 0.9;
z-index: 18;
}
#side_menu img{
  padding: 5px;
}

#side_menu img:hover{
  scale: 110%;
}


#m_close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.DOMpreload img {
  visibility: hidden;
  display: inline-block;
  width : 20px;
  height: 20px;
}

#loadingBar {
  color: white;
  text-align: center;
  margin-top: 50vh;
  padding-top: 20px;
  padding-left: 100px;
}

#admin_close {
  width: 24px;
  margin-left: 99%;
  margin-top: -20px;
  }
#admin_close:hover {
  scale: 110%;
}

@font-face {
  font-family: 'BoldlyMissy';
  src:url('BoldlyMissy.woff') format('woff'),
  url('DigitalStripBB.eot'),
  url('DigitalStripBB.eot?#iefix') format('embedded-opentype'); 
  font-weight: normal;
  font-style: normal;
}

.prevent-zoom {
  touch-action: manipulation;
}