*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.1rem;
}
html{
    font-size: 62.5%;
}
/**************************************************************************************************************/
/* header */
/* nav */
.head-nav1{
    background-color: black;
    color: #eaeaea;
    text-align: center;
    padding: 0.7rem;
    top: 0;
}
.head-nav1 a{
    color: #fff;
    font-size: 1.6rem;
    font-family: monospace;
    font-weight: bold;
}
.head-nav1 a:hover{
    border-bottom: 1px dashed  #fff;
    cursor: pointer;
    color: #fff;
}
.head-nav2{
    align-items: center;
    background-color: #fff;
    padding: 25px 40px 25px 50px;
    width: 100%;
    display: flex;
    top: 0;
    position: sticky;
    justify-content: space-between;
    height: auto;
    font-size: 1.7rem;
    box-shadow: 0 0 10px rgba(0,0,0,.09);
    z-index: 200;
}
nav h3{
    color: #2d2e32;
    font-size: 2rem;
}
nav a{
    text-decoration: none;
    color: #2d2e32;
    font-weight: 800;
    letter-spacing: 0.px;
}
nav a:hover{
    color: rgb(0, 174, 255);
}
nav a:active{
    color: blue;
}
nav ul{
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin-right: 2.8rem;
}
nav h3:hover{
    transform: scale(1.04);
    cursor: pointer;
    transition: 0.2s all;
}
/**************************************************************************************************************/
/* main */
body{
    background-color: #fff;
    position: relative;
}
/* section hero */
/* hero */
.hero{
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%;
}
.container{
    margin: 0 auto;
    max-width: 107rem;
    padding: 0 4rem;
}
.content{
    align-items: center;
    display: flex;
    gap: 10rem;
    height: 47rem;
    justify-content: center;
    position: relative;
}
.hero-main{
    align-items: center;
    display: flex;
    gap: 10rem;
    justify-content: center;
    position: relative;
}
.hero-text{
    display: flex;
    flex-direction: column;
    max-width: 50rem;
    position: relative;
    font-weight: bold;
}
.hero-text h1{
    color: #2d2e32;
    font-size: 5.5rem;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.hero-text img{
    height: 6rem;
    position: absolute;
    right: 13rem;
    top: 8.7rem;
    width: 6rem;
}
.hero-text img:hover{
    animation: wave 1.6s infinite;
}
@keyframes wave {
    0%, 100% {
      transform: rotate(8deg);
    }
    25%, 75% {
      transform: rotate(-2deg);
    }
    50% {
      transform: rotate(30deg);
    }
  }
.hero-text p{
    color: #555;
    font-family: 'Mulish', sans-serif;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04rem;
}
.hero-text span{
    cursor: pointer;
    display: flex;
    margin: 2.6rem 0;
    gap: 1.3rem;
}
.hero-text span a{
    transition: all .2s;
    color: #2d2e32;
    font-size: 3rem;
}
.hero-text span a:hover{
    color: rgb(0, 174, 255);
}
.hero-text span a:active{
    color: blue;
}
.hero-img{
    background-image: url(photos/maimoune.jpg);
    background-size: cover;
    height: 35rem;
    width: 35rem;
    position: relative;
    background-repeat: no-repeat;
    border: 3px solid rgb(44, 43, 43);
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    background-position: 50%;
    animation: animate 4s ease-in-out infinite;
    transition: all 1s ease-in-out;
}
.hero-img:hover{
    transform: scale(1.06);
}
@keyframes animate{
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    }
}
.hero-skills{
    align-items: center;
    bottom: 0;
    color: #767676;
    display: flex;
    font-size: 1.7rem;
    left: 0;
    position: absolute;
    top: 52rem;
}
.hero-skills p{
    border-right: 2px solid rgba(45,46,50,.5);;
    color: #2d2e32;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    margin-right: 7rem;
    padding-right: 2rem;
}
.hero-skills ul{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    list-style: none;
    cursor: pointer;
}
.hero-skills ul li img:nth-child(2){
    height: 5rem;
    width: 11rem;
}
.hero-skills ul li img:hover{
    transform: translateY(-1rem);
    transition: 0.6s all;
}
/**************************************************************************************************************/
/* section about */
.about{
    background-color: #fff;
    padding: 12rem 0;
}
.about-content{
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
}
.img-side{
    position: relative;
}
.img-side span{
    background-color: #eaeaea;
    border-radius: 50%;
    position: absolute;
    top: 20rem;
    height: 19rem;
    right: 33px;
    width: 19rem;
}
@keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
.img-side span img{
    display: inline-block;
    -webkit-animation: rotate 8s linear infinite;
    animation: rotate 8s linear infinite;
    width: 19rem;
}
.work-emoji{
    bottom: 35px;
    position: absolute;
    right: 98px;
    width: 6rem;
    z-index: 10;
}
.work-emoji:hover{
    transform: scale(1.1);
    cursor: pointer;
    transition: 1s all;
}
.img-work{
    border-radius: 1.7rem;
    height: 35rem;
    width: 41rem;
}
.text-side{
    padding-right: 1.5rem;
}
.text-side h3{
    color: #147efb;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}
.text-side h4{
    color: #2d2e32;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1.8rem;
    letter-spacing: 0rem;
}
.text-side p{
    color: #767676;
    font-family: 'Mulish', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.38;
}
/**************************************************************************************************************/
/* section projects */
.projects{
    background-color: #f9f9f9;
    padding: 15rem 0;
}
.project-content{
    display: flex;
    flex-direction: column;
}
.project-content p{
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.project-content h3{
    color: #2d2e32;
    font-size: 2.5rem;
    margin-bottom: 6rem;
}
.projects-grid{
    grid-gap: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    height: auto;
    gap: 8rem;
}
.projects-grid .pro_1{
    flex-direction: row;
    gap: 8rem;
    height: 40rem;
    padding: 2rem;
}
.projects-grid .pro{
    background-color: #fff;
    border-radius: 1.7rem;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    display: flex;
}
.pro_img{
    background-color: hsla(0, 0%, 46%, .2);
    border-radius: 1.7rem;
    width: 53rem;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    height: auto;
    overflow: hidden;
}
.element-style-1{
    transition: transform 10s ease-in-out 0s;
}
.element-style-2{
    transition: transform 10s ease-in-out 0s;
}
.element-style-1:hover{
    transform: translateY(-84%);
}
.element-style-2:hover{
    transform: translateY(-88%);
}
.projects-grid .pro_img img{
    height: auto;
    width: 100%;
}
.projects-grid .pro_text{
    width: 30rem;
    text-align: center;
    justify-content: center;
    height: auto;
    display: flex;
    flex-direction: column;
}
.projects-grid .pro_text ,.pro-text-child{
    align-items: center;
    color: #2d2e32;
    font-size: 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
    margin-bottom: 0rem;
    position: relative;
    text-transform: uppercase;
}
.projects-grid .pro_text p{
    color: #767676;
    font-size: 1.7rem;
    font-weight: 500;
    text-align: center;
    text-transform: none;
    letter-spacing: 0rem;
}
.Tite-date{
    margin: 2rem 0;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.date-class{
    color: hsla(0,5%,8%, .773);
    font-size: 1.1rem;
    margin-left: 0.2rem;
}
.stack{
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}
.stack p{
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    color: #000!important;
    font-family: 'Mulish', sans-serif!important;
    font-weight: 600!important;
    padding: 1rem 1.3rem;
}
.links, .links a{
    align-items: center;
    display: flex;
}
.links{
    gap: 5rem;
    justify-content: space-evenly;
    margin-top: 3rem;
    text-transform: none;
}
.links a:hover{
    color: #147efb;
}
.links a:active{
    color: blue;
}
.links a{
    color: #2d2e32;
    font-size: 1.7rem;
    font-weight: 500;
    gap: 5px;
    text-decoration: none;
}
.project-content h3{
    color: #2d2e32;
    font-size: 2.5rem;
    margin-bottom: 6rem;
}
.project-content p{
    color: #147efb;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.reversed-proj{
    flex-direction: row-reverse!important;
}
/* footer */
/* section contact */
.contact{
    background-color: #2d2e32;
    padding: 5rem 0 0 0;
    width: 100%;
    letter-spacing: 0.1rem;
}
.contact-content{
    display: flex;
    flex-direction: column;
}
.contact-title p{
    color: #147efb;
    letter-spacing: 0.4rem;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.contact-title h3{
    color: #fff;
    font-size: 1.5rem;
}
.contact-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    margin-top: 6rem;
}
.contact-icon-box{
    align-items: center;
    display: flex;
    gap: 1.5rem;
}
.contact-icon-box span{
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0, .1);
    color: #147efb;
    display: flex;
    justify-content: center;
    height: 4rem;
    width: 4rem;
}
.contact-icon-box span:hover{
    transform: scale(1.1);
    cursor: pointer;
    transition: all 0.3s;
    color: black;
}
.contact-info{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-info a:hover{
    color: #147efb;
}
#cp{
    margin: 0;
    font-size: 1.4rem;
}
.contact-info h3{
    color: #fff;
    font-size: 1.5rem;
}
.contact-info a, .contact-info p{
    color: #b3b1b1;
    cursor: pointer;
    font-size: 1.5rem;
    text-decoration: none;
}
/* section footera */
.footera{
    width: 100%;
    background-color: #767676;
    margin-top: 6rem;
}
.footc{
    padding: 2rem 4rem;
    width: 100%;
    margin: 0 auto;
    max-width: 107rem;
}
.footerc{
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.footerc h3{
    color: #dedcdc;
    font-size: 1.7rem;
}
.footerc-social{
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}
.footerc-social a{
    color: #fff;
    font-size: 1.8rem;
}
.footerc-social a:hover{
    transform: scale(1.2);
    transition: all 0.3s;
    color: rgb(0, 174, 255);
}
.footerc-social a:active{
    color: blue;
}
