/* App Fonts */

@font-face {
    font-family: "TTNorms";
    src: url("../fonts/TTNorms-Regular.otf") format("openType");
    font-weight: normal;
    font-style: normal;

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

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

}

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

/* 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";

}
.body-start
 {
    background: #000;
}

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

/*** header ***/

.link{
    font-size:16px;
    font-weight:300;
    text-align:center;
    position:relative;
    height:40px;
    line-height:40px;
    margin-top:10px;
    overflow:hidden;
    /*width:100%;*/
    /*margin-left:5%;*/
    cursor:pointer;
}
.link:after{
    content: '';
    position:absolute;
    width:80%;
    border-bottom:1px solid rgba(255, 255, 255, 0.5);
    bottom:50%;
    left:-100%;
    transition-delay: all 0.5s;
    transition: all 0.5s;
}
.link:hover:after,
.link.hover:after{
    left:100%;
}
.link .text{
    text-shadow:0px -40px 0px rgba(255, 255, 255, 1);
    transition:all 0.75s;
    transform:translateY(100%) translateZ(0);
    transition-delay:all 0.25s;
}
.link:hover .text,
.link.hover .text{
    text-shadow:0px -40px 0px rgba(255, 255, 255, 0);
    transform:translateY(0%) translateZ(0) scale(1.1);
    font-weight:600;
}
.text-align-justify{
    text-align: justify;
}


.header-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}
.nav{
    display: flex;
    align-items: center;
}
.nav-log{

}
.nav-logo__img{

    margin-right: 2rem;
    height: 82px;

}
.menu{
    list-style-type: none;
    padding-left: 0px;
    margin: 0;
    display: flex;



}
.menu__item{

}
.menu__link{
    text-decoration: none;
    color: #ffffff;
    padding: 0 10px;

}
.header__link{
    background-color: #0050C8;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.3rem;


}
.header__icon{
    font-size: 1.8rem;
    display: none;
    cursor: pointer;
}
/** header-bottom */
.header-bottom{
    margin-top: 5.5rem;

}
.header-content{
    display: flex;
    align-items: center;

}
.header-content__left{
    flex-basis: 50%;


}
.header-content__wrapper{
    max-width: 28rem;
}
.header-content__right{
    flex-basis: 50%;

}

.header-content__title{
    color: #ffffff;
    font-family: "TTNorms Medium";
    font-weight: normal;
    line-height: 2.5rem;
    text-align: center;

}
.header-content__text{
    color: #6C7890;
    line-height: 2rem;

}
.header-content__links{
    display: flex;
    margin-top: 2rem;


}
.content_link_login{
    background-color: #87BC25;
    color: #fff;
    text-decoration: none;
    padding: 2px 0.5rem;
    border-radius: 0.3rem;
    margin-right: 0.8rem; ;
    display: block;
    width: 3.5rem;
    text-align: center;


}

.header-content__link{
    background-color: #0050C8;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.3rem;
    margin-right: 0.8rem; ;
    display: block;
    width: 10rem;
    text-align: center;

}
.header-content__link:nth-child(1){
    background-color:#87BC25 ;
}
.header-content__img{
    width: 100%;
    height: 50%;
    -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    border-radius: 10px;
}


/** end header **/
/********* start main *******************/
.main{
    /* padding: 6rem 0; */
    padding-top: 3rem;

}
.cursor-pointer{
    cursor: pointer;
}
.wod{
    align-self: flex-start;
}
.wod-subject{
    font-family: Inter,Helvetica,Arial,sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    direction: ltr;

}

.wod-lavel1{
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.42857;
    color: #ffffff;
    direction: ltr;
    width: 95%;
}
.v-center {
    display: flex;
    align-items: center; /* این خط اصلی‌ترین کار یعنی وسط‌چینی عمودی را انجام می‌دهد */
}
.center-center {
    display: flex;
    align-items: center;    /* وسط‌چین عمودی */
    justify-content: center; /* وسط‌چین افقی */
}
.truncate-text {
    white-space: nowrap;      /* از شکستن خط و رفتن متن به خط بعدی جلوگیری می‌کند */
    overflow: hidden;         /* بخش اضافی متن که از کادر بیرون زده را پنهان می‌کند */
    text-overflow: ellipsis;  /* به جای متن پنهان شده، سه نقطه نمایش می‌دهد */
    width: 100%;              /* باعث می‌شود عنصر تمام عرض والد خود را بگیرد (اختیاری اما مفید) */
    display: block;           /* برای اطمینان از عملکرد صحیح روی همه عناصر */
}
.limitTextToOneLine {
    white-space: nowrap;      /* کلید اصلی: از شکستن متن و رفتن به خط بعد جلوگیری می‌کند */
    overflow: hidden;         /* محتوای اضافی را پنهان می‌کند */
    text-overflow: ellipsis;  /* به جای محتوای پنهان شده، سه نقطه (...) نمایش می‌دهد */
}
.limitTextLines1{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
 -webkit-box-orient: vertical;
}


.limitTextLines2{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
 -webkit-box-orient: vertical;
}
.limitTextLines3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines4{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines5{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines6{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines7{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines8{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines9{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 9; /* number of lines to show */
   -webkit-box-orient: vertical;
  }
  .limitTextLines10{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 10; /* number of lines to show */
   -webkit-box-orient: vertical;
  }

.works{
    text-align: center;
    padding: 5rem 0;
}
.works__text, .portfolio__text{
    color: #f5f6f6;
    margin-bottom: 0;
    text-transform: uppercase;
    margin-top:0 ;

}
.works__title, .portfolio__title{
    color:#73aec0 ;
    margin-top: 0.8rem;
    font-family: "TTNorms Medium" ;
    font-weight: normal;
    font-size: 1.8rem;

}
.works-content{
    margin-top: 3rem;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

}
.works-content__item{
    flex-basis: 16rem;
    flex-shrink: 0;

}
.works-content__title{
    color: #87acef;

}
.works-content__text{
    color: #6C7890;
    line-height: 2rem;
    max-width: 16rem;

}
.works-img{
    max-width: 31rem;
    margin: 0 auto;

}
.works-img__img{
    width: 100%;
    border-radius: 10px;

}


/*********end main **********************/

/****************start  person selection ************/

.person-comments{
    background-color: #130a39;
    color: #fff;
    text-align: center;
    padding: 5rem 0;

}
.person-comment__title{
    font-family: "TTNorms Medium" ;
    font-weight: normal;
    margin-top: 0;
    font-size: 1.8rem;

}
.person-comments__text{
    font-family: "TTNorms Light";
    max-width: 28rem;
    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;
    /* flex-wrap: wrap; */
}

.comment{
    background-color: #fff;
    margin: 1rem;
    border-radius: 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 18rem;
    flex-basis: 20rem;


}
.comments__content{
    text-align: left;
    padding: 1.2rem;


}
.comment__body{
    color: #7E8085;
    line-height: 1.5rem;
    margin: 0;
    text-align: justify;
    font-size: 12px;

}
.comment__info{
    display: flex;
    border-top: 1px solid #E8EBEF;
    align-items: center;
    padding: 0.8rem 1.2rem;


}
.comment__img{



}
.comment__person{
    color: #000;
    margin: 0 0.5rem 0 0.5rem;
    /* margin-left: 0.5rem; */
font-size: 12px;


}
.companies{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;

}
.companies__img{
    display: block;
    margin: 1rem;

}

/****************end  person selection ************/
/************** start portfolio ***********/
.portfolio{
    text-align: center;
    padding: 5rem 0;

}
.portfolio__text{

}
.portfolio__title{

}
.portfolio-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;


}
.portfolio__item{
    flex-basis: 23rem;
    margin-bottom: 2rem;

    border-radius: 0.3rem;
    overflow: hidden;

}
.portfolio__img{
    width: 100%;
    height: 100%;
    object-fit: cover;


}
/************** end portfolio ***********/


/********* start footer  ********/
.footer{

}
.img-gallery{
    height: 200px;
    width: 150px;
    -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    object-fit: cover;
}
.img-gallery-fit-cover {
    width: 98%;
    height: 100%;
    -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    -moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.41);
    border-radius: 10px;
    object-fit: cover; /* یا contain برحسب نیاز */
}


.newsletter{

    background-color:#2C57E4 ;
    padding: 1rem 0;
    color: #fff;
}
.newsletter__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;


}
.newsletter__text{
    font-size: 1.6rem;
    font-weight: normal;


}
.newsletter__email{
    background-color: #fff;
    flex-basis: 22rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.3rem 0.3rem 1.5rem;
    border-radius: 0.3rem;

}
.newsletter__emailtext{
    border: none;
    outline: none;
    width: 100%;

}
.newsletter__btn{
    background-color: #2F5BEA;
    border: none;
    outline: none;
    padding: 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.3rem;

}
.copy-right{
    color: #6C7890;
    padding: 1.5rem 0;

}
.copy-right__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}
.copy-right__text{
    /* display: block; */


}
/********* end footer  ********/





/* Project Responsive */

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

}

@media only screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    .wod{
        align-self: flex-end;
    }
    .header__link{
        display: none;
    }
    .header-content{
        flex-direction: column-reverse;
    }
    .header-bottom{
        margin-top: 3rem;
    }
    .header-content__wrapper{
        max-width: 100%;
    }
    .header-content__right{
        margin-bottom: 2rem;
    }

    .header-content__links{
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .header-content__link{
        margin-bottom: 1rem;
    }
    .comments{
        flex-wrap: wrap;

    }
    .comment{
        flex-basis: 19rem;
    }
    .companies{
        justify-content: center;
        margin-top: 2.5rem;
    }
    .portfolio__item{
        flex-basis: 20rem;
    }
    .newsletter__text{
        max-width: 20rem;
    }
    .header-content__left{
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    .header__icon{
        display: block;
        color: white;
    }
    .menu{
        /* display: none; */
        position: fixed;
        top: 0;
        left: -256px;
        bottom: 0;
        background: #3f70e1;
        flex-direction: column;
        width: 16rem;
        transition: 0.03s all;
        padding: 2rem 1rem;
    }
    .menu__item{
        margin-bottom: 2rem;
       font-size: 1.2rem;
    }
    .menu__link{
        color: #fff;
    }
    .works-content__item{
        flex-basis: 14rem;
        margin-bottom: 1.5rem;
    }
    .comment{
        margin: 0 0 1.5rem 0;
        flex-basis: 15rem;

    }
    .portfolio__item{
        flex-basis: 100%;
    }
    .newsletter__text{
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .newsletter__wrapper{
        flex-direction: column;
    }

    .newsletter__email{
        flex-basis: auto;
        width: 100%;
    }
}

@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%;
    }
    .newsletter__btn{
        padding: 1rem 1.2rem;
    }


}
