/* General settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

header {
    /* background-color: #a4adb7; */
    background: linear-gradient(to right, rgb(255, 47, 0), rgb(255, 32, 32), rgb(83, 239, 48), rgb(28, 196, 190), rgb(12, 87, 162));
    color: white;
    padding: 10px 0;
}
/* Style for the logo */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 20px; */
}


/* General styles for the rest of the navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav .right-nav .new-project {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


nav {
    display: flex;
    justify-content: center; /* Center the nav menu */
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
color: #000;
    text-decoration: none;
    font-weight: bold;
}

nav .right-nav .new-project {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 40px 150px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto; /* Center the main container */
    text-align: left; /* Keep the text inside left-aligned */
}

.main-content h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.stats {
    color: gray;
}

.sponsors h2 {
    font-size: 2em;
    margin-top: 40px;
}

.sponsors p {
    font-size: 1.1em;
    color: gray;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Try It Section */
.try-it {
    margin-top: 50px;
    text-align: left; /* Keep text inside left-aligned */
    max-width: 800px; /* Center the section */
    margin-left: auto;
    margin-right: auto;
}

.try-it h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.try-it p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.code-block {
    background-color: #2b3a42;
    color: white;
    /* margin-left: 20px; */
    padding: 5px;
    padding-left: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.6;
}

.code-block code {
    color: #9cdcfe;
}

.run-script {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-bottom: 20px;
}

.run-script:hover {
    background-color: #333;
}

.json-output {
    background-color: #2b3a42;
    color: white;
    /* padding: 20px; */
    padding-left: 20px;
    border-radius: 8px;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.6;
}

.json-output code {
    color: #dcdcaa;
}

.try-it p {
    margin-top: 20px;
    color: gray;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    text-align: left; /* Left-align content */
}

/* When to Use Section */
.when-to-use {
    margin-top: 50px;
    text-align: left;
}

.when-to-use h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.when-to-use p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Resources Section */
.resources {
    margin-top: 50px;
    text-align: left;
}

.resources h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.resources p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.resources ul {
    list-style: none;
    padding-left: 0;
}

.resources li {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.resources li a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.resources li a:hover {
    text-decoration: underline;
}

/* Note Section */
.note {
    margin-top: 20px;
    font-size: 1.1em;
    color: gray;
    text-align: left;
}

.note a {
    color: #007bff;
    text-decoration: none;
}

.note a:hover {
    text-decoration: underline;
}

#copy-btn {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

#copy-btn:hover {
    background-color: #45a049;
}

footer {
    background-color: #000; /* Black background */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-width: 100px; /* Adjust logo size */
}

.footer-info p {
    margin: 5px 0;
}

.footer-buttons .github-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.footer-buttons .github-btn:hover {
    background-color: #555;
}

.footer-text {
    margin-top: 10px;
}

.footer-text p {
    font-size: 14px;
}
@media (max-width: 1080px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul li {
        margin-bottom: 10px;
    }
    main {
        padding: 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }.main-content h1 {
        font-size: 2em;
        font-weight: bold;
        margin-bottom: 20px;
    }.json-output {
        background-color: #2b3a42;
        color: white;
        font-size: 5px;
        padding-left: 5px;
        border-radius: 8px;
        font-family: monospace;
        white-space: pre-wrap;
        line-height: 1.6;
        text-align: left;
    }
    .footer-buttons .github-btn {
        background-color: #1482d1;
        color: white;
        padding: 10px 40px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        /* margin-top: 20px; */
        
    }.try-it {
        /* margin-top: 50px; */
        text-align: center; /* Keep text inside left-aligned */
        max-width: 600px; /* Center the section */
        margin-left: auto;
        margin-right: auto;
    }
    .code-block code {
        color: #9cdcfe;
        line-height: 1.6;
         font-size:10px;
    }
}
