html {
  height: 100%
}

body {
  background-color: #7aa5d6;
  font-family: "Nunito", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
}

.main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  color: #808080;
}

a.disabled:link,
a.disabled:visited,
a.disabled:hover,
a.disabled:active {
  color: #808080;
  text-decoration: none;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 172px;
  background-color: #4a7aa5d6;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -86px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#logo {
  width: auto;
  height: auto;
  max-height: 30px;
  margin: 20px;
}

#intro {
  width: 100%;
}

#about-me {
  margin-top: 20px;
}

#links {
  margin-top: auto;
  padding-bottom: 25px;
  padding-top: 20px;
  width: 100%;
  display: block;
}

#links.row {
  margin-bottom: 0;
}

.link-icon {
  font-size: 2.3em;
}

h2 {
  display: inline-block;
  background: #4a7aa5d6;
  border-radius: 0.3rem;
  padding: 0.3rem 0.5rem;
  font-size: 5rem;
  line-height: 5rem;
  margin: 0;
  font-weight: 300;
}

.separator:before {
  content: " ⋰ ";
  color: #4a7aa5d6;
}

a:link,
a:visited {
  color: #4a7aa5d6;
}

a:active,
a:hover {
  color: white;
}

.fa-lg {
  font-size: 2rem;
}

.em {
  width: 1em;
  height: 1em;
}

#contributor-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.5;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

#contributor-badge:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@media only screen and (max-width: 590px) {
  h2 {
    font-size: 3rem;
  }

  .fa-lg {
    font-size: 1.75rem;
  }
}

@media only screen and (max-width: 365px) {
  h2 {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 320px) {
  h2 {
    font-size: 2.5rem;
  }
}
