@font-face {
    font-family: "Bebas Neue";
    src: url(./fonts/BebasNeue-Regular.ttf);
}

.nav {
    background-color: bisque;
    display: flex;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 20px;
    padding: 20px 0px 20px 30px;
    box-sizing: border-box;
    height: auto;
    z-index: 1;
}

.nav h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    height: 30px;
}

.nav a {
    margin: auto 20px;
    padding: 10px;
    border: 2px black solid;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 15px;
    background-color:lightcyan;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

.body {
    text-align:left;
    margin: 0 auto;
    position: relative;
    top: 120px;
    width: 100%;
}

p {
    margin: 0px;
}

main {
    background-color:hsla(225, 70%, 80%, .4);
    font-family: Arial, Helvetica, sans-serif;
}

ul {
    list-style-position: inside;
}

ul li {
    text-align: left;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

table {
    width: 50%;
}  

table, td, th {
    border: 1px dashed black;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

footer {
    background-color: darkgray;
    color: blue;
    text-align: center;
}

.CSSScript {
    margin: 0;
    padding-top: 0;
}

.Indent {
    text-indent: 4em;
    margin: 0;
    padding-top: 0;
}

.BoxModelImage {
    background-image: url(media/BoxModelDiagram.png);
    background-size: contain;
    background-position: left;
    height: 250px;
    background-repeat: no-repeat;
}

.caption {
    opacity: 0.75;
    background-color: white;
    position:relative;
    top: 75%;
    left: 15px;
    width: 8%;
}

.MarginCollapseImage {
    background-image: url(media/MarginCollapse.png);
    background-size: contain;
    background-position: left;
    height: 250px;
    background-repeat: no-repeat;
}

.position {
    position: absolute;
    right: 30%;
}

.right {
    background-color: blue;
    position: fixed;
    top: 90px;
    right: 0px;
    width: 100px;
    height: 100px;
    z-index: 5;
}

/*--.relative {
    position: relative;
    top: 100px;
}--*/

footer {
    position: relative;
    z-index: 1;
    width: 100%;
    top: 180px;
}

h3 + p {
    padding-left: 50px;
}

.link {
    color: blue;
    text-decoration: underline;
}

.link:hover {
    color: brown;
}