a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}li,ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}
/* CSS Styles */
@charset "utf-8";


html {
  font-family: 'Raleway', sans-serif;
}

body {
  background-color: #fbfbfb;
}

.wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-left: 10%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  color: #fff;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 0 0 15px #3AADDA;
}

.wrapper:after {
  /*content: "";*/
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.body-load .wrapper {
  background-color: #4882EB;
}

.body-ready .wrapper {
  top: 15px;
  right: 15px; 
  bottom: 15px;
  left: 15px;
  box-shadow: 0 0 0 15px #fff;
}

h1, h2 {
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  transition-delay: 0.5s;
  position: relative;
  z-index: 3;
}

h1 {
  font-size: 10vmax;
}
h1 span {
  width: 1.8vmax;
  height: 1.8vmax;
  background-color: #fff;
  display: inline-block;
  border-radius: 100%; 
}

body:not(.body-ready) h1 span {
  left: 50%;
}

h2 {
  margin-top: 2%;
  font-size: 3.5vmax;
  color: rgba(0,0,0,0.5);
  line-height: 1.2em;
  font-weight: bold;
  
}

.body-ready h1, .body-ready h2{
  opacity: 1;
}

canvas {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  opacity: 0;
}
canvas#noise {
  z-index: 2;
}

canvas#dots {
  transition-delay: 0.7s;
}

.body-ready canvas#dots {
  opacity: .3;
}

.body-ready canvas {
  opacity: 1;
}

video {
  position: absolute;
  z-index: 0; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .2;
}

.dg.ac {
  z-index: 100 !important; 
}