body {
    background-color: var(--color-2)!important;
    overflow-x: hidden;    
}

/* Page content wrapper */
.page-content-wrapper {
    padding: 1em;
}

/* Page content header */
.page-header h1 {
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--color-neutral);
    width: 90%;
    position: relative;
    left: 5%;
    text-align: center;
}

/* All materials container */
.large-materials {
    width: 90%;
    position: relative;
    left: 5%;
    display: grid;
    grid-template-rows: repeat(7, auto);
}

/* Single material container */
.large-material {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    border: 1px solid var(--color-neutral);
    margin-bottom: 1em;
}

/* General section of a material container */
.large-material .section {
    padding: 1em;
}

/* Description section of material container */
.large-material .desc a {
    text-decoration: none;
    color: var(--primary-color);
    display: block;
}
.large-material .desc .title {
    color: var(--color-1);
    font-size: 24px;
    display: inline;
}
.large-material .desc a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.large-material .desc .process {
    display: inline;
    font-size: 14px;
    color: var(--primary-color);
}

/* Graph section of material container */
.large-material .graph {
    display: grid;

}
.large-material .graph h4 {
    margin: 0;
}
.large-material .rating {
    width: 100%;
    height: 20px;
    background-color: #ddd;
}
.large-material .rate {
    height: 100%;
    background-color: var(--primary-color);
}

/* Examples section of material container */
.examples h3 {
    margin: 0;
}
.examples ul {
    padding-left: 1.5em;
}
.examples li {
    font-family: Arial;
    font-size: 14px;
}


/* RESPONSIVE DESIGN */
@media screen {

    /* Double wide vertical material profiles */
    @media (min-width: 600px) {
        .large-materials { grid-template-columns: 1fr 1fr; }
        .large-material:nth-child(odd) { margin-right: 0.5em; }
        .large-material:nth-child(even) { margin-left: 0.5em; }
    }

    /* Single wide horizontal material profiles */
    @media (min-width: 900px) {
        .large-materials { grid-template-columns: 1fr; grid-template-rows: repeat(7, 1fr); }
        .large-material { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr; }
        .large-material:nth-child(odd) { margin-right: 0; }
        .large-material:nth-child(even) { margin-left: 0; }
    }

    /* Double wide horizontal material profiles */
    @media (min-width: 1400px) {
        .large-materials { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
        .large-material:nth-child(odd) { margin-right: 0.5em; }
        .large-material:nth-child(even) { margin-left: 0.5em; }
    }

}