/* Copyright studioNAITO LLC - All Rights Reserved
 *
 * */


html, body {
  position: relative;
  width: 100%;height: 100%;
  margin: 0;padding: 0;
  //background-color: rgb(15,15,15);
  //background-color: rgb(50,5,100);
  //background-color: rgb(70,19,181);
  //background-color: rgb(250,250,250);
  background-color: rgb(5,10,15);

  font-family: "PS";
}


/*
 */

@font-face {
  font-family: "FuturaBook";
  src: url("../assets/font/FuturaBook/FuturaBookRegular.otf") format("opentype");
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/font/Nunito/Nunito-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Muli";
  src: url("../assets/font/Muli/Muli-Regular.ttf") format("truetype");
}


/*
 */


#app {
  position: relative;
  width: auto;height: auto;
  max-width: 800px;
  left: 0;right: 0;top: 0;

  margin: auto;
  padding: 0;

  font-family: "FuturaBook";

  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

  #app > section {
    position: relative;
  }


  #app > [name="home"] {
    position: relative;
    width: 100%;height: 128px;
    background-color: rgb(236,236,246);

    margin: unset;
    padding: unset;
    font-size: 3em;
    z-index: 10;
  }

    [name="home"] > [name="company"] {
      display: grid;
      width: 100%;height: 100%;
      grid-template-columns: 1.5em;
      grid-template-rows: auto;
      color: black;
    }

      [name="home"] > [name="company"] > img {
        grid-row: 1;
        grid-column: 1;
        width: 1.5em;
        align-self: center;
      }

      [name="home"] > [name="company"] > span {
        color: inherit;
        grid-row: 1;
        grid-column: 2;
        justify-self: left;
        align-self: center;
        padding-left: 2%;
        font-size: 0.7em;
      }


  #app > [name="about"] {
    background-color: rgb(236,236,246);
    min-height: 60vh;
    padding: 20px;
    padding-top: 5vh;
    text-align: center;
  }

    #app > [name="about"] p {
      width: 75%;
      left: 0;
      right: 0;
      margin: auto;
    }


    #app > [name="about"] > [name="projects"] {
      position: relative;
      margin-top: 2em;
    }

      #app > [name="about"] > [name="projects"] > .project {
        position: relative;
        display: inline-block;
        width: 128px;height: 200px;
        max-height: 256px;
        margin: 10px;

        box-sizing: border-box;
        border-radius: 0.5em;
      }

        #app > [name="about"] > [name="projects"] > .project:hover {
          background-color: rgba(0,0,0, 0.25);
        }

        [name="projects"] > .project > .icon {
          position: relative;
          display: flex;
          width: 100px;height: auto;
          margin: auto;
          margin-top: 8px;

          border-radius: 0.5em;
          overflow: hidden;
        }

          [name="projects"] > .project > .icon > img {
            width: 100%;
          }

        [name="projects"] > .project > .text {
          position: relative;
          display: inline-flex;
          width: 100px;height: auto;
          margin: auto;
          margin-top: 8px;
        }

          [name="projects"] > .project > .text > span {
            display: flex;
            width: 100%;height: 100%;
            font-size: 18px;
            color: black;

            flex-direction: row;
            align-items: center;
            justify-content: center;
            text-align: center;
          }


  #app > footer {
    position: relative;
    width: 100%;
    color: white;
  }


    section[name="sitemap"] {
      width: 100%;

      font-size: 1em;
    }

        @keyframes linkHover {
          from {
            background-color: rgba(180,180,180, 0.2);
          }
          to {
            background-color: rgb(200,200,200);
            color: rgb(30,30,30);
          }
        }

      [name="sitemap"] > a {
        position: relative;
        display: inline-block;
        max-width: 50%;
        top: calc(50% - 0.5em);
        color: rgb(215,215,215);

        margin: 0 auto;
        margin-left: 0.5em;
        padding: 0.5em;
        text-decoration: none;
        box-sizing: content-box;
      }

        [name="sitemap"] > a:hover {
          text-decoration: underline;
          /*animation: linkHover 0.5s forwards;*/
        }

      [name="sitemap"] > a[name="privacy"] {
      }

      [name="sitemap"] > a[name="terms"] {
      }


    #app > footer > div[name="cp"] {
      display: table;
      width: 100%;height: auto;
      padding-top: 1em;
    }

      #app > footer > div[name="cp"] > span {
        display: table-cell;
        text-align: left;
        padding-left: 10px;
        vertical-align: middle;
        color: inherit;
      }

    #app > div[name="cp"] > span {
      display: table-cell;
      text-align: left;
      padding-left: 10px;
      vertical-align: middle;
      color: inherit;
    }


/*
 */
