@font-face {
    font-family: 'Hundred_Signature';
    src: url(../fonts/Hundred_Signature.ttf);
    font-weight: normal;
    font-style: normal;	
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: monospace;
    font-size: 16px;
    background-color: #333;
}

main {
    flex: 1;
    padding-top: 0;
}

header {
    margin: 1em;
    margin-bottom: 0em;
    padding: 0.2em;
    background-color: #111;
    border-radius: 6px;
}

footer {
    padding: 1em;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.logo {
    font-family: 'Hundred_Signature', sans-serif;
    font-size: 4em;
    text-decoration: none;
    color: #CCCCCC;
    padding: 0.2em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #FFF;
}

.navbar {
    float: right;
    margin-right: 1em;
    margin-top: 1em;
}

.navbar a {
    text-decoration: none;
    color: #CCCCCC;
    padding: 0.5em;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFF;
}

.menu-bar {
    display: flex;
    gap: 0em;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0;
}

.menu-box {
    background: #333;
    padding: 1em;
    border-radius: 6px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-box p {
    color: #CCCCCC;
    margin-bottom: 1em;
}

.menu-box a {
    text-decoration: none;
    color: #CCCCCC;
    padding: 0.5em;
    transition: color 0.3s ease;
}

.menu-box a:hover {
    color: #FFF;
}


.menu-label {
    font-weight: normal;
    color #FFF;
    text-align: center;
}

.menu-box:hover p {
    color: #FFF;
}

.menu-box input[type="text"] {
    opacity: 0;
    visibility: hidden;
    height: 40px;
    width: 100%;
    padding: 0.5em;
    border: none;
    border-radius: 4px;
    color: #eee;
    font-size: 1em;
    background-color: #222;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-box:hover input[type="text"],
.menu-box:focus-within input[type="text"] {
    opacity: 1;
    visibility: visible;
}

.menu-box:hover .search-button {
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 0 5px #888;
    background-color: #333;
    color: #888;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.search-form input[type="text"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    background-color: #222;
    color: #eee;
    font-size: 1em;
    font-family: inherit;
    line-height: 1.5;
    padding: 0.6em 1em;
    padding-right: 2.8em;
    width: 100%;
    border: none;
    border-radius: 6px;
    height: 2.8em;
}

.search-button {
    position: absolute;
    right: 0.3em;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #CCCCCC;
    padding: 0.3em 0.3em;
    border: none;
    border: 1px solid #888;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1em;
    line-height: 1;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.search-form:hover .search-button,
.search-form:focus-within .search-button {
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 0 5px #888;
    background-color: #222;
    color: #FFF;
}

.search-form input[type="text"]::placeholder {
    color: #888;
}

.search-form input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 5px #888;
    background-color: #111;
    color: #FFF;
}

.info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
    gap: 2em;
}

.info-label {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #fff;
}

p {
    color: #cccccc;
}

.whois-output {
    color: #cccccc;
    white-space: pre-wrap;
    font-family: monospace;
    text-align: justify;
    padding-left: 15px;
}

.ip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    padding: 2em 0;
}

.ip-box {
    background-color: #252525;
    color: #cccccc;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    max-width: 400px;
    flex: 1 1 300px;
}

.paywall-content {
    margin-top: 20px;
}

.page-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.info-container-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 0em;
}

.scan-result-box {
    background-color: #1a1a1a;
    padding: 1em;
    border-left: 3px solid #2a2a2a;
    font-family: monospace;
    font-size: 1em;
    white-space: pre-wrap;
    color: #ccc;
    margin-top: 1em;
    flex: 0 1 45%;
    min-height: 200px;
    max-width: 45%;
    width: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 6px;
    font-size: 14px;
}

.info-box {
    background-color: #1a1a1a;
    color: #ddd;
    padding: 1em;
    border-radius: 8px;
    box-sizing: border-box;
    flex: 0 0 45%;
    max-width: 45%;
    margin-left: 1em;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
}

.whois-result-box {
    background-color: #1a1a1a;
    padding: 1em;
    border-left: 3px solid #2a2a2a;
    font-family: monospace;
    font-size: 0.95em;
    white-space: pre-wrap;
    color: #ccc;
    margin-top: 1em;
    flex: 0 1 40%;  /* Allow the box to shrink and grow based on content */
    min-height: 200px;  /* Ensures it doesn't get too small */
    max-width: 40%;  /* Prevents it from growing too wide */
    width: auto;  /* Let the width adjust based on content */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 6px;
}

.navbar-uptime {
    font-size: 12px;
    color: #CCCCCC;
    padding: 0.5em;
    padding-left: 0px;
}
