@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

        html {
             scroll-behavior: smooth;
        }
        
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-weight: 700;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #242424;
            scroll-behavior: smooth;
        }

        a:link {
            color: #242424;
            text-decoration: none;
        }

        a:visited {
            color: #242424;
            text-decoration: none;
        }

       
        a:active {
            color: #242424;
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        .header {
            width: 100vw;
            height: 5rem;
            background-color: #dbdbdb;
            display: grid;
            grid-template-columns: 2fr 1fr;
            position: fixed;
            font-weight: 800;
        }

        p {
            color: #dbdbdb;
            font-weight: 700;
            font-family: 'Open Sans', sans-serif;
        }

        .nav-name {
            font-size: 4.2rem;
            margin-left: 2rem;
            color: #242424;
        }

        .nav-links {
            font-size: 1.68rem;
            margin-top: 1.75rem;
            display: flex;
            gap: 3.9rem;
            padding-right: 3rem;
            position: relative;
            left: 240px;
        }

        .main {
            padding-left: 4.1875rem;
            padding-top: 7.2rem;
            margin-bottom: 2.5rem;
        }

        .line-1 {
            font-size: 4.9rem;
            margin-inline: 2rem;
            margin-top: 2.5rem;
        }

        .line-2 {
            font-size: 3rem;
            margin-inline: 2rem;
            margin-bottom: 2.5rem;
            margin-top: 2rem;
        }

        .line-3 {
            font-size: 2.8rem;
            margin-inline: 2rem;
            color: #dbdbdb;
            margin-bottom: 2.5rem;
        }

        .headings {
            font-size: 5rem;
            margin-left: 2rem;
            color: #4267B2;
            font-family: 'Montserrat', sans-serif;
            width: max-content;
        }

        .headings:hover {
            color: #4267B2;
            text-shadow: 2px 2px 1px #E0610E;
        }

        .projects-grid {
            margin-left: 200px;
            margin-top: 5px;
            display: grid;
            padding-left: 4.1875rem;
            color: #dbdbdb;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .text-1 {
            padding-left: 4.1875rem;
            font-size: 2rem;
            /* margin-right: 2rem; */
            color: #dbdbdb;
            margin-left: 2rem;
        }

        .text-2 {
            padding-left: 4.1875rem;
            font-size: 2rem;
            margin-right: 2rem;
            color: #dbdbdb;
            margin-left: 2rem;
        }

        .icons {
            color: #dbdbdb;
            display: inline-block;
            padding-left: 5rem;
            position: relative;
            left: 800px;
        }

        .icons:hover {
            color: #4267B2;
            text-shadow: 2px 2px 1px #E0610E;
        }

        .fa-link {
            color: #dbdbdb;
        }

        .nothing {
            color: #dbdbdb;
            position: absolute;
            left: 27rem;
            top: 47.5rem;
            display: flex;
            gap: 700px;
        }

        .name {
            color: #4267B2;
            text-shadow: 2px 2px 1px #E0610E;
        }

        .name:hover {
            text-shadow: 0px 0px 0px #E0610E;
        }

        .tech {
            color: #4267B2;
        }

        .tech:hover {
            text-shadow: 2px 2px 1px #E0610E;
            cursor: pointer;
        }

        .name-heading:hover {
            color: #242424;
        }

        .id {
            color: #4267B2;
        }

        .id:hover {
            cursor: pointer;
            text-shadow: 2px 2px 1px #E0610E;
        }

        .fa-link:hover {
            color: #4267B2;
            text-shadow: 2px 2px 1px #E0610E;
        }

        .contact-links {
            display: inline-block;
        }

        .form {
            margin-left: 24.625rem;
        }

        .links-id {
            position: relative;
            top: -90px;
            left: -50px;
            width: max-content;
        }

        .input-a {
            width: 40rem;
            height: 2.5rem;
            background-color: #242424;
            border: 5px solid #dbdbdb;
            margin-bottom: 1.25rem;
            color: #dbdbdb;
            padding-left: 8px;
        }

        .input-m {
            width: 40rem;
            height: 7.5rem;
            background-color: #242424;
            border: 5px solid #dbdbdb;
            margin-bottom: 1.25rem;
            color: #dbdbdb;
            padding-left: 8px;
        }

        .input-b {
            width: 7.5rem;
            height: 2.5rem;
            background-color: #4267B2;
            border: 5px solid #dbdbdb;
            color: #dbdbdb;
            text-align: center;
        }

        @media screen and (min-width:600px) and (max-width:1100px) {

            .project-1,
            .project-2,
            .project-3,
            .project-4 {
                grid-column: span 2;
            }

            * {
                padding: 0;
                margin: 0;
                box-sizing: border-box;
                font-weight: 700;
            }

            body {
                font-family: 'Montserrat', sans-serif;
                background-color: #242424;
            }

            a:link {
                color: #242424;
                text-decoration: none;
            }

            a:visited {
                color: #242424;
            }

            a:active {
                color: #242424;
            }

            a:hover {
                text-decoration: underline;
            }

            .header {
                width: 100vw;
                height: 5rem;
                background-color: #dbdbdb;
                display: grid;
                grid-template-columns: 3fr 1fr;
                position: fixed;
                font-weight: 800;
            }

            p {
                color: #dbdbdb;
                font-weight: 700;
                font-family: 'Open Sans', sans-serif;
            }

            .nav-name {
                font-size: 3.1rem;
                margin-left: 1.5rem;
                color: #242424;
                padding-top: 10px;
            }

            .nav-links {
                font-size: 1rem;
                margin-top: 1.75rem;
                display: flex;
                gap: 2rem;
                padding-right: 1.5rem;
                padding-top: 5px;
            }

            .main {
                padding-left: 1.75rem;
                padding-top: 7.2rem;
                margin-bottom: 2.5rem;
            }

            .line-1 {
                font-size: 3rem;
                margin-inline: 0.5rem;
            }

            .line-2 {
                font-size: 2.65rem;
                margin-inline: 0.5rem;
            }

            .line-3 {
                font-size: 2.5rem;
                color: #dbdbdb;
                margin-inline: 0.5rem;
            }

            .headings {
                font-size: 5rem;
                margin-left: 2rem;
                color: #4267B2;
                font-family: 'Montserrat', sans-serif;
                width: max-content;
            }

            .headings:hover {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .projects-grid {
                margin-left: 200px;
                margin-top: 5px;
                display: grid;
                padding-left: 4.1875rem;
                color: #dbdbdb;
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }

            .text-1 {
                margin-left: 0;
                font-size: 3rem;
                color: #dbdbdb;
            }

            .text-2 {
                margin-left: 0;
                font-size: 3rem;
                color: #dbdbdb;
            }

            .icons {
                color: #dbdbdb;
                display: inline-block;
                padding-left: 5rem;
                position: relative;
                left: 800px;
            }

            .icons:hover {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .fa-link {
                color: #dbdbdb;
            }

            .nothing {
                color: #dbdbdb;
                position: absolute;
                left: 28px;
                display: flex;
                gap: 500px;
            }

            .name {
                color: #4267B2;
            }

            .name:hover {
                cursor: pointer;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .tech {
                color: #4267B2;
            }

            .tech:hover {
                text-shadow: 2px 2px 1px #E0610E;
                cursor: pointer;
            }

            .name-heading:hover {
                color: #242424;
            }

            .id {
                color: #4267B2;
            }

            .id:hover {
                cursor: pointer;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .fa-link:hover {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .contact-links {
                display: inline-block;
            }

            .form {
                margin-left: 4rem;
                margin-top: 10px;
            }

            .links-id {
                position: relative;
                top: -90px;
                left: -50px;
                width: max-content;
            }

            .input-a {
                width: 40rem;
                height: 2.5rem;
                background-color: #242424;
                border: 5px solid #dbdbdb;
                margin-bottom: 1.25rem;
                color: #dbdbdb;
                padding-left: 8px;
            }

            .input-m {
                width: 40rem;
                height: 7.5rem;
                background-color: #242424;
                border: 5px solid #dbdbdb;
                margin-bottom: 1.25rem;
                color: #dbdbdb;
                padding-left: 8px;
            }

            .input-b {
                width: 7.5rem;
                height: 2.5rem;
                background-color: #4267B2;
                border: 5px solid #dbdbdb;
                color: #dbdbdb;
                text-align: center;
            }
        }

        /* this is the starting point ant thing beyond this point is fragile. */

        @media screen and (max-width: 600px) {

            .project-1,
            .project-2,
            .project-3,
            .project-4 {
                grid-column: span 2;
            }

            .projects-grid {
                margin-left: 0;
                display: grid;
                color: #dbdbdb;
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }

            * {
                padding: 0;
                margin: 0;
                box-sizing: border-box;
                font-weight: 700;
            }

            body {
                font-family: 'Montserrat', sans-serif;
                background-color: #242424;
            }

            a:link {
                color: #242424;
                text-decoration: none;
            }

            a:visited {
                color: #242424;
            }

            a:active {
                color: #242424;
            }

            a:hover {
                text-decoration: underline;
            }

            .header {
                width: 100vw;
                height: 4rem;
                background-color: #dbdbdb;
                display: flex;
                position: sticky;
                font-weight: 800;
            }

            .header {
                display: none;
            }

            p {
                color: #dbdbdb;
                font-weight: 700;
                font-family: 'Open Sans', sans-serif;
            }

            .nav-name {
                font-size: 2.5rem;
                position: relative;
                top: 7px;
                left: -15px;
            }

            .nav-links {
                /* font-size: 1.68rem;
                margin-top: 1.75rem;
                display: flex;
                gap: 3.9rem;
                padding-right: 3rem; */
                display: none;
            }

            .main {
                padding-inline: 0.25rem;
            }

            .line-1 {
                font-size: 3rem;
                margin-inline: 0.5rem;
                position: relative;
                top: -92px;
            }

            .line-2 {
                font-size: 1.9rem;
                margin-inline: 0.5rem;
                position: relative;
                top: -82.5px;
            }

            .line-3 {
                color: #dbdbdb;
                font-size: 1.9rem;
                margin-inline: 0.5rem;
                position: relative;
                top: -78.5px;
            }

            .headings {
                font-size: 2.5rem;
                margin-left: -0.5rem;
                position: relative;
                left: 30px;
                bottom: 10px;
                color: #4267B2;
                font-family: 'Montserrat', sans-serif;
                margin-bottom: 10px;
            }

            .headings:hover {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }


            .text-1 {
                font-size: 2rem;
                margin-left: 1.5rem;
                position: relative;
                top: -35px;
                left: -55px;
                color: #dbdbdb;
            }

            .text-2 {
                font-size: 2rem;
                margin-left: 1.5rem;
                position: relative;
                top: -10px;
                left: -55px;
                color: #dbdbdb;
            }

            .icons {
                display: none;
            }

            .icons:hover {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .fa-link {
                color: #dbdbdb;
            }

            .nothing {
                display: flex;
                gap: 100px;
                font-size: small;
            }

            .name {
                color: #4267B2;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .name:hover {
                cursor: pointer;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .tech {
                color: #4267B2;
            }

            .tech:hover {
                text-shadow: 2px 2px 1px #E0610E;
                cursor: pointer;
            }


            .id {
                color: #4267B2;
            }

            .id:hover {
                cursor: pointer;
                text-shadow: 2px 2px 1px #E0610E;
            }

            .blank {
                display: none;
            }


            .links-id {
                position: relative;
                top: -90px;
                left: -50px;
                width: max-content;
            }

            .form {
                margin-left: 2rem;
                margin-top: 10px;
            }

            .input-a {
                width: 22rem;
                height: 2.5rem;
                background-color: #242424;
                border: 5px solid #dbdbdb;
                margin-bottom: 1.25rem;

            }

            .input-m {
                width: 22rem;
                height: 7.5rem;
                background-color: #242424;
                border: 5px solid #dbdbdb;
                margin-bottom: 1.25rem;
                color: #dbdbdb;
            }

            .input-b {
                width: 7.5rem;
                height: 2.5rem;
                background-color: #4267B2;
                border: 5px solid #dbdbdb;
                color: #dbdbdb;
                text-align: center;
            }

            .blank-1 {
                margin-top: 125px;
            }

            .float-1{
                position: relative;
                top: -150px;
            }

            .float-2{
                position: relative;
                top: -135px;
            }

        }