body {
    background-color: #f4f6f8;
    font-family: 'Roboto', sans-serif;

}


h2, h3  {
    color: #007bff;
}
@keyframes gradientAnimation {
    0% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

h4 {
    background: linear-gradient(45deg, #C1C930, #108341);
    -webkit-background-clip: text;
    background-size: 200% 200%;  /* Increase the size to see the animation effect */
    color: transparent;
    display: inline;  /* Prevents the gradient from stretching across the full container */

    animation: gradientAnimation 5s linear infinite;  /* Apply the animation */
}
.background-image-section {
    background-image: url('./tracteur 2.png');
    background-repeat: no-repeat;
    background-size: cover;  /* The image will scale to cover the entire div */
    background-position: center center;
    height: 450px;  /* Set this value to the desired height */
    width: 100%;
 
 
}
.anniversary-text h3 {
    font-family: 'Dancing Script' !important;
    /* Other styling properties... */
}

 
.anniversary-text p {
    font-family: 'Playfair Display', serif;
    /* Other styling properties... */
}


.anniversary-text { 
 
    text-align: center;
}

.anniversary-text p, 
.anniversary-text h3 {
    margin: 0;
    color: #000;  /* Adjust the color as needed */
}
 

p {
    color: #333;
}
.responsive-img-agriedge {
    max-width: 40%; /* or any other percentage or fixed value you prefer */
    margin: 0 auto; /* center the image horizontally */
}
.responsive-img {
    max-width: 50%; /* or any other percentage or fixed value you prefer */
    margin: 0 auto; /* center the image horizontally */
}

.registration-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 40px;
    background-color: #ffffffe0;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.registration-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-control {
    border-radius: 0;
    border: 1px solid #e1e1e1;
    box-shadow: none;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

#justifiedText p {
    text-align: center;
    text-justify: inter-ideograph;  /* Assure une justification uniforme en ajustant l'espacement entre les mots */
}


.btn-primary {
    border-radius: 0;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: none;
    padding: 10px 20px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0056b3;
    border-color: #0056b3;
}

.custom-btn {
    background-color: #6DA351;  /* Couleur de fond du bouton */
    color: #ffffff;  /* Couleur du texte */
    padding: 10px 20px;  /* Espacement intérieur du bouton */
    border: none;  /* Supprime les bordures par défaut */
    border-radius: 5px;  /* Bordures arrondies */
    font-size: 16px;  /* Taille du texte */
    font-weight: 600;  /* Épaisseur du texte */
    transition: background-color 0.3s ease, transform 0.3s ease;  /* Animation pour le survol et le clic */
    cursor: pointer;  /* Change le curseur en main lorsque survolé */
}

.image-container {
    position: relative;
}

.overlay-text {
    position: absolute;
    top: 50%;
    right: 56px;  /* Adjust based on where you want the text in the image */
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 2rem;  /* Adjust the font size as needed */
    color: #000;  /* Choose your desired color */
}


.custom-btn:hover {
    background-color: #6DA351;  /* Couleur de fond au survol */
}

.custom-btn:active {
    transform: scale(0.95);  /* Réduit légèrement la taille du bouton lorsqu'il est cliqué */
}

.custom-btn i {
    margin-right: 10px;
    color: white; /* Color for the icon. This is a shade of red. */
}


.image-container {
    perspective: 1500px;  /* This gives the 3D depth */
}

.image-container img {
    transform-style: preserve-3d;  /* Preserve 3D transformation */
    animation: rotate3D 25s infinite linear;  /* Apply animation */
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

