html,
body {
  font: 16px/1.4 "Avenir Next", "Inter", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: #fff;
  color: #444;
  letter-spacing: 0.25px;
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  font-feature-settings: "calt";
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

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

::-moz-selection {
  background: #b4d5ff;
}

::selection {
  background: #b4d5ff;
}

.center {
  text-align: center;
}

.med {
  font-weight: 500;
}

svg {
  width: 24px !important;
  height: 24px !important;
}

h1,
h2 {
  font-size: 1rem;
}

section {
  padding: 10vh 0;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

seciton.first-section {
  z-index: 5;
}

section.second-section {
  width: 100%;
  z-index: 3;
  top: 0;
  left: 0;
  position: absolute;
}

.card {
  width: auto;
  max-width: 320px;
  margin: 48px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  padding: 36px 20px;
  border-radius: 8px;
  margin: 10px;
  display: block;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.2);
  transform: rotate(0deg);
}
.card__one {
  z-index: 5;
  transform: rotate(4deg);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  transition: transform 0.25s;
}
.card__one #certs-button {
  color: red;
  font-weight: 500;
  cursor: pointer;
}
.card__one #certs-button:hover {
  color: blue;
}
.card a {
  color: red;
  padding: 20px 20px;
  padding-bottom: 0;
  display: inline-block;
}
.card a:hover {
  color: blue;
}
.card__pic {
  border-radius: 50%;
  height: 96px;
  width: auto;
}
.card__two {
  padding: 0;
  z-index: 3;
  transform: rotate(-6deg);
}
.card__two img {
  width: 75%;
  height: auto;
}

.second-card-is-in-view .card.card__one.center {
  transform: translateX(125%) !important;
}

.tooltip-container {
  transform: translateZ(0);
  position: absolute;
  left: -100%;
  top: -100%;
  max-width: 200px;
  font-weight: 600;
  opacity: 1;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  border-radius: var(--border-radius);
  z-index: 1000;
}

.tooltip-container::after {
  position: absolute;
  display: block;
  content: "";
}

.tooltip-container.tooltip-left::after {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #000;
}

.tooltip-container.tooltip-right::after {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent #000 transparent transparent;
}

.tooltip-container.tooltip-center-bottom::after,
.tooltip-container.tooltip-center::after {
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-color: transparent;
}

.tooltip-container.tooltip-center::after {
  top: -8px;
  border-width: 0 6px 8px 6px;
  border-bottom-color: #000;
}

.tooltip-container.tooltip-center-bottom::after {
  bottom: -8px;
  border-width: 8px 6px 0 6px;
  border-top-color: #000;
}

[data-tooltip] {
  cursor: pointer;
  display: inline-block;
}
