body{
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    
}
/*header*/

header{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content:center;
    height: 300px;
    width: 100%;
    background-color: #FF6B35;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}



.links{
    display: grid;
    grid-template-columns: repeat(var(--items), 1fr);
    position: relative;
    top: 0;
    background-color: #ffffff;
    width: 60%;
    font-size: 0,938em;
    font-weight: 600;
    z-index: 1;
    align-items: center;
    height: 100px;
    
}

.links > a {
    color: black;
    padding: 0.5em;
    text-align: center;
    border-bottom: none;
    transition: all .5s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.logo{
    width: 300px;
    height: auto;
    align-self: flex-end;
    position: absolute;
}
/*main*/

main{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentation{
    background-color: #FFFFFF;
    margin-top: 40px;
    margin-bottom: 5px;
    width: 800px;
    height: 595px;
    align-self: center;
    color:#1A659E ;
}
.presentation p {

    text-align: justify;
    align-self:center ;
    
    

}
.catalogue{
    background-color: #1A659E;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: space-around;

}
.catalogue h1{
    color: #FFFFFF;
    text-align: center;
}

.calameo{
    
    width: 50%;
    height: 400px;
    margin-top: 30px;
    margin: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.cata{
    align-self: center;

}

.form{
    
    width: 50%;
    height: 300px;
    margin-top: 30px;
    margin: 30px;
    display: flex;
    flex-direction: column;
}
.challenge{
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.part1{
    width: 50%;
    height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.part1 h3{
    align-self: center;
    color:#1A659E ;
}

.part2{
    width: 50%;
    height: 300px;
    display: flex;
    justify-content: center;
    

}
.part2 p{
    align-self: center;
    color:#1A659E ;
}

video{
    width: 400px;
    height: 200px;
    margin-block: auto;

}

footer{
    background-color: #FF6B35;
    width: 100%;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
}

footer p a{

    padding-top: 10px;
    color: #FFFFFF;
    text-decoration: none;
}

/*BUTTON*/

.bouton {
    display: inline-block;
    border-radius: 4px;
    background-color: #FF6B35;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 21px;
    padding: 20px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    align-self: center;
  }
  
  .bouton span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .bouton span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .bouton:hover span {
    padding-right: 25px;
  }
  
  .bouton:hover span:after {
    opacity: 1;
    right: 0;
  }
  /*responsive*/

  @media screen and (max-width : 400px) {

    body{
        margin: 0;
        padding: 0;
        background-color: #f8f9fa;
        
    }

    header{
        margin: 0;
        padding: 0;
        display: flex;
        justify-content:center;
        height: 300px;
        width: 100%;
        background-color: #FF6B35;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .links{
        display: grid;
        grid-template-rows: repeat(var(--items), 1fr);
        position: relative;
        top: 0;
        background-color: #ffffff;
        width: 100%;
        font-size: 0,938em;
        font-weight: 600;
        z-index: 1;
        align-items: center;
        height: 100px;
        
    }
    main{
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .presentation{
        background-color: #FFFFFF;
        margin-top: 10px;
        margin-bottom: 5px;
        width: 100%;
        height: 795px;
        align-self: center;
        color:#1A659E ;
    }

    .presentation p {

        text-align: center;
        align-self:center ;
        
        
    
    }

    .catalogue{
        background-color: #1A659E;
        width: 100%;
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    
    }
   

    .calameo{
    
        width: 100%;
        height: 350px;
       
        display: flex;
        flex-direction: column;
        justify-content: center;
    } 
    
    .catalogue h1{
        color: #FFFFFF;
        text-align: left;
        margin-top: 70px;
        align-self: center;
    }
    .form{
    
        width: 100%;
        height: 300px;
        
        display: flex;
        flex-direction: column;
    }

    .challenge{
        width: 100%;
        height: 700px;
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .part1{
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .part1 h3{
        align-self: center;
        color:#1A659E ;
    }
    
    .part2{
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        
    
    }
    .part2 p{
        align-self: center;
        color:#1A659E ;
        text-align: center;
    }
    footer{
        background-color: #FF6B35;
        width: 100%;
        height: 150px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    footer p a{
    
        padding-top: 10px;
        color: #FFFFFF;
        text-decoration: none;
    }

  }

  @media screen and (max-width : 00px) {

    body{
        margin: 0;
        padding: 0;
        background-color: #f8f9fa;
        
    }

    header{
        margin: 0;
        padding: 0;
        display: flex;
        justify-content:center;
        height: 300px;
        width: 100%;
        background-color: #FF6B35;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .links{
        display: grid;
        grid-template-rows: repeat(var(--items), 1fr);
        position: relative;
        top: 0;
        background-color: #ffffff;
        width: 100%;
        font-size: 0,938em;
        font-weight: 600;
        z-index: 1;
        align-items: center;
        height: 100px;
        
    }
    main{
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .presentation{
        background-color: #FFFFFF;
        margin-top: 10px;
        margin-bottom: 5px;
        width: 100%;
        height: 795px;
        align-self: center;
        color:#1A659E ;
    }

    .presentation p {

        text-align: center;
        align-self:center ;
        
        
    
    }

    .catalogue{
        background-color: #1A659E;
        width: 100%;
        height: 700px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    
    }
   

    .calameo{
    
        width: 100%;
        height: 300px;
       
        display: flex;
        flex-direction: column;
        justify-content: center;
    } 
    
    .catalogue h1{
        color: #FFFFFF;
        text-align: left;
        margin-top: 70px;
       
    }

    .form{
    
        width: 100%;
        height: 300px;
        
        display: flex;
        flex-direction: column;
    }

    .challenge{
        width: 100%;
        height: 700px;
        display: flex;
        justify-content: center;
        flex-direction: column-reverse;
    }

    .part1{
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .part1 h3{
        align-self: center;
        color:#1A659E ;
    }
    
    .part2{
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        
    
    }
    .part2 p{
        align-self: center;
        color:#1A659E ;
        text-align: center;
    }
    footer{
        background-color: #FF6B35;
        width: 100%;
        height: 150px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    footer p a{
    
        padding-top: 10px;
        color: #FFFFFF;
        text-decoration: none;
    }

  }