﻿body {
    background-color: #371822;
}
.card{
    border:0px;
}
.title {
    color: rgb(251, 192, 0);
    text-decoration:underline;
}
a{
    text-decoration:none;
}
.img{
    height:200px;
    max-height:200px;
}
:root {
    --body-bg: #24282f;
}

body {
    background: var(--body-bg);
    font-family: 'Alegreya Sans';
}

.wrapper {
    padding: 15px;
}

h2 {
    position: relative;
    vertical-align: middle;
    padding: 10px;
    padding-left: 25px;
    color: #ccc;
    margin: 0;
}

    h2 strong {
        position: relative;
        vertical-align: middle;
        z-index: 2;
        background: var(--body-bg);
        padding: 4px 8px;
    }

    h2 span {
        vertical-align: middle;
        font-size: 0.7em;
        color: #aaa;
        margin-left: 10px;
    }

    h2::after {
        position: absolute;
        content: '';
        z-index: 1;
        bottom: 50%;
        margin-bottom: -2px;
        height: 2px;
        left: 0;
        right: 0;
        background: lighten(var(--body-bg), 10%);
    }



.news {
    display: flex;
    flex-flow: row wrap;
}

    .news .article {
        position: relative;
        overflow: hidden;
        width: 335px;
        height: 235px;
        margin: 20px;
    }

        .news .article img {
            width: 100%;
            min-height: 100%;
            transition: 0.2s;
        }

        .news .article figcaption {
            position: absolute;
            font-size: 14px;
            text-shadow: 0 1px 0 rgba(51, 51, 51, 0.3);
            color: #fff;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            padding: 40px;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
            background: rgba(6, 18, 53, 0.6);
            opacity: 0;
            transform: scale(1.15);
            transition: 0.2s;
        }

            .news .article figcaption h3 {
                color: red;
                font-size: 26px;
                margin-bottom: 0;
                font-weight: bold;
                text-align: center;
            }

        .news .article:hover,
        .news .article:focus,
        .news .article:active {
            overflow: hidden;
        }

            .news .article:hover img,
            .news .article:focus img,
            .news .article:active img {
                filter: blur(3px);
                transform: scale(0.97);
            }

            .news .article:hover figcaption,
            .news .article:focus figcaption,
            .news .article:active figcaption {
                opacity: 1;
                transform: none;
            }
