/* App Fonts */

@font-face {
	font-family: "TTNorms";
	src: url("../fonts/TTNorms-Regular.otf") format("openType");
}
@font-face {
	font-family: "TTNorms Medium";
	src: url("../fonts/TTNorms-Medium.otf") format("openType");
}
@font-face {
	font-family: "TTNorms Light";
	src: url("../fonts/TTNorms-Light.otf") format("openType");
}

@font-face {
	font-family: "Times Roman Italic";
	src: url("../fonts/Times-new-roman-italic.ttf") format("truetype");
}

/* Normalize Css */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0; /* 3 */
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* Start Project */

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	font-family: "TTNorms";
}

.container {
	max-width: 80rem;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1rem;
	padding-left: 1rem;
}

/* .header{
} */

/* Header Top */
.header-top {
	padding: 1.5rem 0;
}
.nav__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.nav {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.nav-logo {
	margin-right: 3rem;
}
/* .nav-logo__img{
} */
.menu {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
	display: flex;
}
.menu__item {
	font-weight: 300;
}
.menu-link {
	text-decoration: none;
	color: #081d43;
	padding: 0 1rem;
}
.header__link {
	background-color: #0050c8;
	color: #fff;
	text-decoration: none;
	padding: 0.8rem 1.5rem;
	border-radius: 0.3rem;
}
.header__icon {
	font-size: 1.8rem;
	display: none;
	cursor: pointer;
}

/* Header Bottom */

.header-bottom {
	margin-top: 5rem;
	/* padding: 5rem 0; */
}
.header-content {
	display: flex;
	align-items: center;
}
.header-content__left {
	flex-basis: 50%;
}
.header-content__right {
	flex-basis: 50%;
}
.header-content__wrapper {
	max-width: 28rem;
}
.header-content__title {
	font-family: "TTNorms Medium";
	color: #081d43;
	font-weight: normal;
	line-height: 2.5rem;
}
.header-content__text {
	line-height: 2rem;
	color: #6c7890;
}
.header-content__links {
	margin-top: 2rem;
	display: flex;
}
.header-content__link {
	background-color: #2f5bea;
	color: #fff;
	text-decoration: none;
	padding: 0.8rem 1.5rem;
	border-radius: 0.3rem;
	display: block;
	margin-right: 0.8rem;
	width: 10rem;
	text-align: center;
}
.header-content__link:nth-child(1) {
	background-color: #87bc25;
}
.header-content__img {
	width: 100%;
}

/* Main Start */

/* Work Section */

/* .main{
    
} */
.works {
	text-align: center;
	padding: 5rem 0;
}
.works__text,
.portfolio__text {
	color: #6c7890;
	margin-bottom: 0rem;
	margin-top: 0;
}
.works__title,
.portfolio__title {
	font-family: "TTNorms Medium";
	color: #081d43;
	margin-top: 0.8rem;
	font-size: 1.8rem;
	font-weight: normal;
}
.works-content {
	margin: 3rem 0;
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
}
.works-content__item {
	flex-basis: 16rem;
	flex-shrink: 0;
}
.works-content__title {
	color: #081d43;
	font-weight: 400;
}
.works-content__text {
	color: #6c7890;
	max-width: 16rem;
	line-height: 2rem;
}
.works-img {
	max-width: 31rem;
	margin: 2.5rem auto;
}
.works-img__img {
	width: 100%;
}

/* Person Comment Section */

.person-comments {
	background-color: #2f5bea;
	color: #fff;
	text-align: center;
	padding: 5rem 0;
}
.person-comments__title {
	font-family: "TTNorms";
	font-weight: normal;
	font-size: 1.8rem;
	margin-top: 0;
}
.person-comments__text {
	font-family: "TTNorms";
	font-weight: lighter;
	max-width: 29rem;
	margin: 0 auto;
	line-height: 1.8rem;
}
.comments-container {
	max-width: 65rem;
	margin: 3.5rem auto 0 auto;
}
.comments {
	display: flex;
	justify-content: space-between;
}
.comment {
	background-color: #fff;
	margin: 1rem;
	border-radius: 0.3rem;
	min-height: 18rem;
	flex-basis: 20rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.comment__content {
	color: #7e8085;
	padding: 1.2rem;
}
.comment__body {
	margin: 0;
	font-family: Times Roman Italic;
	line-height: 1.5rem;
}
.comment__info {
	color: #000;
	display: flex;
	align-items: center;
	padding: 0.8rem 1.2rem;
	border-top: solid 1px #7e8085;
}
.comment__img {
	border-radius: 50%;
}
.comment__person {
	margin: 0 0 0 0.5rem;
}
.companies {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 5rem;
}
.companies__img {
	display: block;
	margin: 1rem;
}

/* Portfolio Section */

.portfolio {
	text-align: center;
	margin: 5rem 0;
}

.portfolio__img__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	/* align-items: center; */
	margin-top: 4rem;
}
.portfolio-items {
	flex-basis: 23rem;
	margin-bottom: 2rem;
	border-radius: 0.3rem;
	overflow: hidden;
}
.portfolio__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Footer Start */
/* .footer{

} */
/* Newsletter Section */

.newsletter {
	background-color: #2c57e4;
	text-align: center;
	padding: 6.5rem 0;
}
.newsletter__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.newsletter__text {
	color: #fff;
	font-size: 1.6rem;
	font-weight: normal;
}
.newsletter__email {
	flex-basis: 22rem;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.3rem 0.3rem 0.3rem 1.5rem;
	border-radius: 0.3rem;
}
.newsletter__txt {
	color: #6c7890;
	border: none;
	outline: none;
	width: 100%;
}
.newsletter__btn {
	background-color: #2f5bea;
	border: none;
	outline: none;
	padding: 1rem 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0.3rem;
}

/* Copy-right Section */
/* .copy-right{

} */
.copy-right__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 1rem 0;
}
.copy-right__text {
	color: #6c7890;
}

/* Project Responsive */

@media only screen and (max-width: 1200px) {
	.container {
		max-width: 960px;
	}
	.portfolio-items {
		flex-basis: 28rem;
	}
	.newsletter__text {
		max-width: 29rem;
	}
}

@media only screen and (max-width: 992px) {
	.container {
		max-width: 720px;
	}
	.header__link {
		display: none;
	}

	.header-content {
		flex-direction: column-reverse;
	}
	.header-content__right {
		margin-bottom: 3rem;
	}
	.header-bottom {
		margin-top: 2rem;
	}
	.header-content__wrapper {
		max-width: 100%;
	}
	.header-content__links {
		flex-wrap: wrap;
		align-items: flex-start;
		justify-content: center;
	}
	.header-content__link {
		margin-bottom: 1rem;
	}
	.comments {
		flex-wrap: wrap;
		justify-content: center;
	}
	.comment {
		flex-basis: 19rem;
	}
	.companies {
		justify-content: center;
		margin-top: 2.5rem;
	}
	.portfolio-items {
		flex-basis: 20rem;
	}
	/* .portfolio__img__container{
        justify-content: center;
    } */
	.newsletter__text {
		max-width: 20rem;
	}
}

@media only screen and (max-width: 768px) {
	.container {
		max-width: 540px;
	}
	.menu {
		position: fixed;
		top: 0;
		left: -256px;
		bottom: 0;
		width: 16rem;
		background-color: #0050c8;
		flex-direction: column;
		padding: 2rem 1rem;
		transition: 0.3s all;
	}
	.menu__item {
		margin-bottom: 2rem;
		font-size: 1.2rem;
	}
	.menu-link {
		color: #fff;
	}
	.header__icon {
		display: block;
	}

	.works-content__item {
		flex-basis: 14rem;
	}
	.works-content__item {
		margin-bottom: 1.5rem;
	}
	.comment {
		margin: 0 0.4rem 0.8rem 0.4rem;
		flex-basis: 15rem;
	}
	.portfolio-items {
		flex-basis: 100%;
	}
	.newsletter__wrapper {
		flex-direction: column;
		align-items: center;
	}
	.newsletter__email {
		flex-basis: auto;
		width: 100%;
	}
	.newsletter__text {
		max-width: 100%;
		margin-bottom: 2rem;
	}
}

@media only screen and (max-width: 576px) {
	.container {
		max-width: 100%;
	}
	.works-content__item {
		flex-basis: 100%;
	}
	.works-content__text {
		max-width: 100%;
	}
	.comment {
		flex-basis: 100%;
	}
	.companies {
		flex-direction: column;
	}
	.newsletter__btn {
		padding: 1rem 1.2rem;
	}
}
