/* PARENT CONTAINER */




/* SVG */

.projects-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}


/* SVG TEXT */

.projects-svg text {
    font-family: Arial, sans-serif;
    font-size: 180px;
    font-weight: 900;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3px;
}


/* PROJECT THUMBNAILS */

.project {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto 15vh;
    /* background: #1d3323; */
}

.project img {
    display: block;
    width: 100%;
    height: auto;
}

.project-info {}

.project-info p {
    font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-family: 'bp-is', sans-serif; 
    color: #fff;
    background: #1d3323;
    display: inline-block;
    padding: 10px 25px;
}

/* xxxx */

/* PROJECTS */

.projects {
    position: relative;
    background: green;
    padding-bottom: 10vh;
}


/* STICKY TITLE */

.projects-title {
    position: sticky;
    top: 20vh;
    /*height: 30vh;*/

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

    z-index: 1;
    pointer-events: none;
}


/* SVG */

.projects-svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* STAGGERED PROJECTS */

.project {
    position: relative;
    z-index: 2;

    width: 50%;
    margin-bottom: 15vh;

    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* Left column */

.project:nth-child(odd) {
    margin-left: 13%;
}

/* Right column */

.project:nth-child(even) {
    margin-left: 40%;
}


/* VISIBLE STATE */

.project.visible {
    opacity: 1;
    transform: translateY(0);
}


/* IMAGES */

.project img {
    display: block;
    width: 100%;
    height: auto;
}

/* First project: LEFT */

.project:nth-of-type(2n) {
    margin-left: 13%;
}

/* Second project: RIGHT */

.project:nth-of-type(2n + 1) {
    margin-left: 40%;
}


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

.project {
    position: relative;
    z-index: 2;
    width: 65%;
    margin-bottom: 15vh;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
} 

/* First project: LEFT */

.project:nth-of-type(2n) {
    margin-left: 8%;
}

/* Second project: RIGHT */

.project:nth-of-type(2n + 1) {
    margin-left: 26%;    
}  

.project-info p {
    font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-family: 'bp-is', sans-serif; 
    color: #fff;
    background: #1d3323;
    display: inline-block;
    padding: 5px 15px;
    font-size: 12px;
}

}    
