body {
    font-family: montserrat, arial, verdana;
    background-color: #F4EBD3;
    padding: 0px;
}

#header {
    grid-area: header;
    display: grid;
    grid-template-areas: "head-nav"
                                                "title";
    width: 100%;
    height: auto;
    background-color: #98A1BC;
    color: #F4EBD3;
    border-radius: 15px;
}

#head-nav {
    grid-area: head-nav;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #555879;
    height: 5em;
    border-radius: 15px 15px 0 0;
}

#head-nav a {
    font-size: 14px;
    text-decoration: none;
    color: #F4EBD3;
    display: flex;
    flex-grow: 2;
    justify-content: space-around;
    padding: 5%;
}

#head-nav a:hover {
    text-decoration: underline;
    opacity: 0.5;
}

p {
    padding: 3%;
    text-align: center;
    margin: 1%;
}

#title {
    grid-area: title;
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 20px;
}

#main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    grid-template-areas: "wage-tax"
                                                "wage-info"
                                                "property-tax"
                                                "property-tax-info";
    justify-content: space-evenly;
    width: 100%;
    height: auto;
    padding-bottom: 2%;
}

#wage-tax, #property-tax {
    display: flex;
    justify-content: center;
    border-bottom: solid #98A1BC;
    color: #555879;
}

#wage-info, #property-tax-info {
    display: flex;
    justify-content: center;
    font-size: 16px;
}

.tax-form {
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 5%;
}

.title{
    display: grid;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
    color: #555879;
    font-size: 20px;
}

.form {
    display: grid;
    justify-content: center;
    align-items: center;
}

.submit {
    background-color: #98A1BC;
    color: #F4EBD3;
}

#property-tax-info {
    display: grid;
    grid-template-rows: 1fr 1fr;
    justify-items: center;
    align-items: center;
}

#footer {
    grid-area: footer;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 5px;
    row-gap: 2px;
    grid-template-areas:
                         "footer-nav footer-nav";

    height: auto;
    width: 100%;
    margin: 0;
    background-color: #98A1BC;
    color: #F4EBD3;
    border-radius: 15px;
  }

  #footer-nav {
        grid-area: footer-nav;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: #555879;
        height: 5em;
        border-radius: 0 0 15px 15px;
    }

    #footer-nav > ul.icons {
        display: flex;
        list-style: none;
        flex-grow: 1;
        justify-content: space-around;
    }

    #footer-nav a {
        text-decoration: none;
        color: #F4EBD3;
        display: flex;
        flex-grow: 2;
        justify-content: space-around;
        padding: 2%;
    }

    #footer-nav a:hover {
        text-decoration: underline;
        opacity: 0.5;
    }







    @media all and (max-width: 600px) {
        body {
            grid-template-areas: "header"
                                                        "main"
                                                        "footer";
            grid-template-rows: 1fr;
        }
        .link-title {
            display: none;
        }
        #header {
                grid-template-columns: 1fr;
                grid-template-rows: 2em;
                rid-template-areas: "head-nav"
                                                        "title"
                                                        "main";
            }
            #title {
                text-align: center;
                margin: 5%;
            }
            #main {
                    column-gap: 10px;
                    grid-template-columns: 1fr;
                    justify-content: center;
                   text-align: center;
                }
            #footer {
                grid-template-areas: "footer-nav";
                grid-template-columns: 1fr;
                row-gap: 20px;
                justify-content: center;
                text-align: center;
            }
        }