/* General styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('bg.jpg');
    background-size: cover;
    background-repeat: repeat;

    padding-top: 80px;
}

.hidden {
    display: none;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 60px;
}

/* Main content styles */
.data-container {
    text-align: center;
    border-radius: 15px;

    background-color: rgba(247, 244, 244, 0.8);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);

    padding: 20px;
}

.data-container h2 {
    text-align: center;
}

#get-info {
    padding: 10px 20px;
    background-color: #121111;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

#get-info:hover {
    background-color: #128a3c;
}

/*Table Styling*/
.results-container {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);

    padding: 20px;
    margin: 40px;
}

.results-container h2 {
    text-align: center;
    color: #fff;
}

table {
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1.5px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(odd) {
    background-color: rgba(255, 241, 200, 0.8);;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:nth-child():hover {
    background-color: #ddd;
}

button {
    font-size: 1.2rem;
    padding: 10px 20px;
    background-color: #121111;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10px;
    margin-right: 10px;
}

button:hover {
    background-color: #373737;
}

/* NAVIGATION BAR */
nav {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: large;

    /* Position the navigation bar at the top of the page */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: background-color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #333;
}

/* Hide the menu toggle button initially */
.menu-toggle {
    display: none;
    font-size: 1.2em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 5px;
    
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #333;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.92);

        position: absolute;
    }

    .nav-links a {
        margin: 10px 0;
        text-align: left;
    }

    .menu-toggle {
        display: block;
        margin-right: 20px;
    }

    .results-container {
        flex-direction: column;
        align-items: center;
        width: 100%;

        margin: 20px;
        padding: 20px;
    }
}