@import url(styles/font-awesome.css);
.spinner {
  width: 40px;
  height: 40px;
  background-color: white;
  position: absolute;
  top: 48%;
  left: 48%;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out; }

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
    opacity: 0; } }

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0; } }

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 999999; }

body {
  background-color: #000;
  margin: 0;
  padding: 0; }

.container-fluid {
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  position: absolute;
  display: -webkit-flex;
  /* Safari */
  -webkit-justify-content: center;
  /* Safari 6.1+ */
  display: flex;
  justify-content: center;
  display: -webkit-flex;
  /* Safari */
  -webkit-align-items: center;
  /* Safari 7.0+ */
  align-items: center; }

h1 {
  color: white;
  font-size: 1em;
  font-weight: 200;
  font-family: sans-serif;
  line-height: 1.4;
  position: fixed;
  left: 3%;
  top: 3%; }

h2 {
  color: white;
  font-size: 1em;
  font-weight: 200;
  font-family: sans-serif;
  line-height: 1.3;
  position: fixed;
  bottom: 3%;
  left: 3%; }

#me {
  width: 60%;
  height: auto;
  border: 3px solid #fff;
  display: none;
  z-index: 999;
  position: absolute;
  bottom: 3%;
  right: 3%; }

span {
  color: #fff;
  text-decoration: none; }

span:hover {
  color: gray;
  cursor: pointer;
  text-decoration: none; }
  
  
#mail-bg {
    width: 55%;
    height: auto;
    z-index: -9999999;
  }
  
#mail-bg:hover {
    z-index:99999;
    cursor: pointer;
  }

a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1.90px solid #3D5AFE;
  display: inline-block;
  line-height: 1.1;
  text-shadow: 1.5px 1.5px black, 1.5px -1.5px black, -1.5px 1.5px black, -1.5px -1.5px black; }

a:hover {
  color: gray;
  cursor: pointer;
  text-decoration: none; }

div.a {
  width: 270px;
  max-width: 400px !important;
  height: 170px;
  max-height: 260px !important;
  position: fixed;
  border: 3px solid white;
  overflow: hidden;
  background-color: #000;
  display: -webkit-flex;
  /* Safari */
  -webkit-justify-content: center;
  /* Safari 6.1+ */
  display: flex;
  justify-content: center;
  display: -webkit-flex;
  /* Safari */
  -webkit-align-items: center;
  /* Safari 7.0+ */
  display: flex;
  align-items: center; }

div.a:hover {
  border: 4px solid #3D5AFE;
    z-index: 99999999999999;
}

div.c, div.g {
    border: 3px dashed white;
}

div.c:hover, div.g:hover {
    border: 4px dashed #3D5AFE;
}
  

div.a:hover > .linje1 {
  display: none; }

div.a:hover > .linje2 {
  display: none; }
  
div.a:hover > i {
    display: none;
}

.linje1 {
  width: 120%;
  height: 3px;
  background-color: #fff;
  position: absolute;
  left: -10%;
  top: 50%;
  -ms-transform: rotate(32.2deg);
  /* IE 9 */
  -webkit-transform: rotate(32.2deg);
  /* Chrome, Safari, Opera */
  transform: rotate(32.2deg); }

.linje2 {
  width: 120%;
  height: 3px;
  background-color: #fff;
  position: absolute;
  left: -10%;
  top: 50%;
  -ms-transform: rotate(-32.2deg);
  /* IE 9 */
  -webkit-transform: rotate(-32.2deg);
  /* Chrome, Safari, Opera */
  transform: rotate(-32.2deg); }

div.b > img {
  display: none; }

div.b:hover > img {
  display: block;
}

div.c > img {
  display: none; }

div.c:hover > img {
  display: block;
}

div.d > img {
  display: none; }

div.d:hover > img {
  display: block;
}

div.e > img {
  display: none; }

div.e:hover > img {
  display: block;
}

div.f > img {
  display: none; }

div.f:hover > img {
  display: block;
}

div.g > img {
  display: none; }

div.g:hover > img {
  display: block;
}
  
div.h > img {
  display: none;}
  
div.h:hover > img {
  display: block;
}

div.i > img {
  display: none;}
  
div.i:hover > img {
  display: block;
}

div.j > img {
  display: none;}
  
div.j:hover > img {
  display: block;
}

div.k > img {
  display: none;}
  
div.k:hover > img {
  display: block;
}

div.l > img {
  display: none;}
  
div.l:hover > img {
  display: block;
}

div.m > img {
  display: none;}
  
div.m:hover > img {
  display: block;
}

div.n > img {
  display: none;}
  
div.n:hover > img {
  display: block;
}

div.o > img {
  display: none;}
  
div.o:hover > img {
  display: block;
}

div.p > img {
  display: none;}
  
div.p:hover > img {
  display: block;
}



/*
.cursor {
  position: absolute;
  opacity: .80;
  transform: translateZ(0);
  will-change: left, top;

  &--mac {
    background: url(http://tobiasahlin.com/static/cursors/default.png) no-repeat center center;
  width: 14px;
  height: 21px;
  }

  &--win {
    background: url(http://telcontar.net/Misc/screeniecursors/Cursor%20arrow%20Aero.png) no-repeat center center;
  width: 17px;
  height: 23px;
  }
}
*/
::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: black; }

::selection {
  color: white;
  background: black; }


@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
  h1 {
    left: 3%;
    top: 3%;
    display:block;}
  h2 {
    left: 3%;
    bottom: 3%;}
    
    h2 > a {
        margin-left:0px !important;
        margin-bottom: 2.5%;
        margin-right: 90%;}
  #me {
    display: none !important; }
  div.a {
    width:130px;
    height:85px;
    border: 1.5px solid white;
  }
  div.a:hover {
  border: 1.5px solid #3D5AFE;
    z-index: 99999999999999;
}

.linje1, .linje2 {
    height:1.5px;
}

#mail-bg {
    display:none;
  }
    }