body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:monospace;
    font-size:larger;
}

html {
    scroll-behavior: smooth;
  }


em{
    color: #0094FF;
    
}

/* Style pour le lien actif */
nav a.active {
    color: #0094FF; /* Vous pouvez choisir n'importe quelle couleur ici */
}


#home {
    background: url("pictures/Apple_mac.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f0f1f3;
    height: 100vh;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1;
}

.logo_xs {
    position: absolute;
    top: 25px;
    left: 25px;
}

nav {
    display: flex;
    justify-content: space-around;
}

.nav_ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(5px);
    height: 40px;
}

.nav_li {
    list-style-type: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav_li a {
    text-decoration: none;
    color: white;
    font-weight: bolder;
}

.nav_li a:hover {
    color: #0094FF;
    transition: color 400ms ease;
}


.home_page {
    width: 98%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 90vh;
    margin: 0;
    justify-content: space-between;
    padding-top: 80px;
}

h1 {
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 60px;
    margin: 0px;
}

.freelance_title {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: lighter;
    margin: 0;
    font-size: 40px;
}


.social_medias {
    width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.start_price {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: lighter;
}

.location {
    display: flex;
    text-transform: uppercase;
    align-items: center;
    letter-spacing: 5px;

}

.location h2 {
    margin-left: 25px;
}

.lighter_font {
    font-weight: lighter;
}



/* animation rouleau upgrade */

/* Assurez-vous d'inclure une police personnalisée avec l'effet de défilement, ou utilisez une bibliothèque d'effets de texte. */
@keyframes roll {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    30%{
        opacity: 0;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
    }
}

/* Style pour les balises <strong> */
strong {
    display: inline-block;
    white-space: nowrap;
    
}

/* Style pour les balises <h3> avec l'effet de défilement */
.animated-heading {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.animated-heading strong {
    animation: roll 3s ease-in infinite;
}

/* Style pour les balises <h3> cachées */
.hidden-heading {
    display: none;
}


/* fin animation rouleau  */

.goal {
    font-size: 40px;
    bottom: 300px;
    width: 500px;
}

strong {
    color: #0094FF;
    width: 100%;
    text-align: end;
}

.description_job {
    font-size: 25px;
    letter-spacing: 3px;
    font-weight: bolder;
}

.job {
    text-align: center;
    top: 200px;
}

/* end section home */





/* services section  */

.services {
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
}

.card {
    width: 35%;
    display: flex;
    height: 200px;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 25px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}



.desc_card {
    width: 70%;
    margin-left: 20%;
}

.card img {
    width: 150px;
    position: absolute;
    left: -70px;
}

.service_desc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


.blue_part {
    background-color: #0094FF;
    height: 100%;
    width: 20px;
    border-radius: 0px 10px 10px 0px;
    position: absolute;
    right: 0px;
}

.btn-contact {
    margin: 25px;
    text-decoration: none;
    color: black;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 300px;
    padding: 10px;
    align-self: center;
    border-radius: 10px;
}

.btn-contact:hover {
    background-color: #0094FF;
    color: white;
    transition: background-color 200ms ease-in;
}


/* animation fondu service */

/* Assurez-vous que .card est initialement masqué */
.card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}.card:hover{
    scale: 1.1;
    transition: scale 400ms ease;
}

/* Ajoutez ces styles pour que .card apparaisse lorsque .card.visible est appliqué */
.card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation décalée pour chaque carte */
.card1 {
    animation-delay: 800ms;
}

.card2 {
    animation-delay: 1600ms;
}

.card3 {
    animation-delay: 2400ms;
}


/* end section services */
.banner {
    display: flex;
    flex-wrap: wrap;
    /* Permet de mettre les paragraphes sur une seule ligne */
    justify-content: space-around;
    /* Centre les paragraphes horizontalement */
    height: 50px;
    align-items: center;
    background-color: #0094FF;
    box-shadow: inset 0px 0px 4px black;
    width: 100%;
}

.banner p {
    margin: 0;
    padding: 0 30px;
    /* Espacement entre les paragraphes */
    opacity: 0;
    /* Masque les paragraphes initialement */
    transform: scale(0.5);
    color: white;
}

.banner p.animate {
    animation: enlargeText 800ms forwards;
    /* Animation d'agrandissement */
}

@keyframes enlargeText {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}


/* end banner  */

/* Appliquer l'opacité à 0 pour masquer les éléments initialement */
.about_me h2,
.about_me article,
.about_me aside,
.about_me ul {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}


.about_me {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    margin-top: 50px;
}

.container_about_me {
    display: flex;
    width: 50%;
    height: 400px;
}


aside {
    width: 50%;
    position: relative;
}

aside img {
    border-radius: 10px;
}

.story {
    text-align: justify;
    margin-right: 25px;
}

.desc_company_services{
    position: absolute;
    width: 600px;
    display: flex;
    height: 200px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    left: -500px;
    bottom: -100px;
}

.desc_company_services ul {
    width: 100%;
    display:flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
    height: 100%;
}

/* end section about me */

.tarifs{
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.packs{
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.starter_pack, .premium_pack{
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 300px;
    height: 400px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: #1d1d21;
    color: white;
    border: 2px solid white;
}

.main_pack{
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 300px;
    height: 500px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: #1d1d21;
    color: white;
    border: 2px solid white;
}

.maintenance{
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 900px;
    height: 110px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: #1d1d21;
    color: white;
    border: 2px solid white; 
    margin: 25px;
}



.price{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f1f3;
    width: 100%;
    box-shadow: inset 0px 0px 4px black;
    color: black;
}

.starter{
    box-shadow: inset 0px 0px 10px #00bd19;
}
.premium{
    box-shadow: inset 0px 0px 10px #ffd000;
}
.main{
    box-shadow: inset 0px 0px 10px #0094FF;
}

.number{
    font-size: 40px;
    margin-right: 25px;
}

/* Appliquer l'opacité à 0 pour masquer les éléments initialement */
.tarifs h2,
.price_justify,
.maintenance,
.tarifs .packs > div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}.tarifs .packs > div:hover{
    background-color: #ffffff;
    color: black;
    scale: 1.1;
    transition: scale 400ms ease;
    transition: all 400ms linear;
    border: 2px solid black;
    z-index: 1;
}

.tarifs h2{
    color: white;
}





/* end section prices */

.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card_mail{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 175px;
    width: 400px;
    box-shadow: 0 0px 4px #0094FF;
    margin-bottom: 25px;
    border-radius: 5px;
}.card_mail:hover{
    transform: scale(1.05);
    transition: transform 200ms ease-in;
}


.contact p {
    letter-spacing: 5px;
}

/* Styles de base pour la section "Contact" */
.contact {
    text-align: center;
    padding: 50px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .contact h3 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .contact p {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .card_mail {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
  
  .card_mail a {
    display: block;
    margin-right: 10px;
  }
  
  .list_contact{
    display: flex;
    justify-content: space-around;
  }

  .list_contact div{
    margin: 25px;
  }

  /* Activer l'animation lorsque la section "Contact" est dans la vue */
  .contact.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  
  /* end section contact */

  footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: #f0f1f3;
    padding-top: 25px;
  }

  .contact_ul{
    display: flex;
    width: 500px;
    justify-content: space-between;
  }

  .contact_li{
    list-style-type: none;
  }

  .contact_li a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
  }.contact_li a:hover{
    color: #0094FF;
  }

  .logo_xl{
    position: absolute;
    width: 200px;
    left: 25px;
    border-radius: 10px;
  }

  footer .social_medias a img:hover {
    transform: scale(1.2);
    transition: transform 200ms linear;
  }

  @media (max-width:1439px) and (min-width:769px) {
    .home_page{
        -webkit-text-stroke: 0.5px white;
    }

    .container_about_me{
        height: 400px;
        width: 70%;
    }
    
  }

  @media (max-width:1024px)  {
    .logo_about_me{
        width: 400px;
    }

   

    .desc_company_services{
        width: 400px;
        left: -100px;
        bottom: -120px;
    }
    .banner{
        flex-direction: column;
    }
    
    .animate {
        height: 35%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    
    
  }

  .background_inter{
    width: 100%;
    height: 100%;
    background: url(pictures/macbook_mockup.webp);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0px;
    top:-45%;
    z-index: -1;
    animation: moveBackground 20s ease infinite;
    filter: blur(1px);
  }
  .background_inter::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur noire semi-transparente */
  }

  @keyframes moveBackground {
    0% {
      background-position: 0% 0%; /* Départ de l'image */
    }

    50% {
      background-position: 100% 100%; /* Arrivée de l'image */
    }

    100% {
      background-position: 0% 0%; /* Arrivée de l'image */
    }
  }

  .price_justify{
    color: white;
    width: 80%;
    text-align: center;
  }


 