*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
   /* outline: 1px solid red;*/
}
html, body {
  overflow-x: hidden;
}

body, header, nav, main {
  transition: background-color 0.3s ease, color 0.3s ease;
}

:root{
    --primary-color: #F8F9FA;
    --secondary-color: #0A192F;
}

.dark-theme {
    --primary-color: #0A192F;
    --secondary-color: #E0E0E0;
    /* --third-color: #b6b4b4;*/
}

.homePage{
    background-color: #007BFF;
}

body{
    font-family: inter, sans-serif;
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    top: 5vh;
    position: relative;
    overflow: hidden;
}

.myName{
   max-width: 45vw;
   margin-left: 1.875rem;
   
}

.Mypicture{
    max-width: 50vw;
    max-height: 50vh;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.875rem;
    padding-right: 3rem;

} 
.picContainer{
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.875rem;
    padding-right: 3rem;    
}

.so-net{
        margin: 2rem;
        width: 100%;
}

.jobs{
    color: #007BFF;
    position: relative;
}
@keyframes animate{
    0%, 20%{
        left: 0;
    }
    40%, 60%{
        left: 100%;
    }
    100%{
        left: 0;
    }
}
.jobs::before{
    content: '|';
    position: absolute;
    background-color: var(--secondary-color);
    width: 100%;
    left: 0;
    animation: animate 4s steps(8) infinite;
}

/* ==============
12/11/2025 by Lyes
logo techno*/
.techno-logos{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 2rem 6rem;
}

.js, .gsap, .react, .html, .css{
    height: 6.25rem;
    cursor: pointer;
    filter: grayscale(100%);
}
.js:hover, .gsap:hover, .react:hover, .html:hover, .css:hover{
   transform: scale(1.2);
   transition: 0.5s ease;
   filter: grayscale(0%);
}
 .js{
        margin-right: 0.5rem;
}

/*CV*/
.cv-button {
    display: inline;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
.cv-button:hover {
    background-color: #0056b3;
  }  
/*End CV*/

/*Social cons*/
a i {
    font-size: 24px;
    margin: 0 10px;
    color: #007BFF;
    transition: color 0.3s;
}

a i:hover {
    color: #0056b3;
}
/*End Social cons*/

/*MyPresentation*/
.MyPresentation{
    line-height: 2rem;
    word-spacing: 0.01rem;
    letter-spacing: 0.05rem;
    font-family: inter, 'sans serif';
    font-weight: 380;
    font-size: 17px;
    white-space: pre-line;
    position: relative;
    margin-bottom: 2rem;
}
/*End MyPresentation*/

/*============================
   -- START RESPONSIVE --
==============================*/
@media (max-width: 884px){

    .container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
        flex-wrap: nowrap;
        overflow: visible;
        width: 100%;
        max-width: 100vw;
        height: auto;
    }

    .myName{
      position: relative;
      width: 80%;
      overflow: visible;
      max-width: 100vw;
    }

    .picContainer{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .Mypicture{
        object-fit: cover;
        object-position: center;
        overflow-y: hidden;
        border-radius: 50%;
        position: relative;
        display: block;
       /* border: 3px solid  #007BFF;*/
    }

    .cv-button{
        margin: 0.5rem;
    }

    .techno-logos{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 3rem 0.5rem;
        width: 100%;
        transform: translate(-3%, 5%);
        margin: 0 0 2rem 2rem;
    }
  .js, .gsap, .react, .html, .css{
        padding-bottom: 1rem;
    }
    .js{
        margin-right: 0.5rem;
    }
}

@media (max-width: 767px){

    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }

    .picContainer{
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .Mypicture{
        width: 70%;
        max-width: 18rem;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }
    .cv-button{
        display: block;
        width: fit-content;
        margin: 0.5rem;
        margin-bottom: 2rem;
    }

    .techno-logos{
        justify-content: center;
        margin: 2rem 0;
        transform: none;
    }
}
/*============================
  -- END RESPONSIVE --
==============================*/