body {
    background-color: #9F80A7;
    margin: 0;
}

@font-face {
    font-family: Nokia;
    src: url(../resource/nokiafc22.ttf);
  }

#content {
    background-color: white;
    width: 800px;
    margin-right: auto;
    margin-left: auto;
    font: 16px Nokia, "DotGothic16", Futura, sans-serif;
    display: flex;
    flex-direction: column;
    border-right: solid 4px #6b3977;
    border-left: solid 4px #6b3977;
    border-bottom: solid 4px #6b3977;
}

.width-800 {
    width: 800px;
}

.center-me {
    text-align: center;
}

.hide-me {
    display: none !important;
}

#navigation {
    height: 36px;
    width: 100%;
    background-color: #6b3977;
    font-size: 16px;
}

#header {
    height: 128px;
    background-color: #6b3977;
    overflow: hidden;
    position: relative;
    border-bottom: solid white 1px;
}

.full-width {
    width: 100%;
}

#navigation > * .dropdown {
    margin-top: 0px;
    width: 200px;
    margin-left: 16px;
}

.interact > a {
    display: flex;
    justify-content: left;
    align-items: center;
}

#body {
    padding: 16px;
    height: 100%;
}

#footer {
    clear:both;
    text-align: center;
    border-top: dotted 2px #6b3977;
    padding-top: 16px;
    margin-top:16px;
}

#middle-gear {
    position: absolute;
    top: -68px;  
    left: 198px;
    width: 404px;
    height: 404px;
    animation-name: rrotate;
    animation-duration: 85s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes lrotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes lrotate1 {
    100% {
        transform: rotate(371deg);
    }
}

@keyframes rrotate {
    100% {
        transform: rotate(-360deg);
    }
}

#left-gear {
    position: absolute;
    top: -216px;  
    left: -50px;
    animation-name: lrotate;
}

#right-gear {
    position: absolute;
    top: -216px;  
    right: -58px;
    transform: rotate(11deg);
    animation-name: lrotate1;
}

.side-gear {
    width: 330px;
    height: 330px;
    animation-duration: 85s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

}

.stretch {
    width: 100%;
    height: 100%;
}

#navigation li > a {
    text-decoration: none;
}

nav {
    font-family: monospace;
    width: 100%;
    display: block;
}

#navigation > * .navi-btn {
    height: 36px;
    padding: 0 10px;
    align-content: center;
}

#navigation > ul, #navigation > * ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

#navigation > * li {
    color: #fff;
    background: #6b3977;
    display: block;
    float: left;
    padding: 10px;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
}

#navigation > * .dropdown > .interact { 
    padding: 0px;
}

#navigation > * .dropdown > .interact a { 
    padding: 10px;
}

#navigation > * li a {
    color: #fff;
}

#navigation > * li.interact:hover {
    background: #9F80A7;
    cursor: pointer;
}

.float-right {
    float: right;
}

.half-size {
    width: 50%;
}

#navigation ul li ul {
    background: #6b3977;
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    top: 36px;
    left: 0px;
    display: none;
}

#navigation ul li:hover>ul,
#navigation ul li:focus-within>ul,
/* this is the line we add */
#navigation ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

#navigation  ul li ul li {
    clear: both;
    width: 100%;
}

.banner { 
    background-color: #6b3977;
    color: white;
    width: 750px;
    padding: 10px;
}

#article-title{
    max-width: 400px;
  text-overflow: ellipsis;
  overflow:
hidden;
  text-wrap:
nowrap;
}

textarea.form-me {
    width: 100%;
    height: 5em;
    resize: none;
}