* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0),  rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1)), url("emerald_lake.jpg");*/
  background-image: url("emerald_lake.jpg");
  background-repeat: no-repeat;
}

body {
  font-family: sans-serif;
  font-size: 18px;
  line-height: 1.8em;
  color: #5D6063;
  min-width: 300px;
  min-height: 300px;
}

h1 {
  line-height: 1.3em;
  font-weight: normal;
  font-style: normal;
}

h2, h3, h4, h5, h6 {
  line-height: 1.1em;
  font-weight: normal;
  font-style: normal;
}

header {
  text-align: center;
  /* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0), rgba(255, 255, 255, .95)),
  url("emerald_lake.jpg"); */
  /* background: url("emerald_lake.jpg"); */
  /* padding: 20px; */
  /* background: linear-gradient(0deg, rgba(1,1,1,0) 0%, rgba(1,1,1,1) 100%); */
  /* background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,1) 100%); */
}

nav {
  /* background-color: #D9E2EC; */
  /* background-color: #DFE6EF; */
  background-color: transparent;
}

nav ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

nav li {
  list-style-type: none;

  width: 50%;
  padding-top: 1em;
  padding-bottom: 1em;
}

nav li:nth-of-type(1),
nav li:nth-of-type(2) {
  border-top: none;
}

nav li:nth-of-type(2n) {
  border-left: 1px solid #888F95;
}

nav li.selected {
  color: #5D6063;
}

nav a:link,
nav a:visited {
  color: #888F95;
  text-decoration: none;
}

nav a:hover,
nav a:visited:hover,
nav a:active,
nav a:visited:active {
  color: #5D6063;
  text-decoration: underline;
}

.tag {
  display:block;
  width:100px;
  height:100px;
  border-radius:50px;
  font-size:20px;
  color:#fff;
  line-height:100px;
  text-align:center;
  background:#000
}


.hero {
  padding-top: 9em;
  padding-bottom: 9em;
  /* border-bottom: 1px solid #888F95; */
  /* text-shadow: -1px 0 rgba(0, 0, 0, 0.25), 0 1px rgba(0, 0, 0, 0.25), 1px 0 rgba(0, 0, 0, 0.25), 0 -1px rgba(0, 0, 0, 0.25); */
  /* background-color: #FFF; */
  /* background: url("/Images/emerald_lake.jpg") no-repeat center; */
}

.contents {
  padding: 2em 2em;

  margin-top: 0;
  margin-bottom: 5em;
  margin-left: auto;
  margin-right: auto;
  /* max-width: 740px; */
  width: 75%;
  background-color: rgba(255, 255, 255, 0.5);
}

.contents h2 {
  font-size: 30px;
  margin-bottom: .7em;
  text-align: center;
}

/* .skills {
  padding-top: 9em;
  padding-bottom: 9em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  text-align: center;
} */

.voting li {
  padding-bottom: 1em;
  /* margin-left: 5em; */
  font-size: 20px;
}

.submission {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
}

.submission form {
  text-align: center;
}

.submission input {
  font-size: 1.5em;
}

.talk {
  position: relative;
  width: 100%;
  height: auto;
}

.talk h2 {
  font-size: 30px;
  margin-bottom: .7em;
  text-align: center;
}

.talk iframe {
  position: relative;
  width: 100%;
  height: 100%;
  /* width: 100vw;
  height: 40vw; */
  left: 0; top: 0;
  min-width: 300px;
  min-height: 25vw;
  border-width: 0;
}

.talk img {
  position: relative;
  width: 100%;
  height: 100%;
  /* width: 100vw;
  height: 40vw; */
  left: 0; top: 0;
  min-width: 300px;
  min-height: 25vw;
  border-width: 0;
}

.talk embed {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
}

.resume img {
  max-width:100%;
  max-height:100%;
}

.hero h1 {
  font-size: 50px;
}

.section {
  padding: 4em 1em;

  margin: 0 auto;
  /* max-width: 540px; */
  width: 80%
}

.section h2 {
  font-size: 30px;
  margin-bottom: .7em;
  text-align: center;
}

.section h3 {
  line-height: 1.1em;
  font-weight: normal;
  font-style: normal;
  margin-bottom: .7em;
  text-align: center;
}

.section h3 {
  line-height: 1em;
  font-weight: normal;
  font-style: normal;
  margin-bottom: .7em;
  text-align: left;
}

.section h4 {
  line-height: 1.1em;
  font-weight: normal;
  font-style: normal;
  margin-bottom: .7em;
  text-align: left;
  font-weight: bold;
}

.question {
  line-height: 1em;
  font-weight: normal;
  font-style: normal;
  margin-bottom: .7em;
  text-align: left;
  font-weight: bold;
}

.section--gray {
  border-top: 1px solid #D6D9DC;
}

.section--blue {
  border-top: 1px solid #B2D6FF;
}

.section--blue h2 {
  color: #5995DA;
}

.section--red {
  border-top: 1px solid #F09A9D;
}

.section--red h2 {
  color: #D55C5F;
}

.section:first-of-type {
  border-top: none;
}

.section p,
.section ul,
.section ol,
.section figure {
  margin-bottom: 1em;
}

.section p:last-child,
.section ul:last-child,
.section ol:last-child,
.section figure:last-child {
  margin-bottom: 0;
}

.button:link,
.button:visited {
  display: block;
  text-decoration: none;

  color: #FFF;
  background-color: #4A90E2;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  text-align: center;

  margin: 1.8em auto;
}

.button:hover,
.button:visited:hover {
  color: #FFF;
  background-color: #6AA9F4;
}

.button:active,
.button:visited:active {
  color: #FFF;
  background-color: #3F7CC4;
}


@media only screen and (min-width: 580px) {
  .section {
    margin: 4em auto;
    padding: 2.5em 3em;
  }
  .section--gray:first-of-type,
  .section--gray {
    border: 1px solid #D6D9DC;
  }
  .section--blue:first-of-type,
  .section--blue {
    border: 1px solid #B2D6FF;
  }
  .section--red:first-of-type,
  .section--red {
    border: 1px solid #F09A9D;
  }
}


@media only screen and (min-width: 750px) {
  nav {
    padding-left: 2em;
    padding-right: 2em;
  }
  nav li {
    width: auto;
    border-top: none;
  }

  nav li:nth-of-type(2n) {
    border-left: none;
  }
}
