/* ===================================================================================
Media Queries ========================================================================
=================================================================================== */

@media screen and (max-width: 1150px) {
    #home {
        flex-direction: column;
    }
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    #home .more {
        margin-bottom: -16px;
    }

}

@media screen and (max-width: 850px) {
    .work-websites {
        grid-template-columns: 1fr;
    }

    nav {
        height: 90px;
    }

    #main-nav {
        flex-direction: column;
        justify-content: space-evenly;
    }

    #home {
        padding: 120px;
    }

    #home .more {
        margin-bottom: -70px;
    }

    #about, #my-work, #contact {
        padding-top: 90px;
    }
    form {
        min-width: 550px;
    }
    
    footer {
        padding-top: 5px;
        display: block;
        height: auto;
        text-align: center;
    }

    .links {
        justify-content: center;
    }
}

@media screen and (max-width: 620px) {
nav {
    height: 60px;
}

    #main-nav {
        display: none;
    }

    #mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        width: 100%;
    }

    #mobile-links {
        display: none;
        width: 100%;
        position: absolute;
        right: 0;
        background: var(--white);
        border: 2px solid var(--dark-blue);
        border-radius: 0 0 0 20px;
    }
    
    #mobile-links a {
        color: var(--dark-blue);
        display: block;
        font-weight: 700;        
        border-top: 2px dotted var(--dull-green);
        border-radius: 0;
        padding: 10px;
    }

    nav div p {
        font-size: 1.2rem;
    }

    .home-link {
        display: none;
    }

    .about-link {
        display: flex;
    }

    #home, a[href="#home"] {
        display: none;
    }

    form {
        min-width: 150px;
    }

    .self-title, .work-title {
        margin: 5px 0;
    }

    .about-content, .work-websites {
        padding: 0;
    }

    .self-title img {
        width: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    #about, #my-work {
        padding-top: 60px;
    }

    #contact {
        padding: 75px 15px 15px 15px;
        min-height: 80vh;
    }


/* getting rid of mobile hovers ======================================================= */

    /* ~line 85 */    
    ul a:hover {
        background: none;
        color: var(--white);
        border-top: none;
        border-bottom: none;
    }

    /* ~line 364 */
    .abt-btn a:hover {
        background: var(--light-green);
        color: var(--dull-green);
        border-top: 13px solid var(--dull-green);
        border-bottom: 2px dotted var(--dull-green);
    }

    /* ~line 458 */
    .website-preview a:hover {
        background: var(--light-blue);
        color: var(--dark-blue);
        border-top: 13px solid var(--dark-blue);
        border-bottom: 2px dotted var(--dark-blue);
    }

    /* ~line 551 */
    #submit:hover {
        background: var(--light-green);
        cursor: pointer;
    }

/* getting rid of mobile hovers ======================================================= */
}

@media screen and (max-width: 400px) {
    .self-title img {
        width: 100px;
    }

    .links p {
        margin:15px 0 0 0;
    }

    nav div p {
        font-size: .8rem;
    }

}