body {
    display: grid;
    grid-template-rows: minmax(230px,auto) minmax(38px, auto) 1fr 50px;
    grid-template-areas: "header" "nav" "main" "footer";
    font:18px arial,sans-serif;
    margin: 0px 0px;
    background-color: rgba(10, 127, 40, 1);
    height: 100%;
}
header{
    grid-area: header;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: url("/style/headerbg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-bottom: 0px;
}			

    .logo{
        margin: 5px auto 5px auto;
        max-width: 320px;
        height: auto;
    }
    header p{
        display:flex;
        flex-direction: column;
        justify-content: flex-end;
        font-weight: bold; 
        color:yellow; 
        text-shadow: black 0.1em 0.1em 0.2em;
        margin: 0px auto 3px auto;
        text-align: center;
        
    }

nav{
    display: flex;
    grid-area:nav;
    flex-direction: column;
    border-top: 3px solid red;
    border-bottom: 3px solid red;
    border-left: none;
    border-right: none;
    width: 100%;
    overflow: none;
    
}

    nav ul {

        list-style: none;
        text-decoration: none;
        display: flex;
        flex-direction: row;
        height: auto;
        margin: 0px;
        align-content: center;
        max-width: 100%;
    }
    nav ul li{
        display: flex;
        flex-direction: row;
        justify-content: left;
    }
    nav ul li a{
        display: block;
        float: left;
        padding: 5px 10px;
        text-align: center;
        list-style: none;
        text-decoration: none;
        justify-content: space-evenly;
        color: rgba(219, 230, 20, 1);
    }
    nav ul li a:hover{
        background-color: rgba(7,80,25,1);
    }
    nav ul li a.active{
        color: rgba(219, 230, 20, 1);
        background-color: rgba(7,80,25,1);
    }
    nav ul li a:visited{
        color: rgba(219, 230, 20, 1);
    }

    nav a{
        display: block;
        float: left;
        padding: 5px 10px;
        text-decoration: none;
        font-size: 18px;
        justify-content: space-evenly;
        color: rgba(219, 230, 20, 1);
    }

    input[type="submit"]{
        background-color: red;
        color: white;
        border-radius: 10px;
        height: 40px;
        width:70px;
        font-size: 18px;
        border: none;
    }

@media (max-width: 950px){
    .menu{
        display: none;
    }
}
#menu{
    display:flex;
    flex-direction:column;
    margin-left: auto;
    margin-right:auto;
}

#menuicon{
    display: block;
    color: rgba(219, 230, 20, 1);
    margin-left: 10px;
}
#menuicon a:active{
    display: block;
    color: rgba(219, 230, 20, 1);
        
}
.contact{
    margin-left: auto;
}
#contact{
    margin-left: 0;
}

main{
    grid-area: main;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

footer{
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 11px;
    margin-bottom: 5px;
}
footer a{
    display:flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
}

.sticky{
    position: fixed;
    top: 0;
    padding-top: 10px;
}

#specialcontainer{
    display: flex;
    flex-flow: column;
    border-radius: 15px;
    justify-content: space-around;
    background-color: rgba(0,0,0,.3);
    width: 100%;
}

table.textbox { 
    background:	url("style/textbg.png");
    text-align: right;
    }
p.textbox {color: white;}


a.link {font:15px arial,sans-serif; color: yellow;}
a.link:link {
            text-decoration: none;
            display: block;
            width: 100%;
            height: 100%;
            }
a.link:hover {
            font: 15px arial,sans-serif; color: yellow;
            color: yellow;
            display: block;
            width: 100%;
            height: 100%;
            background: url("style/textbg.png");
            }
a.link:active 	{
            font: 15px arial,sans-serif; color: green;
            color: yellow;
            display: block;
            width: 100%;
            height: 100%;
            background: url("style/textbg.png");
            }
            

a.header{font: 22px arial,sans-serif; font-weight: bold; }
