@font-face {
  font-family: myFont;
  src: url(font/Montserrat-Regular.otf);
}


body {
  margin: auto;
  width: 100%;
  max-width: 1500px;
  height: auto;
  font-family: myFont, Helvetica, Verdana, Arial;
}

a {
text-decoration: inherit;
color: inherit;
}


.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 30px 0px 20px 0px;
  margin: 0px;
  border: 0px;
  height: auto;
}

div.jm{
 padding-left: 8%;
  position: relative;
  bottom: 0px;

}

div.about {
  text-align: right;
  font-size: small;
  padding-right: 8%;
  position: relative;
  bottom: -4px;
}


h1 {
  font-size: large;
  padding: 0;
  margin: 0;
  border: 0;
}

h2 {
  text-transform: uppercase;
  font-size: large;
  padding: 0;
  text-align: center;
  border: 0;
}



.ratio {
  display: grid;
  float: left;
  width: 100%;
  margin: 0.8%;
  margin-left:0;
  margin-right:0;
}

.ratio > * {
  grid-area: 1/1;
}

.post {
  background-color: #000000;
  background-size: cover;
}
div.post a {
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
}




#post1 {
  background-image: url('thb/jumreel.jpg');
}

#post2 {
  background-image: url('thb/reindorf.jpg');
}

#post3 {
  background-image: url('thb/sydroy.jpg');
}

#post4 {
  background-image: url('thb/youyangs.jpg');
}

p, p.email, p.jm {
   text-align: center;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;

}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
  max-width:800px;
  margin:0 auto;
  padding-top:20px;
}

.jmratio {
  display: grid;
  float: left;
  width: 99.4%;
  margin: 0.3%;
}

.jmratio > * {
  grid-area: 1/1;
}

div.jmpic{
  margin-top:30px;
  margin-left:auto;
  margin-right:auto;
  background-image: url('contact/jmProfile.jpg');
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height:400px;
  background-size: contain;
}




@media only screen and (min-width: 950px) {
  /* For desktop: */

body {

  width: 95%;
}

.ratio {
  width: 49.4%;
  margin: 0.3%;
}

