html,
body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.header {
    background: #eee;
}

.header-top {
    max-width: 900px;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.header-top-title {
    font-size: 24px;
    font-weight: bold;
    flex-grow: 1;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.header-navbar {
    background: #131480;
    color: #fff;
}

.header-navbar-items {
    max-width: 900px;
    width: calc(100% - 20px);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.header-navbar-item {
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    position: relative;
    font-weight: bold;
}

.header-navbar-item::after {
    content: '';
    display: none;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fff;
    width: 30px;
    margin: 0 auto;
}

.header-navbar-item:hover::after {
    display: block;
}

.content {
    max-width: 900px;
    width: calc(100% - 20px);
    margin: 0 auto;
    padding: 20px 20px;
    box-sizing: border-box;
}

.button,
button {
    background-color: #131480;
    color: #fff;
    border: 0;
    border-radius: 3px;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color ease 0.3s;
    display: inline-block;
    cursor: pointer;
}

.button:hover,
button:hover {
    background-color: #7172b2;
}

input[type=text],
input[type=password] {
    border-bottom: 1px solid #131480;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 10px 20px;
    margin: 10px 0;
    background: #fff;
    color: #000;
}

.contract-header {
    background: #131480;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 3px;
    align-items: center;
}

.contract-header-title {
    flex-grow: 1;
    flex-shrink: 0;
}
