﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    /*padding-top: 50px;*/
    /*padding-bottom: 20px;*/
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.grey-text {
    color: #3f4556;
}

.blue-text {
    color: blue;
}

.nerdhousegeeks-title {
    font-family: 'Chewy', cursive;
}

/*img {
    display: block;
    width: 100%;
}*/

section, article {
    background: inherit;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: initial;
}

    article img {
        display: block;
        width: 100%
    }

    article:nth-child(2n) {
        -webkit-transform: rotate3d(0,1,0,180deg);
        -moz-transform: rotate3d(0,1,0,180deg);
        transform: rotate3d(0,1,0,180deg);
    }

        article:nth-child(2n) .box .feed {
            -webkit-transform: rotate3d(0,1,0,180deg);
            -moz-transform: rotate3d(0,1,0,180deg);
            transform: rotate3d(0,1,0,180deg);
        }

    article .box:before {
        background: #FFF;
        content: "";
        margin-top: -10px;
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: -10px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.box .feed {
    height: 100%;
    overflow: hidden;
    padding: 0 10px;
    position: relative;
    width: initial;
}

    .box .feed h2 {
        color: #FF5B06;
        font-weight: 400;
        letter-spacing: 1px;
    }

    .box .feed p {
        color: #555;
        letter-spacing: 1px;
        line-height: 22px;
    }
/*-------------------------------*/
/* CSS @media screen responsive
/*-------------------------------*/

@media only screen and (min-width: 240px) {
    article .box .feed p {
        font-size: 13px;
    }
}

@media only screen and (min-width: 320px) {
    article .box .feed p {
        font-size: 13px;
    }
}

@media only screen and (min-width: 480px) {
    article .box .feed p {
        font-size: 14px;
    }
}

@media only screen and (min-width: 528px) {
    article .box, footer .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 11px;
            line-height: 16px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (min-width: 640px) {
    article .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 13px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (min-width: 768px) {
    article .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 15px;
            line-height: 24px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (min-width: 992px) {
    article .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 15px;
            line-height: 24px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (min-width: 1200px) {
    article .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 15px;
            line-height: 24px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    article .box {
        display: inline-block;
        margin: 0 -2px;
        vertical-align: middle;
        width: 50%;
    }

        article .box .feed p {
            font-size: 15px;
            line-height: 24px;
        }

    footer .box {
        height: 100%;
    }
}

@media only screen and (max-width: 528px) {
    article .box .feed {
        margin: 15px 0 25px;
    }

    article .box:before {
        content: "";
        margin-top: 0;
        margin-left: -10px;
        position: absolute;
        width: 20px;
        height: 20px;
        top: -10px;
        left: 50% !important;
        right: auto;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

@media only screen and (max-width: 240px) {
    .intro {
        display: none
    }

    section {
        margin-top: 57px
    }

    article .box .feed p {
        font-size: 12px;
    }
}
