@font-face {
    font-family: 'Alice';
    src: url('fonts/alice.ttf') format('truetype');
}

body {
    background-color: #231a25;
    font-family: 'Alice', Garamond, serif;
}

h1 {
    font-size: 2rem;
    color: #fff;
    font-weight: normal;
}

h2 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: normal;
}

button {
    font-size: large;
    color: #fff;
    background-color: #4c3950;
    border-style: solid;
    border-radius: 6px;
    border-color: #654c6b;
    margin: 6px 3px;
    padding: 1px 5px;
}

a {
    color: #9c75a5;
}

#body-div {
    position: relative;
    height: inherit;
}

.clothing-div {
    position: absolute;
    top: 0;
    left: 0;
    height: inherit;
}

#body, #costume, #candy {
    height: inherit;
    object-fit: contain;
    max-width: 100%;
}

#viewer {
    background-image: url('images/background.png');
    background-size: cover;
    background-position: bottom;
    width: 100%;
    height: 340px;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 2px solid #654c6b;
    display: flex;
    justify-content: center;
}

#spacer {
    height: 340px;
}

#controls {
    text-align: center;
}

audio {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 60px;
}

#resizeView {
    position: fixed;
    top: 295px;
    right: 12px;
}

footer {
    text-align: center;
}

@media only screen and (min-width: 768px) {
    #viewer {height: 600px}
    #spacer {height: 600px}
    #resizeView{top: 555px}
}