/*--------- Portfolio Haut ---------*/

.portfolio .first {
    height: 30vh;
    padding-top: 12vh;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    background: linear-gradient(0, rgba(0, 0, 0, 0.70) 30%, var(--secondary-fixed-color) 100%),
        url("../img/illustrations/portfolio_background.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: 20%;
    overflow: hidden;
    position: relative;
}

.portfolio .first .container .presentation-portfolio {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 2vh;
}

.portfolio .first .container .presentation-portfolio span {
    display: inline-block;
    height: 50px;
    width: 2px;
    background-color: var(--primary-fixed-color);
    margin-right: 25px;
}

.portfolio .first .container .pictos-moove {
    position: absolute;
    right: 5vw;
    bottom: 0;
    width: 40vw;
    height: 42vh;
    /*background: linear-gradient(0, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%),
    linear-gradient(0, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%);
*/
}

.first .picto-moove {
    position: absolute;
    height: 50px;
    width: 50px;
    left: 15%;
}

.first .picto-moove .svg {
    width: 100%;
    height: 100%;
}

.first .picto-moove .svg path {
    fill: var(--primary-fixed-color);
}

.picto-moove {
    opacity: 0.3;
    transition: 350ms all;
}

.picto-moove:hover {
    opacity: 0.8;
    transition: 350ms all;
}

@keyframes rotatePictos2 {
    0% {
        transform: rotateZ(15deg)
    }

    100% {
        transform: rotateZ(-12deg)
    }
}

/*-------------Qui suis-je ?------------*/

#profil .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#profil .container .group {
    display: flex;
    width: 48%;
}

#profil .container .group:first-child {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#profil .photo-portrait {
    width: 25%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
}

#profil .container .group:first-child .infos-content {
    margin: 0 0 2vh 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 70%;
}

#profil .container .group:first-child .infos-content p {
    text-align: justify;
    margin: 2vh 0;
}

#profil .container .group:first-child .infos-content .important {
    color: var(--main-color);
}

#profil .container .group:first-child .infos-content .btn {
    margin: 0 auto;
    justify-content: center;
}

#profil .container .group:last-child {
    display: flex;
    flex-direction: column;
}

#profil .container .group:last-child .adjectifs-group {
    margin: 2vh 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#profil .container .group:last-child .adjectifs-group .adjectif {
    padding: 12px 10px;
    width: 26%;
    margin: 10px 0;
    background-color: var(--main-color);
    color: var(--primary-fixed-color);
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: 300ms all;
}

#profil .container .group:last-child .adjectifs-group .adjectif:hover {
    transform: scale(0.9);
}

#profil .container .group:last-child .description-adjectif {
    background-color: var(--second-background-color);
    text-align: center;
    position: relative;
    padding: 20px 0;
}

#profil .container .group:last-child .description-adjectif p {
    font-size: 1.2rem;
    font-family: "Jost Light";
}

#profil .container .group:last-child .description-adjectif .svg {
    position: absolute;
}

#profil .container .group:last-child .description-adjectif .svg:first-child {
    top: 0;
    left: 0;
    transform: scale(1.3) translateX(-4px) translateY(-4px) rotateZ(180deg);
}

#profil .container .group:last-child .description-adjectif .svg:last-child {
    bottom: 0;
    right: 0;
    transform: scale(1.3) translateX(4px) translateY(4px);
}

/*-------------parcours------------*/

/*voir timeline sur la feuille : timeline.css*/

.timeline .container {
    background-color: var(--second-background-color);
}

.timeline .container .top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.timeline .container .nav {
    display: flex;
    flex-direction: row;
}

.timeline .container .nav .picto {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.timeline .container .nav .picto.display-filters {
    margin-right: 20px;
}

.timeline .container .nav .svg {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.timeline .container .nav .reduct.active {
    transform: rotateZ(90deg);
    transition: 350ms;
}

.timeline .container .nav .reduct {
    transform: rotateZ(0);
    transition: 350ms;
}

.timeline .container .nav .svg path {
    fill: var(--main-color);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.timeline .container .filters {
    display: none;
    transition: 450ms;
}

.timeline .container .filters.active {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin: 4vh 0;
    transition: 450ms;
}

.timeline .container .filters select {
    border: 2px solid var(--main-color);
    padding: 5px 10px;
    background-color: var(--main-background-color);
    font-size: 1rem;
    width: 30%;
    color: var(--primary-text-color);
    font-family: 'Jost';
}

.timeline .container .filters select:focus {
    outline: none;
}

.timeline .container .aucun-event {
    text-align: center;
}

.timeline .container .aucun-event.none {
    display: none;
}

/*-------------competences------------*/

#competences .container .grid {
    margin: 3vh 0 2vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#competences .container .grid .category-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#competences .container .grid .category-group>.name {
    display: flex;
    flex-direction: row;
    margin: 2vh 0 3vh;
    align-items: center;
}

#competences .container .grid .category-group .name h3 {
    color: var(--primary-text-color);
}

#competences .container .grid .category-group .name .svg {
    width: 22px;
    height: 22px;
    padding-right: 10px;
}

#competences .container .grid .category-group .name .svg path {
    fill: var(--primary-text-color);
}

#competences .container .grid .category-group .software {
    display: flex;
    flex-direction: row;
    margin: 20px 0;
    align-items: center;
    height: 70px;
}

#competences .container .grid .category-group .software .logo {
    width: 70px;
    max-height: 70px;
}

#competences .container .grid .category-group .software .logo.svg path {
    fill: var(--primary-text-color);
}

#competences .container .grid .category-group .software .infos {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

#competences .container .grid .category-group .software .infos .name {
    color: var(--primary-text-color);
    font-size: 1.4rem;
}

#competences .container .grid .category-group .software .infos .type {
    color: var(--main-color);
    font-family: 'Jost Medium';
    font-size: 1.1rem;
    padding: 2px 0 8px;
}

#competences .container .grid .category-group .software .infos progress {
    border-radius: 0;
    color: var(--main-color);
    background: rgba(var(--r-color), var(--g-color), var(--b-color), 0.2);
    height: 6px;
    width: 180px;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

progress {
    color: var(--main-color);
    -webkit-appearance: none;
    appearance: none;
}

progress::-webkit-progress-value {
    background: var(--main-color);
    -webkit-appearance: none;
    appearance: none;
}

progress::-moz-progress-bar {
    background: rgba(var(--r-color), var(--g-color), var(--b-color), 0.2);
    -webkit-appearance: none;
    appearance: none;
}

/*-------------projets mmi------------*/

.school-projects .container .grid-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5vh 0;
}

.school-projects .container .bloc-btn {
    width: 100%;
    text-align: center;
    margin: 8vh 0;
}

@media screen and (max-width: 1280px) {

    .portfolio .first .container .presentation-portfolio p {
        width: 55vw;
    }

    /*-------------projets mmi------------*/

    .school-projects .container .grid-projects {
        justify-content: space-around;
    }
}

@media screen and (max-width: 1025px) {


    .portfolio .first .container .presentation-portfolio p {
        width: 65vw;
    }

    /*-------------projets mmi------------*/

    .school-projects .container .bloc-btn {
        margin: 5vh 0;
    }

}

@media screen and (max-width: 769px) {

    /*-------------Qui suis-je ?------------*/

    #profil .container {
        justify-content: center;
    }

    #profil .container .group {
        width: 100%;
    }

    #profil .container .group:first-child {
        margin-bottom: 2vh;
    }

    #profil .photo-portrait {
        width: 150px;
        height: 150px;
    }

    #profil .container .group:first-child .infos-content {
        width: auto;
    }

    #profil .container .group:last-child {
        margin-bottom: 4vh;
    }

    /*-------------parcours------------*/

    /*voir timeline sur la feuille : timeline.css*/

    .timeline .container .filters select {
        font-size: 0.8rem;
        width: 32%;
    }

    /*-------------competences------------*/

    #competences .container .grid {
        justify-content: space-around;
        margin: 0;
    }

    #competences .container .grid .category-group {
        margin: 2vh;
    }

    /*-------------projets mmi------------*/

    .school-projects .container .grid-projects {
        margin: 3vh 0 3vh;
    }

    .school-projects .container .bloc-btn {
        margin: 0 0 4vh;
    }

}

@media screen and (max-width: 570px) {

    .portfolio .first {
        height: 25vh;
        padding-top: 8vh;
    }

    .portfolio .first .container .presentation-portfolio p {
        width: 85vw;
    }

    /*-------------parcours------------*/

    /*voir timeline sur la feuille : timeline.css*/

    .timeline .container .filters.active {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-bottom: 0;
    }

    .timeline .container .filters select {
        width: 46%;
        margin-bottom: 2vh;
    }

    /*-------------competences------------*/

    #competences .container .grid .category-group .software {
        height: 50px;
    }

    #competences .container .grid .category-group .software .logo {
        width: 50px;
        max-height: 50px;
    }

    #competences .container .grid .category-group .software .infos .name {
        font-size: 1rem;
    }

    #competences .container .grid .category-group .software .infos .type {
        font-size: 0.8rem;
    }

    #competences .container .grid .category-group .software .infos progress {
        height: 4px;
        width: 150px;
    }
}