@import url(http://fonts.googleapis.com/css?family=Raleway:400,200,900,700);
html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    color: #3d3d3d;
    font-family: "Raleway";
    font-size: medium;
    font-weight: 400;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
}

a, a:link {
    cursor: pointer;
    color: #898989;
    text-decoration: none;
    transition: color 0.25s linear;
}

a:visited, a:hover {
    color: black;
    transition: color 0.5s linear;
}


/* make album disappear with filter */

.hidden {
    display: none !important;
}


/* Section generals */

section {
    text-align: left;
}

.section-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section .lead {
    padding: 24px;
}

section p {
    max-width: 600px;
}


/* Socials */

#socials {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1rem;
    right: 0;
    font-size: 2rem;
    line-height: 1.5rem;
    text-align: right;
    margin: 0;
    background: #f6f6f6;
    transition: color .5s linear;
}

#socials a {
    cursor: pointer;
    padding-left: .5rem;
    transition: color .5s linear;
}

.like-button {
    position: absolute;
}


/* Loading Status Defaults */

.on-loading {
    transition: all 0.25s ease-out;
    opacity: 1;
}

.hidden-on-loading {
    margin: 0;
    opacity: 0;
    transition: all 0.5s ease-out;
    max-height: 0;
}

.albums-loaded .on-loading {
    max-height: 0;
    transition: all 0.5s ease-out;
    opacity: 0;
    margin: 0;
}

.albums-loaded .hidden-on-loading {
    max-height: 500px;
    transition: all 0.25s ease-out;
    opacity: 1;
}


/* Releases */

.releases {
    text-align: left;
    margin-top: 1em;
    margin-bottom: 2em;
    display: flex;
    width: 100vw;
    flex-wrap: wrap;
    justify-content: center;
}

.releases .album {
    display: flex;
    height: 350px;
    width: 350px;
    margin: 10px;
    background: white;
    position: relative;
}

.album .loading-overlay {
    display: flex;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.release > .album > div {
    -webkit-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.releases .album iframe {
    border: 0;
    width: 350px;
    height: 350px;
}


/* Loaded flag */

.album.loaded .loading-overlay {
    display: none;
}


/* Introduction */

#introduction {
    margin-top: 8rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#introduction .on-loading {
    max-width: 620px;
    text-align: justify;
}


/* Projects */

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#projects .project {
    display: block;
    margin: 10px;
    height: 310px;
    padding: 1rem;
    /* box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); */
    background: white;
    width: 310px;
}

.project h2 {
    margin-top: 0;
}


/* Newsletter */

#newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}


/**
 * Sidebar/Navbar
 * Contains the catalog filter
 */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    line-height: 5rem;
    background: white;
    padding: 0 1rem;
    padding-bottom: 0;
    text-align: left;
    color: #3d3d3d;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.sidebar h2 {
    margin: 0;
    line-height: 5rem;
    display: flex;
    font-weight: 100;
    align-items: center;
    justify-content: space-between;
}

.sidebar h2 .brand {
    display: flex;
    font-weight: 900;
    align-items: center;
}

.sidebar .spinner {
    display: block;
    position: absolute;
    color: #acacac;
    line-height: 5rem;
    right: 1rem;
    font-size: 2rem;
    top: 0;
}

.circle {
    margin-right: 12px;
    height: 30px;
    display: block;
    width: 30px;
    border-radius: 50%;
}

.circle img {
    position: absolute;
    height: 30px;
    width: 30px;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 10s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 10s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#menu-toggle {
    zoom: .75;
    color: #3d3d3d;
    outline: none;
}

#menu-toggle:hover {
    color: black;
}

.sidebar #filterOptions {
    overflow: hidden;
    max-height: 0;
    transition: all 1s linear;
    opacity: .5;
}

.sidebar #filterContent {
    margin-bottom: 24px;
}

.sidebar.show-filters #filterOptions {
    max-height: 200px;
    transition: all .5s linear;
    opacity: 1;
}

a.active {
    font-weight: bold;
}

.filter-section {
    line-height: 1.5rem;
}


/* Animations */

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Responsive */


/* Custom, iPhone Retina */

@media only screen and (max-width: 320px) {
    #menu {
        display: none;
    }
    .like-button {
        position: fixed;
        top: 0;
        right: 1rem;
        line-height: 3rem;
    }
    
}


/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {
    section p,
    section h2,
    section h3,
    {
        padding: 0 1rem;
    }

    #menu {
        display: none;
    }
    .like-button {
        position: fixed;
        top: 0;
        right: 1rem;
        line-height: 3rem;
    }
}