@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@100;300;400;500;600;800&display=swap');

:root{
    /* Color Schemes  */

    /* Current */
    --color-neutral-200: hsl(226, 70%, 88%); /* light slate*/
    --color-neutral-800: hsl(216, 65%, 11%); /* dark navy */
    --color-neutral-900: hsl(323, 21%, 16%); /* dark red */
    --color-neutral-950: rgb(14, 30, 37); /* Netlify Black */

     /* Blue Bottle */
     --color-neutral-300: #EAC8A4;
     --color-neutral-500: #BCB8B9;
     --color-neutral-700: #9B5913;
     --color-accent-450: #00ADDA;

     /* Neon */
     --color-accent-300: hsl(166, 100%, 70%); /* lime green */
     --color-accent-400: #04D9FF;


    /* Font Combination */
    /* Montserrat and Cardo */
    --font-family-header: font-family: 'Montserrat', sans-serif;
    --font-family-para: font-family: 'Cardo', serif;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: var(--font-family-para);
    font-weight: 500;
}

body {
    color: var(--color-neutral-300);
    background: var(--color-neutral-800);
    display: flex;
    height: 100vh;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;  
}

h1, h2, h3 {
   font-family: 'Cardo', sans-serif !important;
}


main {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    height: 100vh;
    max-width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div.img-width {
    max-width: 33%;
    margin: auto;
}

 /* Navbar mobile Declaration - Top Alignment*/
.navbar {
    position: fixed;
    background-color: var(--color-neutral-800);
    z-index: 999;
}

.navbar ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    width: 100%;
}

.material-symbols-sharp {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}
  
.navbar ul li a {
    color: var(--color-neutral-200);
}

ul li span:hover {
    color: var(--color-accent-400);
}

/* Active Nav Link and Psuedo*/
.active {
    color: var(--color-accent-400) !important;
}

.icon {
    font-size: 2rem !important;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    display: flex;
    width: 90%;
    height: 80px;
    background: var(--color-neutral-800);
}  

/****************** Home Page *****************/
.home {
    max-width: 90%;
    margin: auto;
}

.name {
    color: var(--color-neutral-200);
    letter-spacing: 0.5rem;
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
}

.greeting, .highlight-text  {
    font-size: 1.8rem;
    font-weight: 100;
}

.highlight-text {
    font-size: smaller;
    /* color: var(--color-neutral-200); */
}

.occupation {
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent-400);
}

/*********** Projects Page Flex ***************/
.projects-list {
    width: 90%;
    margin: 5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#projects .navbar {
    position: fixed;
    background-color: var(--color-neutral-800);
    z-index: 999;
}

.projects-header  {
    font-size: 1.4rem;
    text-align: center; 
}


/************ Projects Page's Card Grids ****************/
/* Projects Card Glass */
 .glass {
    margin: 2rem 0 1rem;
    padding: 1rem;
    box-shadow: 0 0 0.1rem rgba(0,0,0, );
    border: none;
    border-radius: 1rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.010));
 }

/* Project General */
.card {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: min-content auto min-content;
}

.card-copy{
    line-height: 1.5rem;
}

.projects-header, .intro-header {
    letter-spacing: 0.25rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card-copy p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--color-neutral-200);
    margin-bottom: 1rem;

}

.card-image  {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.card-image img {
    max-width: 100%;
    margin: auto;
    border-radius: 0.25rem;
}

.card-links {
    display: flex;
    grid-row: 3 / 4;
    justify-content: space-around;
    align-items: center;
}


/************ Project Page Buttons *********************/

 /* Button Links */
 .neon-link {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: inline-block;
    cursor: link;
    text-decoration: none;
    color: var(--color-accent-400);
    border: var(--color-accent-400) 0.125em solid;
    border-radius: 2.25rem;
    padding: 0.25em 1em;
    margin-bottom: 1rem;
    text-shadow:
        0 0 0.25em hsl(0 0% 100% / 0.3),
        0 0 1.25em var(--color-accent-400);
    box-shadow: 
        inset 0 0 0.25em var(--color-accent-400),
        0 0 0.5em var(--color-accent-400);
    position: relative;
}

.neon-link::before {
    position: absolute;
    pointer-events: none;
    content: "";
    background: var(--color-accent-400);
    top: 120%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: 
        perspective(1em) 
        rotateX(40deg) 
        scale(1, 0.25);
    filter: blur(1.5em);
    opacity: 0.7;
}

.neon-link::after{
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    box-shadow: 0 0 1em 0.5em var(--color-accent-400);
    border-radius: 2.25rem;
    opacity: 0;
    background: var(--color-accent-400);
    z-index: -1;
    transition: opacity 1000ms ease-in-out;
}

.neon-link:hover,
.neon-link:focus {
    color: var(--color-neutral-900);
    border-radius: 2.25rem;
    text-shadow: none;
    transition: opacity 1000ms ease-in-out
}

.neon-link:hover::before,
.neon-link:focus::before,
.neon-link:hover::after,
.neon-link:focus::after {
    border-radius: 2.25rem;
    opacity: 1;
}


/* Intro Page */
#intro .content-wrapper {
    margin: 3rem auto 0 auto;
    max-width: 75%;

}

.intro-header {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.25rem;
}

.intro-copy {
    color: var(--color-neutral-200);
}

.intro-para-one {
    margin-bottom: 1rem;
}

hr {
    margin: 2rem 0;
}


.contact-button {
    margin: 3rem 0;
}

/************ Contact - Thanks ***************/
.contact-header {
    margin: 0.5rem;
}

.contact,.thanks {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: auto;
}

 .col-name, .col-email {
    margin-bottom: 1rem;
}

.full-width {
  width: 100%;
    margin: auto;
    padding: 0.5rem;
    border: 0.1rem solid var(--color-accent-400);
    border-radius: 0.25rem;
}

.send {
    color: var(--color-accent-400);
    background-color: var(--color-neutral-800);
}

.send:hover {
    color:var(--color-neutral-800);
    background-color: var(--color-accent-400);
}


/************ Media Queries ***************/
@media (min-width: 768px) {
    .navbar {
        width: 10%; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: 45%;
        width: 180px;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: transparent;
    }

    .navbar ul li {
        margin: 0 1rem;
    }

    .navbar ul li a {
        line-height: 12rem;
        padding-left: 2rem;
    }

    #home, #intro, #projects {
        display: block;
    } 

    .content-wrapper {
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .card-title {
        font-size: 2rem;
    }

    .card-copy p {
        font-size: 1.4rem ;
        line-height: 2rem;
    }

    /* Home Page */
    .home-copy{
        margin-left: 2rem;
    }

   #home h1 {
        font-weight: 300;
        font-size: 4rem;
    }

    #home p {
        font-size: 1.5rem;
    }

    #home .occupation {
        font-size: 2rem;
        font-weight: 100;
    }

    /* Projects Page */
    .glass{
        padding: 3rem;
    }

    .projects-list {
        height: fit-content;
        margin-top: 2rem;
        margin-left: 8rem;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 80%;
    }

    .projects-header {
        position: relative; 
        right: 0;
     }

    .projects-header h1 {
        font-size: 4rem;
        text-align: center;
    }

    #projects .navbar {
        position: fixed;
        background-color: transparent;
        z-index: 999;
    }

    .card-image {
        max-width: 66%;
        margin: auto;
    }

   /* Intro Page */
    #intro .content-wrapper {
        display: flex;
        justify-content: center;
        max-width: 50%;
        margin: auto;
        margin-top: 5rem;
        margin-left: 15rem;
    }
    
    .intro h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1025px) {
    body {
        line-height: 1.6;
    }

    .navbar {
        height: 100vh;
        top: 0;
        width: 180px;
        display: flex;
        background-color: transparent;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .navbar ul li a {
        font-size: 1.5rem;
        margin: 0 0rem;
        font-weight: lighter;
    }

    #home h1 {
        font-weight: 300;
        font-size: 4rem;
    }
    
    #home p {
        font-size: 2rem;
    }
    
    #home .occupation {
        font-size: 3rem;
        font-weight: 100;
        font-style: italic;
        text-align: left;
    }

    .projects-list {
        margin-left: 14rem;
    }

    .card-image {
        max-width: 50%;
        margin: auto;
    }

} 