/* CIT 230 - Assignment Portal CSS Template */
/* You may use #HEX or color names */

/* * is a wildcard referring to all elements. */
* { margin: 0; box-sizing: border-box; } 

body { 
    font-size: 16px; 
    line-height: 32px;
    font-family: Courier New, sans-serif;
    color: rgb(21, 60, 73);
}

h1 {
    font-size: 2em;
    font-family: Garamond, serif;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    border-bottom: 1px solid #bbb;
    text-align: center;
}

h3 {
    font-size: .9em;
    text-align: center;
    color: white;
    font-family: 'Courier New', monospace;
    font-style: italic;
}

h4 {
    border-bottom: 1px solid #bbb;
    text-align: center;
}

header, main, footer, h4 {
    margin: 1.25em auto;
    padding: .5rem;
    max-width: 75%;
}

li {
    color: black;
}

header, footer, footer a {
    text-align: center;
    background-color: rgb(21, 60, 73);
    color: whitesmoke;
}

.style1 {
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #bbb;
    padding: 5px;
    background-color: #eee;
    line-height: 1.5em;
}

footer {
    font-size: .95em;
}

nav {
    width: 800px;
    margin: 0 auto;
}
nav li{
    float: left;
}

nav ul {
    list-style-type: none;
    display: inline-block;
    overflow: hidden;
}

nav a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
 
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.marquee {
    height: 50px;	
    overflow: hidden;
    position: relative;
}

.marquee h5 {
    font-size: 1.5em;
    color: rgb(21, 60, 73);
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 30px;
    text-align: center;
    /* Starting position */
    -moz-transform:translateX(100%);
    -webkit-transform:translateX(100%);	
    transform:translateX(100%);
    /* Apply animation to this element */	
    -moz-animation: marquee 15s linear infinite;
    -webkit-animation: marquee 15s linear infinite;
    animation: marquee 15s linear infinite;
   }
   /* Move it (define the animation) */
   @-moz-keyframes marquee {
    0%   { -moz-transform: translateX(100%); }
    100% { -moz-transform: translateX(-100%); }
   }
   @-webkit-keyframes marquee {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); }
   }
   @keyframes marquee {
    0%   { 
   transform: translateX(100%); 		
    }
    100% { 
   
    transform: translateX(-100%); 
    }
}