body{
    overflow-x: hidden;
}
/* ====================== */
/* section header */
/* ====================== */

.menu-header{
    padding-top: 1rem;
}

#section1 {
    padding: 60px;
}

section#softwares {
    border-bottom: none;
}

section#softwares h2 a {
    color: black;
    text-decoration: none;
}

.section-title{
    padding-bottom: 3rem;
}

.padding-postscriptum{
    padding-bottom: 2rem;
}

.ps-text {
    font-family: var(--font-family-baskerville-regular);
    font-size: 18px;
}

.PS-Spec {
    width: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.PS-Spec a {
    padding: 10px 15px 10px 15px;
    border: 1px solid black;
    border-radius: 25px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    width: 210px;
    text-align: center;
}

.description {
    display: flex;
    flex-direction: row;
    width: 95vw;
    padding: 3rem;
    justify-content: center;
    align-items: center;
}

.PS-Desc {
    width: 50vw;
}

.PS-Desc h3 {
    font-family: var(--font-family-baskerville-regular);
    margin-left: 20px;
    margin-top: 9px;
}

.PS-logo {
    width: 55px;
    height: 55px;
}

.abstract-text {
    width: 80vw;
    justify-content: space-between;
}

.abstract-item {
    width: 35vw;
    /* border: 1px solid; */
    margin-bottom: 4vh;
    font-family: var(--font-family-baskerville-semibold);
}

.abstract-item h3 {
    font-size: 42px;
    font-family: var(--font-family-baskerville-regular);
    text-transform: uppercase;
}

.abstract-item li {
    margin-bottom: 1.5vh;
    list-style-type: disc;
    list-style-position: inside;

}

/*
cursor pour la liste de softwares
*/

#cursorSoftwares {
    position: absolute;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: black; /* Couleur initiale du curseur */
    background-position: center;
    pointer-events: none;
    /* mix-blend-mode: difference;  *//* Choisissez le mode de mélange souhaité */
    transition: background-color 0.5s ease; /* Ajout d'une transition pour une animation en douceur */
    z-index: 5;
    display: flex; /* Ajout de display flex */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
  }
  
  #cursorSoftwares span {
    font-family: "Helvetica-Regular";
    color: white;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-20%, -50%);
  }

/* list of softwares */

.softwares-galery{
    padding-left: 6rem;
    padding-right: 6rem;
}

.softwares-galery ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.softwares-galery ul li {
    position: relative;
    flex-wrap: wrap;
    width: 22.125rem;
}

.softwares-galery ul li .card{
    position: relative;
    width: 18.75rem;
    height: 18.75rem;
    overflow: hidden;
}

.softwares-galery ul li img {
    width: 100%;
    height: 220%;
    object-fit: cover;
    display: block;
}

.softwares-galery .post-title a {
    font-family: "Helvetica-Regular";
    color:black;
    text-decoration: none;
    font-size: 18px;
}

.softwares-galery .post-title a:hover {
    text-decoration: underline;
}

.softwares-galery .post-desc {
    width: 18rem;
    margin-bottom: 2rem;
    font-size: 15px;
}

.softwares-galery a.heart {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.softwares-galery a.heart svg:hover {
    fill: red;
}

/* =============================== */

.surround {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-top: 0.5rem
}

.surround .surrounded-interview {
    border: none;
    background: none;
    outline: none;
}

.surround svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
}

#svg-sign {
    /*top: 8rem;*/
    stroke: black;
    stroke-width: 1px;
}

#svg-post, #svg-int, #svg-short {
    height: 100%;
    stroke: #02326C;
    stroke-width: 3px;
  }

.surround path {
    stroke-dasharray: 0 0;
    display: none;
}

.surround:hover path {
    animation: draw 1s forwards;
    display: block;
}

@keyframes draw {
    from {
        stroke-dasharray: 0 1500;
    }

    to {
        stroke-dasharray: 1500 1500;
    }
}

/* software page */

.overlay-text1 {
    position: absolute;
    top: 38%;
    left: 20%;
    /*transform: translate(-50%, -50%);*/
    color: #fff; /* White text */
    z-index: 10; /* Ensure the text is above the ellipse image */
}
.overlay-text2 {
    position: absolute;
    top: 43%;
    left: 20.2%;
    /*transform: translate(-50%, -50%);*/
    color: #fff; /* White text */
    z-index: 10; /* Ensure the text is above the ellipse image */
}

.ellipse1{
    position: absolute;
    top: 32%;
    left: 18.5%;
    /*transform: translate(-50%, -50%);*/  
    border: black 2px solid;
    z-index: 10;
}
.ellipse2{
    position: absolute;
    top:32%;
    left:42%;
    z-index: 10;
    border: black 2px solid;
}
.ellipse3{
    position: absolute;
    top:32%;
    left:65.5%;
    z-index: 10;
    border: black 2px solid;
}

.ellipse4{
    position: absolute;
    top: 32%;
    left: 89%;
    /*transform: translate(-50%, -50%);*/  
    border: black 2px solid;
    z-index: 10;
}

.carousel-container-soft {
    position: relative;
    width: 100vw;
    overflow: hidden;  
}

.carousel-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
 
.carousel-button-soft {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.carousel-button-soft button:first-child {
    margin-right: 30rem;
    flex-grow: 0;
}
 
.carousel-button-soft button:last-child {
    margin-left: 50rem;
    flex-grow: 0;
}
 
.carousel-button-soft div {
    flex-grow: 1;
}
 
.fleche_gauche-soft {
    width: 300px;
    background-repeat: no-repeat;
    background-size: auto 210px;
    background-position: left top;
    margin-bottom: 5rem;
}
  
.fleche_droite-soft {
    width: 300px;
    background-repeat: no-repeat;
    background-size: auto 210px;
    background-position: right top;
    margin-bottom: 5rem;
}
  
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
 
.pagination {
    display: inline-block;
    margin: 0 0.5rem;
}
 
.page-number.active {
    font-weight: bold;
}

.en-bref-log {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

.en-bref{
    display: flex;
}

/* responsive */

@media (max-width: 1150px) {
    .menu-header{
        display: none;
    }

    #cursorSoftwares {
        position:absolute;
        width: 6rem;
        height: 6rem;
    }

    #cursorSoftwares span {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .en-bref{
        display: block;
    }

    .abstract-item {
        width: 80vw;      
    }

    .abstract-item h3 {
        font-size: 35px;
        text-align: center;
    }

    .PS-Desc {
        width: 70vw;
    }

    .description {
        display: grid;
        /*
        padding-left: 15rem;
        padding-right: 15rem;
        */
    }

    .ps-text {
        width: 70vw;
        text-align: center;
        margin: 0 3rem;
    }

    .PS-Spec {
        width: 80vw;
        /*display: block;*/
        padding-top: 2rem;
        /*text-align: center;*/
        /*padding-right: 2rem;*/
       /*margin:auto;*/
    }

    .softwares-galery {
        padding-left:8rem;
        padding-right: 0rem;
    }

    .padding-postscriptum{
        display: flex;
        justify-content: center;   
    }
}

@media (max-width: 920px) {
    
    .softwares-galery {
        padding-left:4rem;
        padding-right: 0rem;
    }
}

@media (max-width: 855px) {
    
    .softwares-galery {
        padding-left:1rem;
    }
}

@media (max-width: 800px) {
    
    .softwares-galery {
        padding-left: auto !important;
        padding-right: auto !important;
    }

    .softwares-galery ul li {
        margin-top: 3rem;
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px) {

    #section1 h1 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .ps-text {
        width: 80vw;
        margin: 0 auto;
    }

    .abstract-item p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    #cursorSoftwares {
        width: 4rem;
        height: 4rem;
    }

    #cursorSoftwares span {
        font-size: 0.5rem;
    }
}

@media (max-width: 501px) {

    #section1 h1 {
        font-size: 1.25rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .padding-postscriptum{
        padding-right: 4rem;
    }

    .abstract-item h3 {
        font-size: 2rem;
    }

    .softwares-galery{
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .ps-text {
        width: 75vw;
        font-size: 18px;
        margin: 0 auto;
    }

    .softwares-galery .post-title {
        width: 50vw;
    }
    
}

@media (max-width: 400px) {

    #section1 h1 {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 24px;
    }

    .softwares-galery ul li {
        margin-left: -5vw;
    }
}


