/*Stylesheet for austinczarnecki.com
Contact: austin.czarnecki@gmail.com*/


body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,
q:after {
  content: '';
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

input,
textarea,
select {
  *font-size: 100%;
}

legend {
  color: #444;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* base styles */

html {
  height: 100%;
}

html body {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
}

#main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

h1, h2 {
  font-size: 32px;
  font-weight: bold;
  margin-top: auto;
}

h2 {
  padding-bottom: 10px;
  font-size: 24px;
}
h3 {
  padding-bottom: 10px;
  font-size: 18px;
}

.horizontal-line-short {
  height: 1px;
  width: 120px;
  background: lightgrey;
  flex: 1;
  align-self: center;
}
.horizontal-line-long {
  height: 1px;
  max-width: 650px;
  width: 100%;
  background: lightgrey;
  /*margin: 24px 0px 24px 0px;*/
  flex: 1;
  align-self: center;
}
header {
  padding: 10px 4%;
  height: 56px;
  display: flex;
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  align-items: center;
  z-index:400;
  /*background: rgba(0, 0, 0, 0.05);*/
}

section {
  flex: 1;
  padding: 10px 4% 0 4%;
}

.main-content-text {
  margin-top: 10px;
  width: 500px;
  font-size: 13px;
  line-height: 20px;
  flex:0 0 500px;
  align-self: left;
}

#nav-wrapper {
  flex: 1 0 200px;
}
nav {
  height:100%;
}
nav ul {
  display: flex;
  justify-content: flex-end;
  margin-right: 20px;
}
nav ul li {
  align-self: center;
  margin: 0 8px;
}

#about li a.about, 
#contact li a.contact,
#blog li a.blog,
#resume li a.resume {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  padding-bottom: 2px;
  color: darkblue;

}

#main #name {
  color: darkblue;
}

a:visited {
  color: inherit;
}

p > a:visited {
  color: darkblue;
}

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

.nav-link:hover {
  color: darkblue;
}

footer {
  padding: 10px;
  color: lightgray;
  font-size: 12px;
  text-align: right;
}

.node {
  stroke: #fff;
  stroke-width: 1.5px;
}

.link {
  stroke: #999;
  stroke-opacity: .6;
}
#name {
  font-size: 32px;
  font-weight: bold;
  flex: 0 0 auto;
  vertical-align: text-bottom;
}
#name:hover {
  color: darkblue;
}
#graph {
  overflow: visible;
  z-index: 500;
  flex: 0 0 auto;
  vertical-align: middle;
}
.section-container {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
}
.section-content-container {
  margin-top: 10px;
  margin-bottom: 10px;
}
#about-photo {
  flex: 0 0 300px;
  width: 300px;
  margin: 10px 0 0 0;
}

/**
 * Portfolio box photo gallery styling
 * ----------------------------------------------------------------------------
 */

section#main {
  padding-top: 10px;
}
.main-content-tiles {
  height: 100%;
}
.col-lg-4,
.col-sm-6 {
  display: inline-block;
  width: 320px;

}
.portfolio-container {
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
  height: 100%;
  display: inline-block;
  width: 100%;
}
.portfolio-box {
  height: 180px;
  float: left;
  width: 300px;
  margin: 10px;
  position: relative;
}
.portfolio-box-caption-content {
  width: 100%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  opacity: 1;
  color: white;
  z-index: 50;
}
.portfolio-box-caption {
  height: 100%;
  width: 100%;
  visibility: hidden;
}
.portfolio-box-caption.visible {
  visibility: visible;
}
.portfolio-box-mask {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  height: 100%;
  width: 100%;
}
.portfolio-box-mask.visible {
  visibility: visible;
  background-color: grey;
  opacity: 0.4;
}
.project-name {
  font-size: 42px;
  font-style: bold;
  line-height: 42px;
  padding: 0 10px;
}

.portfolio-img {
  height: 100%;
  /*box-shadow: 1px 1px 10px 10px rgba(0, 0, 0, 0.04) inset;*/
}
.portfolio-box h3 {
  font-weight: bold;
  font-size: 32px;
  color: white;
}
.portfolio-box-link {
  height: 100%;
  width: 100%;
  z-index: 1000;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}

/**
 * For Screens 0px - 767px
 * ----------------------------------------------------------------------------
 */

@media screen and (min-width: 280px) and (max-width: 767px) {
  #name {
    display: none;
    width:0px;
    padding: 0px;
    margin: 0;
  }
  nav ul {
    margin-right: 0px;
  }
  nav ul li {
    align-self: center;
    padding-left: 10px;
    flex: 0 1  auto;
    margin: 0;
  }
  header {
    padding: 6px 3% 2px 3%;
    height: 54px;
  }
  .portfolio-container {
    width: 100%;
    position: relative;
  }
  .col-lg-4,
  .col-sm-6 {
    display: inline-block;
    width: 100%;
  }
  .portfolio-box {
    height: 120px;
    float: left;
    width: 95%;
    margin: 2.5%;
    position: relative;
  }
  .portfolio-box-mask {
    visibility: visible;
    background-color: grey;
    opacity: 0.2;
  }
  .portfolio-box-caption {
    visibility: visible;
  }
  .portfolio-img {
    height: 100%;
    width: 100%;
  }
  #about-photo {
    width: 100%;
  }
}
@media screen and (max-width:500px) {
  .main-content-text {
    width: 100%;
  }
}
