.container {
    transform: scale(0.98);
}

.banner-container {
    width: 110%;            
    overflow: hidden;        
    background: rgb(255, 0, 0);       
    color: white;
    padding: 4px 0;
    white-space: nowrap;     
  }
  
  .scrolling-text {
    display: inline-block;
    padding-left: 100%;      
    animation: scroll-left 15s linear infinite;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
a{
    color:white;
    font-size: 20px;
}

.subbutton{
    font-size: 15px;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #222;
    line-height: 1.6;
    perspective: 1000px
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;

    background: linear-gradient(to top, transparent, rgb(20,20,20));
    pointer-events: none;
    z-index: 999;
}


body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;

    background: linear-gradient(to bottom, transparent, rgb(20,20,20));
    pointer-events: none;
    z-index: 999;
}
h1, h2 {
    color: white;
    text-align: center;
    margin: 10px 0;
}

.haut{
    text-align: left;
    font-size: 60px;
    color: rgb(0, 252, 0);
    -webkit-text-stroke: 1px rgb(191, 245, 129);
}
h3 {
    text-align: left;
    margin-left: 100px;
    font-size: 27px;
    color: rgb(0, 252, 0);
    -webkit-text-stroke: 0.5px rgb(191, 245, 129);
}

table {
    width: 100%;
    border-collapse: collapse;
}
td {
    padding: 0;
}
nav {
    text-align: left;
    margin-left: 95px;
    font-size: 27px;
}
.im {
    float: left;
    margin-right: 15px;
    margin-top: 14px;
  }
.hmilieu {
    color: white;
    text-align: center; 

}
.hmilieu h2{
    color: white;
    text-align: center; 
    font-size: 10px;
}

p {
    color: white;
    font-family: "Supermercado One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
}

.image-card1 p{
    text-align: center;
    color: white;
    font-family: "Supermercado One", sans-serif;
}

.fin p{
    text-align: center;
    color: white;
    font-family: "Supermercado One", sans-serif;
}

.hmili{
    color: white;
    text-align: center; 
    font-family: Blippo, fantasy;
    font-size: 40px;
}
.line-through {
    text-align: center; 
    text-decoration: line-through;
    }
.endessous{

    color:white;
    font-family: "Supermercado One", sans-serif;
    font-weight: -50;
    text-align: justify;
}
.bio{
    text-align: center; 
    color:white;
}
.ok{
    color:red;
    text-align: center;

}
/* Header Styling */
header {
    background-color: #3D3D3D;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
}

header p {
    font-size: 1.2em;
}

/* Image Grid Section */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


.image-card {
    background-color: rgb(61, 61, 61);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.4s ease-in-out;
    overflow: visible;
}
.image-card1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgb(61, 61, 61);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;

    transition: transform 0.5s ease, opacity 0.5s ease;
}
.image-card1 h4{
    color:rgb(255, 50, 50);
    font-size:20px;
}
.image-grid2 {
    display: grid;
    padding: 20px;
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
}

.image-card2 {
    background-color: rgb(61, 61, 61);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: justify;
    padding: 15px;
    font-style: Arial;
    transform: scale(0.65);
    transition: transform 0.6s ease;
    overflow: visible;
}
.limg{
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 130px;
}
.image-grid1:hover .image-card1 {
    transform: scale(0.75);
    opacity: 0.35;
}


.image-grid1 .image-card1:hover {
    transform: scale(1.3);
    opacity: 1;
    z-index: 10;
}

.image-card2:hover {
    transform: scale(1.2);
    z-index: 10;
}
.image-card:hover {
    transform: scale(1.15);
}

.image-card img {
    width: 300px;
    height: 200px;
    margin-bottom: 10px;
}

.image-card h2 {
    color: white;
    margin-bottom: 10px;
}

.image-card p {
    color: white;
}

/* Form Section */
.subscription-form {
    background-color: rgb(88, 88, 88);
    border: 1px solid rgb(73, 73, 73);
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;

    color:white;
}

.form h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size:15px;
}

.subscription-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(134, 134, 134);
    border-radius: 6px;
    box-sizing: border-box;
}

.subscription-form button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #919191;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.subscription-form button:hover {
    background-color: #574fcf;
    
}
.subscription-form:hover {
    transition: transform 0.4s ease-in-out;
    overflow: visible;
}

/* Footer Styling */
footer {
    background-color: #3D3D3D;
    color : white;
    font-size : 18px;
    font-family: "Times New Roman", Times, sans-serif;
    text-align: center;
    padding: 10px;
}

