/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    display:inline-block;
    flex-wrap: wrap; /* Allow items to wrap */
    padding: 20px;
    padding-right: 50vw;
}

section {
    flex-basis: 100%; /* Full width initially */
    margin-bottom: 20px; /* Add space between sections */
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"],
button {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

button {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

ul {
    list-style-type: none;
    padding: 0;
}

main .display-section{
    float: right;
}

/* Media queries for responsiveness */
@media screen and (min-width: 768px) {
    main {
        flex-wrap: nowrap; /* Prevent items from wrapping */
    }

    section {
        flex-basis: 48%; /* Two sections side by side */
    }
}
