
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

html{
    --var-bg-color: #7743e9;
    --var-second-color:#6e51cf;
    --var-text-color: #fff;
    --var-text-color-dark:#333;
    --var-bg-ligth:#f0f4ff;
    --var-bg-dark:#d3c9f3;   
}

/* Mise en forme de header */

header{
    height: 4rem;
    background-color:white, 166, 166;
    padding: 1rem;
    text-align: center;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    box-shadow: 0 0 10px rgba (0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;    
}

header nav{
    position: relative;
    width: 507px;
    height: 50px;
    background: #333;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav a{
    position: relative;
    display: inline-block;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 0 27px;
    z-index: 1;
}

header nav span{
    position: absolute;
    top: 0;
    left: 0;
    width: 95px;
    height: 100%;
    background: linear-gradient(45deg, #4f1919, #ff3333);
    border-radius: 10px;
    transition: all 0.3s ease;
}

nav a:nth-child(1):hover~span 
{
    left: 0;
}

nav a:nth-child(2):hover~span
{
    left: 140px;
}

nav a:nth-child(3):hover~span
{
    left: 250px;
    width: 110px;
}

nav a:nth-child(4):hover~span
{
    left: 380px;
    width: 115px;
}

header button{
    background-color: red;
    color: #f0f4ff;
    padding: 0.7em 1em;
    border-radius: 10px;
    font-weight: 400;
    transition: 0.3;
    text-decoration: none;
}

header button:hover{
    background-color: var(--var-text-color);
    color: var(--var-text-color-dark);
    border: 3px solid var(--var-bg-dark);
}


/* Mise en forme de Main */

main{
    padding: 1rem;
}

#hero{
    width: 100%;
    height: 70vh;
    border-radius: 5px;
    padding: 1rem;
    background: linear-gradient(
        90deg,
        blue 15%,
        rgb(73, 73, 100) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero .gauche h1{
    font-size: 3rem;
    font-weight: 900;
    color: #FFF;
}

#hero .gauche p{
    font-size: clamp(1rem, 2vw, 1rem);
    color: #FFF;
}


.gauche p{
    text-align: justify;
    width: 80%;

}

.gauche button{
    background-color: #FFF;
    color: black;
    margin-top: 1.4rem;
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 0.3rem;
    font-weight: 500;
}

.droite{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.droite img{
    height: 100%;
    width: 100%;   
}

/* Mise en forme de boutton */

.button {
    padding: 0.7em 1em;
    background-color: red;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 400;
    transition: 0.3;
    cursor: pointer;
}

.button:hover {
    background-color: white;
}

/* Mise en forme de slider */

.section-service{
    text-align: center;
    background: #00093c;
    color: white;

}

.container{
    margin-top: 2rem;
}
/* Mise en forme de card */

.container-card{
    width: 50%;
    display: flex;
    position: relative;
}


.description p { 
    text-align: justify;
    color: black;
    width: 100%;
}

.img-card{
    width: 80%;
}



/* Mise en forme de footer */

footer{
   width: 100%;
   position: absolute;
   background: linear-gradient(to right, #00093c, #2d0b00);
   color: #fff;
   padding: 100mx 0 30px;
   border-top-left-radius: 125px;
   font-size: 13px;
   line-height: 20px;
}

.row{
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}


.col{
    flex-basis: 25%;
    padding: 10px;


}

.col:nth-child(2), .col:nth-child(3){
    flex-basis: 15%;
}

.logo{
    width: 50px;
    margin-bottom: 30px;
}

.col h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}

.email-Id{
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

ul li{
    list-style: none;
    margin-bottom: 12px;
}

ul li a{
    text-decoration: none;
    color: #fff;
}

form{
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

form .far{
    font-size: 18px;
    margin-right: 1Opx;
}

form input{
    width:100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

form button{
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

form button .fas{
    font-size: 16px;
    color: #ccc;
}

.social-icons .fab{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
}

hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.copyright{
    text-align: center;
}

.underline{
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;  
}

.underline span{
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving{
    0%{
        left: -20px;
    }

    100%{
        left: 100%;
    }
}

@media (max-width: 700px){
    footer{
        bottom: unset;
    }
    .col{
        flex-basis: 100%;
    
    }
    
    .col:nth-child(2), .col:nth-child(3){
        flex-basis: 100%;
    }
}


/* Mise en forme de template iptv*/

 p span{
    float: left;
    font-size: 50px;
    font-weight: bold;
    margin-right: 0px;
}

.img-iptv p{
    text-align: justify;
}


/* Mise en forme de la vidéo*/

.fk-video{
   display:flex;
   justify-content: center;
   align-items: center;
   
   height: 50vh;
}

/* Mise en forme de la page vehicules*/

#form-vehicule {
    display: flex;
}

.article-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Afficher les articles en 3 colonnes */
    gap: 20px; /* Espacement entre les articles */
}

.article {
    text-align: center;
}
