body {
    background: black;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

.header {
    background-size: cover;
    width: 100%;
    min-height: 203px;
    max-height: 203px;
}


.nebula {
    position: absolute;
    top:0;
    left:0;
    background: url('gfx/nebula.png') top left no-repeat;
    background-size: contain;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    z-index: -1;
    width: 100%;
    height: 45%;
}

.moonface {
    position: fixed;
    bottom:0;
    right:0;
    background: url('gfx/darkman.png') bottom right no-repeat;
    background-size: contain;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    z-index: -1;
    height: 100%;
    width: 67%;
    display: none;
}
.paleskins_logo img {
    height: 268px;
    opacity: 1;
    z-index: 1;
    margin-top: 9px;
}

.topbar {
    display: flex;
}

.man {
    margin-left: auto;
    flex: 1;
    display:flex;
    justify-content: end;
}

.link_container {
    margin-right: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.paleskins_logo {
    display: flex;
    justify-content: center;
    flex: 1;
    max-width: 600px;
}
.man img {
    height: 117px;
    animation: shake 18s cubic-bezier(.36,.07,.19,.97) both;
    animation-iteration-count: infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    margin-top: 56px;
    margin-right: auto;
    margin-left: auto;
}

.text_container {
    margin: auto;
    margin-top: 130px;
    margin-bottom: 0;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    max-width: 65%;
    font-family: 'Long Cang';
    font-family: 'Bona Nova';
    line-height: 30px;
    font-size: 1.5em;
}

.text_container p {
    padding-left: 0;
    padding-right: 0;
    opacity: 1;
    color: whitesmoke;
    text-shadow: 2px 1px 1px #000;    
}
.text_container a{    
    cursor: pointer;
    text-decoration: none;    
    color: darkgrey !important;
}
.text_container a:visited{
    color: whitesmoke;
}

.text p{
    padding-left: 0;
    padding-right: 0;
}
.portrait_container {
    background: url(gfx/group\ photo.png) no-repeat;
    background-position-y: top;
    background-size: cover;
    background-position-x: center;
    width: 100%;
    min-height: 290px;
    background-size: 450px;
}
.textAndSide {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}
.ascension {
    height: 200px;
    width: 200px;
}
.infoText {
    display: flex;
    flex-direction: column;
    flex-flow: column;
    justify-content: flex-start;
    padding-top: 12px;
    width: 100%;
    border-radius: 4px;
    font-size: smaller;
    background-color: rgba(0,0,0,1);
}
.links {
    display: flex;
    flex-direction: column;
    margin-left: 100PX;
    margin-top: 200px;
}
.link {
        padding: 10px;
        height: 60px;
        width: 60px;
}
.link_url {
    display: flex;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    display: none;
}
.link_url a{
    font-size: 14pt;
    color: aliceblue;
    margin: auto;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}
.link_icon {
    width: 60px;
    height: 60px;
}
.headerline {
    background-color: black;
    opacity: 0.666;
    z-index: -1;
    border-bottom-width: 0px;
    border-bottom-color: #420000;
    border-bottom-style: solid;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 178px;
    height: 178px;
    display: block;
}
@media only screen and (min-device-width: 1080px){
    .text_container {
        height: 70%;
        width: 80%;
        max-width: 50%;
        margin-top: 200px;
        font-size: 1.5em;
    }
    .portrait_container {
        min-height: 185px;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .text_container p{
        margin-top: 0px;
    }
    .link_container {
        height: 180px;
    }
    .textAndSide {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-top: 1em;
        margin-bottom: 1em;
    }
    .infoText {        
        background-color: rgba(100,100,100,0.15);
    }
    .infoText p {
        margin-left: 1em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .link_url {
        display: none;
    }
    .man img {
        margin-top: 22px;
        height: 155px;
        margin-right: 100px;
    }
    .header {
        background-position-y: -100px;
        background-size: contain;
    }
    
    .links {
        margin-left: 0;
        margin-top:0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: end;
    }

    .moonface {
        display: inline;
    }

    .link_icon img{
        width: 60px;
        height: 60px;
        border-radius: 2px;
        margin-right: 20px;
    }
}

.link_icon {
    display: flex;
    justify-content: center;
}

.link_icon img{
    width: 80px;
    height: 80px;
    border-radius: 2px;
}

.link_icon img:hover {
    -webkit-animation-name: wiggle;
    -ms-animation-name: wiggle;
    -ms-animation-duration: 300ms;
    -webkit-animation-duration: 300ms;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
    -ms-animation-timing-function: ease-in-out;
}

.soundcloud a {
    color: #ff7600;
}

.spotify a {
    color: #1ed760;
}

.apple a {
    color: #444;
}


/* Apple disabled */
.apple img {
    opacity: 0.4;
}
.apple img:hover {
    -webkit-animation-name: none;
    -ms-animation-name: none;
}

.youtube a {
    color: #ff0000;
}

.facebook a {
    color: #4267b2;
}

.twitter a {
    color: #1da1f2;
}

.instagram a {
    color: #f00075;
}

.stars, .twinkling, .clouds {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  z-order: -5;
}

.stars {
  background:#000 url(gfx/stars.png) repeat top center;
  z-index:-3;
  opacity: 0.666;
}

.twinkling{
  background:transparent url(gfx/twinkling.png) repeat top center;
  z-index:-2;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}
