span.site-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #730b14;
    text-shadow: 0 0 2px black;
}

body {
    background-color: #ececec;
    margin: 0;
    padding: .5em 2em;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
}

header {
    font-size: 2em;
    display: flex;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
    left: 0;
    top:0;
    padding: 0 1.5em;
    background-color:#fff;
    box-shadow: 0 0 5px;
}

a {
    text-decoration: none;
    color: #730b14;
    font-weight: bold;
}

section {
    display: grid;
    grid-template-columns: 300px 900px;
    width: 1200px;
    margin: 3em auto 5em;
    /* min-height: 100vh; */
    align-items: center;
}

.preview > img {
    max-width: 100%;
    height: auto;
    box-shadow: 0px 3px 5px 0px rgb(0 0 0 / 82%);
}

.preview {
    padding: .5em 1em;
    grid-area: 1 / 1 / 3 / 2;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

.controls img {
    width: 60px;
    height: auto;
    margin: 0 .5em;
}

.controls input:checked + img {
    box-shadow: 0 0 5px #000;
}

.controls input {
    display: none;
}

span.title {
    font-size: 1.5em;
    font-weight: bold;
}

.data-main p {font-size: 1.1em;}

p.colors {
    line-height: 1.5em;
    font-style: italic;
}

.molding {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.molding img {
    max-width: 150px;
    height: auto;
}

figure {
    margin: .2em;
    border: 1px solid;
    width: 150px;
}
figure span {
    font-size: .9em;
    font-style: italic;
    text-align: center;
    display:block;
    font-weight: bold;
}
@media screen and (max-width: 1200px) {
    body {
        font-size: 12px;
        padding: 0;
    }
    section {
        width: 700px;
        grid-template-columns: 300px 400px;
    }
    figure {
        width: 100px;
    }
    .molding img {
        max-width: 100px;
    }
}
@media screen and (max-width: 700px) {
    body {
        font-size: 10px;
    }
    header {
        padding: .2em;
    }
    section {
        width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .preview {
        width: 200px;
    }
    figure {
        width: 85px;
    }
    .molding img {
        max-width: 85px;
    }
}