* {
  box-sizing: border-box
}

body {
  font-family: "Lato", sans-serif;
  transform: scale(1);
  transform-origin: 0 0;
}

/* Style the tab content */
.tabcontainer {
  position: absolute;
  left: 50%;
  margin-left: -75%;
  top: 25%;
  height: 434px;
  background: rgb(238, 238, 238);
  opacity: 0.9;
  width: 150%;
  display: inline-block;
  display: none;
  overflow: auto;
}

.citation {
  border: 1px dashed;
  padding: 1px 3px;
  border-radius: 3px;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  vertical-align: baseline;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.citation .citationtext {
  visibility: hidden;
  width: 380px;
  background-color: rgb(255, 255, 255);
  font-size: 14px;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0px 0px 30px 20px lightgrey;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -190px;
}

.citation .citationtext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(255, 255, 255) transparent transparent transparent;
}

.citation .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.tabcontent {
  position: absolute;
  font-size: 18px;
  text-align: left;
  padding: 40px;
}

.closecontent {
  position: absolute;
  top: 8px;
  right: 8px;
  float: right;
  background-color: #e7e7e7;
  color: black;
  font-size: 24px;
}

.name {
  position: absolute;
  font-size: 30px;
  text-align: center;
  font-weight: 20px;
}