@font-face {
    font-family: source-sans;
    src: url('../assets/fonts/SourceSansPro-Regular.ttf');
}
@font-face {
    font-family: source-sans-light;
    src: url('../assets/fonts/SourceSansPro-Light.ttf');
}

h1 {
    font-family: source-sans;
    font-size:52px;
    color: white;
}

h2,h3,h4,h5,h6 {
    font-family: source-sans, sans-serif;
}
html,body {
    font-family: source-sans-light, sans-serif;
    font-size:18px;
}

.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

.grid {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.item-container{
    width:300px;
    height: 400px;
    text-align: center;
    display: inline-block;
    position: relative;
}

.item-overlay{
    opacity:0;
    background-color:rgba(255, 255, 255, 0.9);
    width:300px;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.6s ease;
}

/*.item-container:hover > a > .item-overlay  {*/
/*    opacity: 1;*/
/*    transition: opacity 0.6s ease;*/
/*}*/

.item-overlay:hover{
    opacity:1;
}

.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container > img {
    display: block;
    max-width: 300px;
    max-height: 300px;
}

.item-title {
    background: #3f51b5;

}

/*.w3-opacity,.w3-hover-opacity:hover{opacity:0.2}.w3-opacity-off,.w3-hover-opacity-off:hover{opacity:1}*/