/* revision history */
/* 8/18/24 cut -v5 over to "prodction" - establish -devel version  */


body {
    background-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

a {
    background-color: #ed1c24;
    text-decoration: none;
    color: white;
    border-radius: .5rem;
    text-align: center;
    display: inline-block;
    transition: all .3s;
    padding: .5rem 1rem;
    margin: .5rem;
    border: 3px solid #ed1c24;
}

a:hover {
    /*  opacity: .6; */
    background-color: d91a20;
    border: 3px solid black;
}

.header {
    /*    padding: 4rem 2rem;*/
    padding-right: 2rem;
    padding-left: 2rem;
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    align-items: center;
    background-image: url("/resources/a2-grinder-crop.jpg");
    /* set the focal point of the image to the grinder */
    background-position: 50% 70%;
}


.header .a2-logo-div {
    text-align: center; 
}

.header .a2-logo-div > img {
}

.header .a2-header-div {
}

/*.header > * {*/
.header .a2-header-div > * {
    color: black;
}

/*.header > h1 {*/
.header .a2-header-div > h1 {
    font-size: 3rem;
    padding-bottom: 1rem;
    text-align: center;
}


/*.header > h2 {*/
.header .a2-header-div > h2 {
    font-size: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
    color: white;
}

.header .a2-header-div > h3 {
    font-size: 2.5rem;
    padding-bottom: 1rem;
    text-align: center;
    color: white;
    background-color: rgba(0,0,0,.25);
}


/*.header > article > p {*/
.header .a2-header-div > article > p {
    font-size: 1.5rem;
    font-weight: 200;
}

/*.header > article > a {*/
.header .a2-header-div > article > a {
    padding: 1rem;
    margin-top: .75rem;
}

ul {
}

.projects {
    padding: 2rem;
}

.projects > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    grid-gap: 1rem;
    list-style: none;
    padding: 0px;
}

.projects > ul > li {
    border: 1px solid #E2E2E2;
    border-radius: .5rem;
    background: rgba(255,255,255,.25);
}

.projects > ul > li > figure {
/*    max-height: 500px;*/
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    position: relative;
}

.projects > ul > li > figure > img {
    width: 100%;
}

.projects > ul > li > figure > figcaption {
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,.25);
    width: 100%;
}

.projects > ul > li > figure > figcaption > h3 {
    color: white;
    padding: .75rem .75rem;
    font-size: 1.25rem;
    margin: 0px;
    text-align: center;
}

.projects > ul > li > p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem .75rem;
    color: #666666;
    text-align: center;
}

.projects > ul > li > p > a {
    padding: .5rem 1rem;
    margin: .5rem;
    font-size: 2rem;
}


.projects-about {
    padding: 2rem;
}

.projects-about > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
/*    grid-template-columns: auto;*/
    grid-gap: 1rem;
    list-style: none;
    padding: 0px;
}

.projects-about > ul > li {
    border: 1px solid #E2E2E2;
    border-radius: .5rem;
    background: rgba(255,255,255,.25);
}

.projects-about > ul > li > figure {
/*    max-height: 500px;*/
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    position: relative;
}

.projects-about > div > h1 {
    font-size: 3rem;
    padding-bottom: 1rem;
    text-align: center;
}

.projects-about > p {
    padding: 2rem;
    font-size: 2rem;
    font-weight: 200;
}

.projects-about > p > strong{
    font-weight: bold;
}

.projects-about > p > a {
    background: none;
    color: black;
    border: none;
    padding: 0px;
    margin: 0px;
    text-decoration: underline; 
}
