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

/* lato-100 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/lato-v20-latin-100.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-100.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-100.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-100.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-100.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-100.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-100italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 100;
  src: url("../fonts/lato-v20-latin-100italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-100italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-100italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-100italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-100italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-100italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-300italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/lato-v20-latin-300italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-300italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-300italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-300italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-300italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-300italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-300 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/lato-v20-latin-300.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-300.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-300.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-300.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-300.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-300.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato-v20-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-regular.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/lato-v20-latin-italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-italic.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/lato-v20-latin-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-700.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-700.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-700.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-700italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/lato-v20-latin-700italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-700italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-700italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-700italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-700italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-700italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/lato-v20-latin-900.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-900.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-900.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-900.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-900.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-900.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-900italic - latin */
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 900;
  src: url("../fonts/lato-v20-latin-900italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v20-latin-900italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v20-latin-900italic.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v20-latin-900italic.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v20-latin-900italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v20-latin-900italic.svg#Lato")
      format("svg"); /* Legacy iOS */
}

body {
  font-family: "Lato";
}

.container {
  width: 95%;
  margin: auto;
}

.my-header {
  width: 100%;
  height: 100vh;
  background-image: url("../images/header.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.my-header .hero {
  width: 100%;
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-title {
  margin: 0;
  padding: 0;
  font-size: 45px;
  font-weight: 400;
  text-transform: uppercase;
}

.line {
  width: 15%;
  height: 2px;
  background-color: white;
  margin: 2% auto;
}

.hero p {
  width: 50%;
  margin: auto;
  text-transform: uppercase;
  text-align: center;
  font-size: 17px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 35px;
  }
  .line {
    width: 28%;
    margin: 6% auto;
  }
  .hero p {
    width: 100%;
    font-size: 15px;
  }
}

/* ----------------------------------------------------------------------------- */

h3,
p {
  margin: 0;
  padding: 0;
}

.services .items {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
  grid-template-rows: repeat(auto-fit, minmax(50%, 1fr));
  gap: 10px;
}

.item {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
}

.item .first,
.item .second {
  padding: 25px;
}

.item-title {
  font-size: 28px;
  color: rgb(58, 58, 58);
}

.item p {
  line-height: 1.8;
  margin-top: 40px;
}

.item .left,
.item .right {
  width: 50%;
}

.right img,
.left img {
  width: 100%;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .item {
    flex-direction: column;
  }
  .item .left,
  .item .right {
    width: 100%;
  }
}

/* ----------------------------------------------------------------------------- */

.title-portfolio {
  text-align: center;
  text-transform: uppercase;
  margin: 25px 0;
  font-size: 36px;
  color: rgb(58, 58, 58);
}

.gallary {
  width: 100%;
  margin: 15px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(30%, 1fr));
  grid-template-rows: repeat(auto-fit, minmax(50%, 1fr));
  gap: 15px;
}

@media (min-width: 641px) and (max-width: 768px) {
  .gallary {
    grid-template-columns: repeat(2, minmax(50%, 1fr));
  }
}

.gallary .image img {
  width: 100%;
}

/* ----------------------------------------------------------------------------- */

.passages {
  width: 100%;
  height: auto;
  margin-top: 15%;
  text-align: center;
  background-color: #42484c;
  color: white;
  padding: 30px 0;
}

@media (min-width: 642px) and (max-width: 768px) {
  .passages {
    margin-top: 28%;
  }
}

.passages .title-passages {
  font-size: 30px;
  margin-bottom: 20px;
}

.passages p {
  width: 90%;
  text-align: center;
  margin: auto;
  line-height: 1.8;
}

@media (min-width: 642px) and (max-width: 768px) {
  .passages p {
    width: 80%;
  }
}

.passages h4 {
  margin-top: 15px;
}

/* ----------------------------------------------------------------------------- */

footer {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

footer .social-media i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 23px;
  border-radius: 50%;
  background-color: #42484c;
  color: white;
  margin: 0 10px 23px;
}

footer p {
  color: #42484c;
  text-transform: capitalize;
  font-size: 17px;
  margin: 18px 0;
}

footer p a {
  color: #337ab7;
}
