/* Réinitialisation des styles par défaut du navigateur */
html, body, h1, img, form, label, input, button, #result {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Couleur de fond plus foncée */
    text-align: center;
    color: #fff; /* Texte en blanc */
    position: relative;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 200px;
    transform: translate(-50%, -50%);
    background-color: #1f383f;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    border-radius: 15px;
}


h1 {
    background-color: #0d4f63;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

img {
    max-width: 100px; /* Taille du logo réduite */
    height: auto;
    margin-top: 10px; /* Espacement supplémentaire depuis le haut */
}

#download-form {
    background-image: url('fond.jpeg'); /* Chemin de l'image de fond */
    background-size: cover; /* Ajuster la taille de l'image pour couvrir l'ensemble du corps */
    background-position: center; /* Centrer l'image de fond */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 400px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff; /* Texte en blanc */
    background-color: rgba(0, 0, 0, 0.8);
}

.audioandvideo{
    background-color: rgba(0, 0, 0, 0.8);
}

input[type="text"] {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
}

a {
    text-decoration: none;
    color: #2966a7;
}

a:hover{
    color: #00b3b3;
}

a:visited{
    color: #00b36b;
}

button a{
    color: #fff;
}
button a:hover{
    color: #fff;
}

button {
    background-color: #0d4f63;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

#result {
    margin-top: 20px;
    font-weight: bold;
    color: #0d4f63;
}
.texte-survol {
    color: #2966a7;
}

footer {
    background-color: #1f383f;
    color: #fff;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 2px solid #0d4f63; /* Ajout de la bordure supérieure */
}

audio::-webkit-media-controls-panel {
    background-color: #1f383f;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-toggle-closed-captions-button {
  color: #9b8d8d; /* Couleur blanche */
}

video {
    border-radius: 15px;
    max-width: 200px;
}

/* Style for the switch container */
.switch-container {
    position: relative;
    display: inline-block;
    width: 30px; /* Adjust the width to make it smaller */
    height: 16px; /* Adjust the height to make it smaller */
}

/* Style for the switch slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Style for the round appearance of the switch slider */
.slider.round {
    border-radius: 8px; /* Adjust the border-radius to make it rounder */
}

/* Style for the slider's appearance when checked */
input:checked + .slider {
    background-color: #2196F3;
}

/* Style for the round appearance of the slider when checked */
input:checked + .slider.round:before {
    -webkit-transform: translateX(12px); /* Adjust the translation to center the round slider */
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* Style for the appearance of the slider's thumb */
.slider:before {
    position: absolute;
    content: "";
    height: 12px; /* Adjust the height to make it smaller */
    width: 12px; /* Adjust the width to make it smaller */
    left: 2px; /* Adjust the left position to center the round slider */
    bottom: 2px; /* Adjust the bottom position to center the round slider */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}
#file_type_display{
    margin-left: 5px;
}