@charset "utf-8";

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

.center-600 {
    margin: 0 auto;
    width: 740px;
}

.hero-section {
    position: relative;
}

.hero-content::after {
    content: "";
    display: table;
    clear: both;
}

#me-img {
    position: relative;
    float: left;
    opacity: 0.88;

   transition: opacity 1s;
   -moz-transition: opacity 1s;
   -webkit-transition: opacity 1s;
} #me-img:hover { opacity: 1; }

a {
    text-decoration: none;
    color: #9A4A4A;
}
a:hover {
    color: #DC6A6A !important;
    text-shadow: 0.5px 0px 0.1px #9A4A4A;
}
a:visited { color: #9A4A4A; }



.me-intro {
    float: left;
    margin-left: 25px;
    font-weight: 300;
    font-size: 20px;
    color: gray;
    width: 405px;
}
.me-intro h1 {
    line-height: 0.8;
}
.me-intro p {
    margin: 25px 0 25px;
}

.text-shader-1 {
    background-color: white;
    z-index: 10;
    position: absolute;
    width: 800px;
    height: 500px;
    -webkit-mask-image: -webkit-gradient(linear, 44% top, 40% top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(90deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.text-shader-active {
    -webkit-transition: -webkit-transform 1.2s linear;
    -webkit-transform: translateX(700px);
    -moz-translation: -moz-transform 1.2s linear;
    -moz-transform: translateX(700px);
    transition: transform 1.2s linear;
    transform: translateX(700px);
}

.projects-section {
    padding: 70px 0 90px;
    background: #f9f7f6;
    border-top: 1px solid #eee2df;
}

.projects-heading {
    margin: 0 0 38px;
    font-size: 27px;
    font-weight: 400;
    color: #5c5c5c;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.projects-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-left: 36px;
    padding-left: 18px;
}

.projects-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(220, 106, 106, 0.35) 0%, rgba(159, 120, 116, 0.2) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 32px;
    left: -6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #DC6A6A;
    box-shadow: 0 0 0 5px #f9f7f6;
    transition: transform 0.3s ease;
}

.timeline-item.is-current::before {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(220, 106, 106, 0.18);
}

.project-card {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-thumb {
    height: 168px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f2e6e4, #e3d3cf);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d6a69;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-meta {
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #929292;
}

.project-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: #4d4d4d;
}

.project-card p {
    margin: 0;
    color: #6c6c6c;
    font-size: 16px;
    line-height: 1.55;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.project-links a {
    font-size: 15px;
    font-weight: 300;
}

/* Nav Styles*/

.nav-effect {
    margin: 45px auto 20px;
    text-align: center;
}

nav a {
    position: relative;
    display: inline-block;
    outline: none;
    text-decoration: none;
    font-weight: 300;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    font-size: 20px;
}

.nav-effect a {
    margin: 15px;
    padding: 10px;
    color: gray;
    text-shadow: none;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
}

.nav-effect a::before,
.nav-effect a::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background:  #DC6A6A;  /* used to be #3399CC*/
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
}

.nav-effect a::before {
    top: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
}

.nav-effect a::after {
    bottom: 0;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
}

.nav-effect a:hover,
.nav-effect a:focus {
    color: #DC6A6A;  /* used to be #3399CC*/
}

.nav-effect a:hover::before,
.nav-effect a:focus::before,
.nav-effect a:hover::after,
.nav-effect a:focus::after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}





.fade-in-on-load {
    -webkit-animation: fadein 2s;
       -moz-animation: fadein 2s;
        -ms-animation: fadein 2s;
         -o-animation: fadein 2s;
            animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 900px) {
    .center-600 {
        width: auto;
        padding: 0 20px;
    }

    #me-img,
    .me-intro {
        float: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    #me-img {
        width: min(280px, 80vw);
        margin: 0 auto;
    }

    .me-intro {
        margin-left: 0;
        width: 100%;
        max-width: 520px;
    }

    .me-intro h1 {
        text-align: center;
    }

    .projects-section {
        padding: 52px 0 70px;
    }

    .projects-grid {
        justify-content: center;
    }

    .project-card {
        max-width: 420px;
    }

}

@media (max-width: 600px) {
    nav a {
        font-size: 18px;
        margin: 12px;
    }

    .text-shader-1 {
        display: none;
    }

    .projects-section {
        padding: 46px 0 58px;
    }

    .project-card {
        max-width: 100%;
    }

    .project-thumb {
        height: 150px;
        font-size: 13px;
    }
}














