* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {

  margin: 0;
  font-family: system-ui, sans-serif;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #fff;
  text-align: center;
  padding: 14px 14px;
  text-decoration: none;
  font-size:32px;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the content */
.content {
  width: auto;
  height: auto;
  padding: 10px;
  background-color: #000;
  color: white;
}

/* Style the footer */
.footer {
  text-align: center;
  display: block;
  background-color: #000;
  color: #fff;
  padding: 10px;
}

.footer a {
  color: yellow;
  text-decoration: none;  
}

/* spy mascot */

.mascot {
	display: block;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 10%;
}

.grid-container a {
  position: relative;
  color: yellow;
  text-decoration: none;
}

.grid-container a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #b47dcd, #e878a2, #eb85ab);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-in-out;
}

.grid-container a:hover::before {
  transform: scaleX(1);
}

.grid-container[data-animation="to-left"] a::before {
  transform-origin: right;
}
.grid-container[data-animation="center"] a::before {
  transform-origin: center;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  background-color: #000;
  padding: 5px;
  color: white; 
}

.grid-item {
  background-color: rgba(0, 0, 0, 0.8);
  border: 0px solid rgba(0, 0, 0, 0.8);
  padding: 5px;
  font-size: 16px;
  text-align: left;
}

/* Core styles/functionality */
.tab {
  position: relative;
}
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
.tab input:checked ~ .tab__content {
  max-height: 50rem;
}

/* Visual styles */
.accordion {
  color: var(--theme);
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}
.tab__label,
.tab__close {
  display: flex;
  color: white;
  background: var(--theme);
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content p {
  margin: 0;
  padding: 1rem;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}
.accordion--radio {
  --theme: var(--secondary);
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
  animation: bounce .5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-.25rem);
  }
}