@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@1,600&display=swap');

@media (pointer:none), (pointer:coarse) {
  .centered-legend-sub, .legend{
    display: none;
  }

  .bottomrighttext{
    font-size: 18px !important;
  }

  .bottommid{
    height: 50px !important;
    width: 50px !important;
  }

  #dotcheck{
  height: 20px !important;
    width: 20px !important;;
  }

  .details-modal{
    width: 40em !important;
    height: 30em !important;

  }

  .details-modal-close svg{
    height: 2em !important;
    width: 2em !important;
  }

  .details-modal-title h1{
    font-size: 30px !important;
  }

  .details-modal-content{
    font-size: 20px!important;
  }

.bottomright{
height: 50px !important;
width: 50px !important;
}

}

@supports (-moz-appearance:none) {
   .verticaltext-one {
    margin: revert !important;
  }

  .sideleft{
    left: 14px;
  }
}

@media (max-height: 605px) {
  .textx{
    display: none;
  }
}

@media (max-height: 675px) {
.download{
    display: none;
  }
}

@media (max-height: 590px) {
.bottom{
    display: none;
  }
}

@media (max-height: 650px) {
.submyod{
    display: none;
  }
}

@media (max-height: 695px) {
  .myodsubheader > a, .myodsubheader > span{
    display: none;
  }
}

@media (max-height: 750px) {
.submyod{
/*  font-size:8px !important;*/
    margin-bottom: 0px !important;
  }

   .myodsubheader > a, .myodsubheader > span{
   font-size:12px !important;
  }

}

@media (max-height: 740px) {
  .centered-legend, .centered-legend-sub{
    display: none;
  }
}


@media (max-height: 840px) {
  .centered-legend{
    top: 84% !important;
  }

  .centered-legend-sub{
    display: none;
  }
}


@media (max-width: 395px) {
.sideright{
    display: none;
  }
  .sideleft{
    display: none;
  }
}

@media (max-width: 425px) {
.sidetools{
    display: none;
  }
}

#imgcanvas{
  display: none !important;
  opacity: 0 !important;
  z-index: -999 !important;
}


.sidetools{
   position: fixed;
/*    bottom:25%;*/
    transform: translate(-50%, -50%) rotate(180deg);
    writing-mode: vertical-rl;
   color: rgba(0,0,0,0.3);
   font-size: 12px;
  animation: fadeIn;
  animation-duration: 3s; 
}

.myodsubheader{
  text-align: center;
}


.submyod{
  font-size: 1.5vh;
  font-style: italic;
  margin-top:0px;
  margin-bottom:10px;
  color: rgba(0,0,0,0.5);
}

#thetitle {
 animation: fadeIn;
  animation-duration: 1s; 
}

#thedownload{
 animation: fadeIn;
  animation-duration: 1s; 
}

.thepunch{
 animation: fadeIn;
  animation-duration: 2s; 
  animation-delay: 0.25s;
}

#thepick{
   animation: fadeIn;
  animation-duration: 3.5s; 
}

.legend{
   animation: fadeIn;
  animation-duration: 3s; 
}

.centered-legend-sub{
  animation: fadeIn;
  animation-duration: 3s; 
}


.ds-selector-area{
  
}

.clr-top{
  /*left:50% !important;
  transform: translate(-50%, 0%) !important;*/
}

svg{
  cursor: pointer;
}

.verticaltext-one
{
  writing-mode: vertical-rl;
   transform:rotate(180deg);
   margin: 0;
}

.verticaltext-two
{
  writing-mode: vertical-rl;
/*   transform:rotate(180deg);*/
}

.sideright{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0,0,0,0.2);
  cursor: pointer;
}

.sideleft{
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(0,0,0,0.2);
  cursor: pointer;
}



input#picker{
  width: 22px;
  height: 22px;
  cursor: pointer;
}

#choosecolor{
  color: rgba(0,0,0,0.5);
}

#cgattr{
  font-size: 10px;
  color: rgba(0,0,0,0.5);
  cursor: pointer;
}

.bottomrighttext{
  position: fixed;
   bottom: 0;
  left:50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}


.bottomright{
  position: fixed;
   bottom: 12px;
  left:50%;
  transform: translate(-50%, -50%);
/*  width: 240px;*/
border-radius: 50%;
  width: 27px;
  height: 27px; 
  background: rgb(255,255,255,0.5);
  overflow: hidden;

}


.bottommid{
  position: fixed;
   bottom: 12px;
  left:50%;
  transform: translate(-50%, -50%);
/*  width: 240px;*/
border-radius: 50%;
  width: 27px;
  height: 27px; 
/*  background: rgb(255,255,255,0.5);*/
/*  overflow: hidden;*/

}

#checkimg{
  magin-top: 4px;
}

.imgupin{
  display: none !important;
}

body{
	background-color: rgba(236,236,236);
/*  background-image: linear-gradient(to right, #f7d794 , #f5cd79);*/
/*font-family: 'Sofia Sans', sans-serif;*/
font-family: 'Helvetica', sans-serif;
font-style:normal
}

.colorpicker{
  margin: 0 auto;
  text-align: center;
}

.download{
  text-align: center;
}

#downloadlink{
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0,0,0,0.69);
}

#resetlink{
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0,0,0,0.69);
}

#resetcustomimg{
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0,0,0,0.69);
}

#dltext{
font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0,0,0,0.69);
}

.zeroselect {
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none; 
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; 
}

.wh{
  font-size: 10px;
  text-align: center;
  color: black;
  margin-top: 25px;
}

.top{
  position: fixed;
  top: 0;
  left:50%;
  transform: translate(-50%, -50%);
/*  width: 240px;*/
width: 180px;
  height: 40px;
  background: rgb(255,255,255,0.5);
  border-radius: 5px;
}



.centered{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}

.punchboard{
	height:388px;
/*    width:300px;*/
width: 307px;
    padding: 20px;
    background: rgba(255,255,255);
    /*    text-align: center;*/
}

.centered-legend-sub{
    position: fixed;
    top:80%;
    left:50%;
    transform: translate(-50%, -50%);
    padding-top:100px;
}

.centered-legend-sub > span{
    font-family: 'Sofia Sans', sans-serif;
font-style: italic;
font-weight: 600; 
color: rgba(0,0,0,0.4);
font-size: 12px;
}

.legendtext > span{
color: rgba(0,0,0,0.59);
}

.arrowimg{
  opacity: .60;
}



.centered-legend{
    position: fixed;
    top:80%;
    left:50%;
    transform: translate(-50%, -50%);
    outline: 1px solid rgba(0,0,0,0.02);
}


.legend{
  font-family: 'Sofia Sans', sans-serif;
font-style: italic;
font-weight: 600; 
color: rgba(0,0,0,0.4);

  height:70px;
    width:300px;
    width:280px;

    background: rgba(255,255,255, 0.3);
    /*    text-align: center;*/
    border-radius: 5px;
}

.legendtext{
/*  padding: 3px;*/
  margin:8px;
  font-size: 14px;
  text-align: center;
}

.centered-rel{
	position: relative;
    left:50%;
    transform: translate(-50%, -50%);
}

.textx{
font-family: 'Sofia Sans', sans-serif;
font-style: italic;
font-weight: 600; 

font-size: 5vh;
text-align: center;
padding-top: 8vh;
}

.check{
	width: 20px;
	height: 20px;
	background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2022%2022%22%3E%3Cpath%20d%3D%22M%2022%2011.419%20C%2022%209.779%2021.083%208.357%2019.75%207.682%20C%2019.911%207.23%2019.999%206.742%2019.999%206.229%20C%2019.999%203.934%2018.208%202.078%2016%202.078%20C%2015.507%202.078%2015.036%202.165%2014.6%202.338%20C%2013.953%200.95%2012.582%200%2011.001%200%20C%209.419%200%208.051%200.952%207.4%202.336%20C%206.965%202.164%206.493%202.076%206%202.076%20C%203.79%202.076%202.001%203.934%202.001%206.229%20C%202.001%206.741%202.088%207.229%202.249%207.682%20C%200.917%208.357%200%209.777%200%2011.419%20C%200%2012.971%200.819%2014.324%202.034%2015.038%20C%202.013%2015.214%202.001%2015.391%202.001%2015.571%20C%202.001%2017.866%203.79%2019.724%206%2019.724%20C%206.493%2019.724%206.964%2019.635%207.399%2019.464%20C%208.048%2020.849%209.417%2021.8%2010.999%2021.8%20C%2012.583%2021.8%2013.952%2020.849%2014.6%2019.464%20C%2015.035%2019.634%2015.506%2019.722%2016%2019.722%20C%2018.21%2019.722%2019.999%2017.864%2019.999%2015.569%20C%2019.999%2015.389%2019.987%2015.212%2019.965%2015.037%20C%2021.178%2014.324%2022%2012.971%2022%2011.42%20Z%20M%2015.262%207.725%20L%2010.436%2015.116%20C%2010.274%2015.362%2010.01%2015.495%209.74%2015.495%20C%209.581%2015.495%209.419%2015.45%209.277%2015.352%20L%209.148%2015.245%20L%206.459%2012.499%20C%206.133%2012.166%206.133%2011.626%206.459%2011.294%20C%206.785%2010.962%207.314%2010.96%207.639%2011.294%20L%209.611%2013.303%20L%2013.87%206.777%20C%2014.127%206.385%2014.646%206.282%2015.029%206.542%20C%2015.414%206.803%2015.519%207.333%2015.262%207.724%20Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
	filter: invert(38%) sepia(91%) saturate(7031%) hue-rotate(331deg) brightness(95%) contrast(94%);
}


.leg-grid {
  display: grid;
/*  gap: 20px;*/
  grid-template-columns: repeat(2, 140px);
  grid-template-rows: repeat(2, 35px);
}

.leg-item{

}



.grid-container {
  display: grid;
  grid-template-columns: repeat(15, 20px);
  grid-template-rows: repeat(19, 20px);
  margin-top: 4px;
  justify-content: center;
}

.grid-item {
/*  background-color: #ddd;*/
}

.disabledlink {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}


#dotcheck{
  width: 10px;
  height: 10px; 
  margin-left: -6px;
  margin-bottom: -1px;
}

.customimg{
  max-width: 20px;
  max-height: 20px;
}

.customcoin{
  max-width: 20px;
  max-height: 20px;
  cursor: pointer;
}




.details-modal {
    -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f9fafb;
  font-size: 70%;
  line-height: 1.4;

      font-family: 'Sofia Sans', sans-serif;
font-weight: 600;
font-style: normal;
  color: #6b7280;
  background: #ffffff;
  border-radius: 0.5em;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  left: 50%;
  max-width: 90%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
width: 25em;
  text-align: left;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.details-modal-close{
cursor: pointer;
}

.details-modal .details-modal-close {
  align-items: center;
  color: #111827;
  display: flex;
  height: 4.5em;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 4.5em;
}
.details-modal .details-modal-close svg {
  display: block;
}
.details-modal .details-modal-title {
  color: #111827;
  padding: 1em 1em;
  pointer-events: all;
  position: relative;
  width: calc(100% - 4.5em);
  text-align: center;
}
.details-modal .details-modal-title h1 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: normal;
}
.details-modal .details-modal-content {
  border-top: 1px solid #e0e0e0;
  padding: 1.5em 2em;
  pointer-events: all;
  overflow: auto;
  font-size: 12px;
}

.details-modal-overlay {
  transition: opacity 0.2s ease-out;
  background: rgba(15, 23, 42, 0.8);
  position: fixed;
  opacity: 0;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}
details[open] .details-modal-overlay {
  pointer-events: all;
  opacity: 0.5;
}

details summary {
  list-style: none;
}
details summary:focus {
  outline: none;
}
details summary::-webkit-details-marker {
  display: none;
}

.container {
  text-align: center;
  max-width: 40em;
  padding: 2em;
}
.container > h1 {
  font-weight: 700;
  font-size: 2rem;
  line-height: normal;
  color: #111827;
}
.container > p {
  margin-top: 2em;
  margin-bottom: 2em;
}
.container sup {
  font-size: 1rem;
  margin-left: 0.25em;
  opacity: 0.5;
  position: relative;
}

.justcheck > svg{
  width: 12px;
  height: 12px;
  vertical-align: top;
}

#bguploadbtn, #colorbgbtn{
  cursor: pointer;
}

#colorbgpicker{
  opacity: 0 !important;
  width: 0 !important;
position: fixed;
transform: translate(-50%, -50%);
color: rgba(0,0,0,0.3);
cursor: pointer;
}

.bottommyod{
  position: fixed;
  left:50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: fadeIn;
  animation-duration: 3s; 
}


.myodtextsub{
  font-size: 12px;
  text-align: center;
  color: rgba(0,0,0,0.5);
  padding-top: 10px;
}
