html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
    background-color: #f8f8f8;
    background-image: url("images/concrete.png");
    background-position: top left;
    background-repeat: repeat;
    background-attachment: fixed;
    color: #000 ;
}

.container {
    width:100%;
    height:100%;
    text-align: center;  /* align the inline(-block) elements horizontally */
    font: 0/0 a;         /* remove the gap between inline(-block) elements */
}


.main {
    display: inline-block;
    padding: 60px 30px 30px;
    width: 640px;
}

p, h1, h2, h3, ul, li, .button, input {
  font-family: 'Alegreya', serif;
  font-weight: 400;
}

h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 0px;
}

h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    font-style: italic;
    margin: 80px 0px 0px;
    color: #000;
}

h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    font-style: italic;
    margin: 0px 0px 40px;
    color: #000;
}

p {
    font-size: 18px;
    line-height: 30px;
    font-style: normal;
    margin-bottom: 0px;
}


a {
  font-weight:500;
  color: #000;
  -webkit-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -moz-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -ms-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -o-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  text-decoration:none;
  border-bottom:1px dashed #666666;
}

a.no-underline {
    border-bottom:0px!important;
}

h2 a {
  font-weight:300;
  color: #fff;
}

a:hover {
  color: #666;
  -webkit-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -moz-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -ms-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  -o-transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
  transition: background 0.2s ease-out, color 0.2s ease-out, border 0.2s ease-out;
}

.profile {
  height: 240px;
  border-radius: 100%;
  margin: 0px 0px 20px;
}

/* YOUTUBE EMBED STYLES */

div.iframe-container-youtube {
    padding-bottom: 55.8%;
    margin: 40px 0px 20px;
    position: relative;
    display: block;
    border: 2px rgba(255,255,255,0.6) solid;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(1, 1, 1, 0.3);
    -moz-box-shadow: 0px 0px 15px 0px rgba(1, 1, 1, 0.3);
   box-shadow: 0px 0px 15px 0px rgba(1, 1, 1, 0.3);
}

div.iframe-container-youtube > iframe {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    text-align: center;
    width: 100%;
    height: 100%;
}

.description {
    padding: 0px 40px;
    font-style: italic;
}

.social-media {
  margin:80px 0px 0px;
}

.social-media img {
  width:42px;
  padding: 5px 4px;
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}

.social-media img:hover {
  opacity: 0.8;
     -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}


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

  .main {
    width: 90%;
    width: calc(100% - 60px);
  }
  
}

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

  .main {
    padding: 40px 0px 20px;
    width: 100%;
  }

  h2 {
    margin: 50px 0px 0px;
  }
  
  p {
    padding-left: 30px;
    padding-right: 30px;
  }

  .social-media {
    margin:55px 0px 0px;
  }

  .social-media img {
    width:34px;
  }
  
  .profile {
    height: 180px;
  }
  
  .description {
    padding: 0px 40px;
  }
  
div.iframe-container-youtube {
    border: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
   box-shadow: none;
}
