/* region BASE */

@font-face {
  font-family: "Monsterrat";
  src: url("../font/Montserrat-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Monsterrat";
  src: url("../font/Montserrat-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Unbounded";
  src: url("../font/Unbounded-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Unbounded";
  src: url("../font/Unbounded-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

:root {
  --bg-img: url("../images/bg-tile.webp");

  --font-default: "Monsterrat", monospace;
  --font-accent: "Unbounded", monospace;

  --color-default: #f8bf6a;
  --color-accent: #c6872a;
  --background-color: #2e4330;
}

body {
  color: var(--color-default);
  font-style: normal;
  font-family: var(--font-default);
  font-weight: normal;
  line-height: normal;

  background-size: cover;
  background-color: var(--background-color);
  background-image: var(--bg-img);
  background-repeat: no-repeat;
  background-blend-mode: color-burn;

  /*transition: 0.3s background ease-in-out;*/

  display: flex;
  flex-flow: column nowrap;
  flex-grow: 1;

  width: 100%;
  height: 100vh;
  overflow-x: none;
  scrollbar-width: none;
}

.background-expander {
  z-index: -1;
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
  background-attachment: fixed;
}

.logo {
  width: 30vw;
  margin-top: 2vw;
}

/* endregion */

/* region PAGE & TEXT */

aside {
  background-image: url("../images/bg-aside.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  gap: 2vh;
}

.expand {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.text-accented {
  font-family: var(--font-accent);
}

.text-bold {
  font-weight: bold;
}

.text-sz-1 {
  font-size: 1vw;
}

.text-sz-2 {
  font-size: 1.5vw;
}

.text-sz-3 {
  font-size: 2vw;
}

.text-sz-4 {
  font-size: 2.5vw;
}

.text-sz-5 {
  font-size: 5vw;
}

.tree-contour {
  background-image: url("../images/tree-contour.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 20vh;
  width: 50vw;
}

.page {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  scrollbar-width: none;
  align-items: center;
}

.page aside {
  position: fixed;
  left: 0;
  top: 0;
  width: 50vw;
  height: 100vh;
  text-align: center;
}

.page main {
  position: fixed;
  right: 0;
  top: 0;
  width: 50vw;
  gap: 1vw;
  padding-top: 2vh;
  padding-bottom: 2vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100vh;
}

.note {
  text-align: center;
  font-family: var(--font-default);

  font-size: 2vw;
  font-weight: bold;
  padding: 40px 40px;
}

.note.small {
  font-size: 1.5vw;
  font-weight: normal;
  padding: 0 40px 40px 40px;
}

/* endregion */

/* region BUTTONS */

.button {
  font-family: var(--font-default);
  font-weight: bold;
  font-size: 2vw;
  color: var(--background-color);

  display: flex;
  justify-content: center;
  align-items: center;

  width: 60%;
  cursor: pointer;
  padding: 12px 21px;

  margin: auto;
  text-align: center;
  white-space: nowrap;
  background-image: linear-gradient(var(--color-default), var(--color-accent));

  border: none;
  border-radius: 5vh;

  transition: 0.1s ease-in-out;
}

.button:hover:enabled {
  transform: translate(0.5vw, -0.5vw);
  box-shadow: -0.5vw 0.5vw 0 0 var(--background-color);
}

.button.round {
  width: 5vw;
  height: 5vw;
  background: var(--color-default);
  border: none;
  border-radius: 5vw;
}

.button.round:hover {
  background: var(--color-accent);
  transform: none;
  box-shadow: none;
}

.button.round img {
  width: 2vw;
  height: 2vw;
}

/* endregion */

/* region TRANSACTION NOTIFICATION */

.notification {
  width: 400px;
  right: calc(50% - 200px);
  bottom: 20px;
  z-index: 10;
  display: flex;
  position: fixed;
  list-style: none;
  background: black;
  flex-direction: column;
  justify-content: flex-end;
}

.notification li {
  margin: 0.4rem 1.2rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  display: flex;
  overflow: hidden;
  position: relative;
  flex-flow: column wrap;
  border-radius: 10px;
  justify-content: center;
}

/* info */
.notification li h3 {
  flex: 1;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

/* error */
.notification li h5 {
  flex: 1;
  color: red;
  margin: 0;
  overflow: auto;
  max-width: 100%;
  text-align: center;
}

/* endregion */

/* region MEDIA QUERIES */

.hide-on-mobile {
  display: block;
}

.show-on-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .logo {
    width: 50vw;
    left: 25vw;
  }

  .page aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 20vh;
  }

  .page main {
    position: fixed;
    top: 20vh;
    left: 0;
    width: 100vw;
    height: 75vh;
  }

  .button {
    font-size: calc(1vw * 5);
  }

  .button.round {
    width: 10vw;
    height: 10vw;
    border-radius: 10vw;
  }

  .button.round img {
    width: 4vw;
    height: 4vw;
  }

  .note {
    font-size: calc(1vw * 4);
    line-height: calc(1vw * 4 + 4px);
  }

  .note.small {
    font-size: calc(1vw * 3);
    line-height: calc(1vw * 3 + 4px);
  }

  .hide-on-mobile {
    display: none;
  }

  .show-on-mobile {
    display: block;
  }

  .text-sz-1 {
    font-size: 2vw;
  }

  .text-sz-2 {
    font-size: 3vw;
  }

  .text-sz-3 {
    font-size: 4vw;
  }

  .text-sz-4 {
    font-size: 5vw;
  }

  .text-sz-5 {
    font-size: 10vw;
  }
}

#VENOM_CONNECT_MODAL_ID {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

/* endregion */
