        /*root element which other elements are decendents of.*/
        html {
            font-size: 20px;
            /*font stack goes through most commonly installed fonts on devices */
            font-family: Comfortaa, ui-rounded, 'Hiragino Maru Gothic ProN',
            Quicksand, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold',
            Calibri, source-sans-pro, sans-serif;
        }

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

            body {
                background-image: linear-gradient(#F163D9, #A125CD);
                background-attachment: fixed;
            }
            
            #main-wrapper {
                display: grid;
                grid-template-columns: 100%;
                grid-template-rows: 100%;
            }

            #top-nav {
                display: flex;
                justify-content: space-around;
                flex-direction: column;
                gap: 3%;
                text-align: center;
                padding: 3%;
                padding-bottom: 35px;

                a{
                    transition: transform 0.2s ease;
                    padding: .5rem;
                    background-color: #FFFFFE;
                    color: black;
                    border-radius: 15px;
                    text-decoration: none;
                    box-shadow: 0 .2rem .5rem rgb(0 0 0/ .2);
                }
            }

            #top-nav a:hover{
                transform: scale(1.04);
            }

            #main-card {
                display: flex;
                flex-grow: 0;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                margin-left: 3%;
                margin-right: 3%;
                padding-top: 30px;
                padding-bottom: 30px;
                border-radius: 30px;
                
                background-color: #FFFFFE;
                box-shadow: 0 3px 15px rgb(0 0 0/ .6);
            }

            #profile-image {
                width: 300px;
                height: 300px;
                border-radius: 150px;
                box-shadow: 0 .5rem .5rem rgb(0 0 0/ .5);
            }

            p {
                color: black;
                text-align: center;
                padding: 5%;
            }

            h2 {
                text-transform: uppercase;
                font-weight: bold;
                padding-top: 20px;
                text-align: center;
            }

            h3 {
                color: #FFFFFE;
                background-color: #691c9c;
                text-align: center;
                padding: 10px;
                border-radius: .5rem;
                margin-top: .5rem;
                margin-bottom: 1rem;
                margin-left: 2rem;
                margin-right: 2rem;
            }

            #footer {

                display: flex;
                justify-content: center;
                align-items: center;

                a {
                    transition: transform 0.2s ease;
                    padding: 8px;
                    text-decoration: none;
                    width: 3.2em;
                }
            }

            #footer a:hover{
                transform: scale(1.04);
            }

            #footer-img {
                fill: #FFFFFE
            }
        }

        @media screen and (min-width: 542px) {

            body {
                background-image: linear-gradient(#F163D9, #A125CD);
                background-attachment: fixed;
            }
            
            #main-wrapper {
                display: grid;
                grid-template-columns: 100%;
                grid-template-rows: 100%;
            }

            #top-nav {
                display: flex;
                justify-content: space-around;
                gap: 20px;
                text-align: center;
                width: 100%;
                padding: 1rem;

                a{
                    transition: transform 0.2s ease;
                    flex-grow: 1;
                    padding: .5rem;
                    vertical-align: center;
                    background-color: #FFFFFE;
                    color: black;
                    border-radius: 15px;
                    text-decoration: none;
                    box-shadow: 0 .2rem .5rem rgb(0 0 0/ .2);
                }
            }

            #top-nav a:hover{
                transform: scale(1.04);
            }

            #main-card {
                display: flex;
                flex-grow: 0;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                margin-left: 3%;
                margin-right: 3%;
                padding-top: 30px;
                padding-bottom: 30px;
                border-radius: 30px;
                
                background-color: #FFFFFE;
                box-shadow: 0 3px 15px rgb(0 0 0/ .6);
            }

            #profile-image {
                width: 300px;
                height: 300px;

                border-radius: 150px;
                box-shadow: 0 .5rem .5rem rgb(0 0 0/ .5);
            }

            p {
                color: black;
                text-align: center;
            }

            h2 {
                text-transform: uppercase;
                font-weight: bold;
                text-align: center;
            }

            h3 {
                color: #FFFFFE;
                background-color: #691c9c;
                text-align: center;
                padding: 10px;
                border-radius: .5rem;
                margin-top: .5rem;
                margin-bottom: 1rem;
                margin-left: 2rem;
                margin-right: 2rem;
            }

            #footer {

                display: flex;
                justify-content: center;
                align-items: center;

                a {
                    transition: transform 0.2s ease;
                    padding: 8px;
                    text-decoration: none;
                    width: 3.2em;
                }
            }

            #footer a:hover{
                transform: scale(1.04);
            }

            #footer-img {
                fill: #FFFFFE
            }
        }
        
        @media screen and (min-width: 714px) {

            /*contains nav-bar header, main card, and footer; stacks them in column*/
            #main-wrapper{
                display: flex;
                align-items: center;
                flex-direction: column;
            }
            
            body {
                height: 100vh;
                background-image: linear-gradient(#F163D9, #A125CD);
                background-attachment: fixed;
            }

            p {
                color: black;
                margin-right: 2rem;
                text-align: start;
            }

            h2 {
                text-transform: uppercase;
                font-weight: bold;
                text-align: start;
            }

            h3 {
                color: #FFFFFE;
                background-color: #691c9c;
                padding: 10px;
                border-radius: .5rem;
                margin-top: .5rem;
                margin-bottom: 1rem;
                margin-left: 0px;
                margin-right: 0px;
            }

            #top-nav{ 
                display: flex;
                justify-content: space-around;
                gap: 20px;
                text-align: center;
                padding: 1rem 1rem 1rem 1rem;
                margin-top: 2rem;
                max-width: 900px;
                width: 100%;

                a{
                    transition: transform 0.2s ease;
                    flex-grow: 1;
                    padding: .5rem;
                    vertical-align: center;
                    background-color: #FFFFFE;
                    color: black;
                    border-radius: 15px;
                    text-decoration: none;
                    box-shadow: 0 .2rem .5rem rgb(0 0 0/ .2);
                }
            }

            #top-nav a:hover{
                transform: scale(1.04);
            }

            #footer {
                display: flex;
                justify-content: center;
                align-items: center;

                a {
                    transition: transform 0.2s ease;
                    padding: 8px;
                    text-decoration: none;
                    width: 3.2em;
                }
            }

            #footer a:hover{
                transform: scale(1.04);
            }

            #footer-img {
                fill: #FFFFFE
            }

            #profile-image {
                width: 300px;
                height: 300px;
                margin: 2rem 2rem 2rem 2rem;
                border-radius: 150px;
                box-shadow: 0 .5rem .5rem rgb(0 0 0/ .5);
            }

            /*wrapper flex-container to center the card component in the center of screen*/
            #wrapper {
                display: flex;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                padding: 1rem 1rem 1rem 1rem;

            }

            #main-card {
                display: flex;
                flex-grow: 0;
                flex-direction: row;
                /*defines alignment along main axis, 
                'space-around' centers items and adds border */
                align-items: center;
                background-color: #FFFFFE;
                padding-top: 30px;
                padding-bottom: 30px;
                border-radius: 30px;
                max-width: 900px;
                box-shadow: 0 3px 15px rgb(0 0 0/ .6);
            }

            #text {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }
        }
        