* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

html {
font-size: 62.5%;
}

body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 1.6rem;
line-height: 1.6;
color: black;
margin: 0;
}


a {
    text-decoration: none;
}

img{
    max-width: 100%;
}

.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;

}
.container {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.grid{
    display: flex;
    flex-wrap: wrap;

}



@media screen and (min-width:750px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
    }
}

.section-title{
    display: flex;
    justify-content: center;
}

/* sections */

section {
    padding: 5.5 rem 0;
}


.header {
    background-color: #ececec;
    border-bottom: 1px solid black;
    position: fixed;
    top: 0;
    width: 100%;
    
}




.header .logo {
    font-family: 'Corbel', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
                                                
}

.navbar {
    display: none;
    
}



.header li {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
}

.header a {
    color: #333;
}

.header a:hover {
    color: #fff033;
}



.header .right {
    display: flex;
    align-items: center;
    text-align: center;

}

.socials {
    display: flex;
}

.socials a {
    padding: 0 2px;
}

.socials .icon {
    height: 20px;
}

@media screen and (max-width:749px) {
    .socials .icon {
        height: 15px;
    }


    
    }
/*burger*/

.bar{
    display: block
;
width: 25px;
height: 3px;
margin: 5px auto;
-webkit-transition: all0.3s ease-in-out;
transition: all0.3s ease-in-out;
background-color: black;
}

.burger.burger.active .bar:nth-child(2){
    opacity: 0;
}
.burger.burger.active .bar:nth-child(1){
    transform: translateY(8PX)rotate(45deg);
}
.burger.burger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

.nav {
position: fixed;
left: -100%;
top: 70px;
gap:0 ;
flex-direction: column;
background-color: #707070;
width: 100%;
text-align: center;
transition: 0.3s;
}

.navbar.burger.active{
    left: 0;
}

    

@media screen and (min-width:750px) {
.navbar {
    display: flex;
}
.burger {
    
    display: none;
}

@media screen and (max-width:749px) {
    .burger.active .bar:nth-child(2){
        opacity: 0;
    }

    .burger.active .bar:nth-child(1){
       transform: translateY(8px) rotate(45deg);
    }
    .burger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
     }
    
    }

}

 /*--------------------------hero-----------------------------*/

.hero {
    background-color: #707070;
    color: #fff;
    padding: 1rem 0 0 0;

}

.hero .grid {
    margin-left: 250px;
    margin-top: 50px;
}

.hero__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center ;
}

.hero__item span {
    text-transform: uppercase;
}

@media screen and (max-width:749px) {
    .hero .grid {
        margin-left: 70px;
        margin-top: 60px;
    }

    .hero__item span {
        margin-left: -133px;
    }
    }

@media screen and (min-width:750px) {
.hero__item {
    flex: 1 0 50%;
    align-items: flex-start;
}

.hero__item.left {
    align-items: flex-start;
}
.photo__eb img {
    max-width: 400px;
    border-radius: 50%;
}
}

 /*--------------------------a propos-----------------------------*/

.about{
    height: 900px;
}
@media screen and (max-width:749px) {
    .about{
        height: 1100px;
    }
    
    }

@media screen and (max-width:749px) {
    .photo__eb img {
        max-width: 350px;
        border-radius: 50%;
        align-content: center;
    }
    
    }



@media screen and (min-width:750px) {
.about img {
    padding-right: 3rem;
}
}
  

.progressbar li {
    background-color: #f5f5f5;
    width: 35%;
    color: black;
    border-left: 3px solid rgb(91, 107, 120);
    padding: .9rem 2rem;
    margin-bottom: 1rem;
    border-radius: 0%;
    display: flex;
    justify-content: left;

}
.competences ul {
    background-color: #f5f5f5;
}

.competences li {
    margin-bottom: 1rem;
}

.competences .pro {
    
    background-color: #3f3c3c;
    color: white;

}

.competences #pro1 {
    width: 90%;
}

.competences #pro2 {
    width: 80%;  
}

.competences #pro3 {
    width: 90%;
}

@media screen and (min-width:750px) {
    .competences {
        display: grid;
        width: 100%;
        grid-template-columns:  1fr 1fr 1fr;
        grid-gap: 250px;
        grid-template-rows: 1fr;
        margin-bottom: 30px;
    }
    
    #bar1 {
        grid-column: 1;
        grid-row: 1;
        padding-top: 10px;
    }
    
    #bar2 {
        grid-column: 2;
        grid-row: 1;
        padding-top: 10px;
    }
    
    #bar3 {
        grid-column: 3;
        grid-row: 1;
        padding-top: 10px;
    }
    
    .competences ul {
        background-color: #f5f5f5;
    }
    
    .competences li {
        margin-bottom: 1rem;
    }
    
    .competences .pro {
        
        background-color: #3f3c3c;
        color: white;
    
    }
    
    .competences #pro1 {
        width: 90%;
    }
    
    .competences #pro2 {
        width: 80%;  
    }
    
    .competences #pro3 {
        width: 90%;
    }
}

.progressbar li {
    background-color: #f5f5f5;
    width: 35%;
    color: black;
    border-left: 3px solid rgb(91, 107, 120);
    padding: .9rem 2rem;
    margin-bottom: 1rem;
    border-radius: 0%;
    display: flex;
    justify-content: left;

}
 /*--------------------------projets-----------------------------*/
 .projets {
    display: grid;
    width: 100%;
    background-color: #ececec;
    height: 750px;}

.projets .container {
    display: grid;
    width: 100%;
    grid-template-columns:  1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    background-color: #ececec;
    height: 750px;
}
#proj{
    grid-column: 1;
    grid-row: 1;
    padding-top: 10px;
    
    
}
 #proj1{
    margin-top: 0%;
    grid-column: 1;
    grid-row: 2;
    
}

#proj2{
    grid-column: 1;
    grid-row: 3;
    
    
}

#proj3{
    grid-column: 1;
    grid-row: 4;
    
    
}
    /*--------------------------contact-----------------------------*/

.contact {
    height: 530px;
    display: flex;
    flex-direction: column;
}

#hd {
    display: flex;
    flex-direction: column;
}


.form {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    justify-content: center;
}

.form input, .form textarea {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;

}
.form textarea {
    min-height: 100px;
}

.form .btn{
    background: black;
    color: white;
    border: none;
    width: auto;
    min-width: 160px;
    font-size: 2rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.form .btn:hover {
    cursor: pointer;
    background: #000;
}

@media screen and (max-width:749px) {
    .contact {
        height: 500px;
        display: flex;
        flex-direction: column;
    }
  
  }



/*----------------------------footer---------------------------------*/

.footer {
   background: black;
    color: white;
    width: 100%;
    display: grid;
    grid-template-columns:  1fr 1fr 1fr;
    grid-gap: 10px;
    grid-template-rows: 1fr;
    padding-left: 70px;
    padding-bottom: 20px;
}

#info1 {
    background: black;
    grid-column: 1;
    grid-row: 1;
    padding-top: 25px;
}

#info2 {
    background: black;
    grid-column: 2/3;
    grid-row: 1;
}

#info3 {
    background: black;
    grid-column: 3/4;
    grid-row: 1;
    padding-top: 25px;
}

footer a {
    color: #ececec;
}
.footer a:hover {
    color: #fff033;
}

.footer a:active {
    color: #fff033;
}


footer p {
    margin: 0;
}

footer .socials {
    justify-content: center;
    text-align: center;
}

footer .socials a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 1rem;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
}

@media screen and (max-width:749px) {
    .footer{
        padding: 1rem 1rem;
    }
    .grid__item {
    font-size: 1.5rem;
  }
  
  }



