/* Main class, handle the entiere menu */
.menu {
    grid-area: menu;
    background-color: transparent;
    position: fixed;
    overflow: hidden;
    margin: 0 auto;
    height: 100%;
    width: 30%;

    z-index: 3;
}

/* The menu is composed of few titles that gonna scroll down the content page */
/* The menu is fixed, so the titles are fixed too */
/* The titles are centered in the x axis, and starts at 20% of the weight (menu), above these title we need an picture, and a title */
/* The titles are 10% of the height (menu) */
.menu-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    /* add space between the titles (y) */
    gap: 1rem;
    height: auto;
    width: 80%;
    margin: 3rem;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;

    /* disable scroll here */
    overflow: hidden;
    z-index: 3;
}

.menu-title {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: end;
    height: auto;
    width: auto;
    padding: 0;
    margin-top: 0.5rem;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: var(--color-primary_text_global-darkmode);
    font-size: 1.5rem;
    /* space between letters */
    letter-spacing: 0.25rem;
    /* remove underline */
    text-decoration: overline;

    text-align: center;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    transition: color 0.1s ease-in-out, border-left 0.1s ease-in-out 0.1s, margin-left 0.2s;
}

/* when hovered, the title smally move to the right a and bar appear on the left */
.menu-title:hover {
    cursor: pointer;
    /* disable text selection */
    user-select: none;

    color: var(--color-primary_text_title-darkmode);

    /* add a bar on the left */
    border-left: 0.5rem solid var(--color-primary_text_title-darkmode);
    /* add space to the border, to avoid the border to be too close of the text */
    padding-left: 0.5rem;
    margin-left: 1.5rem;
}

.menu-title-selected {
    /* get the same style as the hover */
    color: var(--color-primary_text_title-darkmode);
    border-left: 0.5rem solid var(--color-primary_text_title-darkmode);
    margin-left: 1.5rem;
    padding-left: 0.5rem;
    user-select: none;
}

/* Presentation Area (container) will be a rectangle located just above the menu */
/* This area will contain an rounded image (profile picture), a title (name), and a very short description */
.presentation-container {
    /* create a grid with two fields, one on the left, one on the right */
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    margin-top: 2rem;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    height: auto;
    
    font-size: 100%;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;

    z-index: 3;
}

.presentation-image {
    /* place into the grid, first position */
    height: auto;
    overflow: hidden;

    /* reduce image size */
    width: auto;
    max-width: 10rem;
    max-height: 10rem;

    /* add shadow */
    box-shadow: -0.5rem 0.7rem 1.0rem rgba(0, 0, 0, 1.5);
    
    /* round the image */
    border-radius: 10rem 10rem 10rem 0rem; /* Arrondit les coins supérieurs et droits */

    /* align left on the grid */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-left: 3rem;

    z-index: 3;

}

.presentation-title {
    /* place on the grid, second position */
    height: 100%;

    text-align: left;

    color: var(--color-primary_text_title-darkmode);
    font-size: 2rem;
    height: auto;
    width: 100%;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;

    margin: 0 auto;
    padding: 0;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    margin-left: 3rem;
}

.presentation-desc {
    color: var(--color-primary_text_global-darkmode);
    display: block;

    width: 60%;

    font-size: 100%;
    text-align: left;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;

    margin-left: 0rem;
    padding-left: 3rem;
}

.social-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    /* add space between the titles (y) */
    font-size: 100%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    position: fixed;
    margin: 1rem;
    margin-left: 2rem;
    bottom: 0rem;

    /* disable scroll here */
    overflow: hidden;
    z-index: 2;
}

.social-elem {
    overflow-x: hidden;
    gap: 0.5rem;

    color: white;

    width: 4.0rem;
    height: 2.0rem;
    margin: 5%;

    transition: transform 0.2s ease-in-out;
}

.social-elem:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.contact-container {
    /* center it */
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;

    /* add space between the titles (y) */
    font-weight: normal;
    position: fixed;
    margin: 1rem;
    margin-bottom: 4rem;
    bottom: 0rem;

    height: 4rem;
    width: 30%;

    /* disable scroll here */
    z-index: 2;
    
    
}

.contact-title {
    display: block;
    color: var(--color-primary_text_title-darkmode);
    font-size: 1.5rem;
    background: transparent;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: underline;
    font-style: italic;
    font-size: 1.5rem;
    border-radius: 0.45rem;
    padding: 0.3rem;

    text-align: center;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);

    margin-left: 2rem;


}