/* General Styles */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00; /* Green text */
    background-color: #000; /* Black background */
}

/* 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;
}

/* Dropdown Button */
.hacker-button {
    background: #333;
    color: #00ff00;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

/* Navbar Styles */
.navbar {
    background-color: #000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #00ff00;
}

.navbar .brand {
    font-size: 24px;
    font-weight: bold;
    color: #00ff00;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #00ff00;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff; /* White hover effect */
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    padding: 20px;
    overflow: auto; /* Ensure scroll if content overflows */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Container for .info-box and .ddos-section */
.container {
    display: flex;
    gap: 20px; /* Adds space between the two boxes */
    width: 100%;
    margin: 0 auto; /* Center the container horizontally */
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
    padding: 20px 0; /* Adds vertical padding to the container */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Info Box Styles */
.info-box {
    max-width: 800px;
    flex: 1 1 calc(33.33% - 20px); /* Flex-grow, flex-shrink, and flex-basis with margin adjustment */
    background-color: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 20px; /* Space above the info box */
    margin-left: 40px; /* Space to the left of the info box */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    width: 100%;
    font-family: 'Orbitron', sans-serif; /* Futuristic font */
    color: #00ff00; /* Green color for text */
}

/* Info Box Heading Styles */
.info-box h3 {
    color: #ff4500; /* Orange color for headings */
    font-size: 20px;
    margin-bottom: 10px;
}

/* Info Box Paragraph Styles */
.info-box p {
    color: #00ff00; /* Green color for paragraph text */
    font-size: 16px;
}


/* DDoS Attack Section */
.ddos-section {
    max-width: 400px;
    flex: 1 1 calc(66.67% - 20px); /* Flex-grow, flex-shrink, and flex-basis with margin adjustment */
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
    margin-top: 20px; /* Space above the attack section */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    width: 100%;
}

.ddos-section h1 {
    color: #00ff00;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    color: red; /* Red color for label text */
    font-family: 'Press Start 2P', cursive; /* Hacker-style font */
    margin-bottom: 5px;
}

.input-group input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ff00;
    background-color: #000;
    color: red; /* Red color for text inside input fields */
    margin-bottom: 10px;
    font-family: 'Press Start 2P', cursive; /* Hacker-style font */
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #000;
    color: red; /* Red color for text inside select box */
    border: 1px solid #00ff00;
    border-radius: 5px;
    appearance: none;
    font-family: 'Press Start 2P', cursive; /* Hacker-style font */
}

/* Attack Plan Details */
.attack-details {
    margin-bottom: 20px;
}

.attack-details h2 {
    color: #00ff00;
    margin-bottom: 10px;
}

.attack-details ul {
    list-style-type: none;
    padding-left: 0;
}

.attack-details ul li {
    color: #00ff00;
    font-size: 14px;
    margin-bottom: 5px;
}

.attack-details ul li strong {
    color: #ff4500; /* Orange for emphasis */
}

.execute-button {
    background-color: #00ff00;
    color: #000;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
    transition: background-color 0.3s ease;
}

.execute-button:hover {
    background-color: #006400; /* Dark green hover effect */
}

/* Output and Countdown Display */
.output {
    color: #ff4500; /* Orange text for output */
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}

.countdown-display {
    color: #00ff00;
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #00ff00;
    color: #00ff00;
    width: 100%; /* Ensure it spans the full width */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    position: relative; /* Allow it to be positioned properly */
    margin-top: auto; /* Push the footer to the bottom */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .info-box, .ddos-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .info-box {
        flex: 1 1 100%;
    }

    .ddos-section {
        flex: 1 1 100%;
    }
}
