﻿@import url("https://fonts.googleapis.com/css?family=Raleway:300,400");

header h1 {
    color: #09b567;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 40px;
    letter-spacing: 0.4px;
    font-family: "Raleway", sans-serif;
}

.container .header{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding: 0 30px;
}


    .container .thumbex {
        margin: 10px 20px 30px;
        width: 100%;
        min-width: 250px;
        max-width: 435px;
        height: 300px;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        overflow: hidden;
        outline: 2px solid white;
        outline-offset: -15px;
        background-color: blue;
        box-shadow: 5px 10px 40px 5px rgba(0, 0, 0, 0.5);
    }




        .container .thumbex .thumbnail {
            overflow: hidden;
            min-width: 250px;
            height: 300px;
            position: relative;
            opacity: 0.88;
            backface-visibility: hidden;
            transition: all 0.4s ease-out;
        }

            .container .thumbex .thumbnail img {
                position: absolute;
                z-index: 1;
                left: 50%;
                top: 50%;
                height: 115%;
                width: auto;
                transform: translate(-50%, -50%);
                backface-visibility: hidden;
                width: 100%;
                height: 100%;
                object-fit: fill;
            }

            .container .thumbex .thumbnail span {
                position: absolute;
                z-index: 2;
                top: calc(150px - 20px);
                left: 0;
                right: 0;
                background: rgba(0, 0, 0, 0.7);
                padding: 10px 50px;
                margin: 0 45px;
                text-align: center;
                font-size: 24px;
                color: white;
                font-weight: 300;
                font-family: "Raleway", sans-serif;
                letter-spacing: 0.2px;
                transition: all 0.3s ease-out;
            }

            .container .thumbex .thumbnail:hover {
                backface-visibility: hidden;
                transform: scale(1.15, 1.15);
                opacity: 1;
            }

                .container .thumbex .thumbnail:hover span {
                    opacity: 0;
                }


.container .thumbex2 {
    margin: 10px 20px 30px;
    width: 100%;
    min-width: 150px;
    max-width: 235px;
    height: 250px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    outline: 2px solid white;
    outline-offset: -15px;
    background-color: blue;
    box-shadow: 5px 10px 40px 5px rgba(0, 0, 0, 0.5);
}
.container .thumbex .thumbnail {
    overflow: hidden;
    min-width: 250px;
    height: 300px;
    position: relative;
    opacity: 0.88;
    backface-visibility: hidden;
    transition: all 0.4s ease-out;
}

.container .thumbex2 .thumbnail img {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    height: 115%;
    width: auto;
    transform: translate(-50%, -50%);
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.container .thumbex2 .thumbnail span {
    position: absolute;
    z-index: 2;
    top: calc(150px - 20px);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 50px;
    margin: 0 45px;
    text-align: center;
    font-size: 24px;
    color: white;
    font-weight: 300;
    font-family: "Raleway", sans-serif;
    letter-spacing: 0.2px;
    transition: all 0.3s ease-out;
}

.container .thumbex2 .thumbnail:hover {
    backface-visibility: hidden;
    transform: scale(1.15, 1.15);
    opacity: 1;
}

.container .thumbex2 .thumbnail:hover span {
    opacity: 0;
}