#div {
  border: 1px solid black;
  padding: 25px 25px 25px 25px;
  background: linear-gradient(180deg, #a71f00, #481E14, #101010, #a42ba4, #369f26e2, #ffcf6fa7);
  color: #c74d31;
  text-align: center;
}

nav {
  background: #320D6D;
  position: fixed;
  height: auto;
  top: 0px;
  transition: padding-bottom .3s ease;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

nav:hover {
  background: linear-gradient(180deg, #320D6D, rgba(0, 0, 0, 0.125));
  position: fixed;
  width: 100%;
  padding-bottom: 100px;
}

p {
  color: #c74d31;
  font-size: 50px;
  font-family: "Arial", sans-serif;
  text-align: center;
}

.reset-p {
  font-size: revert;
}

.reset-section {
  all: revert; /* Resets everything within this section back to browser defaults */
}

#id1 {
  font-size: 500%;
}

#foot {
  font-size: xx-large;
}

h2 {
  font-size: 500%
}

.reset-h2 {
  all: revert;
}

.weird {
  font-family: 'Creepster', cursive;
  font-size: 1rem;
  color: #F2613F;
}

a {
  color: #F2613F;
  text-decoration: none;
  padding: 10px 10px 10px 10px;
  border-radius: 5px;
}

nav a {
  background-color: #F7D488;
  display: inline-block;
}

div.yellow a {
  background-color: #F7D488;
  display: inline-block;
}

button {
    margin-left: auto;
}

button.hover1 {
  border-radius: 50px;
  height: 100px;
}

#id2 {
  border: 10px solid #c74d31;
}

.hover1 {
  background-color: #E14434;
  color: #101010;
}

.hover1:hover {
  animation: fall 3s ease-in-out infinite;
}

@keyframes fall {
  0% { background-color: #481E14;}
  33% {background-color: #F2613F;}
  66% {background-color: #c74d31;}
  100% {background-color: #481E14;}
}

.lift {
  box-shadow: 0 4px 6px #F2613F;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 10px 10px 10px 10px;
}

.lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(242, 97, 63, 0.6);
}

#verysmall {
  font-size: 20%;
}

#middle1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.fall-circle {
  display: inline-block;
  padding: 1em 2em;
  border-radius: 99px;
  background: radial-gradient(
    circle,
    #D79E4A,
    #C15C29,
    #892B27,
    #4B1E28,
    #2A1A16
  );
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gradient-ring {
  display: inline-block;
  padding: 4px; /* border width */
  border-radius: 999px;
  background: linear-gradient(135deg, #D79E4A, #C15C29, #892B27, #4B1E28, #2A1A16);
}

.gradient-ring button {
  background: #1a1a1a;
  border: none;
  border-radius: 999px;
  padding: 1em 2em;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.gradient-ring button:hover {
  background: #2a2a2a;
}

.gradient-border {
  display: inline-block;
  padding: 25px; /* border thickness */
  background: linear-gradient(
    135deg,
    #D79E4A,
    #C15C29,
    #892B27,
    #4B1E28,
    #2A1A16
  );
  border-radius: 8px; /* rounded corners */
}

.gradient-border p {
  margin: 0;
  padding: 1em;
  border-radius: 6px; /* slightly smaller to reveal border */
  color: #c74d31;
  font-size: 50px;
  font-family: "Arial", sans-serif;
}

.gradient-outline {
  position: relative;
  background: white;
  color: black;
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 10px;
  z-index: 1;
  display: inline-block; /* Important for p tag */
}

.gradient-outline::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(90deg, #D79E4A, #C15C29, #892B27, #4B1E28, #2A1A16);
  z-index: -1;
  border-radius: 14px;
}

body {
  font-family: sans-serif;
  background: #8AFFC1;
  margin: 0px;
}

.tooltip1{ /* tooltip is from ChatGPT */
  position: relative;
  display: inline-block;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #12130F;
  border: 0px solid #fff;
  color: #0C0C0C;
}

.tooltip1 button:hover {
  background-color: #1BE7FF;
}

.ttext {
  visibility: hidden;
  position: absolute;
  top: -30px;
  left: 0;
  background-color: black;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  margin: 0px 0px 0px 0px;
  border: 0px solid #fff;
}

.tooltip1:hover {
  cursor: inherit;
}

.tooltip1:hover .ttext {
  visibility: visible;
}
/*game container*/
#right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#gamecont {
  display: flex;
  height: 100%;
  border: 5px solid whitesmoke;
  cursor: not-allowed;
  background-color: #12130F;
}

#cpsdisplay {
  color: #A06FD6;
}

.left {
  flex: 1;
  padding: 10px;
  border: 5px solid #F0F0F0;
}

.right {
  flex: 1;
  padding: 10px;
  border: 5px solid #F0F0F0;
}

button.nallowed:hover {
  cursor: not-allowed;
}

