﻿:root {
    --bg-start: #737374;
    --bg-end: #b1918c82;
    --gradient: linear-gradient(to right, var(--bg-start), var(--bg-end), var(--extra-color-1), var(--extra-color-2));
    --font-family: Arial, sans-serif;
    --text-color-dark: #fff;
    --text-color-light: #000;
    --border-color: #62606a63;
    --text-color: var(--text-color-dark);
}
:root {
    --text-color: #000; /* Default to black */
}
th, td {
    color: var(--text-color, black);
}

#back-to-main {
  width: 220px; /* set to desired width */
}

body {
    background: var(--gradient);
    color: var(--text-color);
    transition: background 0.3s ease, color 0.3s ease;
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

.content-zone {
    background: var(--gradient);
}

.text-sample {
    font-size: 1.5rem;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--gradient);
    color: var(--text-color);
}

/* Apply gradient background and text color */
.content-zone, .text-sample, th, td {
    background: var(--gradient) !important;
    color: var(--text-color) !important;
}

/* Apply other necessary styles with !important */

.centered-button {
    width: 150px; /* Set the width to 150px */
    margin: 0 auto; /* Center the button horizontally */
    display: block; /* Make the button a block element to center it */
    text-align: center; /* Center the text inside the button */
}

.stop-listening-button {
    display: none; /* Initially hide the button */
    margin-top: 10px;
    background-color:  var(--gradient);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.remove-button {
    background-color:  var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: right;
    margin-right: 10px;
}

/* Style for the outer container */
.container {
    border: 2px solid #4CAF50; /* Add a green border to highlight the container */
    padding: 10px; /* Add some padding */
    border-radius: 10px; /* Add rounded corners */
    background-color: #f9f9f9; /* Add a light background color */
    width: 25%; /* Set a fixed width */
    max-width: 100%; /* Ensure the container doesn't exceed the screen width */
    height: 120px; /* Set a fixed height */
    margin: 0 auto; /* Center the container horizontally */
    text-align: center; /* Center the content horizontally */
    display: flex; /* Add flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Style for the title box */
.title-box {
    background-color:  var(--gradient);
    color: white;
    padding: 5px;
    text-align: center;
    border-radius: 15px;
    position: relative;
    width: 100%; /* Make the title box fill the width of the container */
    height: 100%; /* Make the title box fill the height of the container */
    max-width: 100%; /* Ensure the container doesn't exceed the screen width */
    overflow: hidden; /* Ensure the image doesn't overflow the container */
    display: flex; /* Add flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

/* Style for the image */
.title-box img {
    width: 100%; /* Make the image fill the width of the container */
    height: 100%; /* Make the image fill the height of the container */
    object-fit: cover; /* Ensure the image covers the area without stretching */
}

/* Style for the scrolling table */
.scrolling-table {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    margin-top: 20px;
    width: 100%;
    max-width: 600px; /* Set a maximum width */
    margin-left: auto; /* Center the table */
    margin-right: auto; /* Center the table */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Style for the table */
.scrolling-table table {
    width: 100%;
    border-collapse: collapse;
}

/* Style for table headers and cells */
.scrolling-table th, .scrolling-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center; /* Center the text */
}

/* Style for table headers */
.scrolling-table th {
    background-color:  var(--gradient);
}

/* Style for the current font display */
#currentFont {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: white;
}

/* Style for the initial investment form */
#initialInvestmentForm {
    background-color:  var(--gradient);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for the notes section */
.notes-section {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color:  var(--gradient);

    width: 100%;
    max-width: 600px; /* Set a maximum width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    overflow: hidden; /* Prevent overflow */
    margin-left: auto; /* Center the notes section */
    margin-right: auto; /* Center the notes section */
}

/* Style for the textarea */
.notes-section textarea {
    width: 100%;
    height: 200px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    resize: vertical; /* Allow vertical resizing only */
}

/* Style for the investment form */
.investment-form {
   background-color: var(--gradient);
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    width: 80%; /* Set a width */
    max-width: 600px; /* Set a maximum width */
    margin-left: auto; /* Center the form */
    margin-right: auto; /* Center the form */
}

/* Style for the investment header */
.investment-header {
  /  background-color: #fff7ed;
    padding: 3px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    text-align: center; /* Center the header content */
}

/* Style for the investment header */
.investment-header h3 {
   / color: white;
    margin: 0;
    cursor: pointer; /* Add a pointer cursor to indicate it's clickable */
}

/* Style for the investment content */
.investment-content {
    display: none; /* Initially hide the content */
}

/* Additional styles */
body {
    font-family: Arial, sans-serif;
    margin: 10px;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: auto;
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.button-container {
    text-align: center;
    margin-top: 10px;
}

.button-container a img {
    width: 100px; /* Adjust the width as needed */
    height: auto;
}

.content {
    margin-top: 10px;
}

.tool-list {
    margin-top: 10px;
}

.tool-list a img {
    width: 100%;
    height: auto;
}

.affiliate-container {
    max-width: 100%;
    margin: auto;
    margin-top: 30px;
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.affiliate-container a {
    display: block;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.affiliate-container a:hover {
   / background-color: #e9e9e9;
}

.footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.footer a {
   / color: #4CAF50;
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    display: none;
}

.cookie-banner button {
 /   background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.notes-section {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
 /   background-color: #f9f9f9;
    width: 100%;
}

.notes-section textarea {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
}

.scrolling-table {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    margin-top: 20px;
}

.scrolling-table table {
    width: 100%;
    border-collapse: collapse;
}

.scrolling-table th, .scrolling-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.scrolling-table th {
/    background-color: #f2f2f2;
}

.investment-form {
  /  background-color: #f5f5dc;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
    width: 80%; /* Set a width */
    max-width: 600px; /* Set a maximum width */
    margin-left: auto; /* Center the form */
    margin-right: auto; /* Center the form */
}

.investment-header {
  /  background-color: #d2b48c;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    text-align: center; /* Center the header content */
}

.investment-header h3 {
   / color: white;
    margin: 0;
    cursor: pointer; /* Add a pointer cursor to indicate it's clickable */
}

.investment-content {
    display: none;
    padding: 10px;
}

.investment-image {
    width: 200px; /* Adjust the width as needed */
    height: auto;
    cursor: pointer;
}

/* Style for the calculate investment button */
button[type="button"][onclick="calculateInvestmentValue(this)"] {
    width: 200px; /* Set the width to 200px */
    margin: 0 auto; /* Center the button horizontally */
    display: block; /* Make the button a block element to center it */
    text-align: center; /* Center the text inside the button */
  /  background-color: #a9a9a9; /* Set the background color to a darker gray */
    color: white; /* Set the text color to white */
    border: none; /* Remove the border */
    border-radius: 5px; /* Add rounded corners */
    padding: 10px; /* Add some padding */
    cursor: pointer; /* Add a pointer cursor */
}
