/*edit colors easily here!*/
:root{
    --transition: all 300ms ease-in-out;
    --base-color: rgb(22, 22, 22);
    --base-color-faded: rgba(22, 22, 22, 0.5);
    --dark-color: rgba(85, 130, 7, 0.8);
    --dark-accent: rgba(33, 51, 1, 0.8);
    --light-color: PapayaWhip;
    --secondary-base: rgb(60,60,60);
    --gradient-color: 
}

html{
    scroll-behavior: smooth;
}

*{
    margin:0;
    padding: 0;
    font-family: 'Rosarivo', cursive, sans-serif;
    box-sizing: border-box;
    outline: 0;
}

h1, h2{
    font-family: 'Salsa', cursive, sans-serif;
}

p, h3{
    font-family: "Rosarivo", 'Times New Roman', Times, serif;
}

body{
    background: linear-gradient(var(--base-color), 40%, #152b19);
    color: var(--light-color);

}

main{
    /*from portfolio styling*/
    font-size: 1.2rem;
    line-height: 1.2;
}

/*navbar styling*/
.navAndLogo {
    /*from portfolio styling*/
    font-size: 1.6rem;
    line-height: 1.2;
    width: 100%;
    z-index: 10; /*to keep the navbar on top of Artwork header text*/
    position: sticky; /*to stick navbar at top of screen*/
    top: 0;
}

.navContainer {
    position: fixed;
    width: 100%;
    background: linear-gradient(var(--base-color) 30%, 80%, rgba(0,0,0,0)); /*matches base page color so that it blends with background*/
    display: inline;
    padding-right: 20px; /*how far the navItems go to the right edge of the screen*/
}


nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2%; /*control height from top of screen*/
}

#navItems{
    display: flex;
}
.spacer {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}



.logo {
    width: 140px;
    position: absolute;
    z-index: 2;
    padding-top: 2%; /*control height from top of screen*/
}

.logo img{
    height: 140px;
    width: 140px;
    padding-top: 5px;
}

.navLinks {
    flex-shrink: 0;
    margin-left: 16px;
}

.navLinks li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px; 
    position: relative;
}

.navLinks li a{
    color: var(--light-color);
    text-decoration: none;
    font-size: 18px;
}

.navLinks li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--dark-color);
    position: absolute;
    left: 0;
    bottom: 0px;
    transition: 0.5s;
}

.navLinks li a:hover::after{
    width: 100%;
}

.navIcons {
    flex-shrink: 0;
    margin-left: 32px;
}

.navIcons li{
    display: inline-block;
    list-style: none;
    margin: 10px 10px; 
    position: relative;
}

.navIcons li a{
    text-decoration: none;
    font-size: 18px;
}

.circleHighlight{
    color: var(--light-color);
    z-index: 1;

    background: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: var(--light-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-in-out;

    &:hover{
        background: var(--dark-color);
    }
}

/*Header styling*/
.wrapper {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

#header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.parallax-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#parallax-one {
    background-image: url('images/headerImage/back-seaweed.png');
    z-index: 1;
}

#parallax-two {
    background-image: url('images/headerImage/fish-01.png');
    z-index: 2;
}

#parallax-three {
    background-image: url('images/headerImage/front-seaweed.png');
    z-index: 3;
}

.header-text {
    margin-top: 45vh;
    font-size: 30px;
    text-align: left;
    padding-left: 15%;
    position: relative;
    z-index: 4;
}

.header-text h1 {
    font-size: 80px;
    margin-bottom: 0;
    color: inherit; /* Ensure text color is always displayed */
    background-blend-mode: multiply; /* Blend background image with text color */
    color: var(--dark-color);
    background-image: url('images/headerImage/textGradient.png');
    background-attachment: fixed;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}


/*row portfolio style*/
.container{
    padding: 10px 5%;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 5%;
    margin-bottom: 40px;
}

.work-list-last{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
}

.work{
    /*border-radius: 10px;*/ /*for rounded edges*/
    position: relative;
    overflow: hidden;
    max-width: 50vw;

    box-shadow: 10px 10px 3px rgba(100, 100, 100, 0.3);
}

.work img{
    object-fit:cover;
    width: 100%;
    /*border-radius: 10px;*/ /*for rounded edges*/
    display: block;
    transition: transform 0.5s; /*zoom img*/
    
}

.layer{
    width: 100%;
    height: 0; /*would be 100% if you wanted to just always show the top layer*/
    background: linear-gradient( rgb(0,0,0, 0.9), 92%, var(--dark-accent));
    /*border-radius: 10px;*/ /*for rounded edges*/

    position: absolute;
    left:0;
    bottom: 0;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;

    font-size: 14px; /*the subtitle/paragraph font size*/

    transition: height 0.5s;
}

#work .layer .circleHighlight{
    width: 40px;
    height: 40px;
    font-size: 20px;
}

#projects .layer .circleHighlight{
    width: 30px;
    height: 30px;
    font-size: 16px;
}

#work .layer i{
    width: 40px;
    height: 40px;
}
.layer h3{
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 10%;
    color: var(--light-color);
}

.layer p{
    font-size: 18px;
    margin-bottom: 0px;
}

.layer a{
    text-decoration: none;
    line-height: 60px;
    /* for circle outline on icon*/
    /*background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;*/
}

.work:hover img{
    transform: scale(1.1); /*zoom img on hover*/
}

.work:hover .layer{
    height: 100%;
}

.button{
    display: block;
    margin: auto auto;
    margin-bottom: 0;
    width: fit-content;
    outline: 2px solid var(--dark-color);
    padding: 14px 50px;
    border-radius: 6px;

    text-decoration: none;
    color: var(--dark-color);
    background-color: var(--base-color);

    align-items:end;

    transition: background-color 0.5s;
}

.button:hover{
    background-color: var(--dark-color);
    color: var(--light-color);
}

/*general style*/
section{
    padding-top: 30px;
    padding-left: 2%;
    padding-right: 2%;
}
hr{
    width: 90%; /*goes with margin, 90+5+5 = 100*/
    margin: 0px 5%;
    margin-top: 50px;
    border: 0.1px solid var(--light-color);
}
a{
    text-decoration: none;
    color: var(--dark-color);
    font-family: "Rosarivo", 'Times New Roman', Times, serif;
}
img{
    width: 100%;
    display: block;
}

.vh-100{
    min-height: 100vh;
}
h1, h2, h3{
    margin-top: 0;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
    background-image: url('images/headerImage/textGradient.png');
    background-attachment: fixed;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
.flex{
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

/* about */
.lead{
    opacity: 0.8;
    padding: 0.8rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.6;
}
.lead a{
    color: var(--light-color);
}
.about{
    padding-top: 50px;
    padding-left: 2%;
    padding-right: 2%;
}
.about p{
    font-size: 18px;
}
.about-left{
    margin-bottom: 4rem;
    display: flex;
    align-self: center;
    align-items: center;
    overflow: hidden;
}

.title{
    margin-bottom: 50px;
    padding-top: 5%;
}


.title h2{
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
}

.title h2::after{
    position: absolute;
    content: "";
    top: 110%;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--dark-color);
}

/*contact style*/
#contact .title {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

#contact .title h2{
    font-size: 45px;
}

#contact .contact-info{
    padding: 10px 2%;
    padding-top: 0;
}

#contact .navIcons {
    margin-left: 0px;
}

#contact #signature-tag {
    font-size: 10px;
    text-align: left;
    display: flex;
    justify-content: right;
    margin-right: 10px;
    margin-bottom: 10px;
}

#contact p{
    font-size: 20px;
    padding-left: 5px;
    margin-bottom: 10px;
}

#contact .navIcons li{
    padding-left: 0;
    margin-left: 0;
}

/* vertical portfolio style */
#portfolio .portfolio-grid > div{
    transition: var(--transition);
}
#portfolio .portfolio-grid > div:hover{
    transform: scale(0.9);
}

/* Media Queries */
@media(min-width: 576px){
    .title h2{
        font-size: 4rem;
    }
    .mobile-only{
        content: 'Mobile support coming soon!'
    }
    .portfolio-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid > div{
        height: 300px;
        overflow: hidden;
    }
    .portfolio-grid > div img{
        height: 100%;
        object-fit: cover;
    }

}

@media(min-width: 768px){
    .about-content, .work-top{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6rem;
        row-gap: 0;
    }
    .about-left{
        margin-bottom: 0;
    }
   
}

@media(min-width: 1200px){
    .portfolio-grid{
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid > div:nth-child(2){
        grid-column: 2 / 4;
    }
    .portfolio-grid > div:nth-child(6){
        grid-column: 1 / 3;
    }
}

/*css for small screens*/
.mobile-only{
    visibility: hidden;
}
nav .menu{
    display: none;
}
@media only screen and (max-width: 1000px)
{
    #header{
    }

    .mobile-only{
        visibility: visible;
        text-decoration: underline var(--dark-color);
        color: var(--dark-color);
        font-weight: bold;
    }
    .header-text{
        font-size: 16px;
        margin-top: 70vh;
    }
    .header-text h1{
        font-size: 30px;
    }    
    
    .navContainer{
        position: absolute;
        width: 100%;
        background: var(--base-color);
        display: block;
        padding: 10px 0%;
    }
    nav{
        display: inline-flex;
        flex-wrap: wrap;
        padding: 10px 0%;
        align-items: center;
    }

    .fa-bars{
        right: 25px;
    }

    nav .menu{
        display: block;
        font-size: 25px;
        z-index: 2;
    }

    #navItems{
        background: var(--secondary-base);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        
        z-index: 3;
        transition: right 0.5s;

        display: block;
    }


    .navLinks li{
        display: block;
        margin: 25px;
        position: relative;
    }

    .navIcons li{
        display: inline-block;
        margin: 5px;
        position: relative;
    }

    

    nav .menu {
        position: absolute;
        cursor: pointer;
    }

    .fa-times{
        top: 25px;
        left: 25px;
    }

    /*about restyle for small screen*/
    .lead{
        opacity: 0.8;
        padding: 0.8rem 0;
        font-size: 1.7rem;
        font-weight: 300;
        line-height: 1.6;
    }
    .about{
        padding: 5px 0;
    }
    .about p{
        font-size: 18px;
    }
    
    .about .title{
        margin-bottom: 5px;
    }
    .title h2{
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 600;
        position: relative;
    }
    
    .title h2::after{
        position: absolute;
        content: "";
        top: 110%;
        left: 0;
        width: 70px;
        height: 4px;
        background-color: var(--dark-color);
    }
    
}

@media only screen and (max-width: 768px){
    .about-left{
        margin-bottom: 5px;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}
