@font-face {
  font-family: "GG";
  src: url("../font/gg.woff2") format("woff2");
}

* {
  font-family: "GG";
}

h1 {
  font-weight: bold;
  font-size: 50px;
}

h2 {
  font-size: 20px;
  font-weight: bold;
}

p {
  font-size: 18px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  font-weight: bold;
  color: #0475b1;
}

a:hover {
  color: #1eaedb;
  text-decoration: underline;
}

#nav-links {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin-top: 2.5%;
}

#nav-links a {
  margin-top: 3px;
}

#hero-row {
  margin-top: 7.5%;
}

#headshot-picture {
  max-width: 100%;
  max-height: 100%;
  border-radius: 24px;
  box-sizing: border-box;
  display: block;
  margin: auto;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

#hero-text {
  text-align: center;
  padding-top: 24px;
  font-size: 24px;
}

#hero-link-icons {
  list-style-type: none;
  padding-left: 0;
  padding-top: 24px;
}

#hero-link-icons > li {
  display: inline;
  margin: 0 2.5%;
}

#hero-link-icons > li > a {
  text-decoration: none;
  font-weight: 700;
}

#hero-link-icons > li > a > i {
  font-size: 24px;
  color: #000;
}

#hero-link-icons li > a > i:hover {
  color: #1eaedb;
}

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

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 18px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%; /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

#wibut {
  margin-top: 7.5%;
}

#card-row {
  margin-top: 7.5%;
  display: flex;
}

#card {
  border: 1px solid #000;
  margin: 0 auto;
  width: 80%;
  height: 100%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  flex: 1;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  display: block;
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

#card img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

#card div {
  padding: 5%;
}

#card h2 {
  margin: 2%;
  transform: translateZ(30px);
  text-decoration: none;
  color: #000;
  font-weight: normal;
}

#card p {
  margin: 2%;
  transform: translateZ(30px);
}

@media (max-width: 900px) {
  #headshot-picture {
    max-width: 60%;
  }
}

@media only screen and (max-device-width: 667px) {
  p {
    font-size: 14px;
  }

  #card-row {
    display: block;
  }

  #card {
    margin-bottom: 10%;
  }
}

@media (prefers-color-scheme: dark) {
  * {
    background-color: #111213;
    color: #eeeff0;
  }

  #hero-link-icons > li > a > i {
    color: #eeeff0;
  }

  a {
    color: #8ef7ff;
  }

  a:hover {
    color: #1eaedb;
  }

  #headshot-picture {
    box-shadow: 0 14px 28px rgba(142, 247, 255, 0.25),
      0 10px 10px rgba(142, 247, 255, 0.22);
  }

  /* Tooltip text */
  .tooltip .tooltiptext {
    background-color: #eeeff0;
    color: black;
  }

  .tooltip .tooltiptext::after {
    border-color: transparent transparent #eeeff0 transparent;
  }

  #card {
    border: 1px solid #fff;
    box-shadow: 0 14px 28px rgba(142, 247, 255, 0.25),
      0 10px 10px rgba(142, 247, 255, 0.22);
    color: #fff;
  }

  #card > img {
    border-bottom: 1px solid white;
  }

  #card h2 {
    color: #fff;
  }
}
