text: (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{TJ2H:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return s})),a.d(t,"query",(function(){return d}));var n=a("q1tI"),r=a.n(n),i=a("PzxD"),o=a("vOnD"),m=a("nWR2"),c=a.n(m),l=o.b.div.withConfig({displayName:"Projects__SingleProjectStyles",componentId:"sc-9j9uxn-0"})(["margin:80px auto 25px auto;max-width:60vw;color:black;background-color:var(--white);h2{margin:3.5rem 0;font-size:3rem;text-align:center;text-decoration:none;}p{font-size:1.5rem;}img{height:auto;}.noImage{width:100%;height:400px;color:white;text-align:center;background-image:url(",");background-position:center top;background-repeat:no-repeat;background-attachment:fixed;background-size:auto;background-origin:content-box;}.noImageGallery{width:100%;height:200px;text-align:center;}.carousel{display:grid;grid-template-columns:repeat(3,minmax(auto,1fr));gap:2rem;margin-left:auto;margin-right:auto;.cPlaceholder{height:200px;}}@media only screen and (max-width:900px){max-width:80vw;margin:0 auto;padding:0;.contentContainer{.image{margin:75px auto 0 auto;max-width:80%;}h2{font-size:2rem;}p{font-size:1.2rem;}.carousel{grid-template-columns:repeat(2,minmax(auto,1fr));}}}@media only screen and (max-width:600px){max-width:95vw;margin:0 auto;padding:0;.contentContainer{h2{font-size:2rem;}p{font-size:1.2rem;}.carousel{grid-template-columns:repeat(2,minmax(auto,1fr));}}}@media only screen and (max-width:400px){max-width:95vw;margin:0 auto;padding:0;.contentContainer{h2{font-size:2rem;}p{font-size:1.2rem;}.carousel{grid-template-columns:repeat(1,minmax(auto,1fr));}}}"],c.a);function s(e){var t=e.data.projects;return r.a.createElement(l,null,r.a.createElement("div",{className:"contentContainer"},r.a.createElement("div",{className:"image"},t.image?r.a.createElement(i.a,Object.assign({},t.image,{alt:t.mainTitle,style:{width:"100%",objectFit:"cover",auto:"format"}})):r.a.createElement("div",{className:"noImage"})),r.a.createElement("h2",null,t.mainTitle),t.mainContent.map((function(e){return r.a.createElement("span",{key:e},r.a.createElement("p",{className:"mainContent"},e))})),t.gallery?r.a.createElement("div",{className:"carousel"},t.gallery.images.map((function(e){return r.a.createElement("span",null,r.a.createElement(i.a,Object.assign({},e,{className:"cPlaceholder",alt:"Gallery Image",key:e._id,style:{height:"200px",objectFit:"cover",auto:"format"}})))}))):r.a.createElement("div",{className:"noImageGallery"})))}var d="1550442552"},nWR2:function(e,t,a){e.exports=a.p+"static/logo-4f82d778248192cef0ab9db3853779b4.png"},yLpj:function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(n){"object"==typeof window&&(a=window)}e.exports=a}}]);
  //# sourceMappingURL=component---src-templates-projects-js-9d1b969e32709f13aac3.js.map