@import url("https://fonts.googleapis.com/css?family=Lato:300|News+Cycle:400");

html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  padding: 1em;
  background: #e6e6eb;
}

h1 {
  font-family: "News Cycle", sans-serif;
  font-size: 1.25em;
}

h2 {
  font-family: "News Cycle", sans-serif;
  font-size: 1.1em;
}

a {
  color: #bddded;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #74c0e6;
}

a:hover .icon {
  opacity: 0.6;
}

ul {
  line-height: 1.75em;
  padding: 0;
}

li {
  list-style: none;
}

ul.contact-list {
  line-height: 2.75em;
}

.page {
  position: relative;
  display: flex;
  width: 100%;
  padding: 1em;
  background: #46505c;
}

.content {
  position: relative;
  min-height: 100vh;
  flex: 1;

  color: white;
  font-family: "Lato", sans-serif;
  font-size: 1.2em;

  padding: 6% 2rem 4rem 12%;

  display: flex;
  flex-direction: column;
  max-width: 798px;
}

.separator {
  width: 36px;
  height: 1px;
  background-color: white;
}

.icon {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
  top: 10px;
  transition: opacity 0.2s;
}

.icon-text {
  display: inline-block;
  vertical-align: middle;
  padding-left: 10px;
}

.icon.twitter {
  fill: #1da1f2;
}

.icon.linkedin {
  fill: #007bb5;
}

.icon.github {
  fill: #f5f5f5;
}

.icon.gmail {
  fill: #ea4335;
}

.switcher-container {
  position: absolute;
  display: flex;
  top: 10px;
  right: 10px;
}

.switcher {
  cursor: pointer;
  flex: 1;
  height: 36px;
  width: 60px;
  border: 5px solid white;
  transition: opacity 0.3s;
}

.switcher:hover {
  opacity: 0.75;
}

.switcher.light {
  background-color: #e6e6eb;
}

.switcher.dark {
  background-color: #46505c;
}
