body {
  display: flex;
  margin: auto;
  width: 100%;
  padding: 0px;
  text-align: center;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  overflow: hidden; /* Hide scrollbars */
  font-family: "Super_Comic", serif;
}
@font-face {
  font-family: "Super_Comic";
  src: url("media/fonts/Super_Comic.ttf") format("truetype");
}
div.outsideBorder {
  min-width: 60%;
  position: fixed;
  top: 65px;
  border-radius: 35px;
  border: solid 12px blue;
  background-color: gray;
}
h2 {
  height: 30px; /* Adjust this value as needed */
  position: relative;
  top: 0; /* Aligns it to the top */
  margin: 0; /* Removes any default spacing around the heading */
}
div.innerBorder {

  border-radius: 10px;
  background-color: white;
  border: 20px solid white;
}
#color-buttons {
  margin-top: 20px;
}
#hamburger-box{
  display: flex;
  width: 60px;
  height: 60px;
  top: 0px;
  left: 0px;
}

.color-btn {
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  font-family: "Super_Comic", serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 15px;
  background-color: white; /* Sets the background color to white */
  color: black; /* Ensures text is visible on a white background */
  border: 2px solid #ccc; /* Adds a border around the image */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

.color-btn:hover {
  opacity: 0.8;
}

p{
  font-weight: bold;
}
h4{
  /*text-align: left;*/
  font-size: 22px;
  top: 0px;
  height: 6px;
}
h1{
  text-align: left;
  font-size: 22px;
  display: flex;
}
@media (max-width: 600px) {/* living in a mobile world*/
  .contentBox {
    width: 90%;
    min-width: 100px; !important
    max-width: none;
    padding: 1px;
  }
  main{
      width: 100%;
  }
  #rock, #paper, #scissors {
    background-size: 40px 40px;
    height: 42px;
    width: 42px;
  }
  h4, h3, p{
    position: relative;
    top: 0px;
    height: 6px;
    font-size: 14px;
    letter-spacing: 1px; /* Adjust the value (e.g., 2px) to increase or decrease the spacing */
    /*font-weight: bold;*/
  }
  h1{
    font-size: 18px;
    display: flex;
  }
  nav a:before {
    font-size: 14px;
  }

  body div.outsideBorder {
   width: 80%; !important;
   max-width: none; /* Remove restrictions that might be overriding */
   border-radius: 20px; /* Slightly smaller border radius for mobile */
 }
 .choice-container {
   width: 75%; !important;
 }
}/* The end of a mobile world*/
main{
    width: 100%;
}
.container {
  display: flex;
  max-height: 700px;
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center horizontally if needed */
  gap: 8px; /* Add spacing between .contentBox elements */
}
.choice-container {
  display: flex; /* Enables side-by-side layout */
  align-items: center; /* Aligns items vertically in the center */
  gap: 6px; /* Adds space between the <h4> and the <img> */
  min-width: 80%;
  height: 52px; /* Adjust this value as needed */

}
.contentBox {
  border: 5px solid;
  max-height: 200px;
  min-width: 80%; !important
  max-width: none; !important
  padding: 6px;
  border-radius: 10px;
  align-items: center; /* Align content vertically within the flex container */
  text-align: center; /* Additional centering for text content */
}
#rock {
    background-image: url("media/images/rock.png");
}
#paper {
    background-image: url("media/images/paper.png");
}
#scissors {
  background-image: url("media/images/scissors.png");
}
#rock, #paper, #scissors {
  margin: 0 15px; /* Adds 15px of horizontal space on both left and right */
  background-size: 50px 50px;
  height: 52px;
  width: 52px;
  margin-bottom: 6px;
  font-size: 0;
}
#rock:hover, #paper:hover, #scissors:hover {
  cursor: pointer;
  animation: shake 0.5s ease; /* Attach the shake animation */
  transform: scale(1.5);
  will-change: transform;
 }

 img {
   border-radius: 15px;
   border: 2px solid #ccc; /* Adds a border around the image */
   box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
 }
 #confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* Set a high value to bring it in front of everything */
  pointer-events: none; /* Prevent interference with other elements */
}

 /* Define the Shake Animation */
 @keyframes shake {
   0%, 100% { transform: scale(1.5) translate3d(0, 0, 0); } /* Starting and ending position */
   25% { transform: scale(1.0) translate3d(-5px, -5px, 0); }
   50% { transform: scale(1.5) translate3d(5px, 0, 0); }
   75% { transform: scale(1.0) translate3d(-5px, -5px, 0); }
 }

 #computer-image, #player-image {
   width: 50px; /* Adjust image size */
   height: auto; /* Maintain aspect ratio */
  display: none; /* Hide the image initially */
}

#computer-image.show, #player-image.show {
  display: block; /* Make the image visible */
}

/*****************************************/
/**
  Hamburger
**/
.hamburger {
  position: absolute;
  top: 5em;
  right: 5%;
  margin-left: -2em;
  margin-top: -75px;
  width: 2em;
  height: 45px;
  z-index: 5;
}

.hamburger div {
  position: relative;
  width: 3em;
  height: 7px;
  border-radius: 3px;
  background-color: #5BA94A;
  margin-top: 8px;
  transition: all 0.5s ease-in-out;
}

/**
Nav Styles
**/
.nav {
  position: fixed;
  width: 100%;
  height: 86%; /* Menu height*/
  opacity:0.9;
  background-color: #D4F1CA; /* Menu background color */
  top: -100%; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  transform: scale(0);
}
.nav-wrapper {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
}
nav {
  text-align: left;
  margin-left: 6%;
}
nav a {
  position: relative;
  text-decoration: none;
  font-size: 1.5em;
  display: inline-block;
  color: #1E3818;
  margin-top: 1.25em;
  transition: color 0.4s ease-in-out;
  letter-spacing: 1px;
}
nav a:before {
  content: '';
  height: 0;
  position: absolute;
    width: 0.25em;
    background-color: black;
    left: -0.5em;
    transition: all 0.3s ease-in-out;
  }
  nav a:hover {
    color: black;
  }
  nav a:hover:before {
    height: 100%;
  }

  #toggle {
    display: none;
  }
  /**
  Animations
  **/
  #toggle:checked + .hamburger .top-bun {
    transform: rotate(-45deg);
    margin-top: 25px;
  }
  #toggle:checked + .hamburger .bottom-bun {
    opacity: 0;
    transform: rotate(45deg);
  }
  #toggle:checked + .hamburger .meat {
    transform: rotate(45deg);
    margin-top: -7px;
  }

  #toggle:checked + .hamburger + .nav {
    top: 0;
    transform: scale(1);
  }

  div.outside{
    height: auto;
  }

  div.top_banner{
    z-index: 1000;
   position: fixed;
   display: flex;
   justify-content: space-between; /* Ensures space between the h1 and hamburger-box */
   align-items: center; /* Aligns items vertically in the center */
   width: 100%; /* Adjust the width as needed */
   top: 0;
   right: 0;
   left: 0;
   background: #D0DFD0;
   height: 4em;
  }

  footer{
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     background: #D0DFD0;
  }
