@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700");
$font-sans: 'Open Sans', sans-serif;

//Colors
$black: #34435E;
$white: #ffffff;

canvas {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
    position: fixed;    
    left:0;
    top:0;
}

.canvasContainer
{
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.contextCanvas
{   position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}


@-webkit-keyframes slideRight {
    0% { -webkit-transform: translateX(0%); opacity: 1; }
    100% { -webkit-transform: translateX(100%); opacity: 0; }
}

@-webkit-keyframes slideLeft {
    0% { -webkit-transform: translateX(0%); opacity: 1; }
    100% { -webkit-transform: translateX(-100%); opacity: 0; }
}

@-webkit-keyframes enterLeft {
    0% { -webkit-transform: translateX(-100%); }
    100% { -webkit-transform: translateX(-0%); }
}

@-webkit-keyframes enterRight {
    0% { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes slideDown {
    0% { -webkit-transform: translateY(-50%); opacity: 0; }
    100% { -webkit-transform: translatey(0%); opacity: 1; }
}

@-webkit-keyframes reAppear {
    0% { -webkit-transform: translateY(10%); opacity: 0; }
    50% { -webkit-transform: translateY(20%); opacity: 0; }
    100% { -webkit-transform: translateY(0%); opacity: 1; }
}


@-webkit-keyframes enterFromBottom {
    0% { -webkit-transform: translateY(-100%); opacity: 0; }
    90% { -webkit-transform: translateY(10%); opacity: 0; }
    100% { -webkit-transform: translateY(0%); opacity: 1; }
}

html {
  background: url("forest_blurred.jpg") no-repeat center center fixed;

   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;  
   overflow: auto;
   overflow-x: hidden;
   text-align: center;
   height: 100%;
   font-family: "Raleway", sans-serif;
   font-display: auto;
}

#pdnview:hover {
  opacity: 1;
  transition: opacity 0.5s linear;
}

#pdnview {
  opacity: 0.5;
  transition: opacity 0.5s linear;
}

body {

  font-family: $font-sans;
  font-display: auto;
  margin: 0;
  padding: 0;
}

main {
  min-width: 350px;
  max-width: 500px;
  margin: auto;
  margin-bottom: 5%;
}

#slide {
    -webkit-animation: reAppear 2.5s;
    -moz-animation: reAppear 2.5s;
    -ms-animation: reAppear 2.5s;
    animation: reAppear 2.5s;
}

#icon {
   content:url("square_circle_no_border.png");
    
    /*margin-left: 45%;
    margin-right: 45%;*/
    
    display: inline-block;

    border-radius: 1000px;

    margin: auto;
    margin-top: 10%;
    margin-bottom: 5%;

    width: 10%;
    height: 10%;

    -webkit-animation: slideDown 1.5s;
    -moz-animation: slideDown 1.5s;
    -ms-animation: slideDown 1.5s;
    animation: slideDown 1.5s;
}

#icon:hover {
    content:url("square_circle.png");
    width: 16%;
    height: 16%;
    
    margin-top: 7%;
    margin-bottom: 2%;
}

#startcard {
    opacity: 1;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3%;
    margin-bottom: 4%;
}

#title {
	font-size: 62px;
	font-weight: 100;
	color: white;
        cursor: default;
}

#title b { font-weight: 300; }

.subtitle {
	margin: 5px 0;
	font-size: 30px;
	letter-spacing: 10px;
	word-spacing: 20px;
	font-weight: 200;
	color: white;
	cursor: pointer;
        text-decoration: none;
}

a {
  color: inherit; /* blue colors for links too */
}

a:active, a:focus {
  
  outline: 0;
  border: none;
  -moz-outline-style: none;
}

p {
  font-size: 1em;
  line-height: 1.75em;
  border-top: 3px solid;
  -o-border-image: linear-gradient(to right, #743ad5 0%, #d53a9d 100%);
     border-image: linear-gradient(to right, #743ad5 0%, #d53a9d 100%);
  border-image-slice: 1;
  border-width: 3px;
  margin: 0;
  padding: 40px;
  counter-increment: section;
  position: relative;
  color: #efefef;
}
p:before {
  content: counter(section);
  position: absolute;
  border-radius: 50%;
  padding: 10px;
  height: 1.25em;
  width: 1.25em;
  background-color: #34435E;
  text-align: center;
  line-height: 1.25em;
  color: #ffffff;
  font-size: 1em;
}

p:nth-child(odd) {
  border-right: 3px solid;
  padding-left: 0;
}
p:nth-child(odd):before {
  left: 100%;
  margin-left: -20px;
}

p:nth-child(even) {
  border-left: 3px solid;
  padding-right: 0;
}
p:nth-child(even):before {
  right: 100%;
  margin-right: -20px;
}

p:first-child {
  border-top: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

p:last-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}




/* Add a black background color to the top navigation */
.topnav {
  background-color: transparent;
  overflow: hidden;
}

.topnav a {
  margin: 0px 15px;
}

/* Style the links inside the navigation bar */
#navtext {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 15px 16px 13px 0px;
  text-decoration: none;
  font-size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.navtext a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav img {
  float: left;
  padding: 0px 0px;
}
