:root {
  --eco-green: #7AAC19;
  --eco-back: #F0F0F0;
  --eco-black: #000000;
  --eco-red: #F40009;
}

/** Montserrat Bold **/
@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("fonts/Montserrat-Bold.woff2") format("woff2"),
         url("fonts/Montserrat-Bold.woff") format("woff"),
         url("fonts/Montserrat-Bold.ttf") format('truetype');
}

/** Montserrat Medium **/
@font-face {
    font-family: "Montserrat";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("fonts/Montserrat-Medium.woff2") format("woff2"),
         url("fonts/Montserrat-Medium.woff") format("woff"),
         url("fonts/Montserrat-Medium.ttf") format('truetype');
}

/** Russo One **/
@font-face {
    font-family: "Russo One";
    font-style: normal;
    font-display: swap;
    src: url("fonts/Russo-One.woff2") format("woff2"),
         url("fonts/Russo-One.woff") format("woff"),
         url("fonts/Russo-One.ttf") format('truetype');
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.2em;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: var(--eco-black);
  background-color: var(--eco-back);
}

a { color: black; text-decoration: none; transition: all 0.5s ease-in-out; }
a:hover { color: var(--eco-red); }

.head-block {
  position: fixed;
  z-index: 999;
  height: 85px;
  width: 100vw;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-shadow: 0 2px 5px var(--eco-back);
  user-select: none;
  overflow-y: hidden;
}

.head-block .head-logo {
  font-family: 'Russo One', sans-serif;
  font-size: 50px;
  text-align: center;
  font-weight: 600;
  padding: 25px;
  max-width: 275px;
  cursor: pointer;
}

.head-block .head-menu {
  display: flex;
  width: calc(100% - 320px);
  margin-top: 8px;
}

.head-block .head-menu .head-title {
  margin-right: auto;
}

.head-block .head-menu .head-title h1 {
  font-size: 21px;
  line-height: 1.3em;
}

.head-block .head-button {
  padding-right: 25px;
}

.head-block .head-logo span {
  color: var(--eco-green);
}

.main-block {
  max-width: 100vw;
  margin: 0 auto;
  padding-top: 85px;
  display: flex;
  flex-direction: row;
  background-color: var(--eco-back);
}

.fun-button {
  background-color: var(--eco-green);
  font-size: 18px;
  max-width: 200px;
  color: #FFFFFF;
  border-radius: 5px;
  padding: 15px 25px;
  margin: 5px;
  display: inline-block;
  text-align: center;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.fun-button:hover {
  opacity: 0.8;
  color: #FFFFFF;
}


.copyright-button .fun-button {
  min-width: 170px;
}

.main-block .main-menu {
  width: 275px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  user-select: none;
  background-color: #FFFFFF;
}

.main-menu .menu-item ul{
  padding: 0;
  margin: 15px 0;
  list-style-type: none; 
}


.main-menu .menu-item ul li {
  display: none;
  transition: display 0.5s allow-discrete, opacity 0.5s;
}

.main-menu .menu-item ul li.ttl {
    font-weight: bold;
    cursor: pointer;
    display: block;
}

.main-menu .menu-item ul li.showli {
    display: block;
}

.main-menu .menu-item ul li {
  border-bottom: 1px solid var(--eco-back);
  padding: 15px;
  cursor: pointer;
}

.main-menu .menu-item ul li.active {
  box-shadow: 0 2px 5px var(--eco-green);
}

.main-menu .menu-item ul li:hover {
  box-shadow: 0 2px 5px var(--eco-back);
}

.main-menu .menu-item ul li a:hover {
  color: var(--eco-black);
}

.main-block .main-content {
  min-height: calc(100vh - 100px - calc(100vh - 100%));
  width: calc(100vw - 275px);
  background-color: var(--eco-back);
}

.main-block .main-content .main-form {
  background-color: #FFFFFF;
  margin: 15px 15px 0 15px;
  border-radius: 5px;
  width: calc(100vw - 302px);
  height: calc(100vh - 130px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 15px;
}

.main-block .copytight-info {
  font-size: 14px;
  text-align: center;
  padding: 15px 0;
  user-select: none;
}

.main-block .copytight-info .copyright-text {
  margin-top: 15px;
}

.main-block .copytight-info .copyright-text b{
  background: transparent url('/img/leaf.png') no-repeat right top;
  padding: 5px 14px 5px 0;
  }

.noselect {
   cursor: default;
   -webkit-user-select: none;
   -webkit-touch-callout: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
}

.noselect:focus {
   outline: none;
}

form {
  padding: 25px;
}

textarea {
  resize: none;
  border: 1px solid var(--eco-green);
}

input {
  border: 1px solid var(--eco-green);
  padding: 3px 5px;
}

.block_center {
  margin: o auto;
  text-align: center;
}

#message-form {
  display: none;
  position: fixed;
  top: calc(50vh - 125px);
  background-color: #FFF;
  padding: 25px;
  border-radius: 10px;
  left: calc(50vw - 125px);
  font-size: 18px;
  text-align: center;
  box-shadow: 1px 1px 10px gray;
  z-index: 99999;
  width: 250px;
}

#message-black {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: none;
  opacity: 0.55;
  top: 0;
  left: 0;
}

#token-name, #tokenForm {
  padding: 15px;
}

#message-black.active, #message-form.active, #info-form.active { display: block;}

.copyc { cursor:pointer;}

.copyc::after {   content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>');
  background-size: contain;
  margin-left: 3px;
  cursor: pointer;}
  
.info-panel {
  position: absolute;
  margin-left: 0px;
  width: 24px;
  height: 24px;
  border: 2px solid #7AAC19;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-family: "Russo One", sans-serif;
  cursor: pointer;
  right: 37px;
  margin-top: -7px;
  background-color: #FFFFFF;
}

.info-form {
  display: none;
  position: fixed;
  top: calc(50vh - 125px);
  background-color: #FFF;
  padding: 5px 25px;
  border-radius: 10px;
  left: calc(50vw - 150px);
  text-align: center;
  box-shadow: 1px 1px 10px gray;
  z-index: 99999;
  width: 300px;
  max-width: 98vw;
}

.info-form p {
  text-align: left;
  font-size: 14px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.95);
  z-index: 9999;
}

#logoum {
  width: 125px;
  height: auto;
}

.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.25s infinite ease-in-out;
}

@keyframes pulse {
  0% {transform: translate(-50%, -50%) scale(1);}
  50% {transform: translate(-50%, -50%) scale(1.1);}
  100% {transform: translate(-50%, -50%) scale(1);}
}
