html,
body {
  width: 100%;
  margin: auto;

  text-align: center;
  color: #eeeeee;
  background-color: #303030;
}

body {
  position: relative;
  min-height: 100vh;
}

.flex-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main {
  flex-grow: 1;
  flex-shrink: 0;
}

article {
  font-family: 'Noto Sans';
  text-align: justify;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #E0E0E0;
}

/*------Desktop-------*/
@media only screen and (min-width : 790px) {
  article {
    margin: auto;
    max-width: 1000px;
    width: 90%;
    padding: 8px;
  }

  #desktop-x {
    display: none;
  }

  /******************************************
                Tooltip
  ******************************************/
  /*https: //www.w3schools.com/css/tryit.asp?filename=trycss_tooltip_arrow_top*/
  .ttip {
    position: relative;
    z-index: 2;
  }

  .ttip .toolt {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    /*positions the tooltip box*/
    top: 100%;
    left: -13%;
  }

  .ttip .toolt::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }

  .ttip:hover .toolt {
    visibility: visible;
  }
}

/*------Mobile-------*/
@media only screen and (max-width : 789px) {
  #mobile-x {
    display: none;
  }

  article {
    padding: 8px;
    margin: auto;
  }

  p {
    font-size: 12px;
  }

  h1 {
    font-size: 16px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }
}