@font-face {
  font-family: 'I Still Believe';
  src: url('IStillBelieve.eot');
  src: url('IStillBelieve.eot?#iefix') format('embedded-opentype'),
      url('IStillBelieve.woff2') format('woff2'),
      url('IStillBelieve.woff') format('woff'),
      url('IStillBelieve.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'New Standard';
  src: url('NewStandard.eot');
  src: url('NewStandard.eot?#iefix') format('embedded-opentype'),
      url('NewStandard.woff2') format('woff2'),
      url('NewStandard.woff') format('woff'),
      url('NewStandard.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:#16151a;
}

html.modal-active, body.modal-active {
  overflow: hidden;
}

.m-pagetransition {
  visibility: hidden;
}

.logo-container {
  position: absolute;
  top: 0px;
  width: 280px;
  height: 280px;
  z-index: 1;
  left: 5px;
  right: 5px;
  margin: auto;
  pointer-events: none;
}

.mint-logo-container {
  position: absolute;
  top: 0px;
  width: 180px;
  height: 130px;
  z-index: 1;
  left: 5px;
  right: 5px;
  margin: auto;
  pointer-events: none;
}

.mint-logo {
  position: absolute;
  top: 35px;
  left: 10px;
  right: 10px;
}

#icons-menu {
    cursor: url(grab.png), grab;
}

.mint-logo a, .icons-menu-container a {
    cursor: url(pointer.png), pointer;    
}

.sun {
  width: 70%;
  height: 70%;
  position: relative;
  -webkit-mask-image: radial-gradient(black 20%, transparent 65%);
  mask-image: radial-gradient(black 0%, transparent 65%);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
  margin: auto;
  left: 5px;
  top: 7px;
}

.sun:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(black 40%, transparent 65%);
  mask-image: radial-gradient(black 40%, transparent 65%);
  background: repeating-conic-gradient(from 0deg, #e8ddb4 0deg 20deg, transparent 20deg 40deg);
  animation: rotate 7s linear, scale 3s linear infinite;
}

.logo {
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
}

.logo a {
    cursor: url(pointer.png), pointer;    
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes scale {
	0% {
		transform: scale(1);
	}
	20% {
		transform: scale(1.2);
	}
	40% {
		transform: scale(0.8);
	}
	60% {
		transform: scale(1.1);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		transform: scale(1);
	}
}

.icons-menu-container {
    display: flex;
    position: absolute;
    top: 30px;
    max-width: 360px;
    height: auto;
    width: 25vw;
    z-index: 1;
    right: 0;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background-color: transparent;
}

.grid-menu {
    position: relative;
    display: flex;
    margin: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-image: url('https://notoriousfoolacademy.com/mint/bg-menu.png');
    padding: 1.5vh 10px 10px 2.5vw;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    background-color: transparent;
}

.icons-menu-container a {
    display: flex;
    margin: 10px;
    background-color: transparent;
}

.icons-menu-container img {
    width: 64px;
    transform: scale(1);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.icons-menu-container a:hover img {
    transform: scale(1.2);
}

.hero {
  align-items: stretch;
  min-height: 100vh;
  min-width: 100vw;
  position: fixed;
  overflow-x: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#hero::-webkit-scrollbar, #bg::-webkit-scrollbar {
  display: none;
}

#bg {
  position: absolute;
  height: 1440px;
  max-height: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: top;
  top: 50%;
}

img {
  max-width: 100%;
}

#hint {
  display: none;
  position: absolute;
  margin: auto;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

#modal-container .modal-background .modal p.center {
  text-align: center;
}

#modal-container .modal-background .modal small {
  font-size: 22px;
  display: block;
  line-height: 18px;
  margin-top: 7px;
}

#modal-container .modal-background .modal span {
  display: block;
  margin-top: 10px;
}

.blockquote {
  font-family: 'New Standard';
  position: relative; /* for pseudos */
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  margin: 50px 30px;
  border-radius:20px;
  padding: 25px;
  background-color: rgb(218 91 12 / 27%);
}

.blockquote:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0px 0 20px 20px;
  border-color: transparent transparent rgb(218 91 12 / 27%) transparent;
  width: 20px;
  height: 20px;
  top: -20px;
  right: 30px;
  z-index: 2;
}
.hotspot {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: url(pointer.png), pointer;
}

.hotspot:hover {
  -webkit-filter: drop-shadow(5px 0px 0px #ffffff) drop-shadow(-5px 0px 0px #ffffff) drop-shadow(0px -5px 0px #ffffff) drop-shadow(0px 5px 0px #ffffff) drop-shadow(5px -5px 15px #16151a);
  filter: drop-shadow(5px 0px 0px #f0e8db) drop-shadow(-5px 0px 0px #f0e8db) drop-shadow(0px -5px 0px #f0e8db) drop-shadow(0px 5px 0px #f0e8db) drop-shadow(5px -5px 15px #16151a);
}

.bus {
  transform: translate(1948px, 1086px) scale(1);
}

.academy {
  transform: translate(1099px, 55px) scale(1);
}

.dapp {
  transform: translate(711px, 887px) scale(1);
}

.wen {
  transform: translate(1340px, 471px) scale(1);
}

.faq {
  transform: translate(2095px, 629px) scale(1);
}

.baloons {
  transform: translate(2324px, 298px) scale(1);
}

.team {
  transform: translate(640px, 693px) scale(1);
}

.medium {
  transform: translate(0px, 1051px) scale(1);
}

.roadmap {
  transform: translate(211px, 360px) scale(1);
}

.wallet {
  transform: translate(1336px, 983px) scale(1);
}

.bus:hover  {
  transform: translate(1928px, 1056px) scale(1.14);
  transform-origin: revert;
}

.academy:hover {
  transform: translate(1089px, 15px) scale(1.05);
  transform-origin: revert;
}

.dapp:hover {
  transform: translate(700px, 857px) scale(1.14);
  transform-origin: revert;
}

.wen:hover {
  transform: translate(1337px, 467px) scale(1.05);
  transform-origin: revert;
}

.faq:hover {
  transform: translate(2085px, 597px) scale(1.05);
  transform-origin: revert;
}

.baloons:hover {
  transform: translate(2314px, 258px) scale(1.05);
  transform-origin: revert;
}

.team:hover {
  transform: translate(630px, 673px) scale(1.05);
  transform-origin: revert;
}

.medium:hover {
  transform: translate(-30px, 1041px) scale(1.05);
  transform-origin: revert;
}

.roadmap:hover {
  transform: translate(201px, 330px) scale(1.05);
  transform-origin: revert;
}

.wallet:hover {
  transform: translate(1333px, 979px) scale(1.05);
}

.screen {
    width: 900px;
    height: 700px;
    transform: translate(975px, 170px) scale(1);
    mix-blend-mode: lighten;
}

.not-mobile.safari .fram, .safari.not-mobile .fram {
    transform: translate(336px, -60px) scale(0.55);
    mix-blend-mode: lighten;  
}

.mobile .mint-logo-container { display: none; visibility: hidden; }

/* STAKING */

.chalkboard {
    width: 1580px;
    height: 960px;
    transform: translate(651px, 298px) scale(1);
}

#mbg {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#modal-container {
  position: fixed;
  display: table;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  transform: scale(1);
  animation: zIndex 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container .modal-background {
  display: flex;
  text-align: center;
  height: inherit;
  align-items: center;
  justify-content: center;
}
#modal-container .modal-background .modal {
  display: none;
  padding: 5vh 2.5vw;
  position: relative;
  rotate: -1.88deg;
  text-transform: uppercase;
  max-width: 1440px;
  width: auto;
  max-height: 90vh;
  background-image: url(../paper-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(2px 2px 3px #2e2d30);
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}
#modal-container .modal-background .modal .content {
  width: 100%;
  height: 100%;
  padding: 5vh 2.5vw;;
}

#modal-container .modal-background .modal .content img {
    max-width: 80%;
    padding: 0 50px;
}

#modal-container .modal-background .modal .content .columns {
  column-count: 2;
  column-gap: 50px;
}

.break {
    break-after: column;
}

#modal-container .modal-background .modal h2 {
  font-family: 'I Still Believe';
  font-size: 3em;
  line-height: 2;
  margin-bottom: 15px;
  filter: drop-shadow(2px 0px 0px black);
}
#modal-container .modal-background .modal p {
  font-size: 1.6em;
  line-height: 1.2;
  text-align: left;
  text-transform: none;
  margin-bottom: 14px;
  font-family: 'New Standard';
}

#modal-container.out {
  animation: zIndexRev 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container.baloons .modal-background .modal.baloons,
#modal-container.wen .modal-background .modal.wen,
#modal-container.roadmap .modal-background .modal.roadmap,
#modal-container.team .modal-background .modal.team,
#modal-container.medium .modal-background .modal.medium,
#modal-container.faq .modal-background .modal.faq,
#modal-container.wallet .modal-background .modal.wallet {
  animation: blowUpModal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  display: flex;
}
#modal-container.baloons + .hero,
#modal-container.wen + .hero,
#modal-container.roadmap + .hero,
#modal-container.team + .hero,
#modal-container.medium + .hero,
#modal-container.faq + .hero,
#modal-container.wallet + .hero {
  z-index: 1;
  animation: blowUpContent 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.baloons.out .modal-background .modal.baloons,
#modal-container.wen.out .modal-background .modal.wen,
#modal-container.roadmap.out .modal-background .modal.roadmap,
#modal-container.team.out .modal-background .modal.team,
#modal-container.medium.out .modal-background .modal.medium,
#modal-container.faq.out .modal-background .modal.faq,
#modal-container.wallet.out .modal-background .modal.wallet {
  animation: blowUpModalTwo 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.baloons.out + .hero,
#modal-container.wen.out + .hero,
#modal-container.roadmap.out + .hero,
#modal-container.team.out + .hero,
#modal-container.medium.out + .hero,
#modal-container.faq.out + .hero,
#modal-container.wallet.out + .hero {
  animation: blowUpContentTwo 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes zIndex {
  0% {
    z-index: 0;
  }
  100% {
    z-index: 5;
  }
}

@keyframes zIndexRev {
  0% {
    z-index: 5;
  }
  100% {
    z-index: 0;
  }
}

@keyframes blowUpContent {
  0% {
    filter:blur(0);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    filter:blur(10px);
    transform: scale(1.1);
    opacity: 0.9;
  }
}
@keyframes blowUpContentTwo {
  0% {
    filter:blur(10px);  
    transform: scale(1.1);
    opacity: 0.9;
  }
  100% {
    filter:blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes blowUpModal {
  0% {
    transform: scale(14);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes blowUpModalTwo {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  99% {
    transform: scale(14);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

#inputWallet {
    font-family: 'New Standard';
    width: 100%;
    min-width: 640px;
    outline: transparent solid 2px;
    outline-offset: 2px;
    position: relative;
    appearance: none;
    transition-property: background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;
    transition-duration: 250ms;
    padding: 20px;
    font-size: 24px;
    line-height: 100%;
    border-radius: 16px;
    border: 3px solid rgb(255 255 255);
    margin-bottom: 20px;
}

#inputWallet:focus {
    border: 3px solid #d8bea8;
}

button#submit {
    cursor: pointer;
    font-family: 'New Standard';
    position: relative;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    border-radius: 20px;
    padding: 15px 35px;
    background-color: rgb(218 91 12 / 27%);
    border: none;
}

button#submit:hover {
    background-color: rgb(12 218 49 / 27%);
}

#loaderIcon {
    max-height: 30px;
    position: relative;
    top: 5px;
    margin-left: 10px;
}

div#status {
    font-family: 'New Standard';
    font-size: 1.5em;
    margin-top: 40px;
}

label#label-text {
    font-family: courier;
}

.grabbing {
  cursor: url(grabbing.png), grabbing;
  cursor: url(grabbing.png), -moz-grabbing;
  cursor: url(grabbing.png), -webkit-grabbing;
}

.grab {
  cursor: url(grab.png), grab;
  cursor: url(grab.png), move;
  cursor: url(grab.png), -moz-grab;
  cursor: url(grab.png), -webkit-grab;
}

@media screen and (max-width: 768px) {
    .ondesktop { display: none; opacity:0; visibility:hidden; }
    .onmobile { display: block; }
    
    .logo-container {
        width: 220px;
        height: 220px;
        right: 5px;
        margin: auto;
    }
    #hint {
      display: block;
    }
    #modal-container .modal-background .modal h2 {
      font-size: 2em;
      line-height: 1.5;
      filter: drop-shadow(1px 1px 0px black);
    }
    #modal-container .modal-background .modal p {
      font-size: 1.2em;
      line-height: 0.9;
    }
    #modal-container .modal-background .modal small {
      font-size: 16px;
      line-height: 14px;
    } 
    #modal-container .modal-background .modal {
      max-width: unset;
      width: 100vw;
      max-height: 100vh;
    }
    #modal-container .modal-background .modal .content {
      overflow-y: auto;
    }
    #modal-container .modal-background .modal .content .columns {
      column-count: 1;
    }
    .break {
        break-after: auto;
    }
    #inputWallet {
        min-width: 100%;
    }
    #icons-menu {
        display: none;
    }
    .icons-menu-container {
        top: 0px;
        max-width: 400px;
        width: 100vw;
        margin: 0 auto;
        left: 0;
        background: transparent;
    }
    .grid-menu {
        background-image: url('https://notoriousfoolacademy.com/mint/bg-menu-mobile.png');
        background-position: center;
        justify-content: center;
        background-size: cover;
        padding: 10px 10px;
        background-color: transparent;
    }
    .icons-menu-container a {
        margin: 5px 10px;
    }
    .icons-menu-container img {
        width: 50px;
    }
}