
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    padding: none;
   
}

.image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 0 5px 1.5px lightgray;
    border-radius: 4px 4px 4px 4px;
}


.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(211,211,211,0.8);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
}

.image-wrapper:hover .info {
    height: 26%;
}

.name {
    font-family: "Didot LT Std Roman", Didot, serif;
    text-transform: uppercase;
    letter-spacing: 1.55px;
    font-size: .9em;
    font-weight: 300;
    color: white;
    padding-left: .6rem;
    padding-top: .2rem;
}

.field {
    font-family: "helvetica Light", helvetica, sans-serif;
    font-size: .6em;
    letter-spacing: 1.5px;
    color: white;
    text-transform: uppercase;
    padding-left: .6rem;
    font-weight: 400;
}

.group::after,
.grouped::after {
    content: '';
    display: table;
    clear: both;
}

@media (min-width: 500px){
    /** this example is for a 12 column grid **/
    .column,
    .columns{
        float: left;
        padding-left:1rem;
        padding-right:1rem;
        padding-top: 1.7rem;
        padding-bottom: 1.7rem;
    }
    .project {
        width: calc(100% / 2);
    }
    .project:nth-child(2n+1) {
        clear: left;
    }  
}

@media (min-width: 700px){
    .project {
        width: calc(100% / 3);
    }
    .project:nth-child(2n+1) {
        clear: none;
    }
    .project:nth-child(3n+1) {
        clear: left;
    }
}

@media (min-width: 900px){
    .project {
        width: calc(100% / 4);
    }
    .project:nth-child(2n+1) {
        clear: none;
    }
    .project:nth-child(3n+1) {
        clear: none;
    }
    .project:nth-child(4n+1) {
        clear: left;

    }

main {
    padding-left: 3rem;
    padding-right: 3rem;
    }    
    
    
    
/** Create different widths of colimns **/
.one           { width: calc(100% / 12 * 01); background-color: skyblue; }
.two           { width: calc(100% / 12 * 02); background-color: bisque;}
.three         { width: calc(100% / 12 * 03); background-color: white;}
.four          { width: calc(100% / 12 * 04); background-color: azure;}
.five          { width: calc(100% / 12 * 05); background-color: darkseagreen;}
.six           { width: calc(100% / 12 * 06); background-color: lightcoral;}
.seven         { width: calc(100% / 12 * 07); background-color: goldenrod;}
.eight         { width: calc(100% / 12 * 08); background-color: wheat;}
.nine          { width: calc(100% / 12 * 09); background-color: pink;}
.ten           { width: calc(100% / 12 * 10); background-color: peru;}
.eleven        { width: calc(100% / 12 * 11); background-color: peachpuff;}
.twelve        { width: calc(100% / 12 * 12); background-color: lavender;}

.offset-by-one           { margin-left: calc(100% / 12 * 01); }
.offset-by-two           { margin-left: calc(100% / 12 * 02); }
.offset-by-three         { margin-left: calc(100% / 12 * 03); }
.offset-by-four          { margin-left: calc(100% / 12 * 04); }
.offset-by-five          { margin-left: calc(100% / 12 * 05); }
.offset-by-six           { margin-left: calc(100% / 12 * 06); }
.offset-by-seven         { margin-left: calc(100% / 12 * 07); }
.offset-by-eight         { margin-left: calc(100% / 12 * 08); }
.offset-by-nine          { margin-left: calc(100% / 12 * 09); }
.offset-by-ten           { margin-left: calc(100% / 12 * 10); }
.offset-by-eleven        { margin-left: calc(100% / 12 * 11); }
.offset-by-twelve        { margin-left: calc(100% / 12 * 12); }

}
