/* Original Site CSS, with animations */

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

.vt323-regular {
  font-family: "VT323", monospace;
  font-weight: 400;
  font-style: normal;
}

body {
    background-color: #001100;
    margin-top: 75px;
    margin-bottom: 75px;
    margin-left: 100px;
    margin-right: 100px;
}
/* fade animation */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.fade-in-item {
    opacity: 1;
    animation: fadeIn 1.5s ease-in;
}

p {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 4px 0px #000;
    font-size: 16px;
}
h1 {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 6px 0px #000;
    text-align: center;
    font-size: 48px;
}
h2 {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 6px 0px #000;
    text-align: center;
    font-size: 36px;
}
h3 {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 6px 0px #000;
    text-align: center;
    font-size: 30px;
}
a:link {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 4px 0px #000;
    font-size: 14px;
}
a:visited{
    font-family: 'VT323';
    color: #006600;
    text-shadow: 0px 4px 0px #000;
    font-size: 14px;
}

summary {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 4px 0px #000;
    font-size: 16px;
}
details {
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 4px 0px #000;
    font-size: 14px;
    margin-left: 20px;
}
ul {
  list-style-image: url('resources/p_square005_005.gif');
  list-style-type: disc;
  font-family: 'VT323';
  color: #00FF00;
  text-shadow: 0px 4px 0px #000;
  font-size: 14px;
}

th, td {
  border: 1px dotted #006600;
  border-radius: 10px;
  padding: 10px;
  font-family: 'VT323';
  color: #00FF00;
  text-shadow: 0px 6px 0px #000;
  font-size: 16px;
}

button {
    background-color: transparent;
    display: block;
    margin: auto;
    border: 2px solid #006600;
    border-radius: 5px;
    padding: 7px 14px 8px 14px;
    font-family: 'VT323';
    color: #00FF00;
    text-shadow: 0px 4px 0px #000;
    font-size: 20px;
}
body::before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: calc(100% + 32px);
    height: calc(100% + 32px);
    background-image: url(resources/scanlines.png);
    background-position-x: 0px;
    background-position-y: 0px;
    background-repeat: repeat;
    background-repeat-x: repeat;
    background-repeat-y: repeat;
    z-index: 10000000;
    animation: scroller 2s linear infinite;
    animation-name: scroller;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    pointer-events: none;
    opacity: 1;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden; /* Hidden by default */
  width: 130px;
  background-color: black;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
  opacity: 0;
  transition: opacity 1.5s;
  top: 10px;

}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  opacity: 1;
}
