@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --transparant: rgba(0, 0, 0, 0.15);
  --time: 400ms;
  --grey: #607d8b;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #eee;
  transition: background-color var(--time);
}

body {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  font-family: Oxygen, roboto, sans-serif;
}

#title {
  opacity: 0.45;
  margin-bottom: 0;
  text-align: center;
}

#tagline {
  opacity: 0.35;
  margin-top: 0;
  height: 1em;
  text-align: center;
}

@keyframes enter {
  0% {top: -100%}
  100% {top: 0}
}

.card {
  display: flex;
  align-items: center;
  box-shadow: 0px 5px 10px 5px #00000022;
  background: rgb(255,255,255);
  padding: 5%;
  position: relative;
}

.button {
  height: 7vh;
  width: 7vh;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button.shadow {
  transition: box-shadow 400ms;
  margin: 1vw 1vw 3vw 1vw;
  box-shadow: 0px 8px 8px 5px #00000022;
}
.button.shadown:focus, .button.shadow:hover {
  box-shadow: 0px 6px 6px 2px #00000022;
}
.button:focus {
  outline: none;
}
.button img {
  height: 60%;
  width: 60%;
  opacity: 0.8;
}

/* Tooltip css from https://www.w3schools.com/css/css_tooltip.asp */
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #212121;
  color: #fff;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%)
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

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