      @import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap');

 
 

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            
            
        }
        


        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }
      
        .loader-image {
            width: 150px;
            margin-bottom: 20px;
        }

        .progress-bar {
            position: relative;
            width: 300px;
            height: 20px;
            background-color: #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
        }

        .progress {
            width: 0;
            height: 100%;
            background-color: #3498db;
        }

        .percentage {
            margin-top: 10px;
            font-size: 18px;
            font-weight: bold;
        }

  
  body { 
    font-family: "Open Sans",Arial,Helvetica,serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
    border-color: #190A8A;
    background: linear-gradient(90deg, rgba(139,135,238,0.13351278011204482) 0%, rgba(255,255,255,1) 54%, rgba(255,255,255,1) 59%, rgba(58,123,213,0.18393294817927175) 100%);
    scroll-behavior: smooth;
  }
  
  header {
    background-color: #fff;
    /* background-image: url('https://simonlabbe.fr/upload/testtt.png'); */
    padding: 10px;
    padding-left: 50px;
    padding-bottom: 0px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
.qrcode {
    width: 500px;
}
  li a {
    
    background-color: #fff;
    opacity: 0.95;
    border-radius: 5px;
  }
  a {
    
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 16px;
  
}

.hidden-audio {
    position: absolute;
    top: -200000000px;
    left: -2000px;
}
.play-button {
    background-color: #fff;
    color: #1D3362;
    padding: 0px;
}

.pause-button {
    background-color: #fff;
    color: #1D3362;
    padding: 0px;
}

.play-button:hover {
    background-color: #fff;
    color: #00F;
    padding: 0px;
}
.play-button:active {
    transform: translateY(-2px);
}
.pause-button:hover {
    background-color: #fff;
    color: #00F;
    padding: 0px;
}
.pause-button:active {
    transform: translateY(-2px);
}

.sideimg {
    width: 100%;
    max-width: 50vw;
    border-radius: 5px;
}
a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0078ff;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

  }
  
  nav li {
    margin-right: 20px;
  }
  
  nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  nav a:hover {
    color: #666;
  }
  
#galerie {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 160px;
  
}
.galimg {
  margin: 10px;
  width: 30%;

}
.galimg img {
  width: 100%;
  border-radius: 2px;
  padding: 10px;
  filter: grayscale(1) blur(2px) saturate(0) sepia(1);
  transition: filter 0.3s ease

}

.galimg img:hover {
  filter: grayscale(0.7) blur(0px) contrast(1) saturate(8);
}

  .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.candidate {
    width: calc(33.33% - 40px); 
    max-width: 300px; 
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.candidate:hover {
    transform: translateY(-5px);
}

.candidate img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.candidate p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.candidate button {
    width: 100%;
    background: #003366;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.candidate button:hover {
    background: #002244;
}
.sondageform {
    width: 100%;
}

@media (max-width: 1024px) {
    .candidate {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .candidate {
        width: calc(100% - 40px);
    }
}


        #chart {
            width: 30vw;
          
            margin: 50px auto;
        }
        table {
            margin: 20px auto;
            border-collapse: collapse;
            width: 80%;
            max-width: 600px;
        }
        table, th, td {
            border: 1px solid #ddd;
        }
        th, td {
            padding: 10px;
            text-align: left;
        }
        th {
            background-color: #f4f4f4;
        }
  main {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    width: 1080px;
    align-items: center;
    padding: 40px;
  }
  
  table {
      max-width: 1080px;
  }
  
  
  h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  p {
    margin-bottom: 20px;
  }
  
  img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  
    #credit {
        min-height: 50vh;
    }
  
  footer {
    background-color: #fff;
    margin:0px;
    padding: 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  footer p {
    margin-bottom: 10px;
  }

  .np {
      display: inline-block;
     /* background-color: rgba(0,0,0,0.1); */
  }
  
  .red {
      color: red;
  }
  
  #logo {
    width: auto;
    height: 40px;
  }
  
  @media (max-width: 768px) {
    main {
      padding: 20px;
    }
  
    div {
      padding: 10px;
    }
  }
  
  @media (max-width: 480px) {
    nav ul {
      flex-direction: column;
    }
  
    nav li {
      margin-bottom: 10px;
    }
  }
  
leftside {margin: 10px;}
rightside {margin: 10px;}

  .presentation-ministres {
 
    line-height: 1.6;
    margin: 20px;
    display: flex;
  }
  .presentation-ministres h2 {
    color: #2c3e50;
  }
  .presentation-ministres h3 {
    color: #34495e;
    margin-top: 20px;
  }
  .presentation-ministres ul {
    margin-left: 20px;
  }
  #ministres {
      width: 1080px;
  }

#ministres tbody tr:nth-child(odd) {
        background-color: #f2f2f2; 
        
    }
    
    
     #ministres tbody tr:nth-child(even) {
        background-color: #ffffff; 
    }
        .flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
    .candidate {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #f9f9f9;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        width: 200px;
        text-align: center;
        transition: transform 0.3s ease-in-out;
    }
    .candidate:hover {
        transform: scale(1.05);
    }
 #contacte {
     width: 800px;
 }
 

    .candidates-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

    form {
        width: 100%;
    }
    form {
 
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.red {
    color: red;
}

.flex-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.flex-row label {
    margin-bottom: 0; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    resize: none;
}

input[type="radio"] {
    margin-right: 5px;
}

label[for="radio"] {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

button {
    width: 100%;
    padding: 10px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #002244;
}

    
    
    
            .popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 500px;
            height: 200px;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            display: none; 
            z-index: 1000;
        }
     
        .popup .close {
            position: absolute;
            top: -29px;
            right: -233px;
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #333;
        }

        .popup .close:hover {
            color: red;
        }
        .popup button {
            display: block;
            margin: 20px auto 0;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            background-color: #000191;
            color: white;
            border: none;
            border-radius: 4px;
        }

  
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none; 
            z-index: 999;
        }
        
        
 
.footerdata {
    display: flex;
    justify-content: space-between; 
    padding: 20px;

    color: #151515; 
}


.footerdata div {
    flex: 1;

}


.footerdata h3 {
    color: #141414;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #141414; 
    padding-bottom: 5px;
}


.footerdata a {
    display: block;
    color: #111; 
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footerdata a:hover {
    color: #1414d4; 
}


.footerleft {
    text-align: left; 
}

.footermid {
    text-align: left; 
}

.footerright {
    text-align: left; 
}

.accessibility-menu {
            position: fixed;
            top: 0;
            right: 0px;
            background: white;
            border: 1px solid #ccc;
            padding: 20px;
            padding-top: 80px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            display: none;
            height: 100vh;
            z-index: 1;
            
         
        }
        .accessibility-menu button, .accessibility-menu input {
            display: block;
            margin: 5px 0;
        }

.hundred {
            width: 100%;
        }

   .active {color: #333;
            font-weight: 600;
            box-sizing: border-box;
            width: 100%;
            border-bottom: solid #0D7FFF 5px;
            padding: 1px;}
            
            
            #toggle-menu {
                position: absolute;
                right: 15px;
                top: 10px;
                
                background-color: #fff;
                width: 50px;
                height: 50px;
                padding: 0;
                margin: 0;
                z-index: 2;
            }
            
           
            
#upbtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 30px;
  border: none;
  outline: none;
  background-color: #003366;
  color: white;
  cursor: pointer;
  padding: 0;
  border-radius: 50px;
  width: 50px;
  height: 50px;
}

#upbtn:hover {
  background-color: #00254A;
}

.btn {
    width: 50px;
}


a {
     color: white;
 }
 
 
         .cardreader {display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; width: 1080px;}
        .card {background-color: #fff; flex: 1 1 calc(50% - 20px); border-radius: 15px; width: 1080px;   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); overflow: hidden; text-align: center;
        }
        .banner { height: 90px; width: 100%;background-size: cover; }

        .redm { background-image: url('https://simonlabbe.fr/upload/logo_gims.jpg'); }
        .green { background-image: url('https://johanjeandon.fr/upload/banniere_johan.png'); }
        .violet { background-image: url('https://simonlabbe.fr/upload/image.png'); }
        .blue { background-image: url('https://simonlabbe.fr/upload/banner.png'); }

        .data { padding: 20px; position: relative; text-align: right;}

        .avatar { width: 90px; height: 90px; border-radius: 50%; background-color: grey; position: absolute; top: -40px;left: 20px;border: 3px solid #fff;}

        .avatar img {width: 100%; height: 100%; border-radius: 50%;}
        a {text-decoration: none; color: black; }
        .name a { font-size: 18px; font-weight: 800; color: #333; margin-left: 50px;}
        
        .pad15 {padding: 15px;}
        
         .awhite a { color: white;}
         
         #gantt a  { color: white;}
         #charte a { color: white;}