/*global styling*/
body {
    color: antiquewhite;
    background-color: black;
    margin: 20px;
    text-align: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    min-width: 700px;
}

/*header styling*/
.header {
    background-color: rgb(20, 20, 20);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin-left: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
}

/*main styling*/
.more_info, .label, .key, .year {
    color:rgb(10, 136, 179);
}

.search {
    margin: 10px;
    padding: 10px;
}

.section {
    background-color: rgb(40, 40, 40);
    border-radius: 10px;
    padding: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.profile_info {
    display: flex;
    justify-content: space-between;
}

input[type="text"], input[type="email"], input[type="password"] {
    margin: 10px;
    width: 80%;
    border: none;
    border-radius: 10px;
    padding: 10px
}

input[name="submit"] {
    margin: 10px;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

input[name="sort"] {
    border: none;
    color:antiquewhite;
    background-color:rgb(30, 30, 30);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

input[name="submit"]:hover {
    background-color: antiquewhite;
}

input[name="sort"]:hover {
    background-color: rgb(20, 20, 20);
}

button[name="submit"] {
    border: none;
    color:antiquewhite;
    background-color:rgb(30, 30, 30);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[name="submit"]:hover {
    background-color: rgb(20, 20, 20);
}

table {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    table-layout: fixed;
}

td {
    border-style: none;
    border-radius: 5px;
    padding: 5px;
}

tr:nth-child(even) {
    background-color: rgb(20, 20, 20);
}

tr:nth-child(odd) {
    background-color: rgb(30, 30, 30);
}

.label {
    width: 40%;
}

.value {
    width: 60%;
}

.key {
    width: 30%;
}

.company_nav {
    display: flex;
    justify-content: space-evenly;
}

/*footer styling*/
footer {
    margin-top: 40px;
    margin-bottom: 40px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    margin: 10px;
    color: antiquewhite;
    transition: .2s ease;
    text-decoration: none;
}

.socials:hover {
    color: white;
    text-decoration: solid;
}