* {
    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: 18px;
}

.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;
}

.about .section-title{
    margin-top: 2.8rem;
}



@media screen and (min-width:750px) {
.about img {
    padding-right: 3rem;
}
}

.projects {
    background-color: #ececec;
    height: 750px;
}

.contact {
    height: 750px;
    display: block;
}
.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 {
    background-color: black;
    color: white;
    text-align: center;
}

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
}

@media screen and (max-width:759px) {
  .grid__item {
    font-size: 0.7rem;
  }
    }
.grid {
    justify-content: center;
}