/*General selectors*/
body{
    background-color: #161a1d;
    color: #d3d3d3;
    margin: 0px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

main{
    grid-row: 4 / 5;
    grid-column: 2 / -2;
}

footer{
    font-style: italic;
    text-align: center;
    grid-row: 7 / 8;
    grid-column: 2 / -2;
}

nav{
    background-color: #42424270;
    font-weight: bold;
    position:sticky;
    top:0;
    height: 50px;
    grid-row: 2 / 3;
    grid-column: 2 / -2;
}

caption{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style:italic;
}

h1{
    color:#ba181b;
    display: inline;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h2{
    color: #ba181b;
    font-size: 35px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    display:inline;
}

/*Descendant selectors*/

nav ul{
    list-style-type: none;
    display:flex;
    flex-flow:row nowrap;
    margin: 0px;
    padding: 0px;
}

nav ul li{
    width:100%;
    border-top: #0b090a70 solid 5px;
    border-bottom: #0b090a70 solid 5px;
    border-left: #0b090a70 solid 5px;
    
}

nav a{
    color: #d3d3d3;
    text-decoration: none;
    text-align: center;
    display: block;
    padding: 0.75rem 0rem;
}

#button a{
    text-decoration: none;
    font-weight: bold;
    color: #d3d3d3;
}

div.buttons ul{
    list-style: none;
}

/*Class selectors*/
.textbox{
    float: left;
    width: 45%;
    grid-row: 5 / 6;
    grid-column: 1 / 4;
}

.textboxright{
    float: right;
    width:50%;
    grid-row: 5 / 6;
    grid-column: 4 / 8;
}

.buttons{
    float: right;
    grid-row: 5 / 6;
    grid-column: 4 / 8;
}

/*PsuedoClass Selectors*/
nav a:hover{
    background-color: #e5383b;
}

#button:hover{
    background-color: #f5f3f4;
    color: #0b090a;
}

h1:last-of-type{
    display:block;
}

h2:last-of-type{
    display:block;
}

nav ul li:last-of-type{
    border-right: #0b090a70 solid 5px;
}

/*Id Selectors*/
#wrapper{
    display:grid;
    grid-auto-rows: auto;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#banner{
    background-color: #660708;
    height: 107px;
    grid-row: 1 / 2;
    grid-column: 1 / -1;
    background-image:url(logosmol.PNG);
    background-repeat: no-repeat;
    background-position: left;
}

#mask{
    background-color: #42424270;
    position: sticky;
    top:0;
    height:50px;
    grid-row: 2 / 3;
    grid-column: 1 / -1;
}

#landingimage{
    height:500px;
    background-image: url(mblandingpic.jpg);
    width:inherit;
    background-position: center;
    background-repeat: no-repeat;
    grid-row: 3 / 4;
    grid-column: 2 / -2;
}

#button{
    background-color: #a4161a;
    color: #d3d3d3;
    height:50px;
    width:200px;
    margin-top: 30px;
    text-align: center;
    text-decoration: none;
    padding-top: 35px;
}

#textstart{
    font-family: 'Yellowtail', cursive;
}

#indent{
    margin-left: 15px;
}

#landingmask{
    background-color: #161a1d90;
    height:500px;
    width:100%;
    grid-row: 3 / 4;
    grid-column: 2 / -2;
    text-align: center;
    font-size: 55px;
}