@import url("//fonts.googleapis.com/css?family=Catamaran:300");
html, body, section, div, img, h1 {
  margin: 0;
  padding: 0;
  outline: 0;
}


/* Resume Typography */
html {
  font-size: 100%;
}
body {
  background-color: #e0f7fa;
  font: normal 1em/1.5 "Catamaran", sans-serif;
}

.header { 
  background-color: #00838f;
  color: #fff;
}

  .loc {
    font-weight: normal;
    padding-top: 0;
    position: absolute;
    right: 10px;
  }

.time {
  font-size: 0.85em;
  font-weight: normal;
  float: right;
  margin-top: 0;
  padding-top: 0;
  position: absolute;
  right: 0;
}

/* heading font size */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
  font-family: "Catamaran", sans-serif;
  letter-spacing: 1px;
}
h1 {
  color: #000;
  font: normal 3.5em "Catamaran", sans-serif;
  text-align: center;
}
h2 {
  color: #000;
  font-size: 1.4em;
  letter-spacing: 0.07142855rem;
  font-variant: small-caps;
} /* 24px / 16px */
h3 {
  border-bottom: 0.07142855em solid #333;
  font-size: 1.15em;
  line-height: 1.42857em;
  margin-bottom: 0.375em;
  margin-top: 1.05357em;
  position: relative;
} /* 20px / 16px */
h4 {
  font-size: 1.1255em;
  line-height: 1.2857em;
  margin-bottom: 0.375em;
  margin-top: 1.0893em;
  text-align: center;
  color: #fff;
} /* 18px / 16px */

/* p leading */
p {
  margin-bottom: 0.5em;
  margin-top: 1em;
}
p + p {
  margin: 0;
}
#contact p {
  margin: .25em;
}
p + ul {
  margin-top: 0.75em;
}
footer p,
footer p + p {
  margin: 0;
}



/* Layout for Resume */
/* header display */
header,
footer {
  clear: both;
}

.header h1 {
  text-shadow: 2px 3px 2px #333;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e0f7fa;
}

.summary h2,
.summmary p {
  padding: 0 40px;
  width: 510px;
}

.topnav {grid-area: topnav; }
.name { grid-area: name; }
#line1 { grid-area: line1; }
#line2 { grid-area: line2; }
#line3 { grid-area: line3; }
#line4 { grid-area: line4; }

/* page holder */
.page {
  background: #fff;
  border: 0.07142855em solid #cecece;
  margin: 0.35714286em auto 1em;
  padding-bottom: 1.5em;
  position: relative;
  /*width: 960px;*/
}



/* ul style */
ul {
  margin: 0 1.5em 0.75em .5em;
}
ul li {
  list-style-type: square;
  position: relative;
}
.technology li {
}
.technology li > span {
  display: none;
}

/* a styles */
a:link,
a:active,
a:focus,
a:visited,
a:hover {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #444;
  text-decoration: underline;
}

.contact a:link,
.contact a:active,
.contact a:focus,
.contact a:visited,
.contact a:hover {
  color: #fff;
  text-decoration: none;
}

.contact a:hover {
  color: #222;
  text-decoration: underline;
}

@media screen and (min-width: 320px) {
  html,
  body {
    margin: 0;
    padding: 0;
    text-shadow: none;
  }
  .summary,
  .summary h2,
  .summary p,
  .page,
  footer {
    background: #fff;
    margin: 0 auto;
    padding: 0;
    width: 93.75%;
  }
  #header {
    margin-bottom: 1em;
    width: 100%;
  }
  .summary h2,
  .summary p {
    margin-left: 0;
    padding-left: 0;
  }
  .summary p {    
    margin-bottom: 1em;
  }
  .page .resume_content,
  .page .resume_skills {
    float: none;
    margin: 0;
    padding: 0;
    width: 98%;
  }
  .article,
  .aside {
    margin: 0 10px;
    padding: 0;
  }
  footer {
    font: "Catamaran", sans-serif;
    font-size: inherit !important;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 600px) {
.header {
  color: #fff;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    'topnav'
    'name'
    'line1'
    'line2'
    'line3'
    'line4';
   padding-bottom: 25px;
   margin-bottom: 15px;
   grid-column-gap: 10px;
  justify-items: space-evenly;
  }
  
  .header h1 {
    font-size: 3em;
  }
 
}


@media screen and (min-width: 601px) and (max-width: 1023px) {
  .header {
  color: #fff;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    'topnav topnav'
    'name name'
    'line1 line2'
    'line3 line4';
   padding-bottom: 25px;
   margin-bottom: 15px;
   grid-column-gap: 10px;
  }
}

@media screen and (min-width: 1024px) {
  html,
  body,
  .page {
    border: none;
    color: #444;
    margin: 0;
    padding: 0;
  }
  body {
    background-color: rgb(110, 110, 110);
  }
  
  .header {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-auto-rows: auto auto auto;
  grid-template-areas:
    'topnav topnav topnav topnav'
    'name name name name'
    'line1 line2 line3 line4';
   padding-bottom: 1.5em;
   margin-bottom: 1em;
   grid-column-gap: 1em;
}
   .header h4 {
      text-align: center;
  }
 .loc {
    position: relative;
    float: right;
    white-space: pre-wrap;
  }
  /* page holder */
  .page {
    background: #fff;
    margin: 0 auto 1em;
    position: relative;
    /*width: 93.75%;*/
  } /* 960px / 1024px */
  
  /* 2 columm layout */
  /* column 1: article */
  .page .resume_content {
    float: left;
    margin-bottom: 0.35714286em;
    margin-top: 1em;
    padding-left: 1em;
    width: 590px;
  }
 
  /* column 2: aside */
  .page .resume_skills {
    float: right;
    margin-top: 1em;
    padding-right: 1em;
    width: 365px;
  }
 
  .aside p { 
    clear: right;
    white-space: pre-wrap;
  }
 
  /* layout padding*/
  .article {
    margin: 0 20px 0 40px;
    position: relative;
  }
  .aside {
    margin: 0 40px 0 20px;
    position: relative;
  }
  .aside h2 {
    margin-bottom: 1em;
  }
 

  /* 2 columm layout */
  /* column 1: */
  .page .resume_content {
    float: left;
    margin-bottom: 0.35714286em;
    width: 61.45833%;
  } /* 590px / 960px */
  /* column 2: */
  .page .resume_skills {
    float: right;
    width: 34.375%;
  } /* 270px / 960px */
  .header p {
    width: 57.291667%;
  }
}




/*nav*/
/* Add a matching background color to the top navigation */
.topnav {
  background-color: #00838f;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav {
  color: white;
}

.topnav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 1em;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #00515e;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #00515e;
  color: white;
}
/*Hide all but first nav button
  .topnav a:not(:first-child) {display: none;}*/
  