body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
button {
    box-shadow: 0px 4px 4px rgba(28, 28, 33, 0.15);
}
.header {
    position: fixed;
    width: 100%;
    height: 10%;
    display: flex;
    top: 0;
    left: 0;
    align-items: center;
    padding-left: 5%;
    background-color: #ffffff;
    z-index: 999;
}
.link {
    color: #8b8b8b;
    font-size: 16px;
    letter-spacing: 0;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    line-height: normal;
    cursor: pointer;
}

.projets-list {
    display: flex;
    font-family: "Rokkitt", Helvetica;
    font-weight: 500;
    gap: 0.5em;
}

.projets {
    display: flex;
    height: 45px;
    align-items: center;
    color: #696868;
    background-color: #ffffff;
    border-radius: 22.5px;
    justify-content: center;
    padding: 0px 10px;
    gap: 5%;
    border: #9e9e9e 1px solid;
    position: relative;
    cursor: pointer;
}
.projets.active {
    border: #696868 2px solid;
}
@keyframes toVisible {
    0% {
        visibility: hidden;
        opacity: 0;
    }
    99% {
        visibility: visible;
    }
    100% {
        visibility: visible;
        opacity: 1;
    }
}
.logoType {
    position: relative;
    width: 25px;
    height: 25px;
}

.expand-arrow {
    position: relative;
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}
.opened .expand-arrow {
    transform: rotate(180deg);
}
.line {
    position: absolute;
    width: 70%;
    height: 1px;
    top: 74px;
    left: 39px;
    object-fit: cover;
}

.title-and-desc {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10%;
}
.title-and-desc p {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    clip-path: border-box;
    max-height: 30%;
}
.title-and-desc.transi p:not(.posteName) {
    max-height: 0px;
}

.title-and-desc span {
    font-family: var(--paragraphes-font-family);
    font-weight: var(--paragraphes-font-weight);
    color: #000000;
    font-size: var(--paragraphes-font-size);
    letter-spacing: var(--paragraphes-letter-spacing);
    font-style: var(--paragraphes-font-style);
    line-height: var(--paragraphes-line-height);
}

.bold {
    font-weight: 700 !important;
}

.dividerCircle {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 39px;
}

.circle {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: 1px solid;
    border-color: #000000;
}

.titleName {
    font-family: var(--font-head-title-font-family);
    font-weight: var(--font-head-title-font-weight);
    color: #000000;
    font-size: var(--font-head-title-font-size);
    letter-spacing: var(--font-head-title-letter-spacing);
    line-height: var(--font-head-title-line-height);
    font-style: var(--font-head-title-font-style);
}

.posteName {
    width: fit-content;
    font-family: "Roboto", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 13px;
    letter-spacing: 0;
    line-height: normal;
}

.italic {
    font-style: italic !important;
}

.containerProject {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 90%;
}

.project {
    position: relative;
    width: 100%;
    height: max-content;
    padding: 2%;
    background-color: #e9e9e9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image {
    width: 60%;
    object-fit: cover;
    mix-blend-mode: darken;
}
.titleProject {
    font-family: "Rokkitt", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 35px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    padding-bottom: 3%;
}

.listeTechs {
    display: flex;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.angular {
    --color-tech: #c80202;
}
.nodeJS {
    --color-tech: #437b33;
}
.html {
    --color-tech: #c84902;
}
.css {
    --color-tech: #34777b;
}
.javascript {
    --color-tech: #908413;
}
.mongodb {
    --color-tech: #69c74f;
}
.python {
    --color-tech: #316994;
}
.sqllite {
    --color-tech: #55ade1;
}
.tech {
    --background-color-tech: #ffffffc2;
    display: flex;
    width: 40%;
    max-width: 150px;
    height: 31px;
    padding: 0 0.5em;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    background-color: var(--background-color-tech);
    border-radius: 15px;
    border: 3px solid;
    border-color: var(--color-tech);
}

.ellipse {
    background-color: var(--color-tech);
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 7.5px;
}

.textInTech {
    position: relative;
    width: fit-content;
    font-family: "Work Sans", Helvetica;
    font-weight: 400;
    color: var(--color-tech);
    font-size: 14px;

    line-height: normal;
    white-space: nowrap;
}

footer {
    display: flex;
    width: 100%;
    height: 10vh;
    justify-content: space-around;
    align-items: center;
}
footer img {
    width: var(--logo-size);
    height: var(--logo-size);
}
.body {
    display: flex;
    padding: 1em 1em 0 1em;
    scroll-behavior: smooth;
    gap: 1em;
}
#language-buttons-mobile {
    margin: 0 auto;
    display: flex;
    gap: 5px;
    margin-top: 30%;
}
#language-buttons {
    display: flex;
    gap: 5px;
    margin-left: auto;
    margin-right: 1em;
}
#language-buttons button,
#language-buttons-mobile button {
    background-color: transparent;
    border: 1px solid #ccc;
    margin: 0 5px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 1em;
}
#language-buttons .flag {
    width: 30px;
}
#language-buttons-mobile .flag {
    width: 20px;
}
#language-buttons button:hover,
#language-buttons-mobile button:hover {
    background-color: #f0f0f0;
}
#language-buttons button.active,
#language-buttons-mobile button.active {
    background-color: #f0f0f0;
    border: 1px solid #000;
}

.lineSvg {
    height: 75vh;
}
@media (max-width: 768px) {
    #language-buttons {
        display: none;
    }
    .lineSvg {
        display: none;
    }
    .body {
        flex-direction: column;
        align-items: center;
    }
    .ellipse {
        display: none;
    }
    .header {
        padding: 0px 2%;
        justify-content: space-evenly;
    }
    .projets span {
        font-size: 14px;
    }
    .projets {
        padding: 0px 2px;
    }
}

@media (min-width: 768px) {
    #language-buttons-mobile {
        display: none;
    }
    .title-and-desc {
        flex: 3;
        padding: 1em;
    }
    .title-and-desc span {
        font-size: 1.3em;
    }
    .link {
        font-size: 1.2em;
    }
    .mainDiv {
        margin: 1em;
        border: 2px solid #00000034;
        border-radius: 2em;
        display: flex;
        flex-direction: column;
        width: calc(100% - 2em);
    }

    .containerProject {
        flex: 4;
        overflow: auto;
        height: 75vh;
    }
    .header {
        position: relative;
        padding: 1em;
        padding-left: 2em;
        gap: 20%;
        z-index: 1;
        border-radius: 2em;
        height: 8%;
    }
    .line {
        display: none;
    }
    .projets-dropdown {
        top: 4%;
        left: 30%;
        width: 10%;
    }
    .projets {
        justify-content: space-evenly;
        gap: 1em;
    }
    .project {
        /* min-height: 600px; */
    }
    .title-and-desc {
        margin-top: 0;
    }
    .titleName {
        font-size: 2em;
    }
    .footer .titleName {
        font-size: 1.4em;
    }
    .posteName {
        margin-bottom: 3em;
    }
    .posteName span {
        font-size: 1.5em !important;
    }
    .en-alternance-thales {
        text-align: right;
    }
}
