/* General Styles */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    background: #0d0d0d;
}

/* Background Effect */
.background {
    flex: 1;
    position: relative;
    width: 100%;
    background: url('https://www.transparenttextures.com/patterns/black-paper.png'), linear-gradient(to bottom, #0d0d0d, #111);
    background-size: cover;
    background-attachment: fixed;
}

/* Navbar Styles */
.navbar {
    background: #000;
    color: #00ff00;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Dropdown Button */
.hacker-button {
    background: #333;
    color: #00ff00;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Positions the dropdown below the button */
    left: 0;
    background-color: #222;
    border: 2px solid #00ff00;
    border-radius: 5px;
    min-width: 160px; /* Minimum width of the dropdown */
    z-index: 1;
    padding: 10px;
    box-sizing: border-box;
}

/* Dropdown Content Items */
.dropdown-content li {
    list-style: none;
    padding: 10px;
    text-align: left;
}

.dropdown-content li a {
    color: #00ff00;
    text-decoration: none;
}

.dropdown-content li a:hover {
    text-decoration: underline;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensure Dropdown Fits within Viewport */
.dropdown-content {
    left: 0; /* Default positioning from the left edge of the button */
}

.dropdown:hover .dropdown-content {
    display: block;
    left: 0; /* Adjust this as needed */
}

/* Adjust dropdown position if it goes off-screen */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: calc(50% - 5px); /* Center the arrow */
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #222 transparent;
}

/* If dropdown extends beyond viewport edges, shift it horizontally */
.dropdown-content {
    transform: translateX(calc(-50% + 10px)); /* Adjust for edge fitting */
}

.dropdown:hover .dropdown-content {
    transform: translateX(calc(-50% + 10px)); /* Keeps dropdown within viewport */
}

/* Install Link Styles */
.install-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #00ff00;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.install-link:hover {
    background-color: #111;
    color: #00ff00;
    border: 1px solid #00ff00;
}


/* Other Navbar Styles */
/* Your existing navbar CSS code */

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

/* Exploit Tools Section Styles */
.exploit-tools-section {
    background-color: #111;
    color: #00ff00;
    padding: 20px;
    border: 1px solid #00ff00;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
}

.exploit-tools-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 5px;
    text-align: center;
}

.exploit-tools-section p {
    margin-bottom: 20px;
    text-align: center;
}

.exploit-tools-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.exploit-tools-list li {
    margin-bottom: 20px;
}

.exploit-tools-list h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #00ff00;
}

.exploit-tools-list p {
    margin: 0;
    font-size: 14px;
    color: #00ff00;
}

/* Footer Styles */
.footer {
    background-color: #111;
    padding: 10px 20px;
    text-align: center;
    border-top: 2px solid #00ff00;
}

.footer-content p {
    margin: 5px 0;
    color: #00ff00;
}

.footer-links a {
    color: #00ff00;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Other Footer Styles */
/* Your existing footer CSS code */
