@font-face {font-family: "stemtext-r";
  src: url("/fonts/stemtext-r.eot"); /* IE9*/
  src: url("/fonts/stemtext-r.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("/fonts/stemtext-r.woff2") format("woff2"), /* chrome、firefox */
  url("/fonts/stemtext-r.woff") format("woff"), /* chrome、firefox */
  url("/fonts/stemtext-r.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("/fonts/stemtext-r.svg#Stem Text W03 Regular") format("svg"); /* iOS 4.1- */
}

body {
    background: #656565 url(/img/bg.jpg);
    margin:0;
}

h2 {
    font-family: 'stemtext-r';
    font-size: 2rem;
    color: #000;
    text-decoration: underline;
}

p {
    font-family: 'stemtext-r';
    color:#fff;
    padding: 5px 15px;
    
}

#x-logo {
    margin: 50px auto 50px;
    text-align: center;
}

#x-logo img {
    height: 150px;
}


#x-item {
    display: flex;
    padding: 10px 5% 0;
}

#x-footer {
    position: absolute;
    bottom: 0;
    background: #2b2b2b;
    width: 100%;
    margin: 0;
}

.col-md-4 {
    width: 30%;
}

.item-block {
    width: 50%;
    margin: 2%;
    text-align: center;
    transition: .5s;
}

.item-block img {
    width: 100%;
}

.item-block:hover {
    transform: scale(1.02);
    transition: .5s;
}

@media(max-width:768px){
    
    #x-logo {
        margin: 50px auto 10px;
        text-align: center;
    }

    #x-logo img {
        height: 100px;
    }
    
    #x-item {
        display: block;
        padding: 10px 5% 0;
    }
    #x-footer {
        display:none;
    }
    
    .item-block {
        width: 100%;
        margin: 2% 0;
    }   
    h2 {
        font-size: 1.4rem;
        margin: 0 0 30px 20%;
        color: #000;
        text-decoration: underline;
    }
    
    .col-md-4 {
        width: 100%;
        display: block;
    }
}