/*-------DECLARE EXTRA THINGS FIRST--------*/
@import url('https://fonts.googleapis.com/css?family=Muli');

a{
  text-decoration:none;
  color:DarkCyan;
}

li{
  margin-top:3px;
}

p {
  word-break: keep-all;
}

/*-------HEADER FIRST--------*/

.header {
  background-color:white;
  position:fixed;
  top:0;
  width:100%;
  z-index:100;
}


.logo{
  margin:10px;
}


/*-------MAIN CONTENT PAGE-----*/

.mainthing {
  background: url("http://marklouisse.com/wp-content/uploads/2016/08/BG_cropped.png") center;
  background-size:cover ;
  position: fixed;
  display:flex;
  top: 60px;
  left: 0;
  bottom: 0;
  right: 0;
  justify-content:space-around;
  align-items:center;
}



.clickercontainer {
  //border:1px solid yellow;
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items:center;
  max-width:800px;
  width:80%;
}



.memodiv img {
  width:250px;
  margin:50px;
}

.socialcontainer {
  //border:1px solid red;
  width:250px;
  display:flex;
    justify-content:center;
  margin:50px;

}

.socialpic{
  display:inline-block;
  //border:1px solid green;
  height:70px;
  width:70px;
  margin:2px;
}

#instagram{
  background: url("http://marklouisse.com/wp-content/uploads/2016/08/instagram_icon.png");
  background-size:cover;
}

#facebook{
  background: url("http://marklouisse.com/wp-content/uploads/2016/08/facebook_icon.png");
  background-size:cover;
}

#mail{
  background: url("http://marklouisse.com/wp-content/uploads/2016/08/mail_icon.png");
  background-size:cover;
}



.post-edit-link{
  display:none;
}

.page-id-73 {
  background: url("http://marklouisse.com/wp-content/uploads/2016/05/background_gallery-e1462872954903.jpeg") 
  no-repeat 50% 50%;
  background-size: cover;
  width:100%;
  height:90%;
  background-attachment: fixed;
}




/*----------------------GALLERY PAGE CSS--------------------*/
.ig-block {
  padding-top: 80px;
  border:1px solid red;
  height:100vh;
}
/*----------------------LIGHTBOXES TEXT CSS--------------------*/

.lightbox {
  font-family: 'Muli', sans-serif;
  text-decoration:none;
 }


/*----------------------LIGHTBOXES CSS--------------------*/
div.lightbox {
  z-index:10;
  display: none;
  position: fixed;
      right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
  max-width:640px;
}

div.lightbox:target {
  display: table;
}

div.lightbox figure {
  display: table-cell;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  top:40px;
  word-break: break-all;
}

div.lightbox figure figcaption {
  display: block;
  margin: auto;
  padding: 50px;
  background-color:white;
  position: relative;
  overflow: auto;
  border: 1px #000000 solid;
  text-align: justify;
  font-size: 14px;
}

div.lightbox figure figcaption img {
  width:100%;
}

div.lightbox figure .closemsg {
  display: block;
  margin: auto;
  height: 0;
  overflow: visible;
  text-align: right;
  z-index: 2;
  cursor: default;
  text-decoration:none;
}

div.lightbox figure .closemsg, div.lightbox figure figcaption {
  max-width: 640px;
  //border:1px solid blue;
}

.closemsg::after {
  content: "close";
  position: relative;
  right:15px;
  top:15px;
  z-index: 3;
}

a.closemsg::after  {
  text-decoration:none;
  
}

.closemsg::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  opacity: 0.35;
}



  

/*----------------------RESPONSIVE THINGS--------------------*/

<!---WEIRD SHIT WITH LANDSCAPE PHONE LOW HEIGHT-->
@media all (max-height:414px){

.socialcontainer {
    border:2px solid red;
  }


}

/*---LANDSCAPE IPHONE-LIKE----*/

@media screen and (max-width:414px){
  .memodiv img{
    width:40vw;
    margin:5px;	
  }

.socialpic{
  display:inline-block;
  //border:1px solid green;
  height:30px;
  width:30px;
  margin:2px;
}
    .socialcontainer {
  margin:5px;
  }
  
  .logo img{
    width:100%;
  }

  div.lightbox figure figcaption {
  padding: 10px;
  padding-top:20px;
  font-size:10px;
  }
  
  
  
}

.post-368 {
  z-index:1000;
  height: 300px;
  border: 1px solid red;
  margin-top:200px;
}


