section.materials {
    background-color: white;
    color: #FFFFFF;
    text-align: center;
}

section.materials .material-line {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

section.materials .material-line div {
    height: 7em;
    width: 100%;
}

section.materials .material {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 1.2em;
    font-weight: 400;

}

section.materials .material .overlay {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005f;
    opacity: 0;
    transition: .5s ease;
}

section.materials .material .overlay:hover {
    opacity: 1;
}

section.materials .text-white {
    color: #FFFFFF;
}

section.materials .text-black {
    color: #000000;
}

section.materials h2 {
    color: black;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

section.materials .material-row {
    margin-bottom: 4em;
}

#BlackLeather {
    background-image: url("../img/materials/black leather.jpg");
}

#WhiteLeather {
    background-image: url("../img/materials/white leather.jpg");
}

#CamelLeather {
    background-image: url("../img/materials/camel leather.jpg");
}

#BrownLeather {
    background-image: url("../img/materials/brown leather.jpg");
}

#BlueLeather {
    background-image: url("../img/materials/blue leather.jpg");
}


#BlackGlossy {
    background-image: url("../img/materials/black glossy & mate lacquer.png");
}

#WhiteGlossy {
    background-image: url("../img/materials/white glossy & mate lacquer.png");
}

#EbanonWood {
    background-image: url("../img/materials/ebanon wood.jpg");
}

#WalnutWood {
    background-image: url("../img/materials/walnut wood.jpg");
}

#AshWood {
    background-image: url("../img/materials/ash wood.jpg");
}

#PolishedInox {
    background-image: url("../img/materials/polished\ inox.jpg");
}

#BrushedInox {
    background-image: url("../img/materials/brushed\ inox.jpg");
}

#PolishedBrass {
    background-image: url("../img/materials/polished\ brass.jpg");
}

#BrushedBrass {
    background-image: url("../img/materials/brushed\ brass.jpg");
}

#PlasticMate {
    background-image: url("../img/materials/plastic\ mate.png");
}

@media (max-width: 768px) {
    section.materials h2 {
        font-size: 1.6em !important;
    }

    section.materials .material .overlay {
        padding: 0.5em;
    }

    section.materials .material .overlay p {
        font-size: 0.65em;
    }
}