@import "tech.css";

html {
  font-size: 10px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 1.8rem;
  line-height: 145%;
  font-family: 'Roboto';
  color: #13293D;
}

.container {
  width: 80%;
  min-width: 400px;
  max-width: 900px;
  margin: 0 auto;
}

a {
  color: #13293D;
  font-weight: 400;
  text-decoration: none;
  border-bottom: dotted 1px #13293D;
}
a:hover {
  border-bottom-style: solid;
  color: #F01659;
  border-bottom-color: #F01659;
}

a.using {
  color: #F01659;
}
a.using:hover {
  border-bottom-color: #F01659;
}

p {
  margin: 2em 0;
}

h1 {
  margin: 0;
  padding: 3em 0;
}
h1 img,
h1 svg {
  display: block;
  width: 100%;
}

h1 svg path {
  fill: #13293D;
}
h1 a:hover svg path {
  fill: #F01659;
}

h2 {
  font-weight: 300;
  font-size: 3rem;
}

#nav a {
  font-weight: 100;
}

h4 {
  font-size: 1.2em;
}

h5 {
  color: #13293D;
  font-weight: 300;
  font-size: 1.2em;
  margin-bottom: 0;
  padding-bottom: 0;
}

h5 + p {
  margin-top: 0.5em;
}

section {
  margin-bottom: 3em;
}

#labels-top {
  margin-bottom: 0;
}

.year {
  margin: 0;
  font-weight: 300;
  font-size: 1.5em;
  border-top: solid 1px #efefef;
  padding-top: 2em;
}

.location {
  font-weight: 700;
}

.block {
  position: relative;
  padding: 1em;
  padding-left: 120px;
}

.block p {
  text-align: left;
}
.block p:first-child {
  margin-top: 0;
}
.block p:last-child {
  margin-bottom: 0;
}

/* may need first-of-type */
section > .block:first-child,
section > .block:first-child .year {
  padding-top: 0;
  border-top: none;
}

.block img {
  max-width: 50%;
}

.spontaneous {
  padding-left: 70px;
  background: url(spontaneous.svg) 0 0 no-repeat;
  background-size: 60px;
  min-height: 70px;
  line-height: 70px;
}

.tech-tags {
  margin-top: -2em;
  font-size: 1.2rem;
  line-height: 1.2rem;
  text-transform: uppercase;
  margin-left: -0.5em;
}

.tech-tag {
  font-weight: 700;
  margin-left: 0.5em;
}
.tech-tag:before {
  content: "";
}
.tech-tag:after {
  content: "";
}


.tech {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}


.tech-labels {
}

.tech-labels .tech {
  font-size: 1.2rem;
  line-height: 1.2rem;
  text-transform: uppercase;
  background-color: transparent;
  width: auto;
}

.tech-label {
  height: 1.2rem;
  position: relative;
}

.links {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  width: 33vw;
}

.links > * {
  flex: 1;
  line-height: 30px;
  margin: 0;
  padding: 0;
}

.links .link {
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 30px;
  padding-left: 40px;
}

.link-github {
  background-image: url(github.svg);
}
.link-linkedin {
  background-image: url(linkedin.svg);
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  h1 {
    padding: 1.5em 0 0.5em 0;
  }
  .container {
    width: calc(100% - 2em);
    min-width: 0;
    max-width: none;
  }

  .tech-tags {
    opacity: 1.0;
  }

  #labels-bottom {
    display: none;
  }

  .tech {
    display: none;
  }
  .block {
    padding-left: 0;
  }
  .links {
    width: auto;
  }
}
