/********* CSS RESETS *********/
img { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }

/********* Basic Styles *********/
body {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
    color: #ebebeb;
}
header { padding-bottom: 20px; }
section { padding: 30px 15px; }
#top { padding: 0; }
#top article { padding: 30px 15px; }
#top article:first-of-type { background: #85a0ad; }
#top article:last-of-type { background: #793f04; }
#new-release { background: #ebebeb; }
#coming-soon { background: #85a0ad; }

/********* 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; }
header h1 { font-size: 15vw; text-align: center; letter-spacing: -4px; }
header h2 { color: #303030; }
header div:last-of-type { text-align: center; }
footer h1 { font-size: 45px; }
footer h2 { font-size: 24px; }
.audio { color: #f69331; }
.space { color: #40606f; }
footer .space { color: #bdd4de; }

/********* Grid *********/
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.grid article { min-width: 0; }

/********* Footer *********/
footer { display: flex; background: #793f04; padding: 15px; }
footer section { flex: 1; padding: 15px 0; }
footer section:last-of-type { padding-left: 5px; padding-top: 30px; }

/********* Card Flip *********/
.flip-container { perspective: 1000px; }
.flip-container:hover .back, .flip-container.hover .back { transform: rotateY(0deg); }
.flip-container:hover .front, .flip-container.hover .front { transform: rotateY(180deg); }
.flip-container, .front, .back { width: 100%; }
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    height: 0;
    padding-top: 100%;
}
.front, .back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
.front { transform: rotateY(0deg); z-index: 2; }
.back {
    transform: rotateY(-180deg);
    background: #f69331;
    padding: 10px;
    box-sizing: border-box;
}
.front img { display: block; width: 100%; }
.title { text-transform: uppercase; font-size: 14px; }
.name { margin-bottom: 10px; font-weight: 700; color: #40606f; }

/********* Responsive Layout *********/
@media only screen and (min-width: 600px) {
    header h1 { font-size: 80px; }
    #top { display: flex; }
    #top article { flex: 1; }
    .grid { grid-template-columns: repeat(4, 1fr); }
}
@media only screen and (min-width: 1000px) {
    #page { max-width: 1200px; margin: auto; }
    .grid { gap: 20px; }
}
