/* ducument CSS */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 15px;
    border-top: 2px solid #444;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 15px;
    z-index: 9999;
}

.cookie-buttons button,
#cookie-save {
    margin: 5px;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background: #0078ff;
    color: white;
    border-radius: 4px;
}

.cookie-buttons button:hover,
#cookie-save:hover {
    background: #005fcc;
}

.cookie-options {
    margin-top: 10px;
    padding: 10px;
    background: #f3f3f3;
    border-radius: 5px;
}

#cookie-banner {
    display: none;
}

/* ========================================================= */


/* =======================================================    BUREAU */
@media only screen and (max-width: 1920px){   /* BUREAU */
    
  h1 {
    font-size: 25px;
    margin-top: 10px;
    } 

  h2 {
    font-size: 20px;
    /* border: 0px; */
    margin-top: 5%;
    }

   body{ 
      position:absolute;
      display: flex;
      flex-direction: column;
          width:100%;
          height:100%;
          margin: 0px;
          font-size: 17px;
          /* font-family: Times, "Times New Roman", Georgia, serif; */
          background-color: lightskyblue;
      }

  header{ 
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 11%;
        /* column-count: 3; */
        background-color: lightblue;
        border: 3px red ;
        /* box-shadow: 3px 3px 0px red; */
        /* overflow: auto; */
    }
       
    .marge {
      flex: 1 1 auto;
      width: 30%;
      border: 3px red ;
    }
    .titre {
      flex: 1 1 auto;
      width: 50%;
      border: 0px;
      border: 3px red ;
    }
    .connexion {
      flex: 1 1 auto;
      /* grid-column: 3;
      grid-row: 1; */
      width: 30%;
      border: 3px red ;
    }
        /* ======================================= */
       
        main {
          /* position: absolute; */
          display: flex;
          flex: 1;
          /* top: 15%; */
          /* height: 78%;   */
          width: 100%;
          /* border: 3px red ; */
          overflow: auto;
        }
      nav { 
        /* flex: 1 1 auto; */
          /* position: absolute; */
          /* display: flex; */
          /* left: 0%;  	
          top: 13%;*/
          height: 100%;  
          width:30%;   
          /* grid-column: 1;
          grid-row: 1;
          grid-auto-columns: 100%;
          grid-auto-rows: 100%; */
          /* border: 3px red ;
          box-shadow: 3px 3px 0px red; */
          color: white;
          background-color:lightskyblue;
          /* font-size: 15px; */
          color: black;
          overflow: auto;
        }
        
        section{
            width: 70%;
            height: 100%;
            /* flex: 1 1 auto; */
            color: black;
            background-color: yellow;
            overflow: auto;
            /* word-wrap: break-word; */
            /* border: 3px red ;
            box-shadow: 3px 3px 0px red; */
           
        }
        
        
        /* ========================================== */
      footer{
          /* position: absolute; */
        display: flex;
        left: 0px;
        bottom: 0px;
        width: 100%;
        height: 11%;  
        color: black; 
        background-color: #58D68D;
        /* border: 3px red ;
        box-shadow: 6px 6px 0px red; */
      }	
      .contact
      {
          flex: 1 1 auto;
          width: 30%;
          height: 100%;
          color: black;
          /* border: 3px red ;
          box-shadow: 3px 3px 0px red; */
          background-color: #DC7633;
          overflow: auto;
      }
      
      
      .autre
      {
          flex: 1 1 auto;
          width: 50%;
          height: 100%;
          background-color: #DC7633;
          color: black;
          /* border: 3px red ;
          box-shadow: 3px 3px 0px red; */
          overflow: auto;
      }
      .info				/* id */
      {
          /* position: absolute;
          top: 0px;
          right:0px;	 */
          width: 30%;
          height: 100%;
          flex: 1 1 auto;
          /* border: 3px red ;
          box-shadow: 6px 6px 0px red; */
          background-color: #DC7633;
          color: black;
      }

}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
    /* ==================================================== TABLETTE */
@media only screen and (max-width: 1280px){   /* ====== TABLETTE ==========================*/
  
  h1{
    font-size: 125%;
    margin-top: 10px;
  }
  h2{
    font-size: 100%;
    margin-top: 19px;
  }

  body{ 
        /* position:absolute; */
        display: flex;
        flex-direction: column;
        width:100%;
        /* height:100%; */
        margin: 0px;
        font-size: 17px;
        /* font-family: Times, "Times New Roman", Georgia, serif; */
        background-color: lightskyblue;
  }

  header{ 
        display: flex;
        flex-direction: row;
          width: 100%;
          height: 10%;
          /* column-count: 3; */
          background-color: lightblue;
          /* border: 3px red; */
          /* box-shadow: 3px 3px 0px red; */
          overflow: auto;
  }
    
      .marge {
        /* grid-column:  1;
        grid-row: 1; */
        /* height: 100%; */
        width: 10%;
        /* border: 3px red; */
      }
      .titre {
        /* grid-column: 2 ;
        grid-row: 1; */
        width: 30%;
        /* border: 3px red ; */
      }
      .connexion {
        /* grid-column: 3;
        grid-row: 1; */
        width:30%;
        /* border: 3px red ; */
      }
     
  main {
      /* position: relative; */
      display: grid ;
      grid-template-columns:30% 70%;
      grid-template-rows: 50%; 
      /* flex: 1; */
      overflow: auto;
      
    }
    
    nav { 
      /* display: flex; */
      grid-column: 1 ;
      grid-row: 1 / 2;
      width: 100%;
      height: 200%;
      overflow: auto;
    }
       
    section{
      /* display: flex; */
      grid-column: 2 ;
      grid-row: 1 ;
      width: 100%;
      height: 200%;
      font-size: 15px;
      background-color:lightskyblue; 
      /* border: 3px red ; */
      /* box-shadow: 3px 3px 0px red; */
      /* overflow: auto; */
    }
  
    
 
      footer{
        display: flex;
        flex-direction: row;
        /* left: 0px; */
        /* bottom: 0px; */
        /* width: 100%;
        height: 10%;   */
        color: black; 
        background-color: #58D68D;
        /* border: 3px red ; */
        /* box-shadow: 6px 6px 0px red; */
        overflow: auto;
      }	
      
      .contact
      {
          /* position: absolute; */
          top: 0px;
          /* left: 0px;	 */
          width: 30%;
          /* height: 87%; */
          color: black;
          /* border: 3px red ; */
          /* box-shadow: 3px 3px 0px red; */
          background-color: #DC7633;
          overflow: auto;
      }
      .autre
      {
          /* position:absolute; */
          /* right: 25%; */
          top: 0px;
          
          width: 30%;
          /* height: 87%; */
          background-color: #DC7633;
          color: black;
          /* border: 3px red ; */
          /* box-shadow: 6px 6px 0px red; */
          overflow: auto;
      }
    .info				/* id */
      {
          /* position: absolute; */
          top: 0px;
          right:0px;	
          width: 30%;
          height: 100%;
          /* border: 3px red ; */
          /* box-shadow: 6px 6px 0px red; */
          background-color: #DC7633;
          color: black;
      }
}
  /* =========================================================================================================  */
  /*===================================== PORTABLE Paysage */
  /*  */

@media only screen and (max-width: 700px) and (max-height: 300px){     /*================= PORTABLE Paysage */
    
  h1 {
    font-size: 125%;
    margin-top: 5px;
    } 

    h2 {
    font-size: 100%;
    /* border: 0px; */
    margin-top: 5px;
    }

   body{ 
          position:absolute;
          display: flex;
        flex-direction: column;
          width:100%;
          height:100%;
          margin: 0px;
          font-size: 17px;
          /* font-family: Times, "Times New Roman", Georgia, serif; */
          background-color: lightskyblue;
      }

  header{ 
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 11%;
        /* column-count: 3; */
        background-color: lightblue;
        border: 3px red ;
        /* box-shadow: 3px 3px 0px red; */
        /* overflow: auto; */
    }
  
    .marge {
      flex: 1 1 auto;
      width: 30%;
      border: 3px red ;
    }
    .titre {
      flex: 1 1 auto;
      width: 50%;
      border: 0px;
      border: 3px red ;
    }
    .connexion {
      flex: 1 1 auto;
      /* grid-column: 3;
      grid-row: 1; */
      width: 30%;
      border: 3px red ;
    }
        /* ======================================= */
       
        main {
          /* position: absolute; */
          flex-direction: row;
          display: flex;
          /* flex: 1; */
          /* top: 15%; */
          /* height: 78%;   */
          width: 100%;
          font-size: 16px;
          overflow: auto;
        }
      nav { 
        /* flex: 1 1 auto; */
          /* position: absolute; */
          /* display: flex; */
          /* left: 0%;  	
          top: 13%;*/
          height: 100%;  
          width: 33%;   
          
          color: white;
          background-color:lightskyblue;
          /* font-size: 15px; */
          color: black;
          overflow: auto;
        }
        
        section{
            width: 33%;
            height: 100%;
            /* flex: 1 1 auto; */
            color: black;
            background-color: red;
            overflow: auto;
            /* word-wrap: break-word; */
            /* border: 3px red ;
            box-shadow: 3px 3px 0px red; */
           
        }
        
        aside{
            /* position:absolute; */
            /* top: 13%; */
            /* right: 0px; */
            width: 34%;
            height: 100%; 
            /* flex: 1 1 auto; */
            /* font-size: 20px; */
            color: black;
            background-color:lightskyblue; 
            /* border: 3px red ;
            box-shadow: 3px 3px 0px red; */
            /* word-wrap: break-word; */
            /* overflow: auto; */
        }
        /* ========================================== */
      footer{
          /* position: absolute; */
        display: flex;
          left: 0px;
        bottom: 0px;
          width: 100%;
          height: 15%;  
          color: black; 
          background-color: #58D68D;
        /* border: 3px red ;
        box-shadow: 6px 6px 0px red; */
      }	
      .info				/* id */
      {
          /* position: absolute;
          top: 0px;
          right:0px;	 */
          width: 30%;
          height: 100%;
          flex: 1 1 auto;
          /* border: 3px red ;
          box-shadow: 6px 6px 0px red; */
          background-color: #DC7633;
          color: black;
      }
      .contact
      {
          flex: 1 1 auto;
          width: 30%;
          height: 100%;
          color: black;
          /* border: 3px red ;
          box-shadow: 3px 3px 0px red; */
          background-color: #DC7633;
          overflow: auto;
      }
      .autre
      {
          flex: 1 1 auto;
          width: 50%;
          height: 100%;
          background-color: #DC7633;
          color: black;
          /* border: 3px red ;
          box-shadow: 3px 3px 0px red; */
          overflow: auto;
      }
}

/* ==================================================     PORTABLE    ====================================== */
 /* portrait */

@media only screen and (max-width: 480px) {                                           /*  PORTABLE portrait */
  h1{
    font-size: 100%;
    border: 0px;
    margin : 0%;
  }
  h2{
    font-size: 66%;
    margin : 0%;
    margin-top: 10px;
  }
  body{
    /* display: flex;
    flex-direction: column; */
    /* margin: 0px; */
    /* position: absolute; */
    top: 0%;
    right: 0%;
    height: 100%;
    font-size: 16px;
  }

  header{ 
    display: flex;
    flex-direction: column; 
    height: 10%;
    width: 100%;
    position: relative;
    top: 0px;
    right: 0px;
    left: 0px;
    background-color: white;
	  /* border: 3px red ;
	  box-shadow: 3px 3px 0px red; */
	  /* overflow: auto; */
 }
  
  .marge {
    /* grid-column:  1;
    grid-row: 1; */
    height: 10%; 
    width: 100%; 
    /* border: 3px red ; */
    background-color: lightblue;
    overflow: auto;
  }
  .titre {
    /* grid-column: 1 ;
    grid-row: 2; */
    /* grid-auto-rows: 100%; */
    height: 10%;
    width: 100%;
    /* border: 3px red ; */
    background-color: lightblue;
    overflow: auto;
  }
  .connexion {
    /* grid-column: 1;
    grid-row: 3; */
    height: 10%; 
    width: 100%;
    /* border: 3px red ; */
    background-color: lightblue;
    /* overflow: auto; */
  }
    /* +++++++++++++++++++++++++++++++++++++++ */
	main { 
    
     display: block;
    /*flex: auto ;
    flex-direction: column;  */
    /* position: fixed; */
    /* top: 15%; */
    width : 100%;
    height: 100%;
    font-size: 10px;
	  background-color: lightblue;
    overflow: auto;
	}
  nav{
    /* grid-row: 1 / 1;
    grid-column:  1 / 2; */
    /* flex: 0 ; */
    /* position: relative; */
    /* top: 0%; */
    height: auto;
    width: 200%; 
    font-size: 10px; 
    /* overflow: auto; */
  }   
  section{
    /* grid-row: 1 / 4;
    grid-column:  1 / 2;  */
    /* flex: 1; */
    /* position: relative; */
    /* top: 25%; */
    /* right: 0px; */
    height: auto;
    width: 100%; 
    font-size: 16px;
    background-color: blueviolet; 
    /* overflow: auto; */
   }  
  aside{
    /* grid-row: 5 / 6;
    grid-column:  1 / 2; */ 
    /* position: relative; */
    /* top: 100%; */
    height: auto;
    width: 200%;
    font-size: 16px;
    /* overflow: auto; */
  }
          /* +++++++++++++++++++++++++++++++++++++ */
  footer{  
    display: flex; 
    flex-direction: column;
    /* grid-template-columns: 1fr;  */
    height: 15%; 
    width: 100%;
    color: black; 
    background-color: #58D68D;
    /* border: 3px red ; */
    /* box-shadow: 3px 3px 0px red; */
    overflow: auto;
  }	

  .contact
  {
      width: 100%;
      height: 100%; 
      color: black;
      /* border: 3px red ;
      box-shadow: 3px 3px 0px red; */
      background-color: #DC7633;
      overflow: auto;
  }
  .autre
  {
      width: 100%;
      height: 100%; 
      /* grid-column:  1;
      grid-row: 2; */
      background-color: #DC7633;
      color: black;
      /* border: 3px red ;
      box-shadow: 3px 3px 0px red; */
      overflow: auto;
  }
  .info				/* id */
  {
      width: 100%;
      height: 100%; 
      /* border: 3px red ;
      box-shadow: 3px 3px 0px red; */
      background-color: #DC7633;
      color: black;
      /* overflow: auto; */
  }  
}

canvas{
      /* border: 3px , red ; */
      background-color: white;
      margin: 10px;
      width: 90%;
      display: flex;
  align-items: center;
  justify-content: center;
      
    }

video{
  align-items: center;
  justify-content: center;
}

/* @media screen
{
	body {background: url(img/wallpaper.jpg) center top;}
} */

