body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    background-image: url(''); /* Background image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
}

.modern-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white; /* Fond blanc */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre subtile pour la profondeur */
}

.modern-navbar .logo img {
    height: 50px; /* Ajustez selon vos besoins */
}

.modern-navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.modern-navbar .nav-links li {
    padding: 0 15px;
}

.modern-navbar .nav-links a {
    color: #333; /* Couleur du texte */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.modern-navbar .nav-links a:hover {
    color: #007bff; /* Couleur au survol */
}


.logo-container {
    display:flex;
    flex-direction: column; 
    margin-top:5vh; 
    align-items: center
}

.logo-container img {
    width: 250px; /* ou la largeur souhaitée */
    height: auto; /* cela garantit que les proportions sont respectées */
    display: block; /* Assure une meilleure gestion de la taille */
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline;
    margin: 0 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
}

#inputField {
    padding: 10px;
    margin-bottom: 20px;
    width: 300px;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#verifyButton {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#verifyButton:hover {
    background-color: #0056b3;
}

.stamp_img {
    width: 30%;
    border: 2px solid white;
    border-radius: 5px;
}

.stamp_img_active {
    border-color: rgba(240, 45, 19, 0.75);
}

.stamp_img:hover {
    cursor: pointer;
    border-color: rgba(96, 206, 22, 0.75);
}


.myform {
    flex-direction: column;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 40vh;
    margin: auto;
    margin-top: 2vh;
}

.myform2 {
    flex-direction: column;
    padding: 8px;
    background-color: #f0e7bc;
    border-radius: 1px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    max-width: 40vh;
    margin: auto;
    margin-top: 2vh;
}

.mylabel {
    margin-bottom: 5px;
    font-weight: bold;
}

.myinput {
    padding: 8px;
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Assure que le padding ne change pas la largeur */
}

.mybutton {
    padding: 8px 15px;
    background-color: #65A06C;
    border: none;
    border-radius: 4px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width : 100%;
}

.mybutton:hover {
    background-color: #0056b3;
}

.image-container-dgi {
    display: flex;
    justify-content: center;
}

.image-container-dgi img {
    
    max-width: 150px; /* ou la largeur souhaitée */
    margin: 0 10px; /* Espacement entre les images */
    height: auto; /* Maintient les proportions des images */
    align-self: center;
}

.certificat {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 600px; /* ou la largeur souhaitée */
    height: auto;
    justify-content: center;
}

.myimage {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 600px;/* ou la largeur souhaitée */
    height: auto;
    justify-content: center;
}

.myimage:hover, .zoom_button:hover {
    cursor: pointer;
}

.tag_image {
    width: 100px;
}

table {
    background: #fff;
    border-radius: 3px;
    margin: 0 0 18px;
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-spacing: 0;
}

table thead {
    background: #f5f5f5;
}

table tbody tr td {
    color: #333;
    padding: 9px 10px;
    vertical-align: top;
    border: none;
    font-size: 1.2rem;
    line-height: 18px;
    text-align: left;
    margin: 0;
}

table thead tr th:first-child {
    border-left: none;
}

table thead tr th {
    padding: 8px 10px 9px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    line-height: 18px;
    text-align: left;
    margin: 0;
}

.zoom {
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left:0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    gap: 20px;
}

.zoom img {
    width:100%;
    max-width: 700px;
}

.zoom button {
    padding: 10px 20px;
    background-color: rgb(252, 179, 44);
    font-weight: bold;
    border: none;
    border-radius: 4px;
}

@media screen and (max-width: 680px) {
    .myimage {
        width: 100%;
    }
    
   .table-container {
       width: 100%;
       overflow: scroll;
   }
   
   .certificat {
       width: 100%;
   }
}