body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

header {
    background-color: #8714a4;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    padding: 0;
}

header .logo {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
}

header .highlight {
    color: red;
}

header .subtitle {
    display: block;
    margin-top: -0.5rem;
    font-size: 1.2rem;
    font-style: italic;
    color: #ccc;
}

main {
    padding: 6rem 1rem 1rem 1rem; /* Adjusted padding to account for the fixed header */
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.intro img {
    max-width: 100%;
    display: block;
    margin: 0 auto 1rem;
}

.calculator {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="date"],
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #8714a4;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5a0f6d;
}

#result {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #e9ecef;
    border-radius: 4px;
    border-left: 4px solid #8714a4;
}

.instructions {
    margin-top: 2rem;
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #8714a4;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #8714a4;
    color: #fff;
    margin-top: 2rem;
}

.age-limits {
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

th {
    background-color: #130217;
}

thead {
    background-color: #007bff;
    color: #fff;
}

.note {
    font-style: italic;
    color: #555;
    margin-top: 1rem;
}

.images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .images img {
    width: 435px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .intro img{
    width: 435px;
    height: 300px;
  }

  .intro p{
    font-size: large;
  }

  .intro h2{
    font-size:xx-large;
  }