/* ability-style.css */

body {
    font-family: 'Alegreya Sans', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
  font-family: 'Alegreya Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* Mobile menu */
#menu-toggle {
  display: none;
  border-radius: 50px;
}

@media (max-width: 768px) {
  #menu-container {
    display: none;
	border-radius: 50px;
  }

  #menu-toggle {
    display: block;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
	border-radius: 50px;
  }

  #menu-container.active {
    display: block;
	border-radius: 50px;
  }

  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  nav ul li {
    border-bottom: 1px solid #ddd;
    display: none; /* Added this line */
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
  }

  nav ul li a:hover {
    background-color: #555;
  }
}

  #menu-toggle.active ~ #menu-container ul li {
    display: inline-block; /* or 'block' if you prefer multi-line menu items */
  }

/* PC menu */
nav {
  background-color: #003f86; /* Change this to a fantasy color, such as purple */
  padding: 10px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  padding: 0 10px;
}

nav ul li a {
  color: #fff; /* Change this to white for better contrast */
  border-radius: 50px;
}

nav ul li a:hover {
  background-color: #555;
}

.image-container {
  text-align: center;
  padding: 20px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.text-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.text-container h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.text-container p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.calculator-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 0 10px;
}

label {
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px; /* Add some space between "Allocate" and "Points" */
}

.select-container,
.input-container,
.button-container {
    margin-top: 5px;
}

.select-container select,
.input-container input,
.button-container button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.button-container button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    width: 48%;
}

.button-container button:hover {
    background-color: #0056b3;
}

.remaining-points-container {
    margin-top: 20px;
}

.remaining-points-container span {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.ability-score {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ability-score label {
    flex: 1;
    text-align: left;
}

.ability-score .input-container {
    flex: 1;
}

.ability-score .button-container {
    display: flex;
    justify-content: space-between;
    flex: 0 0 20%;
}

/* Add more styles if needed */

/* Import pathfinder-style.css for shared styles */
@import url('pathfinder-style.css');

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-container {
    display: flex;
    justify-content: space-between;
}

.calculator {
    width: 60%;
}

.ability-score,
#modifierlists,
#modifiers,
#race-modifiers,
#actual-scores {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    padding: 0 20px;
    box-sizing: border-box;
}

.button-container {
    text-align: center;
}

.pathfinder-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

/* Add your additional styles here */

.disclaimer {
  clear: both;
  background-color: #f5f5f5;
  padding: 20px;
  text-align: center;
  font-size: 10px; /* make the text smaller */
  position: fixed; /* stick the disclaimer to the bottom of the page */
  bottom: 0; /* position the disclaimer at the bottom of the page */
  left: 0; /* position the disclaimer at the left edge of the page */
  right: 0; /* position the disclaimer at the right edge of the page */
  margin: auto; /* center the disclaimer horizontally */
  height: 5%; /* make the disclaimer half the height of the page */
}

.disclaimer a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.disclaimer a:hover {
  text-decoration: underline;
}