* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
body {
    font-family: montserrat;
}
p {
    font-family: montserrat, sans-serif;
    font-weight: bold;
    font-size: 2.8rem;
    background-color: #358139; 
    color: #FFFFFF;
    text-shadow: 1px 1px 1px #000000;
    width: 100%;
    padding: 20px 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
img {
    text-align: center;
    vertical-align: top;
    max-width: 100%;
    border: 0;
    height: auto;
    width: auto;
}
nav {
    background: #223423;
    height: 60px;
    width: 100%;
}
nav ul {
    text-align: center;
    margin-right: 20px;
}
nav ul li {
    display: inline-block;
    line-height: 60px;
    margin: 0 auto;
}
nav ul li a {
    color:  #FFFFFF;
    font-size: 18px;
    padding: 5px 20px;
    border-radius: 3px;
    text-transform: uppercase;
}
a.active, a:hover {
    background: #358139;
    transition: .5s;
}
.checkbtn {
    font-size: 20px;
    color: #FFFFFF;
    float: right;
    line-height: 40px;
    margin-right: 20px;
    cursor: pointer;
    display: none;
}
#check {
    display: none;
}
.bodycontent {
    background: #FFFFFF;
    font-size: 1em;
    padding: 30px 0;
    width: 922px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow: hidden;
}
.header {
    font-size: 40px;
    font-weight: bold;
}
.pageheader {
    font-size: 50px;
    font-weight: bold;
    text-decoration: underline;
}
.subheader {
    font-size: 26px;
    font-weight: bold;
}
.smalltext {
    font-size: 20px;
    font-weight: bold;
}
.abouttext {
    font-size: 20px;
    font-weight: bold;
    text-align: justify;
}
.introtext {
    font-size: 20px;
    font-weight: bold;
    text-align: justify;
}
.titletext {
    font-size: 24px;
    font-weight: bold;
    text-decoration: underline;
}
.nametext {
    font-size: 22px;
    font-weight: bold;
}
.copyrighttext {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #223423;
    color: #FFFFFF;
    padding: 20px 0 20px 0;
}
.links {
    font-size: 26px;
    font-weight: bold;
    text-decoration: underline;
    padding: 3px 0;
}
.links a {
    color: #358139;
}
.links a:hover {
    color: #000000;
    background:  #FFFFFF;
}
.otherlinks {
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
    padding: 0;
}
.otherlinks a {
    color: #358139;
}
.otherlinks a:hover {
    color: #000000;
    background:  #FFFFFF;
}
textarea {
    border: solid 4px rgb(0,128,0);
}
input[type="text"] {
    border: solid 4px rgb(0,128,0);
}
input[type="submit"] {
    border-radius: 5px;
    border: 0;
    width: 80px;
    height: 25px;
    color: #FFFFFF;
    font-family: sans-serif;
    font-weight: bold;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgb(0,128,0);
}
.footer {
    font-family: sans-serif;
    font-size: 0.6rem;
    background-color: #358139; 
    color: #FFFFFF;
    width: 100%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 1000px) {
    p {
        font-family: montserrat, sans-serif;
        font-size: 1.1rem;
        background-color: #358139; 
        color: #FFFFFF;
        width: 100%;
        padding: 20px 0;
        letter-spacing: -1px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
     }    
    .checkbtn {
        display: block;
    }
    nav {
        background: #223423;
        height: 40px;
        width: 100%;
    }
    nav ul {
        position: absolute;
        width: 100%;
        height: 320px;
        background: #223423;
        top: 100px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li {
        display: block;
        margin: 20px;
        line-height: 20px;
    }
    nav ul li a {
        font-size: 18px;
    }
    a:hover,a.active {
        background: none;
        color: #358139;
    }
    #check:checked ~ ul {
        left: 0;
    }
    .bodycontent {
        background: #FFFFFF;
        padding: 20px 5px;
        font-size: 0.8em;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        overflow: hidden;
    }
    .header {
        font-size: 24px;
        font-weight: bold;
    }
    .pageheader {
        font-size: 36px;
        font-weight: bold;
        text-decoration: underline;
    }
    .subheader {
        font-size: 18px;
        font-weight: bold;
    }
    .smalltext {
        font-size: 14px;
        font-weight: bold;
    }
    .abouttext{
        font-size: 14px;
        font-weight: bold;
        text-align: justify;
    }
    .introtext {
        font-size: 14px;
        font-weight: bold;
        text-align: justify;
    }
    .titletext {
        font-size: 18px;
        font-weight: bold;
        text-decoration: underline;
    }
    .nametext {
        font-size: 16px;
        font-weight: bold;
    }
    .links {
        font-size: 18px;
        font-weight: bold;
        text-decoration: underline;
        padding: 3px 0;
    }
    .otherlinks {
        font-size: 14px;
        font-weight: bold;
        text-decoration: underline;
        padding: 0;
    }
    .copyrighttext {
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        background: #223423;
        color: #FFFFFF;
        padding: 10px 0 10px 0;
    }
    .footer {
        font-family: sans-serif;
        font-size: 0.4rem;
        background-color: #358139; 
        color: #FFFFFF;
        width: 100%;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}