/* global */
html {
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0;

  background-color: var(--backgroundColor);
  color: var(--spotColor);

  font-family: 'nestregular';
  font-size: var(--fontSizeM);
  line-height: 1.3;
  letter-spacing: 0.35px;
}

* {
  /* border: 1px solid black; */
  box-sizing: border-box;
  transition: opacity var(--transitionSpeedOpacity) ease;
}

/* no text selection  */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

::-moz-selection {
  /* Code for Firefox */
  background: var(--grey);
}

::selection {
  background: var(--grey);
}

/* font */
@font-face {
  font-family: 'nestregular';
  src: url('../assets/font/Nest-Regular.woff2') format('woff2'),
    url('../assets/font/Nest-Regular.woff') format('woff'),
    url('../assets/font/Nest-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
/* hidden */
.invisible {
  opacity: 0 !important;
}

.notDisplayed {
  display: none !important;
}

/* clickable */
.clickable {
  cursor: pointer;
  transition: none;
}

@media screen and (hover: hover) {
  .clickable:hover {
    cursor: pointer;
    opacity: 0.5;
  }
}
