/* All Pages */

:root {
  --primary-green: #006400;
  --accent-green: #c4e07c;
  --contrast-brown: #332200;
  --highlight-yellow: #ffd700;
  --calm-blue: #add8e6;
}

body {
  background-color: var(--primary-green);
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3px 3px 3px 3px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}

/* Head */

/* No specific styles for head yet */

/* Header */

header {
  padding: 2px;
}
header h1 {
  text-shadow: 2px 2px 2px brown;
  padding: 10px;
}

header h2 {
  text-shadow: 1px 1px darkblue;
  padding: 10px;
}


.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribute space between items */
  width: 100%;
  margin: 1%;
  padding: 1%;
}

.header-text {
  border-radius: 100px 0 100px 0;
  width: 80%;
  text-align: center;
  font-weight: bold;
  padding: 3%;
  color: White;
  display: block;
  margin: 1%;
  background-color: var(--primary-green);
  background-image: linear-gradient(
      49deg,
      transparent 52%,
      rgba(255, 255, 255, 0.41) 40%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      -14deg,
      transparent 40%,
      rgba(255, 255, 255, 0.41) 40%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      -55deg,
      transparent 75%,
      rgba(255, 255, 255, 0.41) 50%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(
      -290deg,
      transparent 75%,
      rgba(255, 255, 255, 0.41) 50%,
      rgba(255, 255, 255, 0) 100%
    );
}

.header-logo {
  width: 15%; /* Adjust width as needed */
  height: auto;
  margin: 1% auto; /* Add space between logo and text */
  border-radius: 20px 20px 20px 20px;
}

.header-image {
  width: 15%; /* Adjust width as needed */
  height: auto;
  margin: 1% auto; /* Add space between text and image */
  border-radius: 20px 20px 20px 20px;
}

@media (max-width: 30%) {
  .header-container {
    flex-direction: column; /* Stack vertically on small screens */
  }

  .header-logo,
  .header-image {
    margin: 10px auto; /* Center horizontally on small screens */
  }
}
.rust-colored {
  color: #8b3103;
}

/* ------------Nav-------------------------- */

nav {
  background-color: var(--primary-green);
  border-radius: 20px 20px 20px 20px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
  margin: 0 10px;
}

nav a {
  display: block;
  text-decoration: none;
  padding: 3% 3% 3% 3%;
  color: var(--contrast-brown);
  border-radius: 2%;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid white;
  display: flex;
  font-weight: bold;
  border-radius: 20px 20px 20px 20px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  nav ul {
    text-align: center;
    display: flex;
    flex-wrap: nowrap; /* Prevent the items from wrapping */
    overflow-x: auto; /* Add horizontal scrolling */
    flex-direction: column;
    align-items: flex-start;
  }
  nav li {
    display: block;
    margin: 10px 0;
    flex-shrink: 0; /* Prevent the items from shrinking */
  }
  .mobile-menu {
    display: block;
  }
}

nav img {
  width: 120px;
  height: auto;
  margin-bottom: 2%;
  border-radius: 20px 20px 20px 20px;
}

@media (max-width: 100%) {
  nav img {
    width: 25%;
  }
}

footer a {
  /* Target all links in the footer */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none; /* Remove underline from link */
  color: var(--contrast-brown); /* Set text color */
  border-radius: 20px 20px 20px 20px; /* Make the links circular */
  width: 100px; /* Set a fixed width for the links */
  height: 100px; /* Set a fixed height for the links */
  justify-content: center; /* Center the content vertically */
  padding: 10px; /* Add some padding */
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  border: 2px solid white; /* White border */
}
.sub-nav a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: var(--contrast-brown);
  border-radius: 5px;
}

nav a:hover {
  background-color: var(--accent-green);
  color: var(--primary-green);
  font-weight: bold;
}

nav a.active {
  background-color: var(--accent-green);
}

@media (max-width: 100%) {
  nav img {
    width: 25%;
  }
}

/* Main */

main {
  /* Add any common main styles here */
}

.welcome-message {
  text-align: center;
  margin-top: 2%;
  font-weight: bold;
  line-height: 1.6;
  margin: 0.2%;
  background-color: var(--primary-green);
  padding: 5px;
  border-radius: 2%;
  color: #ffffff;
}

footer p {
  text-align: center;
}

.welcome-message p {
  margin-bottom: 1.5em;
}

.promo-section {
  background-color: red;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}
.promo-section.a

/* Footer */

footer {
  background-color: #006400;
  width: 100%;
  color: white;
}

footer img {
  width: 90%; /* Adjust image size as needed */
  height: auto;
  margin-bottom: 5px; /* Add space between image and text */
  border-radius: 50% 50% 0 0; /* Make the images circular */
}
/* ---------------------Page-Specific Styles------------------------------------- */

/* ------------------------------------------------Index Page-------------------------------------------------------------- */

index.body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

index.footer {
  margin-top: auto;
  width: 100%;
  background-color: #006400;
  color: white;
  text-align: center;
  padding: 2% 2% 2% 2%;
}

.landing-link {
  display: block;
  text-align: center;
  max-width: 30%;
  max-height: 40%;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
}

.landing-link img {
  max-width: 100%;
  height: auto;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  border-radius: 25%;
  justify-content: center; /* Vertically center content */
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative; /* Make this a positioning context */
}

.circle-container img {
  max-width: 100%;
  position: relative;
}
.circle-text-up {
  /* Remove position: absolute and bottom */
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  font-size: 3.2em;
  text-align: center;
  color: var(--primary-green);
  font-weight: bold;
}

.circle-text-down {
  /* Remove position: absolute and bottom */
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  font-size: 2.4em;
  text-align: center;
  color: var(--primary-green);
  font-weight: bold;
}

@media (max-width: 768px) {
  .circle-text-up {
    font-size: 1em;
    padding: 1% 1% 1% 1%;
    margin: 1% 1% 1% 1%;
  }

  .circle-text-down {
    font-size: 1.5em;
    padding: 1% 1% 1% 1%;
    margin: 1% 1% 1% 1%;
  }

  .circle-container {
    padding: 15% 5%;
  }
}
/* ------------------------------------------------Home Page-------------------------------------------------------------- */


/* --------------------------------------Books Page---------------------------------------------------------------------- */

.books-content {
  background-color: #006400;
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  margin: 0 auto;
}

.books-section h3 {
  margin-top: 2em;
}

.books-section p {
  line-height: 1.6;
}

.book-container {
  /* Add these properties for horizontal layout: */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.book-link-container {
  display: flex;
  align-items: center;
  background-color: var(--primary-green); /* Add the background color */
  padding: 10px; /* Add some padding */
  border-radius: 5%; /* Round the edges */
  border: 1px solid white; /* Add the white border here */
}

.book-link-container img {
  max-width: 65px;
  height: auto;
  margin-right: 15px;
}

.book-link-container div {
  /* Target the div wrapping the text */
  text-align: center;
}

.book {
  max-width: 128px;
  height: auto;
  margin-right: 15px;
}

.book img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.series-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.series {
  background-color: #006400;
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.series img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.split-container {
  display: flex;
}

.left-half {
  width: 50%;
  padding-right: 20px;
}

.right-half {
  width: 50%;
  padding-left: 20px;
}

.top-section .book-container {
  margin-left: auto;
  margin-right: auto;
}

.middle-section,
.bottom-section {
  display: flex;
  margin-top: 20px;
}

.left-half,
.right-half {
  width: 50%;
  padding: 0 10px;
}

.core-series h3,
.left-table h4,
.right-table h4 {
  margin-bottom: 20px; /* Adjust the value as needed */
}

.core-books {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.core-books .book:first-child {
  grid-column: span 4;
}

.core-books .book img {
  max-width: 100%;
  height: auto;
}

.core-books .book p {
  font-size: 12px;
  margin-top: 5px;
  text-align: center;
}

.series-link {
  background-color: #006400;
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  display: inline-block;
  border: 2px solid white;
  margin: 10px;
  width: calc(100% - 20px);
}

.series-link h3 {
  margin: 5px 0;
}

.top-section {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin: 0 auto;
}

.book-link-container:hover {
  background-color: var(--accent-green); /* Subtle background change */
  /* transform: scale(1.05);  Slight zoom effect */
  transition: all 0.2s ease; /* Smooth transition */
}

@media (max-width: 600px) {
  /* Adjust the breakpoint as needed */
  .book-link-container {
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center the items horizontally */
  }

  .book-link-container img {
    margin-right: 0; /* Remove right margin */
    margin-bottom: 10px; /* Add bottom margin */
    max-width: 100%; /* Make image take full container width */
  }
}

/* -------------------------------------------------Music ------------------------------------------------- */


games.a {
  
}
/* ------------------------------------------------Foundation Page----------------------------------------- */

foundation.body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

foundation.footer {
  margin-top: auto;
  width: 100%;
  background-color: #006400;
  color: white;
  text-align: center;
  padding: 2% 2% 2% 2%;
}

.foundation-landing-link {
  display: block;
  text-align: center;
  max-width: 30%;
  max-height: 40%;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
}

.foundation-landing-link img {
  max-width: 100%;
  height: auto;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
}

.foundation-circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  border-radius: 25%;
  justify-content: center; /* Vertically center content */
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative; /* Make this a positioning context */
}

.foundation-circle-text-up {
  /* Remove position: absolute and bottom */
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  font-size: 1em;
  text-align: center;
  color: var(--primary-green);
  font-weight: bold;
}

.foundation-circle-text-down {
  /* Remove position: absolute and bottom */
  padding: 1% 1% 1% 1%;
  margin: 1% 1% 1% 1%;
  font-size: 1em;
  text-align: center;
  color: var(--primary-green);
  font-weight: bold;
}

@media (max-width: 768px) {
  .foundation-circle-text-up {
    font-size: 1em;
    padding: 1% 1% 1% 1%;
    margin: 1% 1% 1% 1%;
  }

  .foundation-circle-text-down {
    font-size: 1.5em;
    padding: 1% 1% 1% 1%;
    margin: 1% 1% 1% 1%;
  }

  .foundation-circle-container {
    padding: 15% 5%;
  }
}
/* ---------------------------Books----------------------------*/

.books-main {
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  font-weight: center;
  text-align: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.books-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  font-weight: center;
  text-align: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.book {
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  font-weight: center;
  text-align: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.book-link-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

/* ---------------------------Characters----------------------------*/

.character-main {
  background-color: var(--primary-green);
  padding: 5px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 70%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

.character-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 80%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

/* ---------------------------Contact us----------------------------*/
.contact-container {
  background-color: var(--primary-green); /* Add a background color */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 80%; /* Adjust the width as needed */
  color: white;
  text-align: center;
  font-weight: bold;
  margin: 0 auto; /* Center the container */
}

.contact-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-container label {
  display: block; /* Make labels stack vertically */
  margin-bottom: 5px;
}

.contact-container input,
.contact-container textarea {
  width: 100%; /* Make input fields fill the container width */
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-container button {
  background-color: rgba(255, 255, 255, 0.7);
  color: brown;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-info {
  margin-top: 20px; /* Add some space between the form and contact info */
}

/* ---------------------------about us----------------------------*/

.about-main {
  background-color: var(--primary-green);
  padding: 5px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 70%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

.about-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 80%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

/* ---------------------------Games----------------------------*/

.games-main{
  background-color: var(--primary-green);
  padding: 5px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 70%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

.games-page-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 20px; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 80%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: flex;
  font-weight: center;
  margin: 5px auto; /* Center the container */
}

.game-overview {
  text-align: center; /* Center the overview content */
}

.game-overview img {
  max-width: 80%; 
  height: auto;
  margin: 20px auto; /* Center the image */
  border-radius: 10px; 
}

.features-section ul {
  list-style: disc; /* Use bullet points for features */
  margin-left: 40px; 
}

.development-section {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 10px;
}

/* ---------------------------Membership----------------------------*/


.membership-main{
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.membership-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.paypal-main {
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
  
}
.paypal-section {
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
  
}
.paypal-box {
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
  
}

/* ---------------------------Membership----------------------------*/

.barn-game-body {
    background-image: url("https://cdn.glitch.global/4cee6fbb-8529-491e-b39e-3d0bab121028/Mr%20Giggles%20Farm.png?v=1733223871318");
    background-repeat: no-repeat; /* Or repeat-x, repeat-y, etc. */
    background-size: cover; /* Or contain, 100% 100%, etc. */
}

.barn-game-canvas {
    background-color: #ffe0b2; /* Barn-like color */
    border: 2px solid #8b4513; /* Brown border */
}

.barn-game-main{
  background-color: var(--primary-green);
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}

.barn-game-container {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Semi-transparent white background */
  padding: 1% 1% 1% 1%; /* Add some padding */
  border-radius: 10px; /* Round the corners */
  width: 95%; /* Adjust the width as needed */
  color: var(--contrast-brown);
  text-align: center;
  font-weight: center;
  margin: 1% 1% 1% 1%; /* Center the container */
}