* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quattrocento', serif;
    line-height: 1.5em;
    font-size: 16px;
    background: #f8f8f8;
    color: #656565;
    line-height: 30px;
}

h1 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: Oswald, sans-serif;
    color: #191a17;
    font-size: 46px;
    line-height: 70px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
}

img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

#main-header {
    width: 100%;
}

.content {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    grid-gap: 20px;
}

.title {
    text-align: center;
}

.title-img {
    display: none;
}

.tag {
    margin-top: 80px;
    font-family: 'Quattrocento Sans', sans-serif;
    color: #fdbb07;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu {
    margin-top: 68px;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu ul {
    list-style-type: none;
}

.menu ul li {
    display: inline-block;
    padding-right: 20px;
}
.menu a {
	text-decoration: none;
	color: #656565;
	-webkit-transition-duration: 0.2s;
    /* Safari */
    transition-duration: 0.2s;
}
.menu a:hover {
	color: #fdbb07;
}
.button {
    background-color: #f8f8f8;
    /* Green */
    border: none;
    color: white;
    font-family: Oswald, sans-serif;
    color: #191a17;
    text-transform: uppercase;
    padding: 18px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 25px 2px;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.button1 {
    background-color: #f8f8f8;
    color: #191a17;
    border: 1px solid #dbdada;
}

.button1:hover {
    background-color: #eeecec;
    color: #191a17;
    border: 1px solid #9e9e9e;
}

@media screen and (min-width: 1050px) {
    .content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }
    .title-img {
        display: block;
        padding: 50px 0;
    }
    .title {
        text-align: left;
        width: 500px;
    }
    .paragraph {
        width: 460px;
    }
    .tag {
        margin-top: 123px;
    }
}
@media screen and (max-width: 400px) {
    .menu {
        display: none;
    }
    h1 {
        font-size: 32px;
    }
}

#portfolio {
    width: 100%;
    border-top: 1px solid #e1e1e1;
}

.wrapper {
    display: block;
    width: 1040px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.portfolio-img {
    display: block;
    padding: 50px 0;
    text-align: center;
}

.portfolio-img-item {
    display: block;
    padding: 50px 0;
    text-align: center;
}

.portfolio-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.portfolio-img h1 {
    padding: 50px 0 20px 0;
}

.portfolio {
    text-align: center;
}

.portfolio-two {
    text-align: center;
}

h4 {
    font-family: Oswald, sans-serif;
    color: #191a17;
    font-size: 20px;
    line-height: 34px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;

}

@media screen and (min-width: 1050px) {
    .portfolio-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }
    .portfolio {
        text-align: left;
    }
    .portfolio-two {
        text-align: left;
    }
    .portfolio h4 {
        padding: 230px 0 15px 0;
    }
    .portfolio-two h4 {
        padding: 90px 0 15px 0;
    }
    .portfolio-img {
        text-align: left;
    }
    .portfolio-img-item {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
    }
}

#testimonials {
    width: 100%;
    border-top: 1px solid #e1e1e1;
    padding-bottom: 100px;
}
.testi-content {
	display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}
.testi-title {
	display: block;
    padding: 50px 0 0 0;
	text-align: center;
}
.testi-title h1 {
	padding: 50px 0 20px 0;
}
.testi-avatar {
	display: block;
	text-align: center;
	padding: 0 0 25px 0;
}
.testi-avatar-one {
	display: block;
	text-align: center;
	padding: 0 0 25px 0;
}
.img-circle {
	width: 146px;
	height: 146px;
	border-radius: 50%;
	border: 4px solid red;
}
.testi-text {
	text-align: center;
	padding-bottom: 30px;
}
.linkedin a {
	color: #0077b5;
}
@media screen and (min-width: 1050px) {
	.testi-content {
	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}
.testi-title {
	display: block;
    padding: 50px 0 0 0;
	text-align: left;
}
.testi-avatar {
	justify-self: start;
	text-align: center;
	padding: 0 0 25px 0;
}
.testi-avatar-one {
	justify-self: end;
	grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 3;
        grid-row-end: 3;
}
.testi-text {
	text-align: left;
	padding-bottom: 30px;
}
}
#contact {
	width: 100%;
	padding: 140px 0 140px 0;
	background-color: #101318;
	border-bottom: 1px solid #202020;
}
.white-title {
	text-align: center;
}
.white-title h1 {
	
	color: #fff;
	padding-bottom: 20px;
}
.white-title p {
	color: #ccc;
	padding-bottom: 20px;
}
.email-button {
    background-color: #101318;
    /* Green */
    border: none;
    color: white;
    font-family: Oswald, sans-serif;
    color: #fff;
    text-transform: uppercase;
    padding: 18px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 25px 2px;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.email-button1 {
    background-color: #101318;
    color: #fff;
    border: 1px solid #fdbb07;
}

.email-button1:hover {
    background: rgba(253, 187, 7, 0.2);
    color: #fff;
    border: 1px solid #fdbb07;
}
#footer {
	width: 100%;
	padding: 50px 0 50px 0;
	background-color: #101318;
	color: #ccc;
	font-family: 'Quattrocento Sans', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.footer-flex {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.social-media ul {
	list-style-type: none;
}
.social-media li {
	display: inline-block;
	padding: 0 20px 20px;
}
.social-media a {
	text-decoration: none;
	color: #ccc;
	-webkit-transition-duration: 0.2s;
    /* Safari */
    transition-duration: 0.2s;
}
.social-media a:hover {
	color: #fdbb07;
}
@media screen and (min-width: 1050px) {
	.footer-flex {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.social-media li {
	display: inline-block;
	padding-right: 40px;
	font-size: 16px;
}

}
