@import "../libs/noticia-text/stylesheet.css";
/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html,
body {
  font-family: 'noticia_textregular';
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  min-width: 300px;
  min-height: 300px;
}
main {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  min-height: 100%;
}
main h1 {
  flex: 0 1 1;
  color: #444;
  padding: 10px;
}
main ul.icons {
  flex: 100% 1 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: start;
  justify-content: center;
  list-style: none;
  margin: 0 0 100px 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
main ul.icons li {
  list-style-type: none;
  margin: 2px;
  padding: 0;
  display: inline-block;
  max-width: 160px;
  max-height: 160px;
  min-width: 140px;
  min-height: 160px;
}
main ul.icons li a {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
  border: 1px solid #efefef;
  border-radius: 4px;
  position: relative;
}
main ul.icons li a span.icon,
main ul.icons li a span.text {
  display: inline-block;
}
main ul.icons li a span.text {
  position: absolute;
  left: 0;
  right: 0;
  top: 66%;
  color: #333;
  font-size: 12pt;
  text-align: center;
}
main ul.icons li a span.icon {
  width: 100px;
  height: 100px;
  background: url('../images/icons_256.png') 0 0 no-repeat;
  background-size: 100%;
  opacity: 0.5;
}
main ul.icons li a span.icon.twitter {
  background-position: 0 -100px;
}
main ul.icons li a span.icon.github {
  background-position: 0 -200px;
}
main ul.icons li a span.icon.blog {
  background-position: 0 -300px;
}
main ul.icons li a span.icon.tc {
  background-position: 0 -600px;
}
main ul.icons li a span.icon.lingo {
  background-position: 0 -500px;
}
main ul.icons li a span.icon.book {
  background-position: 0 -700px;
}
main ul.icons li a:hover {
  background: rgba(0, 0, 0, 0.05);
}
main ul.icons li a:hover span.icon {
  opacity: 0.9;
}
main ul.icons li a:hover span.text {
  color: #000;
}
