a{cursor:pointer}#portfolio{width:100%;min-height:200px;background:#fff}.project{width:32%;height:300px;display:inline-block;position:relative;background:rgba(55,43,125,0.7);overflow:hidden}.project img{position:absolute;margin-right:-50%;opacity:.9}.project p{position:absolute;text-align:center;width:100%;padding:1em 0;z-index:3;font-size:18px;color:#e8e8e8}.project .grid__title{position:absolute;width:100%;text-align:center;bottom:0;font-weight:400;font-size:1em;z-index:3;color:#e8e8e8}.project:hover .grid__overlay{transform:translateY(0%)}.grid__overlay{background:rgba(55,43,125,0.7);height:100%;position:relative;display:grid;justify-items:center;align-items:center;transform:translateY(101%);transition:all .3s ease-in-out}.grid__overlay a{background:none;outline:none;font-weight:100;border:1px solid #fff;color:#fff;padding:10px;transition:all .3s ease-in-out}.project h3,.project p{transition:all .3s ease-in-out}.project h3:hover,.project p:hover{transform:scale(1.07)}.grid__overlay a:hover{transform:scale(1.06);background:#fff;color:rgba(55,43,125,1);font-weight:500}.overlay{position:fixed;background:rgba(71,69,69,0.7);top:0;right:0;bottom:0;left:0;display:none;z-index:3}.overlay.open{display:grid;align-items:center;justify-items:center}.overlay__inner{background:#fff;width:700px;padding:20px;position:relative;opacity:1}.close{position:absolute;top:3px;right:10px;background:none;outline:0;color:#474545;border:0}.close:hover{color:rgba(55,43,125,0.7)}.project__image{width:100%;height:100%}@media screen and (max-width: 1040px){.project{width:32%;height:275px}}@media screen and (max-width: 848px){.project{width:32%;height:235px}}@media screen and (max-width: 705px){.project{width:45%;height:235px}}@media screen and (max-width: 505px){.project{width:80%;height:235px}}