:root{
	/* BODY */
	--light: #fff;
	--dark: #333;
	
	/* LINKS */
	--link: #09f;
	--hover: #06f;
}

::selection {
  background: var(--link);
  color: var(--light);
}

body{
    max-width: 60ch;
    margin: 10px auto;
    padding: 0 10px;
    font-family: proxima-nova, sans-serif;
	font-weight: 400;
	font-style: normal;;
    color: var(--dark);
    background: var(--light);
}

h1,h2,h3{line-height: 1.2; margin: 0;}

a:link{color: var(--link);text-decoration: none;}
a:hover{color: var(--hover);}
a:visited{color: var(--link);}

img{max-width: 100%;}


.shadow
{
  position: relative;
}
.shadow:before, .shadow:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:800px;
  background: rgba(0,0,0,.3);
  -webkit-box-shadow: 0 15px 10px rgba(0,0,0,.3);
  -moz-box-shadow: 0 15px 10px rgba(0,0,0,.3);
  box-shadow: 0 15px 10px rgba(0,0,0,.3);
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
.shadow:after
{
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}



img.grow{transform: scale(1);transition: all .125s ease-in-out;}
img.grow:hover{transform: scale(1.02);}

header{margin: 0 0 50px 0;}

header h1{
	text-align: center;
	margin: 20px 0;
}

article, section{
	margin: 50px 0;
}

p{margin: 20px 0;}

#bio{font-size: larger;}

footer{
	margin: 50px 0 0 0;
	text-align: center;
	font-size: small;
}

.floating{  
    animation-name: floating;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
  
@keyframes floating{
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 6px); }
    100%   { transform: translate(0, -0px); }    
}

@media (prefers-color-scheme: dark) {
    body {
        color: var(--light);
        background: var(--dark);
    }
}

.stretch{
  height: 10px;
  width: 300px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 100%;
  display: inline-block;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  animation-name: stretch;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes stretch {
      0% { transform: scaleX(1.1); }
    50%  { transform: scaleX(1); }
    100%   { transform: scaleX(1.1); } 
}