/* App Fonts */

@font-face {
    font-family: "TTNorms";
    src: url("../font/TTNorms-Regular.otf") format("openType");
}
@font-face {
    font-family: "TTNorms Medium";
    src: url("../font/TTNorms-Medium.otf") format("openType");
}
@font-face {
    font-family: "TTNorms Light";
    src: url("../font/TTNorms-Light.otf") format("openType");
}

@font-face {
    font-family: "Times Roman Italic";
    src: url("../font/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;
}

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;
    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: 70rem;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}



/*--------------------------- START HEADER-------------------------- */

.header{
    /* margin-bottom: 3rem; */
}
.header-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
}
.nav{
    display: flex;
    align-items: center;
}
.nav-logo{
padding-right: 1.5rem;
}

.menu{
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: flex;
}
.menu-link{
    text-decoration: none;
    color: #081d43;
    padding: 0 0.8rem;

}
.nav-btn,.banner-left__link{
background-color: #1976D2;
border-radius: 0.3rem;
text-decoration: none;
color: #fff;
padding: 0.5rem;
}
.ham-menu{
    font-size: 1.5rem;
    display: none;
    cursor: pointer;
}

.header-bottom{
    padding: 3rem 0;
}
.banner{
    display: flex;
    align-items: center;
}
.banner-left{
    flex-basis: 50%;
}
.banner-left__content{
    max-width: 28rem;
    padding-top: 2rem;
}
.banner-left__title{
    color: #081d43;
}
.banner-left__desc{
    color: #6C7890;
    line-height: 2rem;
}
.banner-left__bottoms{
    display: flex;
    margin-top: 3rem;
}
.banner-left__link{
    margin-right: 0.8rem;
    display: block;
    width: 10rem;
    text-align: center;
}
.banner-left__link:first-child{
    background-color: #87BC25;
}
.banner-right{
    flex-basis: 50%;
}
.banner-right__img{
    width: 100%;
}

/* --------------START MAIN---------------- */
.bluesection{
    background-color: #2F5BEA;

}
.works{
    text-align: center;
    padding: 3rem 0;
}
.works-title,.portfolio-topic{
    color: #6C7890;
    margin-top: 0;
    /* padding-top: 1rem; */
    text-transform: uppercase;
}
.works-topic,.portfolio-text{
    color: #081d43;
    margin-top: 0.8rem;
    font-family: TTNorms Medium;
    font-weight: normal;
}
.works-content{
    display: flex;
    justify-content: space-evenly;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.works-box{
    margin-top: 0.4rem;
}

.works-box__desc{
    color: #6C7890;
    max-width: 16rem;
    margin: 0 auto;
}
.works-image{
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.works-image__svg{
    max-width: 100%;
}
/* ---------------COMMENTS--------------- */
.clients-comments{
    text-align: center;
    background-color: #2F5BEA;
    padding: 3rem 0;
    color: #fff;

}
.clients-comments__topic{
    font-family: TTNorms Medium;
    font-weight: normal;
}
.clients-comments__text{
    font-family: TTNorms light;
    color: #ECEFF1;
    max-width: 28rem;
    margin: 0 auto;
    line-height: 1.5rem;
}
.comments,.clients-companies{
    margin: 3.5rem auto;
    display: flex;
    justify-content: center;
    max-width: 60rem;


}
.comment-box{
    background-color: #ECEFF1;
    margin: 1rem;
    border-radius: 0.3rem;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: 17rem;

}
.comment-content{
    text-align: left;
    padding: 1.2rem;
    

}
.comment-message{
    color: #081d43;
    font-family: Times Roman Italic;
    margin: 0;
    line-height: 1.5rem;
    

}
.commenter__info{
    display: flex;
    padding: 0.8rem 1.2rem;
    border-top: 1px solid #FAFAFA;
    align-items: center;

}

.commenter{
    color: #081d43;
    margin: 0 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.clients-companies{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
.company-logo{
    display: block;
}
/* ---------PORTFOLIO-------- */
.potfolio{
    text-align: center;
    padding: 3rem 0;

}

.portfolio-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}
.portfolio-item{
    flex-basis: 22rem;
    margin-bottom: 1rem;
    border-radius: 0.3rem;
    overflow: hidden;
}
.portfolio-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ----------FOOTER---------- */
.newsletter{
    background-color: #2C57E4;
    padding: 5rem 0;
}
.newsletter__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.newsletter-text{
    color: #fff;
    font-size: 1.2rem;
    font-weight: normal;

}
.newsletter-email{
    display: flex;
    justify-content: space-between;
    flex-basis: 22rem;
    background-color: #fff;
    align-items: center;
    padding: 0.3rem 0.3rem 0.3rem 1.5rem;
    border-radius: 0.3rem;
}
.newsletter-box{
    outline: none;
    border: none;
        width: 100%;

}
.newsletter-btn{
    background: #2F5BEA;
    border: none;
    outline: none;
    padding: 0.8rem 1.4rem;
    border-radius: 0.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.copy-right{
    color: #6C7890;
    padding: 0.5rem 0;
}
.copy-right__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.copy-right__text{
    font-size: 0.7rem;

}


/* Project Responsive */

@media only screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    .portfolio-item{
        flex-basis: 19rem;
        margin-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    .nav-btn{
        display: none;
    }
    .comment-box{
        margin: 0.5rem;
    }
    .comments{
        margin: 1.5rem auto;
    }
    .portfolio-item{
        flex-basis: 14rem;
    }
    .newsletter-text{
        max-width: 19rem;
    }
    .newsletter-email{
        flex-basis: 20rem;
    }
    
}

@media only screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    .ham-menu{
        display: block;
    }
    .menu{
        flex-direction: column;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -256px;
        background:#3f70e1;
        width: 16rem;
        transition: 0.5s all;
    }
    .menu-item{
        padding: 1rem;

    }
    .menu-link{
        color: #fff;
    }
    .banner{
        flex-direction: column-reverse;
    }
    .banner-left,.banner-right__img{
        text-align: center;
    }
    .banner-left__bottoms{
        justify-content: center;
    }
    .banner-right__img{
        width: 85%;
    }
    .banner-left__bottoms{
        flex-wrap: wrap;
    }
    .banner-left__link{
        margin-bottom: 1rem;
        width: 8rem;
        padding: 1rem 0;
    }
    .works-box{
        flex-basis: 14rem;
        margin-bottom: 1.5rem;
    }
    .comment-box{
        margin: 0.5rem;
        flex-basis: 15rem;
    }
    .comments,.clients-companies{
        flex-wrap: wrap;
    }
    .company-logo{
        margin: 1rem;
    }
    .portfolio-items{
        justify-content: space-evenly;
    }
    .portfolio-item{
        flex-basis: 15rem;
    }

}

@media only screen and (max-width: 576px) {
    .container {
        max-width: 100%;
    }
    .works-box{
        flex-basis: 100%;
    }
    .works-box__desc{
        max-width: 100%;
    }
    .comment-box{
        margin: 0.8rem 2rem;
        flex-basis: unset;
        width: 100%;
        min-height: 12rem;
    }
    .comments{
        margin: 1.5rem auto;
    }
    .portfolio-items{
        flex-direction: column;
        align-items: center;
    }
    .portfolio-item{
        margin-bottom: 1rem;
        flex-basis: 100%;
    }
    .newsletter__wrapper{
        flex-direction: column;
    }
    .newsletter-text{
        max-width: 100%;
    }
    .newsletter-email{
        flex-basis: auto;
    }
    .newsletter-btn{
        padding: 0.8rem 1rem;
    }
    
}