@font-face {
    font-family: Helvetica, Arial;
}

body {
    background: linear-gradient(to right, #b7cd19, #fecf00, #d6221d);
    font-family: Helvetica, Arial;
    color: black;
}

a {
    color: #33a009;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #99ff00;
}

header {
    background: linear-gradient(to right, #b7cd19, #fecf00, #d6221d);
    background-attachment: fixed;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: -7px;
    width: calc(100% + 15px);
    margin-top: -8px;
}

#title {
    background: linear-gradient(to right, rgba(255, 255, 255, 0),  rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    padding-top: 15px;
    padding-bottom: 15px;
}

#logo {
    width: 230px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    margin-top: 90px;
    left: 40%;
    position: absolute;
}

nav {
    background-color: white;
    padding-top: 0px;
    padding-bottom: 0px;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
}

nav ul li {
    text-align: center;
    flex-grow: 1;
}

.menu-item {
    color: black;
    text-decoration: none;
    display: block;
    margin: 0px;
    padding-top: 15px;
    padding-bottom: 10px;
}

.menu-item:hover {
    color: black;
    background-color: #aec908;
}

#subnav-content {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

.sub-item {
    flex-grow: 1;
    padding-top: 15px;
    padding-bottom: 10px;
    color: black;
}

.sub-item:hover {
    color: black;
    background-color: #ffed02;
}

#subnav:hover #subnav-content {
    display: flex;
}


#subnav:hover {
    background-color: #aec908;
}

h2 {
    padding-left: 20px;
}

h2::before {
    display: block;
    content: "";
    height: 160px;
    margin-top: -160px;
}

.topics {
    padding-left: 30px;
    padding-right: 30px;
}

#content {
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    padding-left: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

#content dl {
    margin-top: 30px;
    margin-bottom: 30px;
}

#content dt {
    margin-top: 15px;
    font-weight: bold;
}

#content dd {
    margin-top: 10px;
}

footer {
    width: calc(100% + 15px);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    color: black;
    margin-top: 20px;
    margin-bottom: -16px;
    margin-left: -7px;
}
