       @font-face {
        font-family: "Agrandir";
        src: url("polices/AGRANDIR-REGULAR.OTF");
      }

      @font-face {
        font-family: "Editorial";
        src: url("polices/PPEDITORIALNEW-REGULAR.OTF");
      }
        
        body { margin: 0; 
            padding: 0; }

        .section { text-align: 
            center; }


        .slide {
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }


        h1 {
            font-size: 3em;
            font-family: 'Editorial';
            margin-bottom: -20px;
        }

        .chart-container {
            width: 100%; 
            height: 70%; 
            position: relative;
            display: flex; 
            justify-content: center; 
            align-items: center; 
        }

        .fp-avant, .fp-apres {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(0,0,0,0.5);
            color: white;
            text-align: center;
            line-height: 40px;
            font-size: 24px;
            z-index: 100;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius:50px ;
        }

        .fp-avant { left: 10px; }
        .fp-apres { right: 10px; }

        .fp-avant:hover, .fp-apres:hover {
            background-color: rgba(0,0,0,0.8);
            transform: translateY(-50%) scale(1.1);
        }


        .container-verre {
            background: rgba(255, 255, 255, 0.205);
            backdrop-filter: blur(20px);
            border-radius: 50px;
            padding: 20px;
            width: 70%; 
            height: 80vh; 
            margin: 0 auto;
            box-shadow: 0 8px 5px 0 rgba(21, 22, 41, 0.205);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden; 
        }
        
        .container-verre h1 {
            margin-top: 0;
        }

        #slide1{
            background-image: url(images/1.webp);
        }

        #slide2{
            background-image: url(images/fond2.jpg);
        }

        #slide3{
            background-image: url(images/fond3.jpg)
        }

        #slide4{
            background-image: url(images/fond4.jpg)
        }
        
        #slide5{
            background-image: url(images/maths.webp);
        }

        #slide6{
            background-image: url(images/fond6.jpg);
        }


        #p-1, #p-2,  #mathsp{
            font-family: 'Agrandir';
            font-size: 1.5em;
        }

        #maths {
            display: flex; 
            justify-content: space-between; 
            flex-wrap: wrap;
            align-items: center; 
        }
        
        #maths img {
            max-width: 45%; 
            height: auto; 
            margin: 10px; 
        }
        
        #mathsp {
            max-width: 100%; 
            margin: 10px; 
        }

        #creatif{
            margin-top: 50px;
            background: rgba(255, 255, 255, 0.158);
            border-radius: 50px;
            width: 20%; 
            height: 50px; 
            box-shadow: 0 8px 5px 0 rgba(0, 0, 0, 0.205);
            text-decoration: none;
            font-family: 'Agrandir';
        }




        @media (max-width: 768px) {
            h1 {
                font-size: 2em; 
            }
        
            #p-1, #p-2{
                font-size: 1.2em; 
                margin: 20px; 
            }

            #mathsp{
                font-size: 0.5em;
            }
        
            .container-verre {
                width: 90%; 
                padding: 10px; 
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                overflow: hidden; 
            }
            
        }
        

        @media (max-width: 480px) {
            h1 {
                font-size: 1.5em; 
            }
        
            #p-1, #p-2 {
                font-size: 1em; 
            }

            #mathsp{
                font-size: 0.3em;
            }
        }