/* alex cartoon css - version 0.1

CONTENT:

++ 1.1 - global styles ++
++ 1.2 - main structure ++
++ 1.3 - header ++
++ 1.4 - footer ++
++ 1.5 - comic strips ++

/* ++ 1.1 global styles ++ */

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #020202;
}

/* pre-loading header hover images out of display to avoid flicker */
body:after {
 position: absolute; overflow: hidden; left: -50000px;
 content: url('../img/menu/shop-h.jpg') url('../img/menu/media-h.jpg') url('../img/menu/contact-h.jpg') url('../img/menu/news-h.jpg') url('../img/menu/find-h.jpg') url('../img/menu/about-h.jpg');
}

img {
  max-width: 100%;
  height:auto;
  display:block;
}

.postcard img, .filler img, .small_filler img{
   height: auto;
   margin: auto;
}

.postcard img{
   width: 600px;
}

.filler img{
   width: 400px;
}

.small_filler img{
   width: 300px;
}




h2 {
  text-align: center;
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  color: #000;
  letter-spacing: 1px;
  padding: 5px;
}

h2 a {
  font-size: 24px;
}

h2.left {
  text-align: left;
}

h2.margin-bottom {
  margin-bottom: 15px;
}

h2.small {
  font-size:18px;
}

h2.normal {
  font-style: normal;
}

h6 {
  text-align: right;
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 16px;
  color: #000;
  padding: 5px;
}

h3 {
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 20px;
  color: #000;
  letter-spacing: 1px;
  text-align: left;
}

h3.bold  {
  font-weight: 700;
}

h4 {
  font-family: 'PT Serif', serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  letter-spacing: 1px;
  text-align: left;
}

h4.bold  {
  font-weight: 700;
}

h5 {
  font-family: 'PT Serif', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  color: #9D9D9D;
  letter-spacing: 2.57px;
  padding-bottom: 10px; 
}

h6 {

}

a {
  font-family: 'PT Serif', serif;
  font-weight: 300;
  font-size: 18px;
  color: #a03806;
  letter-spacing: 0.5px;
  text-decoration: none;
}

a:hover {
  color:#712804;
}

p {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  color: #474747;
  letter-spacing: 0;
}

div.copy ul, div.copy ol {
  font-family: 'PT Serif', serif;
  font-size: 18px;
  color: #474747;
  letter-spacing: 0;
}

p.spaced {
  margin-bottom: 1em;
}

.black-button {
  background: #000000;
  border-radius: 5px;
  font-family: 'PT Serif', serif;
  font-size: 28px;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  text-align: center;
  padding:3px;
  margin: 0 40px 0 40px;
}

.black-button2 {
  background: #000000;
  border-radius: 5px;
  font-family: 'PT Serif', serif;
  font-size: 24px;
  line-height: 25px;
  color: #FFFFFF;
  letter-spacing: 1.2px;
  text-align: center;
  padding:7px 0 5px 0;
  height: 30px;
  margin: 0 10px 0 10px;
  display: block;
  clear: both;
}

.black-button3 {
  background: #000000;
  border-radius: 5px;
  font-family: 'PT Serif', serif;
  font-size: 22px;
  line-height: 16px;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-align: center;
  padding:11px 15px 10px 15px;
  height: 20px;
  margin: 0 10px 0 10px;
  display: block;
  clear: both;
}

.black-button:hover, .black-button2:hover {
  background:grey;
}


.sub-header {
  background-color: #F0E2BE;
}

.sub-header2 {
  background-color: #F0E2BE;
  margin-top: 50px;
}

.sub-header > h2 {
  font-size: 42px;
}

.signed > h2 {
  font-size:22px;
}


.share > h2 {
  font-size:22px;
}

.vid-width{
  max-width: 700px
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/* ++ 1.2 main structure ++ */

.wrapper {
  padding-top:35px;
  display: grid;
  grid-template-columns: 1fr 80% 1fr;
  grid-template-rows: auto auto 250px 95px;
  grid-template-areas:
  ". header ."
  ". content ."
  ".  footer ."
  ". copyright .";
}

.content {
  grid-area: content;
  background-color: #F9EED1;
}

@media only screen and (min-width:1750px){

.wrapper {
  grid-template-columns: 1fr 1600px 1fr;
}
}

@media only screen and (max-width:1190px){

.wrapper {
  padding-top:25px;
  display: grid;
  background-color:;
  grid-template-columns: 30px 1fr 30px;
  grid-template-rows: auto 1fr 250px 95px;
  grid-template-areas:
  ". header ."
  ". content ."
  ".  footer ."
  ". copyright .";
}
}


@media only screen and (max-width:850px){

.wrapper {
  padding-top:20px;
  margin: 0px;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 115px auto auto 95px;
  grid-template-areas:
  "header"
  "content"
  "footer"
  "copyright";
}
}


/* ++ 1.3 - header ++ */


.header {
  grid-area: header;
  background: #F0E2BE;
  padding: 5px;
}

#nav {
  background: #F0E2BE;
  padding: 5px;
  z-index: 1000;
}

.about {
  grid-area: about;
  background:url('../img/menu/about.jpg');
}

.about:hover {
  background:url('../img/menu/about-h.jpg');
}

.find {
  grid-area: archive;
  background:url('../img/menu/find.jpg');
}

.find:hover {
  background:url('../img/menu/find-h.jpg');
}

.news {
  grid-area: news;
  background:url('../img/menu/news.jpg');
}

.news:hover {
  background:url('../img/menu/news-h.jpg');
}

.contact {
  grid-area: contact;
  background:url('../img/menu/contact.jpg');
}

.contact:hover {
  background:url('../img/menu/contact-h.jpg');
}

.media {
  grid-area: media;
  background:url('../img/menu/media.jpg');
}

.media:hover, focus {
  background:url('../img/menu/media-h.jpg');
}

.shop {
  grid-area: shop;
  background:url('../img/menu/shop.jpg');
}

.shop:hover {
  background:url('../img/menu/shop-h.jpg');
}

.buttons * {
  height: 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.buttons:hover * {
  background-size: 100% auto;
  background-repeat: no-repeat;
}

@media only screen and (min-width: 741px) {

#top-bar-mobile, .toggle{
  display: none;
}

.home-desktop:hover {
  opacity:0.8;
}

/* IE + legacy menu display */

.buttons {
  column-count: 7;
  width: 950px;

}

.find, .about, .news, .media, .shop, .contact  {
display: inline-block;
width: 120px;
height: 100px;
}

.home-desktop {
  width: 120px;
  height:70px;
}

/* Modern browser menu display */

@supports (display: grid) {

.buttons {
  background-color: #F0E2BE;
  padding: 10px;
  display:grid;
  width: auto;
  grid-template-columns: 1.42fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  grid-template-areas:
  "find about news media shop contact";
}


.find, .about, .news, .media, .shop, .contact  {
  display: inherit;
  width: inherit;
  height: inherit;
}

.home-desktop {
  width: inherit;
  height: inherit;
}

.home-desktop img {
  height: auto;
}

}

}

@media only screen and (max-width: 740px) {

.home-mobile {
  display: block;
  float:left;
  width:150px;
  height:80px;
  margin: 8px 0 0 10px;
}

#home-link {
  display: none;
}

#top-bar-mobile {
  display: block;
  height: 90px;
}

.hamburger {
  float:right;
  margin: 33px 15px 0 0;
  width: 60px;
  height:40px;
  background:url('../img/alex-ham.jpg');
  background-size: 60px 40px;
}

.buttons {
  height: 400px;
  display:grid;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 10px;
  grid-template-areas:
  "find about"
  "news media" 
  "shop contact";
}
  
#nav {
  transition: transform .3s ease-in-out;
  top: 0;
  bottom: 0;   
  min-height: 100vh; /* override Safari bug */
  position: fixed; 
  width: 290px;
  right: -330px;
  padding:20px;
}
  
#nav:target {     
  transform: translateX(-330px);
}
  
.close {
  text-align: left;
  padding:5px;
  display: block;
  text-decoration: none;
  font-size: 3.5em;
  position: relative;
  top: -10px;
  color: #000;
  height: 60px;
}


.news {
  background:url('../img/menu/news-h.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.shop {
  background:url('../img/menu/shop-h.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.contact {
  background:url('../img/menu/contact-h.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
}
}

@media only screen and (min-width:1750px){


.buttons {
  grid-gap: 50px;
  padding: 10px 40px 10px 40px;
}
}

@media only screen and (max-width:1190px){

.buttons {
  grid-gap: 10px;
}
}


/* ++ 1.4 - footer ++ */



.follow {
  grid-area: follow;
}

.footer-icons {
  display:grid;
  width: 180px;
  margin: auto;
  padding:10px 0px 7px 0px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1;
  grid-template-areas:
  "footer-twitter footer-linkedin footer-linkedin";

}

.footer-twitter {
  grid-area:footer-twitter;
  width:60px;
  height:40px;
    background:url('../img/social/twitter-w.svg');
    background-size: 60px 40px;
}

.footer-twitter:hover {
    background:url('../img/social/twitter.svg');
    background-size: 60px 40px;
}

.footer-fb {
  grid-area:footer-fb;
  width:60px;
  height:40px;
    background:url('../img/social/fb-w.svg');
    background-size: 60px 40px;
}

.footer-fb:hover {
    background:url('../img/social/fb.svg');
    background-size: 60px 40px;
}

.footer-linkedin {
  grid-area:footer-linkedin;
  display:block;
  width:60px;
  height:40px;
    background:url('../img/social/linkedin-w.svg');
    background-size: 60px 40px;
}

.footer-linkedin:hover {
    background:url('../img/social/linkedin.svg');
    background-size: 60px 40px;
}

.view {
  grid-area: view;
}

.footer-about {
  grid-area: footer-about;
}

.buy {
  grid-area: buy;
}

.footer {
  grid-area: footer;
  background-color: #252525;
  border-top: #9D9D9D 10px solid;
  padding: 20px 30px 40px 30px;
  text-align: center;
  display: grid;
  grid-template-columns: 4;
  grid-template-rows: 1;
  grid-gap:30px;
  grid-template-areas:
  "follow view footer-about buy";
}

.copyright {
  grid-area: copyright;
  padding-bottom:25px;
  align-items: center;
  background-color:#1C1C1C;
  text-align: center;
  padding-top:1.5em;
  font-family: PTSerif-Regular;
  font-size: 20px;
  color: #FFFFFF;
  letter-spacing: 0px;
  line-height: 22px;
}
.copyright .copyright-col1 {
	grid-area: copyright2;
	display: inline-block;
}

.copyright .copyright-col1  img, .copyright .copyright-col1  span{
	display: inline-block;
	vertical-align: middle;
}

.copyright .copyright-col2 {
	display: inline-block;
	grid-area: contact;

	vertical-align: middle;
}
.copyright .copyright-col3 {
	display: inline-block;
	grid-area: privacy;
	vertical-align: middle;
}

@media only screen and (max-width:750px){ 
	.copyright {
		padding:10px;
	}
	.copyrightInner {
	 grid-template-areas: "copyright2 copyright2"
	 "contact privacy";
	  display: grid;
	  grid-template-columns: 1fr 1fr ;
	  grid-row-gap: 10px;
	}

	.copyright .divider {
		display:none;
	}
}

.copyright img {
  width:50px;
  height: 22px;
  padding: 6px;
}

.copyright a {
  color: #999;
}

.copyright a:hover {
  color:#F7F7F7;
}

.footer a {
  font-family: 'PT Serif', serif;
  font-weight: 300;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 2.7px;
  line-height: 37px;
  text-decoration: none;
}

.footer a:hover {
  color:grey;
}

.follow {
  grid-area: follow;
}

.footer-icons {
  display:grid;
  width: 180px;
  margin: auto;
  padding:10px 0px 7px 0px;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1;
  grid-template-areas:
  "footer-twitter footer-fb footer-linkedin";

}

.footer-twitter {
  grid-area:footer-twitter;
  width:50px;
  height:40px;
    background:url('../img/social/twitter-w.svg');
    background-size: 50px 40px;
}

.footer-twitter:hover {
    background:url('../img/social/twitter.svg');
    background-size: 50px 40px;
}

.footer-fb {
  grid-area:footer-fb;
  width:30px;
  height:40px;
    background:url('../img/social/fb-w.svg');
    background-size: 30px 40px;
}

.footer-fb:hover {
    background:url('../img/social/fb.svg');
    background-size: 30px 40px;
}

.footer-linkedin {
  grid-area:flinkedin;
  display:block;
  width:40px;
  height:40px;
    background:url('../img/social/linkedin-w.svg');
    background-size: 40px 40px;
}

.footer-linkedin:hover {
    background:url('../img/social/linkedin.svg');
    background-size: 40px 40px;
}

.view {
  grid-area: view;
}

.buy {
  grid-area: buy;
}

@media only screen and (min-width:1750px){

.footer {
  padding-right: 250px;
  padding-left: 250px;
}
}

@media only screen and (max-width:850px){

.footer {
  grid-area: footer;
  background-color: #252525;
  border-top: #9D9D9D 10px solid;
  padding: 20px 30px 40px 30px;
  text-align: center;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 4;
  grid-gap:30px;
  grid-template-areas:
  "follow" 
  "view" 
  "footer-about"
   "buy";
}
}

/* ++ 1.5 - comic strips ++ */

.strip {
  grid-area: strip;
  z-index: 1;
}

.archive-strip {
  display: grid;
  grid-template-columns: auto 170px 1fr;
  grid-template-areas:
  "about about about"
  "date share-a buy-a"
  "strip strip strip";
  margin-bottom: 40px;
}

.about-strip-intro {
  grid-area: about;
  padding: 10px 10px 10px 0;
  margin-top: 20px;
}

.archive-date {
  grid-area: date;
  align-self: center;
  padding-left:8px;
}

.buy-strip {
  grid-area: buy-a;
   align-self: center;
}

.buy-strip a{
  font-size: 16px;
}

.share-icons-a {
  grid-area: share-a;
  display: flex;
  padding: 5px;
}

.twitter-a {
  margin:5px 5px 5px 10px;
  width:28px;
  height:20px;
    background:url('../img/social/twitter.svg');
    background-size: 28px 20px;
}


.twitter-a:hover {
    background:url('../img/social/twitter-w.svg');
    background-size: 28px 20px;
}

.fb-a {
  margin:5px 5px 5px 10px;
  width:15px;
  height:20px;
    background:url('../img/social/fb.svg');
    background-size: 15px 20px;
}

.fb-a:hover {
    background:url('../img/social/fb-w.svg');
    background-size: 15px 20px;
}

.linkedin-a {
  margin:5px 10px 5px 10px;
  width:20px;
  height:20px;
    background:url('../img/social/linkedin.svg');
    background-size: 20px 20px;
}

.linkedin-a:hover {
    background:url('../img/social/linkedin-w.svg');
    background-size: 20px 20px;
}

.email-a {
  margin:5px;
  margin:5px;
  width:30px;
  height:20px;
  background:url('../img/social/email.svg');
  background-size: 30px 20px;
}

.email-a:hover {
    background:url('../img/social/email-w.svg');
    background-size: 20px 30px;
}

.strip {
  max-width:100%;
} 

@media only screen and (max-width:800px){

.strip img {
  width:auto;
  max-width:2000%;
  height: 300px;
}

.strip {
 overflow-x:auto;
  -webkit-overflow-scrolling: touch;
} 
}

@media only screen and (max-width:550px){

.archive-strip {
  grid-template-columns: 1fr;
  grid-template-areas:
  "about about"
  "date share-a"
  "strip strip"
  "buy-a buy-a";
}

}

