/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header Styles */
header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;  /* Centre le texte horizontalement */
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    height: 100px;  /* Définit la hauteur du header */
}

.home-link {
    position: absolute;
    left: 15px;
    font-size: 18px;
    color: #007423;
    text-decoration: none;
    top: 15px;
}


.home-link:hover {
    text-decoration: underline;
}

/* Main Content Styles */
main {
    text-align: center;
}

.title {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;  /* Centre le texte horizontalement */
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    height: 100px;  /* Définit la hauteur du header */
}

.form_url {
    padding: 20px 0;
}


/* Animation de chargement */
.loader {
    border: 8px solid #f3f3f3; /* Couleur de fond du cercle */
    border-top: 8px solid #4CAF50; /* Couleur de la barre de chargement */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Animation du spinner */
    margin: 20px auto; /* Centrer l'élément */
}

/* Définir l'animation de rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#status-message {
    opacity: 1; /* Commence complètement visible */
    transition: opacity 0.5s ease-in-out; /* Animation douce */
    text-align: center;  /* Centre le texte horizontalement */
    color: rgb(16, 19, 146);
}



/* Button Styles */
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 20px auto;
}

button:hover {
    background-color: #45a049;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}
