body, html {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, sans-serif;
    height: 100vh; /* Ensures the body takes up the full viewport height */
}

.nav-bar {
    background-color: #007BFF; /* Blue */
    padding: 20px 20px;
    height: 10vh; /* Adjust the height as necessary */
    display: flex;
    align-items: center;   
}

.titlebox {
    font-size: 3em;
    font-weight: bold;
    color: rgb(209, 180, 20);
    margin: auto;
}

.logo {
    height: 80%; /* Adjusts based on the nav-bar height */
}

main {
    display: flex;
    background-color: white;
    height: 80vh; /* Main content height */
}

.mainbox {
    width: 100%;
    margin-left: 20px;
    margin-top: 20px;
}

.left-column, .right-column {
    width: 50%; /* Each column takes half the width */
    padding: 20px;
    overflow: auto; /* Adds scroll if content exceeds the column height */
}

.footer-bar {
    background-color: #000000; /* Black */
    padding: 20px;
    height: 5vh; /* Footer height */
    color: white;
    text-align: center;
}

.buttons {
    margin-left: 200px;
    margin-top: 150px;
}

@media (max-width: 768px) {
    .left-column, .right-column {
        width: 100%; /* Each column takes full width on smaller screens */
    }

    main, .nav-bar, .footer-bar {
        height: auto; /* Adapts height automatically on smaller screens */
    }
}

h1 {
    color: #0044cc;
}

h2 {
    color: #0044cc;
}

textarea {
    width: 80%; /* This makes the textarea take the full width of its parent */
}

.nav-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.nav-button:hover {
    background-color: #0056b3;
}

/* Active state */
.nav-button:active {
    background-color: #004085;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #0044cc;
    border-radius: 20px;
    font-size: 1.5em;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

button:hover {
    background-color: #003399;
}

footer {
    text-align: center;
    background: #fff;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

td {
    display: table-cell;
    vertical-align: inherit;
    text-align: left;
    width: 10%;
}

th {
    text-align: left;
}

.disable-label {
    color: gray;
    cursor: not-allowed;
    opacity: 0.6;
}

.enable-label {
    color: black;
}
