*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #C0C0C0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
}

#home{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 170px;
    margin-bottom: 50px;
}
#home h1{
    color: #000;
}
#home p{
    margin-top: 17px;
    margin-bottom: 25px;
    color: #4a2424;
}


.codeForm label i{
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
}
.codeForm textarea{
    resize: none;
    outline: none;
    color:yellowgreen;
    font-weight: bold;
    -webkit-text-fill-color: yellowgreen; 
    background: rgba(20, 20, 35, 0.8) !important;
}

.codeForm .contentBtns{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}

.output{
    margin-top: 30px;
}
.output h2{
    color: #000;
}

.output iframe{
    width: 100%;
    height: 500px;
    border: none;
    overflow: scroll;
}


/* documents */
#documents{
    margin-top: 70px;
    margin-bottom: 50px;
}
#documents h2{
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}

.docsSides {
    display: flex;
    flex-wrap: wrap; 
    gap: 2rem;
    padding: 2rem;
    color: #000;
    border-radius: 1rem;
    margin-top: 2rem;
}

.docsLeftSide {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#docsImage {
    width: 100%;
    max-width: 300px;
    border-radius: 0.75rem;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.2);
    object-fit: cover;
}

.docsRightSide {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.docsRightSide h4 {
    color: #000;
    font-size: 1.2rem;
    margin: 0;
}

.docsRightSide p {
    font-size: 1rem;
    line-height: 1.6;
}

/* exmp;es */


#examples {
    padding: 3rem 2rem;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 1rem;
    margin-top: 2rem;
}

#examples h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #38bdf8;
    text-align: center;
}

.examplesLeftSide,
.examplesRightSide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.examplesLeftSide {
    flex: 1;
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
}

.examplesLeftSide p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.examplesLeftSide img {
    width: 150px;
    height: auto;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.examplesRightSide {
    flex: 2;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.examplesRightSide h3 {
    color: #86efac;
    margin-bottom: 0.5rem;
}

.examplesRightSide pre {
    background: #1e293b;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid #334155;
}

.examplesRightSide code {
    white-space: pre-wrap;
    word-break: break-word;
}


/* footer */

footer {
    margin-top: 70px;
    margin-bottom: 0;
    padding: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.footer-content div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-content a {
    text-decoration: none;
    margin-left: 0.25rem;
}

.footer-content a:hover {
    text-decoration: none;
}

.footer-content i {
    margin-right: 0.4rem;

}


.footer-content div:last-child {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
