@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300,400');

* {
    padding: 0px;
    margin: 0px;
    font-family: "Roboto Mono", monospace;
}

body {
    background-color: #1d1f21;
}

a {
    text-decoration: none;
}

.card {
    transition: .2s ease background;
    transition: .2s ease box-shadow;
}

#global-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#main-card-container {
    width: 60%;
    height: auto;
}

#logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin: 1.5em 0em .5em 0em;
}

#logo {
    width: auto;
    height: 6rem;
    transition: .5s ease;
}

#logo.inverted, #logo:hover {
    filter: invert(100%);
}

#logo.inverted:hover {
    filter: invert(0%);
}

#links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

#links a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    color: #81a2be;
    margin: 0em .5em;
}

#links a:hover {
    color: #b294bb;
}

#quote-author {
    font-size: .8rem;    
}

#now-playing-title, #now-playing-album, #now-playing {
    margin: 0em;
}

#aboutme {
    flex: 1 1 20%;
}

#books {
    flex: 1 1 20%;
}

#books li:before {
    content: '-';
}

#superpermutation {
    display: flex;
    flex-direction: column;
    flex: 1 1 10%;
    position: relative;
}

#superpermutation .card-inner-container {
    flex: 1 1 auto;
    z-index: 10;
}

#soundcloud-img-container {
    overflow: hidden;
}

#soundcloud-img {
    display: inline-block;
    width: 100%;
    height: auto;
    margin: -25% 0;
}

#soundcloud-img.inverted {
    filter: invert(70%);
}

#superpermutation-links a {
    display: block;
    text-align: right;
    font-size: .8rem;
    color: #81a2be;
}

#superpermutation-links a:hover {
    color: #b294bb;
}

#contacts {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    padding: 0;
}

#contacts a {
    display: inline-block;
    margin: 0em .5em 1em .5em;
}

@media only screen and (max-width: 600px) {
    #main-card-container {
        width: 80%;
    }
    #aboutme, #books, #superpermutation {
        flex: 1 1 auto;
    }
    #logo-container {
        font-size: 2rem;
        margin: 1em 0em .5em 0em;
    }
}
