@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: "Time New Romans Italic";
  src: url("../fonts/Times-new-roman-italic.ttf") format("truetype");
}

@font-face {
  font-family: "Dana";
  src: url("../fonts/DanaFaNum-Regular.woff") format("woff");
}

@font-face {
  font-family: "Dana Medium";
  src: url("../fonts/DanaFaNum-Medium.woff") format("woff");
}

@font-face {
  font-family: "Dana Bold";
  src: url("../fonts/DanaFaNum-Bold.woff") format("woff");
}

/* normalize CSS */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

/* normalize CSS End */

html {
  box-sizing: border-box;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}

body {
  font-family: "Dana";
}

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media only screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .Gallery-item {
    flex-basis: 28rem!important;
  }
}

@media only screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  .header__link {
    display: none !important;
  }
  .nav_menu__items {
    padding: 0 0.4rem !important;
  }
  .Header-Bottom {
    flex-direction: column-reverse;
    margin-top: 3rem!important;
  }
  .Header-Bottom__Wrapper {
    width: 100%!important;
    
  }
  .Header-Bottom__Right {
    display: flex;
    flex-wrap: wrap;
  }
  .Header-Bottom__Left {
    margin-bottom: 2rem;
  }
  .Header-Bottom__Links {
    flex-wrap: wrap;
    gap: 3rem !important;
  }

  .Person-Comments_all {
    flex-wrap: wrap;
  }

  .Comment-contents {
    flex-basis: 19.5rem !important;
  }

  .companies {
    justify-content: center !important;
  }

  .Gallery-item {
    flex-basis: 21rem !important;
  }
}


@media only screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  .nav_menu {
    position: fixed;
    top: 4rem;
    bottom: 0;
    left: -256px;
    border-radius: 0.3rem;
    background: rgba(33, 33, 33, 0.8);
    width: 12rem;
    height: 80vh;
    flex-direction: column;
    direction: ltr;
    padding: 2rem 1rem;
    transition: all 400ms ease-in;
    z-index: 2;
  }

  .Works-Content__itmes{
    flex-basis: 14rem!important;
    margin-bottom: 2rem;
  }

  .nav_menu__items {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    padding: 0 0 0.8rem 1rem!important;
  }

  .nav-menu__links{
    padding-left: 1rem;
    color: #fff!important;
  }

  .nav__icon {
    display: block!important;
    
  }

  .Comment-contents {
    flex-basis: 13.8rem !important;
  }

  .Gallery-item {
    flex-basis: 15.5rem !important;
  }

  .newsletter-box {
    flex-basis: auto !important;
    width: 100%;
  }
  .newsletter-container {
    flex-direction: column;
  }
  .newsletter-title {
    width: 100%;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem;
  }

  .newsletter {
    padding: 4rem 1rem !important;
  }
  
}

@media only screen and (max-width: 576px) {
  .container {
    max-width: 100%!important;
  }

  .Works-Content__text{
    max-width: 100%!important;
  }

  .Comment-contents {
    margin: 1rem auto!important;
  }

  .Gallery-item {
    flex-basis: 100% !important;
  }
  
}

 

/* Header Top */

.nav_menu__items:hover{
  cursor: pointer;
  transform: translateY(-0.22em);
  border-bottom: 3px solid #B71C1C;
  
}

.nav_menu__items:hover a { color: #B71C1C;}

.header {
  padding-right: 0;
  padding-left: 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Dana Bold";
}
.nav-logo {
}
.nav-logo__img {
}
.nav_menu {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  display: flex;
}
.nav_menu__items {
  position: relative;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  transition: all 300ms ease-in;
  padding-bottom:10px
}
.nav-menu__links {
  text-decoration: none;
  color: #081d43;
  margin-right: 0.3rem;
  
}
.header__link {
  display: flex;
  text-decoration: none;
  background-color: #0050c8;
  border-radius: 0.3rem;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  overflow: hidden;
  position: relative;
  justify-content: center;
  align-items: center;
  transition: all 0.8s ease;
}

.header__link::before,
.header__link::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
}

.header__link:after {
  left: -100%;
  clip-path: polygon(10% 0, 70% 0, 90% 100%, 30% 100%);
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 500ms ease;
}

.header__link:hover::after {
  left: 100%;
}
.nav__icon {
  font-size: 1.4rem;
  display: none;
  cursor: pointer;
}

/* Header Top End */

/* Header Bottom */

.Header-Bottom {
  display: flex;
  align-items: center;
  margin-top: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.Header-Bottom__Wrapper {
  width: 28rem;
}

.Header-Bottom__tilte {
  color: #081d43;
  line-height: 2.5rem;
}
.Header-Bottom__text {
  color: #6c7890;
  line-height: 2rem;
}

.Header-Bottom__Links {
  display: flex;
  gap: 6px;
  margin-top: 2rem;
  justify-content: space-evenly;
}

.Header-Bottom_btn_R {
  display: block;
  text-decoration: none;
  background-color: #87bc25;
  border-radius: 0.3rem;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  width: 10rem;
  text-align: center;
}

.Header-Bottom_btn_L {
  display: block;
  text-decoration: none;
  background-color: #0050c8;
  border-radius: 0.3rem;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  font-size: 1.2rem;
  width: 10rem;
  text-align: center;
}

.btn:link,
.btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  position: relative;
}

.btn::after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 0.3rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .4s;
}

.Header-Bottom_btn_L::after {
  background-color: #0050c8;
}

.Header-Bottom_btn_R::after {
  background-color: #87bc25;
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.btn-animated {
  animation: moveInBottom .5s ease-out .75s;
  animation-fill-mode: backwards;
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.Header-Bottom__Right {
  flex-basis: 50%;
}
.Header-Bottom__Left {
  flex-basis: 50%;
}
.Header-Bottom__img {
  width: 100%;
}

/* Header Bottom End */

/* Main Start */

.main {
  padding-top: 3rem;
}
.Works {
  text-align: center;
  padding: 5rem 1rem;
}
.works-text {
  color: #6c7890;
  margin-bottom: 0;
  margin-top: 0;
}
.Works-title {
  color: #081d43;
  margin-top: 0.8rem;
  word-spacing: 0.17rem;
  font-size: 1.8rem;
}
.Works-Content {
  margin-top: 3rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.Works-Content__itmes {
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
  flex-basis: 16rem;
}
.Works-Content__title {
  color: #081d43;
}
.Works-Content__text {
  color: #6c7890;
  max-width: 16rem;
  line-height: 2rem;
}

.Works-img__container {
  max-width: 31rem;
  margin: 0 auto;
}
.Works-img {
  max-width: 100%;
}


.Works-Content__itmes:hover {
  
  border-radius: 0.3rem;
}

/* Main End */

/* Person Comments Start */

.Person-Comments {
  background-color: #2f5bea;
  color: #ffffff;
  
}
.Person-Comments__container {
  padding: 5rem 1rem;
}
.Person-Comments__tile {
  text-align: center;
  color: #ffffff;
  margin-top: 0;
  font-size: 1.8rem;
}
.Person-Comments__text {
  text-align: center;
  max-width: 26rem;
  margin: 0 auto;
  line-height: 1.5rem;
}
.comments__container {
  max-width: 65rem;
  margin: 3.5rem auto 0 auto;
}

.Person-Comments_all {
  display: flex;
  justify-content: space-between;
}

.Comment-contents {
  background-color: #ffffff;
  margin: 1rem;
  border-radius: 0.3rem;
  display: flex;
  flex-direction: column;
  min-height: 18rem;
  flex-basis: 20rem;
  justify-content: space-between;
}

.Comment-content {
  padding: 1.2rem;
}

.Comment-content__body {
  color: #7e8085;
  margin: 0;
  line-height: 1.5rem;
}
.Comment-info {
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid #e8ebef;
  padding: 0.8rem 1.2rem;
}

.Person-info {
  margin: 0;
}

.companies {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5rem;
  flex-wrap: wrap;
  
}
.companies__img {
  display: block;
  margin: 1rem;
  transition: all 500ms ease-in 190ms;
}

.companies__img:hover {
  cursor: pointer;
  transform: rotate(360deg) scale(85%);
  
}

/* Person Comments End */

/* Gallery Start */
.Gallery-container {
  padding: 5rem 1rem;
  text-align: center;
  
}

.Gallery-title_content {
  text-align: center;
}

.Gallery-text {
  color: #6c7890;
  margin-bottom: 0;
  margin-top: 0;
}
.Gallery-title {
  color: #081d43;
  margin-top: 0.8rem;
  word-spacing: 0.17rem;
  font-size: 1.8rem;
}

.Gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}
.Gallery-item {
  flex-basis: 23rem;
  margin-bottom: 2rem;
  border-radius: 0.3rem;  
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  transition: all 300ms ease-in;

}


.Gallery-imgs {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.3rem;
}

.Gallery-item:hover {
  cursor: pointer;
  transform: scale(105%);
}
/* Gallery End */

/* Footer Start */

.footer {

}
.newsletter {
background-color: #2C57E4;
padding: 6rem 1rem;
color: #ffffff;
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1;
  padding-left: 1;
}

.newsletter-title {
  font-size: 1.3rem;
}
.newsletter-box {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  flex-basis: 22rem;
  padding: 0.3rem 1.5rem 0.3rem 0.3rem;
  border-radius: 0.3rem;
  align-items: center;
}
.newsletter-box__in {
  border: none;
  outline: none;
  width: 100%;
  
}
.newsletter-box__btn {
  background-color: #2F5BEA;
  border: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.3rem;
  padding: 0;
}

.newsletter-box__img {
  padding: 1rem 1.3rem;
  transform: rotate(180deg);
}

.newsletter-box__in::placeholder {
  color: #6C7890;
  font-family: "Dana Medium";
  font-size: 1.2rem;
}

.footer-bottom {
  padding-right: 0;
  padding-left: 0;
}
.footer-bottom_wrapper {
  padding: 1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom_text {
  color: #6C7890;
}

/* Footer End */
