#top{
    margin-top: 4em;
    font-size: x-large;
}
#top-text{
    padding-left: 3em;
    padding-right: 3em;
}
#top-image-container{
    margin-top: 1em;
}

#next-steps{
    padding-top: 1em;
    padding-bottom: 1em;
}
#next-steps-header{
    margin-left: 20%;
    justify-self: center;
    font-size: xx-large;
}
#next-steps-text{
    margin-left: 20%;
    font-size: larger;
}
#tab{
    margin-left: 1em;
}

#contact-left-img{
    width: 30%;
}
#contact-right-img{
    width: 30%;
}
#contact-text{
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: flex;
    width: 40%;
    min-width: fit-content;
    margin-bottom: 4em;
}
#contact-title{
    font-size: xxx-large;
    font-family:Brush Script MT, Brush Script STD, cursive;
    font-weight: lighter;
    padding: 0em 1em 0em 1em;
}
#contact-link{
    font-size: larger;
    padding: 1em;
    border-radius: 1em;
    text-decoration: none;
    color: inherit;
}
#foxyform{
    align-self: center;
    justify-self: center;
    width: 100%;
    min-width: none;
    overflow: hidden;
}

@media (orientation: landscape){
    #top{
        margin-top: 2em;
    }
}

@media (width <= 1000px) {
    #nav-header-start{
        font-size: x-large
    }
    #top-text{
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media (width <= 900px){
    #top-text{
        font-size: smaller;
    }
}

@media (width <= 800px){
    .nav-text{
        font-size: smaller;
        flex-shrink: none;
    }
    #nav-header-start{
        font-size: medium;
    }
    #nav-header-middle{
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
        column-gap: 1rem;
        row-gap: 1em;
    }

    #top{
        margin-top: 2em;
    }
    #top-text{
        padding: 0em;
    }
    #top-text-container{
        width: calc(100% - 2em);
        padding: 1em 1em 0em 1em;
        font-size: smaller;
    }
    #top-image-container{
        width: 100%;
    }

    #next-steps{
        width: calc(100% - 2em);
        overflow:hidden;
        padding: 0em 1em 0em 1em;
    }
    #next-steps-text{
        margin-left: 1em;
    }
    #next-steps-header{
        margin-left: 0;
        justify-self: center;
        text-align: center;
    }

    #contact-left-img{
        display: none;
    }
    #contact-right-img{
        display: none;
    }
    #contact-text{
        width: calc(100% - 2em);
        justify-self: center;
        padding: 0em 1em 0em 1em;
    }
    #contact{
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: url("../img/header-img-home.jpg");
    }
    #contact-title{
        font-weight: bold;
        font-style: italic;
    }
    #contact-container{
        margin-top: 1em;
        padding-top: -1em;
        border-radius: 1em;
        background-color: rgba(255,255,255,0.8);
    }

    .container{
        flex-direction: column;
    }
}