
/******** CSS RESETS ********/

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

h1, h2, h3, p, ul, ol {
    margin: 0;
    padding: 0;
}


/******** BASIC STYLING ********/

body {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
    color: #ebebeb;
}

header {
    padding: 0 15px 20px;
    background: #ffffff;
}

section {
    padding: 30px 15px;
}

#new-release {
    background: #ebebeb;
}

#coming-soon {
    background: #85a0ad;
}


/******** GRID ********/

.grid {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

.grid article img {
    display: block;
    width: 100%;
}


/******** TOP SECTION ********/

#top {
    padding: 0;
    display: flex;
}

#top article {
    flex: 1;
    padding: 15px;
}

#top article:first-of-type {
    background: #85a0ad;
}

#top article:last-of-type {
    background: #793f04;
}


/******** FOOTER ********/

footer {
    display: flex;
    background: #793f04;
    padding: 15px;
}

footer section {
    flex: 1;
    padding: 15px 0;
    min-width: 0;
}

footer section:last-of-type {
    padding-left: 5px;
    padding-top: 30px;
}


/******** TYPOGRAPHY ********/

h1 {
    text-transform: uppercase;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 700;
}

p {
    line-height: 1.3em;
}

#new-release h2 {
    color: #303030;
}


/******** LOGO STYLES ********/

header h1 {
    font-size: 20vw;
    text-align: center;
    letter-spacing: -4px;
    white-space: nowrap;
}

header h2 {
    color: #303030;
}

header div:last-of-type {
    text-align: center;
}

footer h1 {
    font-size: 10vw;
    letter-spacing: -2px;
}

footer h2 {
    font-size: 24px;
}

.audio {
    color: #f69331;
}

.space {
    color: #40666f;
}

footer .space {
    color: #bdd4de;
}


/******** CARD FLIP STYLES ********/

.flip-container {
    perspective: 1600px;
    cursor: pointer;
}

.flipper {
    position: relative;
    height: 0;
    padding-top: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.front {
    transform: rotateY(0deg);
    z-index: 2;
}

.front img {
    display: block;
}

.back {
    transform: rotateY(180deg);
    background: #f69331;
    padding: 10px;
    color: #ffffff;
    overflow: auto;
}

.back .title {
    text-transform: uppercase;
    font-weight: 700;
}

.back .name {
    margin-bottom: 10px;
}

.flip-container:focus-visible {
    outline: 3px solid #40666f;
    outline-offset: 3px;
}


/******** MEDIA QUERY 600px ********/

@media only screen and (min-width: 600px) {

    .grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    header {
        display: flex;
        padding-bottom: 0;
        align-items: center;
    }

    header div {
        flex: 1;
        padding: 15px;
        min-width: 0;
    }

    header h1 {
        font-size: 10vw;
    }

    header h2 {
        font-size: 3.6vw;
    }

    header img {
        width: 100%;
    }

    #top p, footer p {
        font-size: 24px;
    }

}


/******** MEDIA QUERY 960px ********/

@media only screen and (min-width: 960px) {

    #page {
        width: 960px;
        margin: auto;
    }

    header h1, footer h1 {
        font-size: 100px;
    }

    header h2 {
        font-size: 36px;
    }

}
