
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: var(--color-logoHeart);

  &:hover {
    text-decoration: underline;
    /* text-shadow: 0 0 1px rgba(0,0,0,.4);
    text-shadow: 0 0 1px var(--color-logoLight); */
  }
}

.auto-gifts {
  font-family: "BCBold";
  color: var(--color-logoDark);
  white-space: nowrap;
}
.auto-game {
  font-family: "BCBold";
  color: var(--color-logoDark);
  white-space: nowrap;
}
.auto-trait {
  --font-family: var(--ffm-text-italic);
  white-space: nowrap;
}

body {
  margin: 0;
  background-color: var(--color-background);
  
  line-height: var(--line-height);
  font-family: var(--ffm-text);

  color: var(--color-black);
}

.close-to-above {
  margin-top: .5rem;
}

form {
}

header {
  margin-top: 0 !important;
  padding-top: var(--header-padding-top);
  box-sizing: content-box;
  height: var(--header-height);


  #header-logo {
    height: 100%;
    display: block;
  
    img {
      height: 100%;
    }
  }

  #burger {
    padding: .5rem;
    line-height: 0;
    border: none;
    background-color: rgba(255,255,255,.6);
    border-radius: .5rem;
    align-self: center;

    &:active {
      background-color: white;
    }

    img {
      width: 2rem;
    }
  }
}

.internal-link {
  white-space: nowrap;
}

li {
  margin: 0;
  margin-top: 1rem;
}

.li-heading {
  --font-family: var(--ffm-text-strong);
  color: var(--color-logoDark);
}

main {
  min-height: calc(100vh - var(--footer-height) - var(--header-height) - var(--header-padding-top) - var(--footer-margin-top) - 2 * var(--margin));
}

.modal-container {
  margin: 0 !important;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,.7);
  color: var(--color-logoXLight);
  z-index: 1000;
  display: none;

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

  &.show {
    display: flex;
  }
}

#modal-main-content {
  padding: 2rem;
  background-color: var(--color-logoDark);
  border-radius: 1rem;
  box-shadow: 0 0 5px var(--color-logoDark);
}

.no-bullet {
  list-style: none;
}

ol {
  margin: 0;
}

.p-separator {
  line-height: 0;
  margin: 0;
  margin-top: .25rem;
}

.page {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  display: none;

  &.active {
    display: block;
    position: relative;
    transition: opacity 1s;
    opacity: 1;
    pointer-events: all;  
  }
  
  .page-title {
    --font-family: var(--ffm-page-title);
    --font-size: var(--fsz-page-title);
    color: var(--color-logoDark);
  }
}

div.p-gragh {
  margin: 1rem 0;

  &.xtra-margin-top {
    margin-top: 2rem;
  }
  &.xtra-margin-bottom {
    margin-bottom: 2rem;
  }
}

section.text {}

.span-v-separator {
  display: inline-block;
  padding-top: calc(.5 * var(--font-size));
}

#top-gradient {
  position: absolute;
  width: 100%;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    var(--color-logoLight) 0%,
    var(--color-logoXLight) 100%
   );
}

#wrapper {
  max-width: 999px;
  margin: 0 auto;

  > * {
    margin: var(--margin);
  }
}

ul {
  list-style: none;
  margin: 0;
}

/* MOBILE */
@media (max-width: 600px) {  

  :root {
    --margin: 1rem;
    --header-height: 4rem;
    --footer-height: 7rem;
    --footer-margin-top: 7rem;
    --header-padding-top: 2rem;
  }
  
  .image-desktop { display: none; }

  header {
    display: flex;
    justify-content: space-between;    
  }

  #top-gradient {
    height: calc(1 * var(--header-height));
  }

  ul,ol {
    padding-left: .75rem;
  }

  #wrapper {
    > #menu {
      padding: 0;
    }
  }

}

/* DESKTOP */
@media (min-width: 600px) {

  :root {
    --margin: 2rem;
    --header-height: 8rem;
    --footer-height: 8rem;
    --footer-margin-top: 8rem;
    --header-padding-top: 4rem;
  }

  .image-mobile { display: none; }

  header {
    height: 9rem;

    #burger {
      display: none;
    }

    #header-logo {
      text-align: center;
    }
      
  }

  main {
    flex-grow: 1;
  }

  #top-gradient {
    height: 160px;
  }

}