html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: block;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    background-image: linear-gradient(to top, rgba(0,0,0,0.5)50%, rgba(0,0,0,0.5)50%), url(1.png);
    background-repeat: no-repeat;
    background-size: cover;
    Background-attachment: fixed;
    Background-position: center;
    font-family: Consolas, monospace;
    margin: 40px;
    color: white;
    padding-top: 70px;

}

.top-row {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000;

    background-color: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease-in-out;
}

.top-row.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

h1 {
    margin: 0;
    font-size: 40px;
    white-space: nowrap;
    padding-bottom: 2px;

}

ul{
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;


}
ul li{
    list-style: none;
    margin-left: 0px;
    margin-top: 27px;
    font-size: 23px;
}

ul li a{
    text-decoration: none;
    color: white;
    font-family: Consolas, monospace;
    font-weight: bold;
    transition: text-shadow 0.2s ease-in-out;
    border-radius: 5px;
}

ul li a:hover {
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.7) ;
}

.center-container {
    justify-content: center;

}
.form-section {   /*Search box*/
    margin-left: 20px;
    margin-top: 80px;
    text-align: left;
    font-size: 36px;
}

#target, #additional_ports {
    font-size: 24px;
    padding: 12px 16px;
    width: 400px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: background-color 0.3s ease;
}

#target:focus, #additional_ports:focus {
    background-color: rgba(255, 255, 255, 1);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

label [for="target"] {
    font-size: 18px;
    margin-bottom: 5px;
    display: inline-block;
}

    form button {
        margin-left: 200px;
        margin: 80px 0 auto;
        text-align: left;
        display: block;
        padding: 15px 40px;
        font-size: 20px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        background: linear-gradient(90deg, #007BFF 0%, #00BFFF 100%);
        color: white;
        font-family: Consolas, monospace;
        transition: background 0.3s ease-in-out;

    }

    .ports-list {
        display: grid !important;
        grid-template-columns: repeat(4,auto);
        gap: 12px 24px;
        margin-left: 50PX;
        margin-top: 50px;
        padding-left: 0;
        width: fit-content;
        font-size: 23px;
        cursor: pointer;
    }

    .port-checkbox {
        white-space: nowrap;
        display: block;
    }

    .ports-list label {
        white-space: nowrap;
    }

    form {
        width: 50%;
        float: left;
        margin-left: 40px;
    }
    .results {
        position: absolute;
        float: right;
        margin-top: -320px;
        margin-right: 40px;
        right: 40px;
        width: 50%;
        top: 160px;
        max-width: 1000px;
        font-size: 18px;
        padding: 20px 20px 20px 30px;
        overflow: auto;
        border-radius: 10px;
        color: white;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .results + .results {
    top: 360px;
}

    .results table {
        width: 100%;
        min-width: 300px;
        border-collapse: collapse;
        color: white;
        font-size: 18px;
    }

    .results th, .results td {
        padding: 8px;
        text-align: left;
        border: 1px solid #ccc;
        vertical-align: top;
    }
    /* scanme.nmap.org*/