.heading {
	font-family: 'Yeseva One', serif;
	font-weight: 400;
}

.prime {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}


/* NAV  */
#toggle {
  display: block;
  width: 28px;
  height: 30px;
  margin: 30px auto 10px;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}


/* GAME */

 .flip-card {
    perspective: 1000px;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
  }

  .flip-card-front,
  .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }

  .flip-card-front {
    transform: rotateY(0deg);
  }

  .flip-card-back {
    transform: rotateY(180deg);
  }

  .flipped .flip-card-inner {
    transform: rotateY(180deg);
  }

  .backface-hidden {
    backface-visibility: hidden;
  }



.corners {
  --s: 30px; /* the size on the corner */
  
  padding: 14px; /* the gap between the border and image */
  border: 4px solid #000; /* the thickness and color */
  -webkit-mask:
    conic-gradient(at var(--s) var(--s),#0000 75%,#000 0)
    0 0/calc(100% - var(--s)) calc(100% - var(--s)),
    linear-gradient(#000 0 0) content-box;
}

/* Typewriter effect */

.typewriter-container {
  font-size: 2rem;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.typewriter-container::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: red; /* Blinking cursor color */
  margin-left: 0.2rem;
  animation: blink 0.6s steps(2, start) infinite;
}

/* Cursor blink animation */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

 /* Left-to-right animation (optional for dramatic effect) */
    @keyframes slideIn {
      from {
        transform: translateX(-100%);
      }
      to {
        transform: translateX(0);
      }
    }

    .typewriter-container {
      animation: slideIn 0.5s ease-out;
    }

/* animated chat */

.intro {

-webkit-animation: swing 1s ease;
        animation: swing 1s ease;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
	animation-delay: 1.4s;
}

@-webkit-keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
       transform: translateX(-5px);
    } 
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}
@keyframes swing
{
    15%
    {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }
    30%
    {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }
    50%
    {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
    65%
    {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }
    80%
    {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }
    100%
    {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.content {
				font-size: 1.3rem;
			}
			
		.content h3, .content h4, .content h5 {
			margin-top: 28px;
    font-weight: 700;
    margin-bottom: 32px;
		}
		
		.content h1, .content h2 {
			font-size: 38px;
			line-height: 48px;
			font-weight: 700;
            margin-bottom:32px;
		}
		.content h3, .content h4, .content h5 {
			font-size: 32px;
			line-height: 40px;
		} 
		.content li {
			margin-bottom: 14px;
			margin-top: 14px;
			padding: 4px;
			font-weight: 600;
			
		}
		
			.content p {
			margin-bottom: 32px;
			margin-top: 28px;
		color: #dedddd;
		}
		.content a {
			text-decoration: underline;
		
		}
.content a:hover {
			text-decoration: none;
		
		}