* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px;

    background: #f5f5f5;

    font-family: Arial, sans-serif;
    font-size: 13px;
}

.layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* Nav rect */
.nav-header {
    color: #aaa;

    padding-left: 2px;
    padding-bottom: 8px;

    font-size: 15px;
}

.navigation {
    width: 200px;

    padding: 8px;

    background: #1e1e1e;
    border: 1px solid #333;

    border-radius: 2px;
}

.navigation a {
    display: block;

    padding: 6px 8px;

    color: #aaa;
    text-decoration: none;

    font-size: 12px;

    border-radius: 2px;
}

.navigation a:hover {
    background: #2d2d2d;
    color: white;
}

.navigation a.active {
    background: #333;
    color: white;
}

/* Separator */

.navigation hr {
    border: 0;
    border-top: 1px solid #3a3a3a;

    margin: 8px 0;
}

/* Main content */

.content {
    flex: 1;

    max-width: 900px;

    background: white;

    border: 1px solid #ddd;
    border-radius: 2px;

    padding: 30px;
}


.parameters {
    margin-top: 25px;
    padding: 16px;

    border: 1px solid #ddd;
    background: #fafafa;

    border-radius: 2px;
}

.parameters h2,
.response h2 {
    font-size: 13px;
    margin-top: 0;
}

.parameter {
    margin-bottom: 12px;
}

.parameter label {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
    color: #555;
}

.parameter input {
    width: 300px;

    padding: 7px;

    border: 1px solid #ccc;
    border-radius: 2px;

    font-family: monospace;
    font-size: 12px;
}

#send-request {
    padding: 7px 12px;

    border: 1px solid #444;
    border-radius: 2px;

    background: #222;
    color: white;

    font-size: 12px;

    cursor: pointer;
}

#send-request:hover {
    background: #444;
}

.response {
    margin-top: 25px;
}

.response pre {
    padding: 15px;

    background: #1e1e1e;
    color: #ddd;

    overflow-x: auto;

    font-size: 12px;
}

/* Download Button */

.response {
    position: relative;
}

.download-button {
    position: absolute;
    top: 12px;
    right: 12px;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.15s ease;
}

.response:hover .download-button {
    opacity: 1;
    pointer-events: auto;
}