* {
    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;
    }
}


/* sections */

section {
    padding: 5.5 rem 0;
}


@media screen and (max-width:749px) {
.section-header{
    text-align: center;
}
}

.header {
    background-color: #ececec;
    border-bottom: 1px solid black;
    
}




.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;

}

.socials {
    display: flex;
}

.socials a {
    padding: 0 2px;
}

.socials .icon {
    height: 20px;
}

@media screen and (max-width:749px) {
    .socials .icon {
        height: 15px;
    }
    
    }
.burger {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: relative;
    margin-left: 1rem;
}

.burger .bar {
    display: block;
    width: 22px;
    height: 3px;
    background: #333;
}
.burger .bar::before, .burger .bar::after {
    display: block;
    content:"";
    width: 22px;
    height: 3px;
    background-color: #333;
    position: absolute;
    }
.burger .bar::before{
        transform: translateY(-8px);
    }

.burger .bar::after {
    transform: translateY(-8px);
    }
    

@media screen and (min-width:750px) {
.navbar {
    display: flex;
}
.burger {
    display: none;
}


}

.hero {
    background-color: #707070;
    color: #fff;
    padding: 1rem 0 0 0;

}


.hero__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center ;
}

.hero__item span {
    text-transform: uppercase;
}






@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%;
}
}
.about{
    height: 750px;
}
@media screen and (max-width:749px) {
    .about{
        height: 500px;
    }
    
    }

.about .section-title{
    margin-top: 2.8rem;
}

@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;
}
}

.projets {
    background-color: #ececec;
    height: 750px;
}
@media screen and (max-width:749px) {
    .projets{
        height: 500px;
    }
    
    }

.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: 300
px;
}

.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;
}

/*----------------------------footer---------------------------------*/

footer {
   background: black;
    color: white;
    display: grid;
    grid-template-columns:  33% 33% 33%;
    grid-gap: 10px;
    grid-template-rows: 100%;
}

#info1 {
    background: blue;
    grid-column: 1;
    grid-row: 1;
}

#info2 {
    background: red;
    grid-column: 2/3;
    grid-row: 1;
}

#info3 {
    background: green;
    grid-column: 3/4;
    grid-row: 1;
}

footer a {
    color: #ececec;
}

footer p {
    margin: 0;
}

footer .grid {
    align-items: center;
    justify-content: center;
}

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) {
  .grid__item {
    font-size: 0.7rem;
  }
  .grid{
    justify-content: space-between;

  }  

  
  }



