/* Meyer Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* My Style */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #888;
  margin: 0;
  text-align: center;
}

a{
  text-decoration: none ;
}

a:hover{
  text-decoration: underline ;
}

.container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column ;
  -webkit-flex-direction: column ;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  position: relative;
  margin: 0 auto;
  padding: 5%;
  width: 90% ;
  height: 90% ;
}

.name {
  display: flex;
  display: -webkit-flex;
  flex-direction: column ;
  -webkit-flex-direction: column ;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  margin-bottom: 0.75em;
}

.name h1{
  color: #000;
  font-size: 26px ;
  cursor: pointer;
}

.tagline {
  margin-top: 0.25em;
  font-size: 10px;
  color: #999;
}

.social-links{
  display: block;
  color: #999;
  margin-bottom: 2.50em;
  width: 100%;
}

.social-links a{
  color: #999;
  padding: 10px ;
}

.socal-links a, img{
  width: 14px;
  height: auto;
}

.primary-links{
  display: block;
  color: #444;
  font-size: 15px ;
  margin-bottom: 2.50em;
}

.primary-links a{
  cursor: pointer;
  color: #444;
}

.active-link {
  font-weight: 600;
}

/* About */
.avatar{
  width: 125px ;
  height: 125px ;
  background-color: #444 ;
  background-image: url("../images/avatar_crop.png");
  background-position: center top ;
  background-repeat: no-repeat;
  background-size: auto 100% ;
  border-radius: 200px ;
  border: 4px solid #fff ; 
  box-shadow: 0px 0px 10px #888 ;
  margin-bottom: 1.50em;
}

.content{
  display: flex ;
  display: -webkit-flex;
  flex-direction: column ;
  -webkit-flex-direction: column ;
  align-items: center;
  -webkit-align-items: center;
  width: 80%;
  max-width: 600px ;
}

.content a{
  color: #4682B4;
}

.content, a:hover{
  text-decoration: none; 
}

.hide {
  display: none;
}

.article-section {
  text-align: left;
  padding: 5px;
  font-weight: 300;
  font-size: 14px;
}

.cv-iframe {
  height: 1000px;
  width: 800px;
}

.project {
  margin-bottom: 2.5em;
}

.vid {
  width: 100%
}

.vid-frame {
  margin: 0 auto;
  overflow: hidden;
}

.vid-phone {
  width: 400px;
  height: 723px;
}

.vid-desktop {
  width: 700px;
  height: 478px;
}

.project-name {
  margin-bottom: 0.25em;
  font-size: 15px;
  font-weight: 600;
}

.project-desc {
  margin-bottom: 0.5em;
  font-weight: 300;
  font-size: 14px;
}

.project-tech {
  font-size: 12px;
  font-weight: 300;
}

@media (max-width: 600px) {
  .content{
    width: 90%;
    text-align: justify;
    font-size: 11pt ;
  }
  .header{
    height: 150px ;
  }
  .avatar{
    margin-top: 40px;
    width: 125px ;
    height: 125px ;
  }
  a.back-link{
    top: 5px ;
    left: 10px ;
    color: #fff;
    font-size: 11pt ;
    z-index: 3 ;
    text-shadow: 0px 0px 5px #777;
  }
  .about-container {
    top: 150px ;
  }
}

/* Mobile */

@media (max-width: 800px) {
  .vid-desktop {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  body {
    padding: 25px 40px 50px 40px;
  }

  .vid-phone {
    width: 100%;
    height: auto;
  }
}