/* ==========================================================================
   Styles for thanos.samarinas.com by Thanos Samarinas
   Contact: thanos[at]samarinas.com
   ========================================================================== */

html {
  height: 100%;
  background-color: #dde5f0;
  
}

body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.75rem;
  max-width: 50rem;
  color: #4A5568;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a.logo {
  margin-bottom: 2rem;
  display: block;
  width: 5rem;
}

a.logo svg {
  width: 100%;
}

a.link,
a.link:visited {
  color: #2D3748;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

a.link:before,
a.link:visited:before {
  content: ' ';
  display: block;
  transition: all 150ms ease-in-out;
  height: 20%;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  left: 4px;
  bottom: 6px;

}

a.link:hover:before {
  height: 70%;
}

.social {
  margin-top: 2rem;
}

.social a.link + a.link {
  margin-left: 1rem;
}

@media only screen and (min-width: 40em) {
  body {
    font-size: 1.3125rem;
    line-height: 2rem;
    padding: 0 2rem;
  }
  
  a.logo {
    width: 6rem;
  }

  .social a.link + a.link {
    margin-left: 2rem;
  }
}



/* ==========================================================================
   Text Selection
========================================================================== */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
============================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }
}
