:root {
    --color-bg: #000000; /* Black background */
    --color-text-main: #FFFFFF; /* White text */
    --color-primary: #FF3333; /* Bright red for primary elements */
    --color-secondary: #33FF66; /* Bright green for secondary elements */
    --color-accent: #FF3333; /* Red-orange accent */
    --font-family: 'Courier New', monospace; /* Retro monospace font */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    background-color: var(--color-bg);
  
}

.header-container {
    text-align: center;
    position: relative;
    margin-top: 50px;
}

h1 {
    font-size: 50px;
    color: var(--color-secondary); /* Use bright green for main headings */
}

h2 {
    font-size: 25px;
    color: var(--color-primary); /* Use red for subheadings */
    margin-top: 20px;
    padding-right: 5%;
    padding-left: 5%;
}

h1, h2 {
    padding-top: 20px;
    text-align: center;
/*     color: var(--color-text-main); */
}

a:link, a:visited {
    color: var(--color-primary); /* Keep the bright red for both regular and visited links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline; /* Optional: underline on hover */
}

.start-button {
    margin-top: 30px;
}

.start-button a {
    background-color: var(--color-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}

.recipe-links a {
    color: var(--color-text-main);
    display: block; 
    margin-bottom: 10px; 
}


.shopping-list a {
    color: white; /* Bright red for links */
    display: block; /* Each link takes a full line */
    margin-bottom: 10px; /* Space between links */
  
    

}

.start-button a:hover {
    background-color: #FF4500; /* Darker red on hover */
}

.form-group {
    margin-bottom: 20px; /* Adds 20px of space between each form element */
    padding-right: 5%;
    padding-left: 5%;
}

input[type="number"], input[type="text"] {
    
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-primary); /* Red border for inputs */
    border-radius: 5px;
    background-color: #111111; /* Darker input background */
    color: var(--color-text-main);
    font-size: 16px;
}

.submit-container{
      display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically */
    align-items: center;
      width: 100%;
}

.submit-button {
    background-color: var(--color-accent);
    color: white;
    padding: 10px 15px;
    padding-right: 5%;
    padding-left: 5%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 90%;
    font-size: 16px;
    border: 1px solid var(--color-primary); /* Red border for inputs */
    border-radius: 5px;
    background-color: #111111; /* Darker input background */
}

.submit-button:hover {
    background-color: var(--color-primary);
}

button {
    background-color: var(--color-primary); /* Red button */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #FF6347; /* Lighter red on hover */
}

.data-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    margin-top: 5%; /* Add margin for spacing */
    width: 100%;
}

.progress-container-wrapper {
  width: 100%;
    padding-right: 5%;
    padding-left: 5%;
}

.progress-container {
    width: 100%;
    background-color: #444444; /* Dark gray background for progress bars */
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
  
}

.progress-bar {
    height: 30px;
    background-color: var(--color-secondary); /* Bright green progress bar */
    text-align: center;
    line-height: 30px;
    color: white;
    border-radius: 5px;
    text-align: left;
    padding-left: 10px;
    
}


.number {
  margin-bottom:20px;
  color: var(--color-text-main);
  text-align: center;
  width: 100%;
}

.error-message {
  text-align:center;
  color: yellow;
  margin-bottom:10px;
}

.scrollable-container::-webkit-scrollbar {
    width: 0px; /* Width of the scrollbar */
}

.scrollable-container::-webkit-scrollbar-thumb {
    background-color: darkgray; /* Color of the scrollbar thumb */
    border-radius: 5px; /* Rounded edges */
}

.bg {
    width: 100%;
    height: 115vh;
    background-size: 350% 350%;
    background-image: var(--color-bg); /* Black to red gradient */
}


.hidden{
  visibility: hidden;
}

h3 {
      text-align: center;
      color: var(--color-primary); /* Green for headings */
    font-size: 25px;
    padding: 15px;
}


/* Headings for the last page */
h1, h2, h3 {
    margin-bottom: 10px; /* Add spacing below headings */
}

/* Style for the recipes list */
.shopping-list {
  
    margin-top: 20px; 
    
    padding: 15px; 
    border-radius: 5px; /* Rounded corners */
  
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    padding-right: 5%;
    padding-left: 5%;
  
    color: white;

    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid white; 
    border-radius: 5px;

}

/* Links in the recipes section */

.shopping-list a:hover {
    text-decoration: underline; /* Underline on hover for better interactivity */
  
}

/* Shopping list items */
.shopping-list p {
    color: var(--color-text-main); /* Consistent text color */
    margin: 5px;
}

/* Home link style */
.home-link {
    display: inline-block; /* Inline block for spacing */
    margin-top: 20px; /* Space above the home link */
    padding: 10px 20px; /* Padding for the button look */
    background-color: var(--color-primary); /* Primary button color */
    color: white; /* White text color */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* No underline */
}

.home-link:hover {
    background-color: #FF6347; /* Lighter red on hover */
}
  
  .footer-container {
    display: flex;
    justify-content: center; /* Center the link horizontally */
    position: relative;
    margin-top: auto; /* Pushes the footer to the bottom */
    padding: 20px; /* Adds some padding around the link */
}

.recipe-links {
    margin-top: 20px; 
    padding: 15px; 
    border-radius: 5px; /* Rounded corners */
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    padding-right: 5%;
    padding-left: 5%;
    color: white;
    border: 1px solid white; 
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}




