@import "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";

*  { 
  box-sizing:border-box;
  font-family:"Open Sans";
  margin:0;
  padding:0;
  scroll-behavior:smooth
}

a{
    text-decoration: none;
}

input:focus, textarea:focus{
    outline: none;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    padding: 17px 4rem;
    box-shadow: 0 4px 4px 0 #00000014;
    z-index: 999;
}

.logo h2{
    color: #2F855A;
    font-size: 20px;
    font-weight: 700;
}

.logo span{
    color: #8B2635;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
}

header nav{
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a{
    color: #3D3D3D;
    font-weight: 400;
    font-size: 16px;
    transition: .2s all ease-in-out;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}

header nav a:hover, header nav a.active{
    background-color: #2F855A;
    color: #fff;
    font-weight: 600;
}

.banner{
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding:70px 7%;
    color: #3D3D3D;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
}

.banner h1{
    font-size: 30px;
}

.banner h1 span{
    color: #8B2635;
}

.banner p{
    text-align: center;
    line-height: 33px;
    width: 50%;
}

.banner .boutons{
    display: flex;
    align-items: left;
    gap: 2rem;
}

.banner .boutons a{
    background-color: #2F855A;
    border-radius: 20px;
    padding: 20px  30px;
    font-size: 16px;
    font-weight: 600;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: .2s ease-in-out all;
}

.banner .boutons a:hover{
    background-color: #fff;
    color: #2F855A;
}

.banner .boutons a.more{
    border: 1px solid #2F855A;
    background-color: transparent;
    color: #2F855A;
}

.banner .boutons a.more:hover{
    background-color: #2F855A;
    color: #fff;
}

.presentation{
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding:70px 4rem;
    background-color: #F7F3E9;
    margin-top: 80px;
    text-align: justify;
    padding-bottom: 10px;
    padding-top: 20px;
}

.presentation h3{
    margin: 2rem 0;
    font-size: 24px;
}

.presentation h3 span{
    color: #8B2635;
}

.presentation div{
    margin-bottom: 1rem;
}

.presentation .left{
    width: 65%;
    text-align: center;
    display: flex
    ;
        flex-direction: column;
        justify-content: space-between;
}

.left .first h1, .left .first p, .centered h1, .centered p{
    text-align: center !important;
}

.pimg img:last-child{
    width: 60% !important;
    object-fit: fill !important;
}

.pimg img{
    width: 40% !important;
    object-fit: fill !important;
}

.right p{
    color: #2F855A;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

.presentation img{
    width: 100%;
    height: 90%;
    margin-top: 1rem;
    object-fit: cover;
}

.presentation img{
    border-radius: 20px;
}

.presentation .left .first h1{
    font-size: 50px;
    text-align: left;
    line-height: 44px;
}

.first span {
    font-size: 25px;
}

.first span span{
    color: #2F855A;
    font-weight: bold;
}

p.org{
    line-height: 25px !important;
}

.centered h1{
    color: #8B2635;
    font-size: 40px;
}

.centered h3{
    color: #8B2635;
    font-size: 30px;
}

.presentation .left p {
    color: #3D3D3D;
    line-height: 33px;
    text-align: justify;
    font-weight: 600;
    font-size: 22px;
}

.first p.green{
    font-size: 30px;
}

.presentation .right{
    width: 45%;
}

.presentation .left p span{
    color: #8B2635;
}

.text{
    padding: 0 4rem;
    background-color: #F7F3E9;
    padding-bottom: 4rem;
}

.text h2{
    font-size: 40px;
    color: #8B2635;
    text-align: center;
    margin-bottom: 2rem;
}

.text p{
    background: transparent;
    line-height: 30px;
    text-align: justify;
    padding-bottom: 1rem;
    font-size: 20px;
}

span.it{
    font-style: italic;
}
.text ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text ul li {
    font-weight: 800;
    font-size: 21px;
    color: #8B2635;
}

.text h1{
    text-align: center;
    color: #8B2635;
    padding: 2rem 0;
}

.points{
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: center;
    padding: 50px 10%;
    background-color: #F7F3E9;;
}

.points .point{
    box-shadow: 0 4px 4px 0 #00000014;
    padding: 30px ;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 450px;
    background-color: #fff;
    border: 1px solid #8B2635;
    color: #8B2635  !important;
}



.point h1{
    color: #8B2635  !important;
    font-size: 70px;
}


.points .point div{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.points .point div img{
    width: 30px;
    height: 30px;
}

.points .point div h1{
    color: #3D3D3D;
}

.points .point p{
    font-style: italic;
    color: #3D3D3D;
    text-align: center;
}

.joinus{
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #fff;
    background-image: url('/images/students.svg');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.joinus h1{
    font-size: 30px;
}

.joinus .buttons{
    display: flex;
    align-items: center;
    gap: 30px;
}


.joinus .buttons a{
    background-color: #fff;
    padding: 20px;
    color: #8B2635;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: .2s all ease-in-out;
}

.joinus .buttons a:hover{
    background-color: #8B2635;
    color: #fff;
}

.joinus .buttons a.more{
    background-color: transparent;
    border: 1px solid #8B2635;
    color: #fff;
}

.joinus .buttons a.more:hover{
    background-color: #8B2635;
    color: #fff;
}

.footer{
    background-color: #0000001a;
}

footer{
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 30px 4rem;
    color: #3D3D3D;
    border-bottom: 1px solid #3D3D3D;
    padding-bottom: 30px;
    margin-bottom: 0;
}

footer .first div{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

footer .second{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

footer .second .partners, footer .second .contact{
    display: flex;
    flex-direction: column;
    gap: 7px;
}


footer .second .partners span, footer .second .contact span, footer .first span{
    font-weight: 600;
}

footer .second .partners div{
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .second .contact div{
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-style: italic;
}

.copy{
    padding: 10px 0;
}

.copy p{
    text-align: center;
    color: #3D3D3D;
    font-size: 12px;
}

.mobile{
    display: none;
}

.no-scroll  { 
    overflow:hidden
}

.projects{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    width: calc(100% - 8rem);
    margin: 30px auto;
}

.project{
    border-radius: 20px;
    padding: 20px;
    display: flex
;
    flex-direction: column;
    align-items: start;
    gap: 30px;
    /* height: 350px; */
    box-shadow: 0 4px 4px 0 #00000014;
    border: 1px solid #00000018;
}

.project img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.pimg{
    display: flex;
}

.content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project .content h2{
    color: #2F855A;
}

.content p{
    font-size: 24px;
    color: #3D3D3D;
    margin-top: 1rem;
    line-height: 33px;
    text-align: justify;
}

.content a{
    background-color: #2F855A;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: end;
    width: fit-content;
    float: right;
}

footer .first div a.active{
    color: #8B2635;
    font-weight: 600;
}

footer .first div a{
    color: #3D3D3D;
}

.form-container{
    margin: 40px 30%;
    box-shadow: 0 4px 4px 0 #00000014;
    padding: 20px;
    border-radius: 20px;
}

.form-container form{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-container form .form-group{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-container form .form-group label{
    color: #2F855A;
}

.form-container form .form-group input{
    height: 50px;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #00000026;
}

.form-container form .form-group textarea{
    height: 150px;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #00000026;
}

.part{
    display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 30px;
grid-row-gap: 30px;
    margin: 0 4rem;
    margin-bottom: 2rem;
}

.form-container form button{
    height: 50px;
    background-color: #2F855A;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
}

.project-banner {
    margin: 118px 6rem;
    margin-bottom: 2rem;
    /* padding: 40px; */
    display: flex
;
    flex-direction: column;
    gap: 30px;
    align-items: start;
    /* width: 75%; */
    text-align: center;
    /* margin-bottom: 0; */
}

.project-banner p {
    text-align: center;
    line-height: 33px;
    font-size: 28px;
}
 
.project .content p{
    font-size: 23px !important;
}

.head{
    background-color: #8b26351c;
    border-radius: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.head h1{
    color: #8B2635;
    text-align: center;
    font-size: 35px;
}

.participer .part-item{
    margin-top: 2rem;

}

a.retourner{
    color: #8B2635;
    padding-bottom: 2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.alert.alert-success {
    background: green;
    position: absolute;
    top: 6rem;
    left: 20%;
    right: 20%;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    height: 100Px;
    z-index: 9;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.alert {
    opacity: 1;
    transition: opacity 0.5s ease; /* Transition d'opacité */
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.participer{
    margin: 130px 4rem;
}

.part-item{
    border: 1px solid #0000000f;
    padding: 20px;
    border-radius: 20px;
}

.mots{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.green{
    color: #2F855A !important;
}

@media (min-width: 300px) and (max-width: 700px){

    *{
        overflow-x: hidden;
    }

    .mobile-menu .head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        height: fit-content;
        background: transparent;
        border-radius: 0;
    }

    .mobile-menu .head img{
        width: 30px;
        height: 30px;
    }

    .web{
        display: none;
    }

    header{
        padding: 15px;
    }

    .banner{
        padding:30px 20px;
        gap: 20px;
    }

    .banner h1{
        text-align: center;
        font-size: 24px;
    }

    .banner p {
        width: 100%;
    }

    .banner .boutons{
        flex-direction: column;
        width: 100%;
    }

    .presentation{
        flex-direction: column;
        padding: 1rem;
    }

    .presentation .left h1{
        font-size: 25px;
    }

    .text{
        padding: 0 1rem;
    }

    .points .point{
        width: 95%;
    }

    .point h1 {
        color: #8B2635 !important;
        font-size: 43px;
    }

    a.logo{
        padding: 0;
    }

    .presentation .left, .presentation img{
        width: 100%;
    }

    footer {
        padding: 30px 1rem;
    }

    .points{
        flex-direction: column;
        height: fit-content;
        overflow: hidden;
    }

    .joinus h1{
        text-align: center;
        font-size: 24px;
    }

    .joinus .buttons{
        flex-direction: column;
        width: 100%;
    }

    .banner .boutons a, .joinus .buttons a{
        width: 100%;
        text-align: center;
    }

    footer{
        flex-direction: column;
        gap: 20px;
    }

    .mobile{
        display: block;
    }

    .menu{
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .menu div{
        width: 30px;
        height: 3px;
        background-color: #3D3D3D;
        border-radius: 10px;
    }

    .mobile-menu{
        display: none;
    }

    .mobile-menu.active{
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        padding: 15px;
        background: var(--Couleur-de-fond, linear-gradient(171deg, #FFF -3.46%, #F0F2F3 101.49%));
    }

    .nav{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 2rem;
    }

    .projects{
        width: calc(100% - 40px);
        margin: 30px 20px;
    }

    .project{
        flex-direction: column;
        height: fit-content;
        border-bottom: 1px solid #3d3d3d56;
    }

    .project img {
        width: 100%;
        height: 136px;
    }

    .form-container{
        margin: 40px 20px;
    }

    .project-banner{
        padding: 0;
        height: fit-content;
        overflow-y: hidden;
        margin: 80px 20px;
        width: calc(100% - 40px);
        padding-top: 20px;
        margin-bottom: 0;
    }

    .projects{
        display: flex;
        flex-direction: column;
    }
    
    
}

@media (min-width: 701px) and (max-width: 1400px){
    .presentation{
        padding: 70px 4rem;
        padding-bottom: 0;
    }

    .text{
        padding: 0 4rem;
    }

    header{
        padding: 17px 4rem;
    }
}