/* Reset some default styles */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
}

/* Common styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: whitesmoke;
    color: #333;
    line-height: 1.6;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column; /* Arrange children in a column */
    align-items: stretch; /* Stretch items horizontally */
    min-height: 100vh; /* Set minimum height to 100% of viewport height */
}

header {
    background-color: #121212;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    order: 1; /* Change the order to move the logo to the left */
    margin-right: 30px; /* Increase the margin to move the logo more to the left */
}

.logo {
    width: 40px;
    height: auto;
}

.logo a{
    text-decoration: none;
    color: white;
}

.app-name {
    font-size: 20px;
    order: 2; /* Change the order to move the app name to the right */
}

.app-name a{
    text-decoration: none;
    color: white;
}

.title-container {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

header h1 {
    margin: 0;
}

header h1 span {
    color: #1DB954;
}

strong {
    color: #1DB954;
}


main {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    flex-grow: 1; /* Allow main to take up remaining space */
    margin-top: 30px; /* Add margin at the top */
}

.step {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.step h2 {
    color: #333;
}

.step p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.step a {
    color: #1DB954;
    text-decoration: none;
    transition: color 0.3s ease;
}

.step a:hover {
    color: #147D4E;
}

.step img {
    max-width: 100%;
    width: 90%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Dark theme */
body.dark-theme {
    background-color: #212121; /* Updated dark background color */
    color: #b3b3b3;
}

.dark-theme header {
    background-color: #121212;
    color: white;
}

.dark-theme main {
    background-color: #1C1C1C; /* Updated main background color */
    color: #b3b3b3;
}

.dark-theme .step h2 {
    color: white;
}

.dark-theme .step p {
    color: #999;
}

.dark-theme .step a {
    color: #1DB954;
    transition: color 0.3s ease;
}

.dark-theme .step a:hover {
    color: #147D4E;
}

.title h1{
    color: #000;
    text-align: center;
    font-size: 3em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.dark-theme .title h1{
    color: #fff;
}

.dark-theme .title2 h1{
    color: #fff;
}

/* Add styles for the navbar */
.navbar {
    background-color: #121212;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    order: 3; /* Change the order to move the navbar to the right */
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 15px;
    border-bottom: 2px solid transparent;
    position: relative;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.navbar a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1DB954;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar a:hover,
.navbar a.active { /* Apply the effect to active class */
    color: #1DB954;
    border-bottom-color: transparent;
}

.navbar a:hover::before,
.navbar a.active::before { /* Apply the effect to active class */
    transform: scaleX(1);
}

/* Update theme toggle button styles */
.theme-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
    margin-left: 30px; /* Push the button to the right */
    margin-top: -2px;
    z-index: 999; /* Ensure it's above other content */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Use relative positioning */
    margin-right: 20px; /* Add some right margin for spacing */
}

.theme-toggle i {
    transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out;
    font-size: 20px; /* Adjust size as needed */
}

.theme-toggle .fa-moon {
    opacity: 0;
    color: #fff; /* Set icon color in dark mode */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dark-theme .theme-toggle .fa-moon {
    opacity: 1;
}

.dark-theme .theme-toggle .fa-sun {
    opacity: 0;
}

.light-theme .theme-toggle .fa-sun {
    opacity: 1;
    color: #f39c12; /* Set icon color in light mode */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.fa-sun{
    color: #f39c12;
}
.fa-moon{
    color: white;
}

/* Additional styles for download page */
.download-links {
    margin-top: 30px;
    text-align: center;
}

.download-links h2 {
    color: #1DB954;
    margin-bottom: 10px;
}

.download-button {
    display: inline-block;
    text-decoration: none;
    background-color: #1DB954;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
}

.download-button img {
    vertical-align: middle;
    margin-right: 10px;
}

.download-button:hover {
    background-color: #147D4E;
    transform: translateY(-5px);
}

.system-requirements {
    margin-top: 40px;
    text-align: center;
}

.system-requirements h2 {
    color: #1DB954;
    margin-bottom: 10px;
}

.system-requirements ul {
    list-style: none;
    padding: 0;
}

.system-requirements li {
    font-size: 18px;
    margin-bottom: 8px;
    color: #555;
}

.app-details {
    margin-top: 40px;
    text-align: center;
    max-width: 35%; /* Set the maximum width */
    margin-left: auto;
    margin-right: auto;
}

.app-details h2 {
    color: #1DB954;
    margin-bottom: 10px;
}

.app-details p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #555;
}

.app-screenshots {
    margin-top: 40px;
    text-align: center;
}

.app-screenshots h2 {
    color: #1DB954;
    margin-bottom: 10px;
}

.screenshot-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.screenshot-container img {
    max-width: 100%;
    width: 300px;
    margin: 0 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Additional styles for lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

/* Additional styles for the app version */
.changelog-link {
    color: #1DB954;
    text-decoration: none;
    transition: color 0.3s ease;
}

.changelog-link:hover {
    color: #147D4E;
}

/* Additional styles for the about developer */
.about-developer {
    margin-top: 40px;
    text-align: center;
}

.about-developer h2 {
    color: #1DB954;
    margin-bottom: 10px;
}

.about-developer p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #555;
}

.developer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.developer-text {
    max-width: 70%;
    text-align: center;
}

.learn-more-link {
    display: inline-block;
    text-decoration: none;
    background-color: transparent; /* Change to transparent background */
    color: #1DB954;
    padding: 10px 20px;
    border-radius: 4px;
    margin-left: 40px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s;
    border: 2px solid #1DB954; /* Add border for a cleaner look */
}

.learn-more-link:hover {
    background-color: #1DB954; /* Change background on hover */
    color: white;
    transform: translateY(-2px);
}

/* Additional styles for developer links */
.developer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.developer-links li {
    margin: 0 10px;
    font-size: 24px;
}

.developer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-links a:hover {
    color: #1DB954;
}

.footer {
    background-color: #121212;
    color: white;
    padding: 10px 0px 25px 0px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo img {
    width: 50px;
    height: auto;
    margin: 25px 0px 0px 15px;
}

.footer-info,
.footer-links,
.footer-social {
    flex: 1;
    padding: 20px;
    margin-bottom: 2cqi;
}

.footer-info h3,
.footer-links h3,
.footer-social h3 {
    color: #1DB954;
    margin-bottom: 10px;
}

.footer-info p {
    color: #aaa;
    line-height: 1.6;
}

.footer-links ul,
.social-icons {
    list-style: none;
    padding: 0;
}

.footer-links li,
.social-icons li {
    margin-bottom: 10px;
}

.footer-links a,
.social-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
}

.footer-links a:hover,
.social-icons a:hover {
    color: #1DB954;
}

.footer-copy {
    text-align: center;
    margin-top: 20px;
    color: #aaa;
}


