
/* GENERAL */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background-color: #F7F4D5;
    color: #F7F4D5;
    font-family: Arial, sans-serif;
}


/* LEFT NAVIGATION MENU */

.menu {
    position: fixed;
    left: 0;
    top: 0;

    width: 120px;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    background-color: #105666;
    z-index: 1000;
}

.menu a {
    width: 100%;
    height: 20%;

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

    color: white;
    text-decoration: none;
    border-bottom: 2px solid white;
}

.menu img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 0;
}


/* MAIN WEBSITE CONTENT */

.poster {
    margin-left: 120px;
    padding: 5%;
}


/* ABOUT ME HEADER */

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: #D39683
}

.aboutmeicon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    
}

.header h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 48px);
    padding-top: 40px;
}


/* ABOUT ME CONTENT */

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5%;
    width: 100%;
    
}


/* CIRCULAR PROFILE PHOTO */

.helena-image {
    width: 250px;
    height: 250px;

    /* Keep width and height equal */
    aspect-ratio: 1 / 1;

    /* Prevent flexbox from stretching photo */
    flex: 0 0 250px;

    /* Make circular */
    border-radius: 50%;
    overflow: hidden;
}

.helena-image img {
    display: block;
    width: 100%;
    height: 100%;

    /* Crop photo to fill circle */
    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}


/* ABOUT ME PARAGRAPH */

.aboutmeparagraph {
    flex: 1;
    min-width: 0;
    max-width: 600px;

    background-color: rgba(10, 51, 35, 0.8); 
    padding: 5%;
    border-radius: 20px;
}

.aboutmeparagraph h2 {
    font-size: clamp(20px, 2.5vw, 30px);
}

.aboutmeparagraph p {
    font-size: 1rem;
    line-height: 1.5;
}

/* PROJECT GALLERY */

.gallery-title {
    display: block;
    color: #d58f85;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.project-gallery-traditional {
    display: flex;
    flex-direction: row;
    gap: 20px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 20px 0;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* INDIVIDUAL PROJECT CARDS */

.project-card {
    flex: 0 0 250px;

    background-color:rgba(10, 51, 35, 0.8); 
    border-radius: 15px;
    overflow: hidden;

    color: white;
    text-decoration: none;

    scroll-snap-align: start;

    transition: transform 0.3s;
}

/* PROJECT IMAGES */

.project-card img {
    width: 100%;
    height: 180px;

    object-fit: cover;
    display: block;
}

.project-gallery-traditional .project-card img {
    transform: scale(1.2);
}

.up-image {
    object-position: center 20%;
}

.project-image {
    height: 180px;
    overflow: hidden;
}

.project-gallery-traditional .project-card img {
    transform: scale(1.2);
}

/* CAPTIONS */

.project-card h3 {
    margin: 15px 15px 5px;
}

.project-card p {
    margin: 0 15px 20px;
    font-size: 14px;
}

/* HOVER EFFECT */

.project-card:hover {
    transform: scale(1.03);
}

.project-gallery-digital {
    display: flex;
    flex-direction: row;
    gap: 20px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 20px 0;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

/* INDIVIDUAL PROJECT CARDS */

.project-card {
    flex: 0 0 250px;

    background-color:rgba(10, 51, 35, 0.8); 
    border-radius: 15px;
    overflow: hidden;

    color: white;
    text-decoration: none;

    scroll-snap-align: start;

    transition: transform 0.3s;
}

/* PROJECT IMAGES */

.project-card img {
    width: 100%;
    height: 180px;

    object-fit: cover;
    display: block;
}

 .bottom-image {
    object-position: center 90%;
}

/* CAPTIONS */

.project-card h3 {
    margin: 15px 15px 5px;
}

.project-card p {
    margin: 0 15px 20px;
    font-size: 14px;
}

/* HOVER EFFECT */

.project-card:hover {
    transform: scale(1.03);
}

.experience1 {
    display: block;
    width: 100%;
    

    background-color: rgba(10, 51, 35, 0.8); 
    padding: 5%;
    border-radius: 20px;

    margin-top: 30px;
    color: #F7F4D5;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-top: 30px;
    padding: 0;

    background: none;
    color: rgba(10, 51, 35, 0.9);
    text-align: center;
}

.contact p {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.5;
}

.contact a {
    color: #d58f85;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}


/* MOBILE AND TABLET VERSION */

@media (max-width: 900px) {

    /* TOP NAVIGATION */

    .menu {
        top: 0;
        left: 0;

        width: 100%;
        height: 70px;

        flex-direction: row;
        border-bottom: 2px solid white;
    }

    .menu a {
        width: 20%;
        height: 100%;

        flex-direction: row;
        justify-content: center;
        align-items: center;

        padding: 0;
        margin: 0;

        border-bottom: none;
        border-right: 1px solid white;
    }

    .menu img {
        display: block;
        width: 40px;
        height: 40px;

        margin: 0;
        padding: 0;
        object-fit: contain;
    }

    .menu span {
        display: none;
    }


    /* MAIN CONTENT */

    .poster {
        margin-left: 0;
        padding: 100px 5% 30px;
    }


    /* HEADER */

    .header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .aboutmeicon {
        width: 40px;
        height: 40px;
    }


    /* ABOUT ME CONTENT */

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }


    /* CIRCULAR PHOTO ON MOBILE */

    .helena-image {
        width: min(250px, 70vw);
        height: auto;

        /* Square dimensions */
        aspect-ratio: 1 / 1;

        /* Override desktop flex-basis */
        flex: none;

        border-radius: 50%;
        overflow: hidden;
    }

    .helena-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }


    /* PARAGRAPH BELOW PHOTO */

    .aboutmeparagraph {
        width: 100%;
        max-width: 500px;
        flex: none;

        padding: 5%;
        border-radius: 20px;
    }
}

.skillslist{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5%;
    width: 100%;
    }

    .skillslist {
    flex: 1;
    min-width: 100;
    

    background-color: rgba(10, 51, 35, 0.8); 
    padding: 5%;
    border-radius: 20px;
}

.skillslist {
    font-size: clamp(20px, 2.5vw, 30px);
}

.skillslist {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 900px) {

    .skillslist {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .skillslist ul {
        width: 100%;
        min-width: 0;
        flex: none;
        margin: 0;
        padding-left: 25px;
        box-sizing: border-box;
    }

}

/* SMALL PHONE SCREENS */

@media (max-width: 480px) {

    .menu img {
        width: 30px;
        height: 30px;
    }

    .poster {
        padding: 100px 5% 25px;
    }

    .header h1 {
        font-size: 28px;
    }

    .helena-image {
        width: min(220px, 70vw);
        height: auto;
        aspect-ratio: 1 / 1;
        flex: none;
    }

    .aboutmeparagraph {
        padding: 20px;
    }

    .aboutmeparagraph p {
        font-size: 14px;
    }


}


