html
{
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', system-ui, sans-serif;
    background-color: rgb(236, 236, 236);
}

a {
    text-decoration: none;
}

/*a {
    text-decoration: none;
    color: black;
    font-weight: bolder;
}*/

.splash
{
    background-image: linear-gradient(to top left, rgb(55, 65, 82), rgb(0, 112, 49));
    padding-top: 200px;
    padding-bottom: 200px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    background-size: cover;
}

@media (max-height: 2530px)
{
    .project-splash
    {
        padding-top: 550px;
        padding-bottom: 550px;
    }
}

@media (max-height: 1520px)
{
    .project-splash
    {
        padding-top: 400px;
        padding-bottom: 400px;
    }
}

@media (max-height: 1520px) and (max-width: 835px)
{
    .project-splash
    {
        padding-top: 350px;
        padding-bottom: 350px;
    }
}

@media (max-height: 1140px)
{
    .project-splash
    {
        padding-top: 340px;
        padding-bottom: 340px;
    }
}

@media (max-height: 965px)
{
    .project-splash
    {
        padding-top: 260px;
        padding-bottom: 260px;
    }
}

@media (max-height: 835px) {
    .project-splash {
        padding-top: 230px;
        padding-bottom: 230px;
    }
}

@media (max-height: 760px)
{
    .project-splash
    {
        padding-top: 200px;
        padding-bottom: 200px;
    }
}

@media (max-height: 760px) and (max-width: 360px)
{
    .project-splash
    {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-height: 685px)
{
    .project-splash
    {
        padding-top: 170px;
        padding-bottom: 170px;
    }
}

@media (max-height: 635px)
{
    .project-splash
    {
        padding-top: 150px;
        padding-bottom: 150px;
    }
}

#projectSubtitle {
    font-size: 20px;
    margin-top: 12px;
    margin-bottom: 0;
}

#projectSubSubTitle {
    font-size: 24px;
    margin-top: 12px;
}

#homeHeader
{
    background-color: black;
    background-image: none;
}

.header > a
{
    top: 15px;
    position: absolute;
    margin: 0;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 18px;
    transition: all 0.2s ease;
    padding-left: 5px;
}

.header > a:hover {
    color: rgb(181, 181, 181);
}


.header
{
    background-image: linear-gradient(to right, rgb(55, 65, 82), rgb(0, 112, 49));
    background-color: rgb(0, 112, 49);
    color: white;
    padding: 1px 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,.46);
    display: block;
}

#nav:after
{
    content: "";
    display: table;
    clear: both;
}

#nav ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

    #nav ul li
    {
        float: right;
    }

        #nav ul li a
        {
            display: block;
            color: white;
            text-decoration: none;
            padding-left: 2px;
            padding-right: 2px;
            padding-top: 15px;
            padding-bottom: 15px;
            transition: font-weight 0.2s ease;
        }

            #nav ul li a:hover
            {
                font-weight: bold;
            }

li
{
    padding-left: 5px;
    padding-right: 5px;
}

    #nav h2 {
        margin: 0;
        font-size: 1.2rem;
    }

    #main {
        margin: 40px;
        margin-top: 30px;
    }

    h1 {
        font-weight: 300;
        color: white;
        font-size: 75px;
        margin-left: 50px;
        margin-right: 50px;
        margin-top: 0;
        margin-bottom: 0;
    }


    .splash h3 {
        font-weight: 500;
        font-size: 30px;
        margin-left: 50px;
        margin-right: 50px;
        margin-top: 0;
        color: white;
    }

    #main h3 {
        margin-bottom: 0;
        margin-top: 25px;
    }

    #main p {
        margin-top: 5px;;
    }


    .blog-title {
        color: rgb(0, 112, 49);
    }

.blog-misc {
    color: dimgrey
}

.blog-post {
    max-width: 40%;
    background-color: white;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    padding: 5px;
    border: 1px solid dimgrey;
}

    .blog-post:hover {
        border: none;
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }

/*#projects
{
    text-align: center;
} */

.project
{
    width: 310px;
    height: 200px;
    background-size: contain;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: inline-block;
    vertical-align: top;
    margin: 10px 4px; /* spacing between cards */
}

.featured {
    width: 55%;
    height: 450px;
    background-size: cover;
}

@media (max-width: 350px)
{

    .project
    {
        width: 300px !important;
    }
}

@media (max-width: 450px) {
    h1
    {
        font-size: 65px;
    }
}

@media (max-width: 433px)
{

    h1
    {
        font-size: 55px;
    }

    #main {
        margin: 20px;
    }

    .project {
        width: 320px !important;
    }
}

@media (max-width: 1210px) {
    #main {
        margin: 25px;
    }
}

@media (max-width: 390px)
{
    h1
    {
        font-size: 50px;
    }
}

@media (max-width: 581px)
{

    .project
    {
        width: 450px !important;
    }
}

@media (max-width: 525px)
{

    .project
    {
        width: 350px !important;
    }
}

@media (max-width: 733px) {
    .project {
        width: 500px;
        background-size: cover;
    }
}

@media (width: 1042px)
{
    .project
    {
        width: 462px;
    }
}

    .project:hover
    {
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)
    }

.project-info
{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 12px;
    text-align: left;
    text-decoration: none;
    color: white;
}

.project-title
{
    color: white;
    margin: 0;
    font-weight: bold;
}

.project-title:hover {
    text-decoration: underline;
}

.project-description
{
    color: white;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.description-featured {
    max-height: none;
    opacity: 1;
    margin-top: 8px;
}

.project:hover .project-description
{
    max-height: 160px;
    opacity: 1;
    margin-top: 10px;
}

#scroll
{
    text-align: center;
    font-size: 40px;
}

    #scroll a
    {
        text-decoration: none;
        color: black;
        transition: all 0.2s ease;
    }

    #scroll a:hover {
        color: rgb(71, 71, 71);
    }