body { 
    background-color:#333;
    margin: 0;
    font-family: 'Pacifico', cursive;
    background-image: url('http://s1.it.atcdn.net/wp-content/uploads/2015/08/2-London.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

nav#nav-bar{
    background-color: #545454;
    /*background-color: rgba(255,65,185,0.4);*/
    /*background-color: tomato;*/
    /*background-color: darkgray;*/
    height: 60px;
    position: fixed;
    width: 100vw;
    /*width: 80%;*/
    top: 0;
    z-index: 999;
    display: flex;
    /*box-shadow: 0px 2px 20px 4px rgba(255,65,185,1);*/
    /*box-shadow: 0px 1px 25px 1px rgba(255,255,255,1);*/
    box-shadow: 0px 1px 25px 1px #80BFFF;
    background-image: url('http://s1.it.atcdn.net/wp-content/uploads/2015/08/2-London.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#nav-header{
    width: 100%;
}

#snow{
    /*font-family: Androgyne;*/
    /*background-image: url('http://www.wearewebstars.dk/codepen/img/s1.png'), url('http://www.wearewebstars.dk/codepen/img//s2.png'), url('http://www.wearewebstars.dk/codepen/img//s3.png');*/
    background-image: url('images/s1.png'), url('images/s2.png'), url('images/s3.png');
    /*background-color: darkorchid;*/
    /*background-color: darkorange;*/
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index:1;
    -webkit-animation: snow 10s linear infinite;
    -moz-animation: snow 10s linear infinite;
    -ms-animation: snow 10s linear infinite;
    animation: snow 10s linear infinite;
}
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-ms-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

#snow h4{
    /*color: orange;*/
    color: #ffffff;
    position: relative;
    /*margin-top: 200px;*/
    text-align: center;
    /*margin: 0;*/
    margin-left: -4%;
    letter-spacing: 0.1em;
    font-size: 2.0em;
    font-family: 'Pacifico', cursive;
    text-shadow: 0px 0px 8px rgba(255,65,185,1);
    /*text-shadow: 0px 0px 8px rgba(255,255,255,1);*/
}

#snow h5{
    /*color: #fff;*/
    position: relative;
    margin-top: 200px;
    text-align: center;
    font-size: 1.5em;
    font-family: 'Pacifico', cursive;
    text-shadow: 0px 0px 8px rgba(255,65,185,1);
}

#snow h2{
    color: #fff;
    position: relative;
    margin-top: 200px;
    text-align: center;
    font-size: 4em;
    font-family: 'Pacifico', cursive;
    text-shadow: 0px 0px 8px rgba(255,65,185,1);
}

#wire{
    text-align: center;
    white-space: nowrap;
    position: absolute;
    padding: 0;
    width: 100%;
    top: -40px;
    border-bottom: 3px solid #222;
    height: 100px;
 }

 #wire li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    width: 15px;
    height: 30px;
    border-radius: 50%;
    margin: 0px 15px;
    top: 102px;
    display: inline-block;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count:infinite;
    animation-name: even-flash;
}

#wire li:nth-child(odd){
    animation-name: odd-flash;
}

#wire li:before {
    content: "";
    position: absolute;
    width: 14px;
    height: 10px;
    border-radius: 4px;
    top: -5px;
    left: 0px;
    background: #444;
}

@keyframes even-flash {
    0%, 100% {
        background: rgba(255,230,65,1);
        box-shadow: 0px 2px 20px 4px rgba(255,230,65,1);
    }
    50% {
        /*background: rgba(255,230,65,0.5); 
        box-shadow: 0px 2px 20px 4px rgba(255,230,65,0.3);*/
        /*#E53935 rgba(229, 57, 53, 0.5)*/
        background: rgba(139, 195, 74, 0.5);
        box-shadow: 0px 2px 20px 4px rgba(139, 195, 74, 0.3);
    }
}

@keyframes odd-flash {
    50% {
        background: rgba(255,65,185,1);
        box-shadow: 0px 2px 20px 4px rgba(255,65,185,1);
    }
    0%,100% {
        /*background: rgba(255,65,185,0.5);
        box-shadow: 0px 2px 20px 4px rgba(255,65,185,0.3);*/
        /*#8BC34A rgba(139, 195, 74, 0.5)*/
        background: rgba(229, 57, 53, 0.5); 
        box-shadow: 0px 2px 20px 4px rgba(229, 57, 53, 0.3);
    }
}

.wrapper {
    padding: 50px 50px;
    max-width: 1200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
}

.parent {
    width: 45%;
    margin: 20px;
    height: 300px;
    border: 1px solid #545454;
    box-shadow: 0px 2px 20px 4px rgba(255,65,185,1);
    overflow: hidden;
    position: relative;
    float: left;
    display: inline-block;
    cursor: pointer;
}

.child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

/* Several different images */
.bg-one {background-image: url(https://media.timeout.com/images/101602611/image.jpg);}
.bg-two {background-image: url(http://s1.it.atcdn.net/wp-content/uploads/2015/08/2-London.jpg);}
.bg-three {background-image: url(https://media.timeout.com/images/101484105/image.jpg);}
.bg-four {background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Hollywood_Sign.jpg/1280px-Hollywood_Sign.jpg);}
.bg-five {background-image: url(http://www.travelandleisure.com/sites/default/files/styles/tnl_redesign_article_landing_page/public/1453920892/DUBAI-554088081-ABOVE0116.jpg?itok=dcoZnCrc);}
.bg-six {background-image: url(http://blog.whitepages.com/wp-content/uploads/2015/04/san-franc.jpg);}

.bg-seven {background-image: url('images/portfolio.jpg');}
.bg-eight {background-image: url('images/portfolio1.jpg');}

.wrapper a {
    display: none;
    font-size: 35px;
    color: #ffffff !important;
    /*font-family: sans-serif;*/
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 50px;
    cursor: pointer;
    /*text-decoration: none;*/
}

.parent:hover .child, .parent:focus .child {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.parent:hover .child:before, .parent:focus .child:before {
    display: block;
}

.parent:hover a, .parent:focus a {
    display: block;
}

.child:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(52,73,94,0.75);
}

/* Media Queries */
@media screen and (max-width: 960px) {
    .parent {width: 100%; margin: 20px 0px}
        .wrapper {padding: 20px 20px;}
}



/*3D boxes*/
.flip3D{ width:240px; height:200px; margin:10px; float:left; }
.flip3D > .front{
    position:absolute;
    -webkit-transform: perspective( 600px ) rotateY( 0deg );
    transform: perspective( 600px ) rotateY( 0deg );
    background:#FC0; width:240px; height:200px; border-radius: 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D > .back{
    position:absolute;
    -webkit-transform: perspective( 600px ) rotateY( 180deg );
    transform: perspective( 600px ) rotateY( 180deg );
    background: #80BFFF; width:240px; height:200px; border-radius: 7px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D:hover > .front{
    -webkit-transform: perspective( 600px ) rotateY( -180deg );
    transform: perspective( 600px ) rotateY( -180deg );
}
.flip3D:hover > .back{
    -webkit-transform: perspective( 600px ) rotateY( 0deg );
    transform: perspective( 600px ) rotateY( 0deg );
}



/*PIE MENU GENERATOR*/
#piemenu > svg { width: 100%; height: 100%;}
#piemenu { height: 300px; width: 300px; margin:auto; margin-top: 40px; 
    margin-right: -30px; 
    right: 0;
    position: fixed;
    z-index: 999;}
@media (max-width: 400px) { #piemenu { height: 300px; width: 300px; } }

[class|=wheelnav-piemenu-slice-basic] { fill: #607D8B; stroke: #545454;  }
[class|=wheelnav-piemenu-slice-selected] { fill: tomato; stroke: #545454;}
[class|=wheelnav-piemenu-slice-hover] { /*fill: #FF9800;*/ fill: darkorange; stroke: #545454; fill-opacity: 0.77; cursor: pointer; }

[class|=wheelnav-piemenu-title-basic] { fill: #333; stroke: none; }
[class|=wheelnav-piemenu-title-selected] { fill: #fff; stroke: none; }
[class|=wheelnav-piemenu-title-hover] { fill: #222; stroke: none; cursor: pointer; }

.wheelnav-piemenu-spreader-in,
.wheelnav-piemenu-spreader-out { fill: #444; stroke: #444; stroke-width: 2; cursor: pointer; }
.wheelnav-piemenu-spreadertitle-in,
.wheelnav-piemenu-spreadertitle-out { fill: #eee; stroke: #444; cursor: pointer; }

.wheelnav-piemenu-marker { stroke: #FFC107; stroke-width: 2; }

a{
    cursor: pointer;
    text-decoration: none
}

a:hover{
    color: white;
    text-decoration: none;
}

.container{
    width: 100%;
    display: flex;
    padding: 0;
    margin: 0;
    z-index: 999;
    height: auto;
}

.main-container{
    width: 80%;
    float: left;
    margin-top: 40px;
    height: auto;
    left: 0;
    position: absolute;
    /*background: aliceblue;*/
    display: flex;
}

.accordion{
    width: 0%;
    float: right;
    height: auto;
    /*background-color: darkgrey;*/
    /*background-image: url('http://s1.it.atcdn.net/wp-content/uploads/2015/08/2-London.jpg');*/
    margin: 0;
    position: fixed;
    margin:auto;
    right: 0;
    z-index: 999;
    /*box-shadow: 0px 2px 20px 4px rgba(255,65,185,1);*/
}

.accordion nav.w3-black{
    top: 0;
    background-color: #545454!important;
    /*background-image: url('http://s1.it.atcdn.net/wp-content/uploads/2015/08/2-London.jpg');*/
}

.accordion img{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 10px;
}

.accordion ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

li{
    padding: 20px 50px;
    border-radius: 50%;
}
li a{
    color: white;
    box-shadow: 0px 2px 20px 4px rgba(255,65,185,1);
}


.w3-card-4.w3-margin{
    width: 50%;
    background-color: aliceblue;
}


#slide {
    color: white;
    top: 40px;
    position: absolute;
    left: -60%;
    width: 60%;
    height: 600px;
    /*height: 100px;*/
    -webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 1s;
    animation: slide 0.5s forwards;
    animation-delay: 1s;
    /*background: url('images/sfo.jpg');*/
    background-color: rgba(98, 123, 137, 0.8);
    font-family: 'Pacifico', cursive;
}

@-webkit-keyframes slide {
    100% { left: 0; }
}

@keyframes slide {
    100% { left: 0; }
}

.home{
    width: 100%;
    text-align: center;
    margin-left: 20%;
    color: white;
}

.fa-2x{
    margin: 20px 25px;
}

#slide li a{
    box-shadow: 0px 0px 0px 0px #756b72;
}

.w3-padding-16.last{
    width: 100%;
    text-align: right;
}