/*GENERAL STUFF*/

body {
    background-color: #ffffff;
    height: 200vh;
}

p {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    color: #373737;
    letter-spacing: .5px;
}

h1 {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    color: #373737;
}

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

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

a:hover {
    color: #373737;
    text-decoration: none;
}

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

/*NAVIGATION*/

/* header */

.header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 3;
    padding-top: 50px;
    padding-bottom: 50px;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #ffffff;
}

.header li a {
    display: inline-block;
    text-decoration: none;
    margin-right: 50px;
    margin-bottom: 3px;
}

.header .katie {
    float: left;
    padding-left: 50px;
    text-decoration: none;
    margin-top: 3.5px;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    display: flex;
}


/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    position: relative;
    margin-right: 40px;
    user-select: none;
    padding: 10px;
}

.header .menu-icon .navicon {
    background: #373737;
    display: block;
    height: 3px;
    position: relative;
    transition: background .2s ease-out;
    width: 25px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: #373737;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 8px;
}

.header .menu-icon .navicon:after {
    top: -8px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}

@media only screen and (min-width: 600px) {
    .header li {
        text-align: right;
    }


    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icon {
        display: none;
    }
}


@media only screen and (max-width: 599px) {
    .header li {
        text-align: left;
        margin-top: 20px;
        margin-left: 50px;
    }

    .header li h1 {
        font-size: 36px;
        color: #909090;
    }
    
    .photo {
        margin-top: 50px;
    }
    
    .header .menu {
    flex-direction: column;
}
}

.header {
    transition: transform .8s ease;
}

.header.slide-up {
    transform: translateY(-100%);
}

.header.slide-down {
    transform: translateY(0);
}



/*GRID STUFF*/

.work {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 50px;
    margin-left: 50px;
    margin-right: 50px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.project {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.project img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.project.hovered img {
    opacity: 0;
}

.project.hovered::before {
    opacity: 1;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    /* Smooth transition for both hover and unhover */
}

/* Specify the hover image for each project */
.project1::before {
    background-image: url('pages/wmlc/images/Logo_Color.jpg');
}

.project2::before {
    background-image: url('pages/btcatc/images/btcatcGIF.gif');
}

.project3::before {
    background-image: url('pages/lagniappe/images/LagniappeEx.jpg');
}

.project4::before {
    background-image: url('pages/intune/images/DSC_1090.jpg');
}

.project5::before {
    background-image: url('pages/dogwood/images/finalmural1.jpg');
    background-size: 170%;
    background-position: top;
}

.project6::before {
    background-image: url('pages/informcontent/images/DSC_0368.png');
}

.project7::before {
    background-image: url('pages/carpediem/images/carpe_cards.png');
}

.project8::before {
    background-image: url('pages/limfigs/images/DSC_0283.jpg');
}

.project9::before {
    background-image: url('pages/humbleharvest/images/scattered-seeds.jpg');
}

.project10::before {
    background-image: url('pages/rop/images/DSC_1044.jpg');
}

.project11::before {
    background-image: url('pages/waterfallfarm/images/waterfall_square.jpg');
}

.project12::before {
    background-image: url('pages/pocketguide/images/IMG_2034.jpg');
}

.project13::before {
    background-image: url('pages/beerandmountains/images/beerandmountains_square2.jpg');
}

/*ARROWS AND LABELS*/

button {
    border: none;
    background-color: #ffffff;
    text-align: left;
    font-size: 22px;
    width: 100%;
    transition: all 0.5s;
    cursor: pointer;
    position: relative;
    transition: 0.5s;
    padding-left: 0px;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 300;
    font-style: normal;
}

button:after {
    content: '→';
    position: absolute;
    opacity: 0;
    top: 5px;
    right: 30px;
    transition: 0.5s;
    z-index: 100;
}

button:hover {
    padding-right: 30px;
}

button:hover:after {
    opacity: 1;
    /*DISTANCE ARROW TRAVELS*/
    right: 0px;
}

.project:hover + button {
    padding-right: 30px;
}

.project:hover + button:after {
    opacity: 1;
    right: 0px;
}

.work a {
    text-decoration: none;
}

.work h1 {
    margin-top: 5px;
    padding-right: 50px;
}

.work p {
    margin-top: 12px;
}


@media only screen and (max-width: 900px) {
    .work {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .work {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .project.hovered img {
    opacity: 1;
}
    
    button:after {
    display: none;
}

    
}

/*FOOTER*/
.footer {
    padding-top: 30px;
    padding-bottom: 30px;
    margin: auto;
    text-align: center;
    border-top: 1px solid #909090;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 45px;
    margin-right: 45px;
}

.footer h1 {
    padding: 5px;
    color: #909090;
}

@media only screen and (max-width: 600px) {
    .footer h1 {
        text-align: left;
        font-size: 36px;
        margin-top: 15px;
    }

    .footer {
        display: grid;
    }
}
