html,
body {
    padding: 0px;
    margin: 0;
}

body {
    /* Location of the image */
    background-image: url(../images/background-1.jpg);
    /* Background image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /* Background image is fixed in the viewport so that it doesn't move when 
     the content's height is greater than the image's height */
    background-attachment: fixed;
    /* This is what makes the background image rescale based
     on the container's size */
    background-size: cover;
    /* Set a background color that will be displayed
     while the background image is loading */
    background-color: #000;
    overflow: hidden;
    /*    font-family: 'Cabin Sketch', cursive, sans-serif;*/
    /*    font-family: 'Reenie Beanie', cursive;*/
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
}

@media only screen and (max-width: 767px) {
    body {
        /* The file size of this background image is 93% smaller
       to improve page load speed on mobile internet connections */
        /*        background-image: url(../images/m-background.jpg);*/
        /*font-family: 'Barlow', sans-serif;*/
        letter-spacing: 0.05em;
        font-size: 12px;
    }
    .polaroid {
        width: 70%;
        max-width: 380px !important;
        min-height: 300px !important;
        top: 35% !important;
    }
}


/* ----------------------- */


/* ------ CONTAINER ------ */


/* ----------------------- */

.container {
    height: 100vh;
/*    border: 10px solid red;*/
    margin: 0;
    padding: 0px;
    position: inherit;
}

.polaroid {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    max-width: 400px;
    min-height: 400px;
    border: 15px solid #ffffff;
    /*    border-radius: 4px;*/
    background: #ffffff;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    display: none;
}

#t1,
#t7,
#t13,
#t19,
#t25,
#t31,
#t37,
#t43,
#t49 {
    transform: translateX(-50%) translateY(-50%) rotate(-7deg);
}

#t2,
#t8,
#t14,
#t20,
#t26,
#t32,
#t38,
#t44,
#t50 {
    transform: translateX(-50%) translateY(-50%) rotate(7deg);
}

#t3,
#t9,
#t15,
#t21,
#t27,
#t33,
#t39,
#t45,
#t51 {
    transform: translateX(-50%) translateY(-50%) rotate(-5deg);
}

#t4,
#t10,
#t16,
#t22,
#t28,
#t34,
#t40,
#t46,
#t52 {
    transform: translateX(-50%) translateY(-50%) rotate(5deg);
}

#t5,
#t11,
#t17,
#t23,
#t29,
#t35,
#t41,
#t47,
#t53 {
    transform: translateX(-50%) translateY(-50%) rotate(-3deg);
}

#t6,
#t12,
#t18,
#t24,
#t30,
#t36,
#t42,
#t48,
#t54 {
    transform: translateX(-50%) translateY(-50%) rotate(3deg);
}

.card-copy {
    padding: 5px 0px 0px 0px;
}

.audio-select {
    position: fixed;
/*    width:100%;*/
    bottom: 0px;
    left: 0%;
    right: 0%;
    text-align: center;
    color: #fff;
    background-color: rgb(0,0,0,0.6);
    padding: 20px 30px;
    border-radius: 10px;
}

#list {
/*    margin-left: -15%;*/
}

.nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    text-align: center;
    color: #fff;
}


/* ----------------------------- */


/* ---- TEXT STYLES ----- */


/* ----------------------------- */

h1 {
    font-size: 6.75em;
    font-weight: 100;
    line-height: 1.0;
    margin-bottom: 0.12em;
    text-align: center;
}

p {
    font-size: 1.25em;
    /*16px*/
    font-weight: 200;
    /*400*/
    line-height: 1.5;
    margin-bottom: 1.8em;
}

a:link {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:visited {
    color: #000000;
    /*color: #ff0000;*/
}

a:hover {
    color: #ff9900;
}

a:active {
    color: #999999;
}
