body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding-top: 80px;
    color: #333;
}
nav{
    position:relative;
}
/* ==============================
   Main Navbar
   ============================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #34495e;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 40px 10px 60px;
    box-sizing: border-box;
}


/* Logo */
.navbar img {
    height: 40px;
}


/* Navigation container */
.navbar nav {
    display: flex;
    align-items: center;
}


/* Menu */
.navbar .menu {
    display: flex;
    align-items: center;
}


/* Menu links */
.navbar a {
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}


.navbar a:hover {
    background-color: #ecf0f1;
    color: black;
}


/* ==============================
   Hamburger
   ============================== */

.hamburger {
    display: none;
    cursor: pointer;

    flex-direction: column;
    justify-content: space-between;

    width: 25px;
    height: 20px;
}


.hamburger div {
    background-color: #fff;
    height: 4px;
    width: 100%;
}


/* ==============================
   Mobile Menu State
   ============================== */


/* Right section of the navbar */
.navbar-right{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.getStartedButton {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 28px;

    min-width: 170px;

    border: none;
    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #34495e,
        #2c3e50
    );

    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.3px;

    cursor: pointer;

    text-decoration: none;

    box-shadow:
        0 5px 15px rgba(52, 73, 94, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

}



/* Hover */
.getStartedButton:hover {

    background: linear-gradient(
        135deg,
        #3d566e,
        #34495e
    );

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(52, 73, 94, 0.45);

}



/* Active click */
.getStartedButton:active {

    transform: translateY(0);

    box-shadow:
        0 4px 10px rgba(52, 73, 94, 0.3);

}



/* Keyboard accessibility */
.getStartedButton:focus-visible {

    outline: 3px solid rgba(52, 73, 94, 0.4);

    outline-offset: 4px;

}

.button-icon {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    font-size: 18px;

    font-weight: 600;

    line-height: 1;

    transition: transform 0.25s ease, opacity 0.25s ease;

    opacity: 0.9;

}


/* Move icon slightly on hover */
.getStartedButton:hover .button-icon {

    transform: translateX(5px);

    opacity: 1;

}


/* Keep icon aligned when button is pressed */
.getStartedButton:active .button-icon {

    transform: translateX(2px);

}

/* Footer */

footer {

    padding: 40px 20px;

    margin-top: 60px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #34495e,
            #2c3e50
        );

    color: #ecf0f1;

    font-size: .9rem;

    border-radius: 0 0 20px 20px;

    box-shadow:
        0 10px 30px rgba(44, 62, 80, 0.35);

    border-bottom:
        1px solid rgba(255,255,255,0.12);

}





/* ==============================
   Mobile
   ============================== */
@media(max-width:768px){
    .getStartedButton {

        width: auto;

        padding: 14px 24px;

    }

    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 15px 20px;
    }


    .navbar-right {
        display:flex;
        align-items:center;
        gap:10px;
        margin-left:auto;
    }


    .hamburger {
        display:flex;
    }


    nav {
        margin-left:auto;
    }


    .navbar .menu {

        position:absolute;
        top:70px;
        left:0;

        width:100%;

        background-color:#34495e;

        display:none;
        flex-direction:column;

        /* important */
        align-items:stretch;

    }


    .navbar .menu.active {
        display:flex;
    }


    .navbar .menu a {

        display:block;

        width:100%;

        padding:12px 20px;

        text-align:left;

        box-sizing:border-box;
    }
    .language-selector{
        margin-right:10px;
    }


}


.language-selector{
    position:relative;
    margin:0;
}
.play-button {
    position: fixed;
    right: 20px;
    /* Distance from the right */
    bottom: 100px;
    /* Distance from the bottom */
    background: #ff5722;
    /* Play button color */
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    z-index: 1000;
    /* Ensures the button is above other elements */
}

.play-button:hover {
    background: #e64a19;
    transform: scale(1.1);
    /* Slight zoom effect on hover */
}

/* Common styles for all fixed buttons */
.fixed-button {
    position: fixed;
    right: 20px;
    background: #ff5722;
    /* Default color (change per button) */
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    z-index: 1000;
}

/* Positioning */
.play-button {
    bottom: 400px;
}

.download-button{
     bottom: 100px;
     background: #28a745;
}

.github-button {
    bottom: 160px;
    background: #333;
}

/* GitHub Black */
.twitter-button {
    bottom: 220px;
    background: #1DA1F2;
}

/* Twitter Blue */
.facebook-button {
    bottom: 280px;
    background: #1877F2;
}

/* Facebook Blue */
.linkedin-button {
    bottom: 340px;
    background: #0077B5;
}

/* LinkedIn Blue */

/* Hover Effects */
.fixed-button:hover {
    transform: scale(1.1);
    opacity: 0.9;
}


/* Custom select dropdown styles */
select {
    background-color: #34495e;
    border: 1px solid #fff;
    color: white;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    width: 200px;
    cursor: pointer;
}

/* Option hover effect */
select option:hover {
    background-color: #2c3e50;
    color: white;
}

.example-output {
    margin-top: 20px;
}

.container {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;

    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;

    box-sizing: border-box;

    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    text-align: justify;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .container {
        grid-template-columns: 1fr;

        width: 100%;
        margin: 20px auto;
        padding: 15px;

        gap: 15px;
    }
}

header {
    text-align: center;
    padding: 20px 0;
}

h1,
h2,
h3 {
    color: #2c3e50;
}

pre {
    background: #282c34;
    color: #61dafb;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.documentation {
    padding: 20px;
}

.example-output {
    background-color: #fff !important;
    border: 1px #ccc solid;
    padding: 15px;
    border-radius: 5px;
    min-height: 50px;
    margin-top: 20px;
}
/* =========================================
   SIDEBAR
   ========================================= */

.sidebar {
    width: 100%;
    padding: 20px;
    background-color: #34495e;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.sidebar h3 {
    margin: 0 0 20px;
    font-size: 20px;
}

/* Documentation menu */
#dominator-documentation-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#dominator-documentation-menu li {
    margin: 15px 0;
}

#dominator-documentation-menu li a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.2s ease, background-color 0.2s ease;
}

#dominator-documentation-menu li a:hover {
    color: #3498db;
}


/* =========================================
   MOBILE MENU BUTTON
   ========================================= */

.sidebar-toggle {
    display: none;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .sidebar {
        padding: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Hide desktop title */
    .sidebar h3 {
        display: none;
    }

    /* Mobile menu button */
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 15px 18px;

        border: 0;
        background-color: #34495e;
        color: #fff;

        font-size: 16px;
        font-weight: 600;
        text-align: left;

        cursor: pointer;
    }

    .sidebar-toggle:hover {
        background-color: #2c3e50;
    }

    /* Arrow */
    .sidebar-arrow {
        font-size: 12px;
        transition: transform 0.2s ease;
    }

    /* Rotate arrow when menu is open */
    .sidebar-toggle.active .sidebar-arrow {
        transform: rotate(180deg);
    }

    /* Hide menu by default */
    #dominator-documentation-menu {
        display: none;
        margin: 0;
        padding: 0;
        background-color: #2c3e50;
    }

    /* Show menu */
    #dominator-documentation-menu.show {
        display: block;
    }

    /* Mobile menu items */
    #dominator-documentation-menu li {
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #dominator-documentation-menu li a {
        padding: 12px 18px;
        font-size: 15px;
    }

    #dominator-documentation-menu li a:hover {
        background-color: #34495e;
        color: #3498db;
    }
}

.content {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    background-color: #ecf0f1;
    padding: 20px;

    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    overflow-wrap: break-word;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .content {
        padding: 15px;
        border-radius: 6px;
    }
}

.footer-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-btn {
    padding: 10px 20px;
    background-color: #34495e;
    color: white;
    border: none;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 5px;
}

.pagination-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}

/* Basic styling for the scroll-to-top button */
.scroll-to-top-btn {
    position: fixed;
    font-weight: bold;
    bottom: 20px;
    /* Position it towards the bottom */
    right: 20px;
    /* Position it towards the right */
    background-color: #34495e;
    /* Button color */
    color: white;
    /* Text color */
    border: none;
    /* Remove default border */
    border-radius: 50%;
    /* Circular button */
    width: 30px;
    /* Set width */
    height: 30px;
    /* Set height */
    display: none;
    /* Hide by default */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    /* Pointer on hover */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    transition: all 0.3s ease;
    padding: 10px;
}

/* Hover effect to give some feedback when hovering over the button */
.scroll-to-top-btn:hover {
    background-color: #34495e;
    /* Change color on hover */
    transform: scale(1.1);
    /* Slightly enlarge the button */
}




/* Make the layout responsive for smaller screens */
@media (max-width: 768px) {
    

    .sidebar {
        margin-bottom: 20px;
        /* Space between the sidebar and content */
    }
}