body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #e0f7fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #0288d1;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    font-size: 1.2rem;
    font-family: monospace;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 2rem;
    flex: 1;
}

h2 {
    color: #0288d1;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #0288d1;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.social-media a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

html {
    scroll-behavior: smooth;
}

.blog-content {
    display: none;
    padding: 1rem;
}

.blog-post button {
    background-color: #0288d1;
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-box {
    background: #0288d1;
    color: #fff;
    padding: 1rem;
    border-radius: 7px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.level {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.beginner {
    color: #ffeb3b;
}

.intermediate {
    color: #ff9800;
}

.advanced {
    color: #f44336;
}

@media (max-width: 768px) {
    nav ul {
        text-align: center;
        flex-wrap: wrap;
    }

    nav ul li {
        display: block;
        margin: 0.5rem;
    }

    .blog-post button {
        font-size: 1rem;
    }

    .skill-box {
        width: 100%;
    }
}

.filter-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.filter-buttons button {
    background-color: #0288d1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 20px; 
    margin: 0 5px; 
}

.filter-buttons button:hover {
    background-color: #0277bd;
}

.filter-buttons .active {
    background-color: #026aa7;
}

#searchBar {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    border: 1px solid #0288d1;
    border-radius: 5px;
}

#cheatSheetList {
    list-style-type: none;
    padding: 0;
}

#cheatSheetList li {
    margin: 10px 0;
}

#cheatSheetList li a {
    text-decoration: none;
    color: #0288d1;
}

#cheatSheetList li a:hover {
    text-decoration: underline;
}

p code {
    display: inline-block;
    background-color: #1e1e1e; 
    color: #c5c8c6;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px 10px 10px 65px; 
    position: relative;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    width: auto; 
    margin-left: 20px; 
    margin-right: 20px;
}

p code::before {
    content: "➜"; 
    color: #00ff00; 
    position: absolute;
    top: 10px;
    left: 15px; 
    white-space: nowrap; 
}

p code::after {
    content: "~"; 
    color: #00ffff; 
    position: absolute;
    top: 10px;
    left: 35px; 
    white-space: nowrap;
}

pre {
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e; 
    color: #c5c8c6; 
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px 20px; 
    overflow-x: auto; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin-bottom: 20px; 
    margin-left: 20px;
    margin-right: 20px; 
}

code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e; 
    color: #c5c8c6; 
    padding: 2px 4px;
    border-radius: 3px;
}

pre code .keyword { color: #d73a49; font-weight: bold; }
pre code .string { color: #6a8759; }
pre code .comment { color: #5f5a60; font-style: italic; }
pre code .number { color: #6897bb; }
pre code .operator { color: #d73a49; }

pre.dark-theme {
    background-color: #2d2d2d;
    color: #cccccc;
    border-color: #555555;
}

pre.dark-theme code {
    background-color: #2d2d2d;
    color: #cccccc;
}

pre.dark-theme code .keyword { color: #f92672; }
pre.dark-theme code .string { color: #a6e22e; }
pre.dark-theme code .comment { color: #75715e; }
pre.dark-theme code .number { color: #ae81ff; }
pre.dark-theme code .operator { color: #f92672; }

form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form input[type="text"], form select {
    padding: 10px;
    border: 1px solid #0288d1;
    border-radius: 20px;
    width: 150px;
    font-size: 1rem;
}

code {
    display: block;
    padding: 10px;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

code:hover {
    background-color: #111111;
}

code.copied {
    background-color: #111111; 
}

.reverse-shells-section h2 {
    margin-bottom: 5px;
}

.reverse-shells-section p {
    margin-top: 5px;
    margin-bottom: 20px;
}
