@font-face {
  font-family: "Century";
  src: url("fonts/century/GOTHIC.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Dosis";
  src: url("fonts/dosis/Dosis-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Dosis";
  src: url("fonts/dosis/Dosis-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Dosis";
  src: url("fonts/dosis/Dosis-Light.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway/Raleway-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway/Raleway-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/raleway/Raleway-Light.ttf") format("truetype");
  font-weight: lighter;
  font-style: normal;
}

html,
body {
  min-height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #000;
  scroll-behavior: smooth;
}

header {
  font-family: "Dosis";
  width: 100%;
  height: 124px;
  position: fixed;
  top: 0px;
  background-color: transparent;
  -webkit-transition: height 0.5s;
  transition: height 0.5s;
  z-index: 100;
}

header.active {
  height: 80px;
  border-bottom: solid 1px #fff;
}

header .logo {
  float: left;
  color: #eee;
  margin-left: 15%;
  margin-top: 10px;
  font-size: 20px;
}

header .logo span {
  color: #ffd600;
}

header .logo img {
  width: 160px;
  -webkit-transition: width 0.5s;
  transition: width 0.5s;
}

header.active .logo img {
  width: 80px;
}

header.active {
  background-color: #000;
}

header nav {
  margin-top: 50px;
  margin-right: 15%;
  height: 100px;
  float: right;
  transition: margin-top 0.5s;
  -webkit-transition: margin-top 0.5s;
}

header.active nav {
  margin-top: 10px;
}

a {
  cursor: pointer;
}

nav > a,
#navMobileMenu {
  font-family: "Raleway";
  display: inline-block;
  color: #eee;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 4px solid transparent;
  padding: 24px 14px 20px;
  float: left;
  outline: none;
}

nav .endLine {
  display: none;
}

#navMobileMenu {
  position: fixed;
  right: 10px;
  top: 10px;
  border-top: none;
  border-left: none;
  border-right: none;
  background-color: transparent;
  font-size: 30px;
  padding-top: 2px;
  font-weight: bold;
  display: none;
  width: 60px;
}

nav > a:hover,
#navMobileMenu.active {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 3px solid #ffd600;
}

#navMobileMenu.active {
  font-size: 65px;
  line-height: 40px;
}

#front {
  width: 100%;
  height: 25vw;
  background-color: #000000;
  margin: 0;
  padding-top: 124px;
  background-image: url("img/back.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#front .center {
  font-family: "Dosis";
  font-size: 3vw;
  color: #eee;
  height: 100%;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  padding-top: 2vw;
  line-height: 5vw;
  font-weight: lighter;
}

#front span {
  color: #ffd600;
}

#front a {
  font-family: "Raleway";
  width: 150px;
  position: absolute;
  right: 15%;
  top: 26vw;
  background-color: #ffd600;
  border-radius: 5px;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  padding: 10px;
  transition: background-color 0.1s;
  -webkit-transition: background-color 0.1s;
}

#front a:hover {
  background-color: #ffe666;
}

#front a > span {
  color: #000;
  font-size: 20px;
}
#clients {
  font-size: 18px;
  background-color: #f3f3f4;
  height: 80px;
  width: 100%;
}

#clients .flex {
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
}

#clients .flex .title {
  font-family: "Dosis";
  line-height: 80px;
  color: #000;
  font-size: 30px;
  padding-left: 20px;
  padding-right: 50px;
}

#clients .flex #logos {
  flex: 1;
  line-height: 200px;
  width: calc(100% - 60px);
  overflow: hidden;
}

#logosContainer {
  height: 80px;
  white-space: nowrap;
}

#logosContainer > img {
  margin-top: 20px;
  margin-right: 20px;
  height: 40px;
  width: auto;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: gray;
}

section {
  display: flex;
  justify-content: center;
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 40px;
  padding-bottom: 40px;
}

section.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.black {
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

section.white {
  background-color: #f3f3f4;
  font-weight: bold;
}

article {
  flex: 1;
  text-align: center;
  padding: 20px;
  border-radius: 5px;
}

section.black article {
  color: #f3f3f4;
  background-color: #444;
}

section.white article {
  color: #000;
  background-color: transparent;
}

article .title {
  font-family: "Dosis";
  font-size: 30px;
}

article .title > span {
  color: #ffd600;
}

article .body {
  font-family: "Raleway";
  font-size: 18px;
}

article hr {
  display: block;
  border: solid #ffd600 1px;
  height: 0;
  overflow: visible;
  margin-top: 10px;
  margin-bottom: 20px;
}

article a {
  display: block;
  margin: auto;
  margin-top: 20px;
  width: 110px;
  font-family: "Raleway";
  background-color: #ffd600;
  border-radius: 5px;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  transition: background-color 0.1s;
  -webkit-transition: background-color 0.1s;
}

article a:hover {
  background-color: #ffe666;
}

article.img {
  display: block;
  height: 250px;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: calc(33.33333% - 16.66666px);
  flex: 0 0 auto;
  margin-top: 25px;
}

article.img .flex {
  display: flex;
}

article.img .img {
  height: 250px;
  width: 234px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

article.img .flex .title {
  font-size: 1.2vw;
  max-width: calc(95% - 234px);
  margin: auto;
}

article.img a {
  font-size: 15px;
  width: 4vw;
  font-size: 0.8vw;
  position: absolute;
  padding: 4px;
  bottom: 10px;
  right: 10px;
  background-color: #ccc;
}

section.banner {
  padding: 0;
  padding-bottom: 60px;
}

section.banner article {
  background-position: center;
  background-repeat: no-repeat;
  max-width: 560px;
  margin: 0;
}

/*
article hr::after {
  display: block;
  content: "";
  position: relative;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background-color: #ffd600;
  border: solid #444 10px;
  border-radius: 100px;
}*/

section.only article.img .img {
  min-width: 380px;
}

.black.title {
  background-color: #000;
  color: #f3f3f4;
  font-family: "Dosis";
  text-align: center;
  font-size: 40px;
  height: 30px;
  padding-top: 40px;
}

.title.separator {
  display: block;
  border: solid #ffd600 1px;
  height: 0;
  overflow: visible;
  position: absolute;
  margin-top: 30px;
  width: 500px;
  left: 50%;
  transform: translate(-50%);
}

.black.title span {
  color: #ffd600;
}

@media only screen and (max-width: 1500px) {
  header {
    margin-right: 5%;
  }

  header nav {
    margin-right: 5%;
  }

  header .logo {
    margin-left: 5%;
  }

  #front a {
    right: 5%;
  }

  section {
    padding-left: calc(5% - 20px);
    padding-right: calc(5% - 20px);
  }

  article.img .flex .title {
    font-size: 1.4vw;
    max-width: calc(90% - 234px);
  }

  article.img a {
    font-size: 15px;
    width: 4vw;
    font-size: 0.8vw;
  }
}

@media only screen and (max-width: 1200px) {
  header.active {
    border-bottom: solid 2px #fff;
  }

  #navMobileMenu {
    display: block;
  }

  header nav {
    position: absolute;
    top: 124px;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #000;
    height: 0;
  }

  header nav.show {
    height: auto;
  }

  header nav a {
    display: block;
    width: 100%;
    background-color: #000;
    font-weight: bold;
    overflow: hidden;
    height: 0;
    padding: 0;
    padding-left: 60px;
    transition: height 0.5s, padding 0.5s;
    -webkit-transition: height 0.5s, padding 0.5s;
    border: none;
  }

  header nav a:hover {
    border: none;
  }

  header nav.show a {
    height: 40px;
    line-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
  }

  header.active nav {
    margin: 0;
    padding: 0;
    top: 80px;
    left: 0;
  }

  nav.show .endLine {
    display: block;
    border: solid #fff 1px;
    width: 100%;
    float: left;
  }

  #clients {
    height: 130px;
  }

  #clients .flex {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  #clients .flex .title {
    width: 100%;
    text-align: center;
    padding: 0;
    line-height: 50px;
  }

  #clients .flex #logos {
    width: 100%;
  }

  #front {
    width: 100%;
    height: 55vw;
    background-color: #000000;
    margin: 0;
  }

  #front .center {
    font-size: 6vw;
    padding-top: 2vw;
    line-height: 9vw;
    height: auto;
    margin-bottom: 3vw;
  }

  #front a {
    position: static;
    display: block;
    margin: auto;
    font-size: 2vw;
    width: 20vw;
    padding: 1vw;
  }

  #front a span {
    font-size: 3vw;
  }

  section.grid,
  section.banner.only {
    display: flex;
    flex-direction: column;
  }

  section {
    flex-direction: column;
  }

  section article,
  section.black article {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
  }

  section article.img {
    width: calc(80% + 40px);
    margin: auto;
    margin-bottom: 20px;
  }

  section.only article.img {
    width: 80%;
    max-width: 80%;
  }

  section.only article.img .img {
    width: 50%;
    min-width: 50%;
  }

  section article.img .flex .title {
    font-size: 26px;
  }

  section article.img a {
    font-size: 20px;
    width: 150px;
  }
}

@media only screen and (max-width: 800px) {
  #front {
    height: 100vw;
  }

  #front .center {
    font-size: 8vw;
    line-height: 16vw;
  }

  #front a {
    position: static;
    display: block;
    margin: auto;
    font-size: 2vw;
    width: 20vw;
    padding: 1vw;
  }

  #front a span {
    font-size: 3vw;
  }
}

@media only screen and (max-width: 600px) {
  section article.img .flex .title {
    font-size: 23px;
  }

  section article.img a {
    font-size: 15px;
    width: 150px;
  }
}

/* pop- up */

#popUp {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: none;
}

#popUp.active {
  display: block;
}

#popUp .back {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background-color: #000000;
}

#popUp .messaje {
  background-color: #fff;
  width: 1200px;
  height: 600px;
  position: fixed;
  margin: 50%;
  transform: translate(-50%, 0);
  left: 0;
  top: 0;
  padding: 30px;
  margin-top: 100px;
  border-radius: 5px;
}

#popUp .messaje iframe {
  width: 1200px;
  height: 600px;
}

.contact .line {
  color: #000;
  vertical-align: middle;
  line-height: 70px;
  font-size: 22px;
  text-align: left;
}

.contact a,
.contact a:hover,
.contact span {
  font-family: "Raleway";
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 20px;
}

.contact .line.title {
  font-size: 30px;
}

.contact img {
  display: inline-block;
  width: 50px;
  margin-right: 20px;
  margin-left: 40px;
  vertical-align: middle;
}

#popUp .messaje .close {
  font-family: "Century";
  font-size: 32px;
  line-height: 27px;
  position: fixed;
  right: 2px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background-color: #000;
  border: none;
  color: #fff;
  outline: none;
  cursor: pointer;
}

@media only screen and (max-width: 1500px) {
  #popUp .messaje {
    width: 1000px;
    height: 550px;
  }

  #popUp .messaje iframe {
    width: 1000px;
    height: 550px;
  }
}

@media only screen and (max-width: 1200px) {
  #popUp .messaje {
    width: 700px;
    height: 450px;
  }

  #popUp .messaje iframe {
    width: 700px;
    height: 450px;
  }
}

@media only screen and (max-width: 800px) {
  #popUp .messaje {
    width: 500px;
    height: 300px;
  }

  #popUp .messaje iframe {
    width: 500px;
    height: 300px;
  }
}

@media only screen and (max-width: 600px) {
  #popUp .messaje {
    width: 400px;
    height: 200px;
  }

  #popUp .messaje iframe {
    width: 400px;
    height: 200px;
  }
}

footer {
  background-color: #000;
  color: #f3f3f4;
  text-align: center;
  padding: 40px;
  font-family: "Dosis";
  font-size: 20px;
}
