html {
  scroll-behavior: smooth;
}

body {
  font-family: jaf-domus, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: greyscale;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

p {
  font-weight: 300;
  line-height: 1.6;
  font-size: 1.2rem;
}

a,
a:visited {
  color: #313b79;
  transition: color 0.3s;
  text-decoration: none;
}

a:active,
a:hover {
  color: black;
}

h1 {
  margin-bottom: 2rem;
}

h1,
h2,
h3 {
  font-family: europa, sans-serif;
  font-weight: 700;
  font-style: normal;
}

::selection {
  color: #6898e3;
  background: transparent;
}

::-moz-selection {
  color: #6898e3;
  background: transparent;
}

.sidebar {
  width: 250px;
  background-color: #f7f7f7;
  position: fixed;
  height: 100%;
  overflow: auto;
  font-family: europa, sans-serif;
  font-weight: 700;
  font-style: normal;
  z-index: 20;
}

.container {
  padding: 0 0;
  margin: 0 0;
}

.fade-in-up {
  animation: fadeInUp ease 2s;
  -webkit-animation: fadeInUp ease 2s;
  -moz-animation: fadeInUp ease 2s;
  -o-animation: fadeInUp ease 2s;
  -ms-animation: fadeInUp ease 2s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@-o-keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@-ms-keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* ==========================================================================
Navigation
========================================================================== */

.navigation {
  margin: 40px;
  letter-spacing: 0.05rem;
}

.primary-nav {
  text-transform: uppercase;
  font-weight: 600;
  padding: 40px 0;
}

.primary-nav li {
  padding: 0.625rem 0.25rem;
  border-bottom: 1px solid #525650;
}

.primary-nav li:first-child {
  border-top: 1px solid #525650;
}

.primary-nav a,
.secondary-nav a {
  display: block;
  color: #525650;
  text-decoration: none;
}

.primary-nav a.active {
  font-weight: bold;
}

.primary-nav a:hover:not(.active),
.secondary-nav a:hover:not(.active) {
  color: #6898e3;
  transition: color 0.2s ease-in-out;
}

.secondary-nav {
  font-weight: 500;
}

.secondary-nav li {
  padding: 12px 0;
}

.lang-nav {
  margin-top: 40px;
  display: flex;
}

.lang-nav li {
  margin-right: 10px;
}

.lang-nav li:last-child {
  margin-right: 0;
}

.navigation.open {
  visibility: visible;
  opacity: 0.9;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.nav-toggle {
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 999999;
  padding: 10px 35px 16px 0;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  display: block;
  width: 35px;
  height: 3px;
  border-radius: 1px;
  background: #525650;
  cursor: pointer;
}

.nav-toggle span:before {
  top: -10px;
}

.nav-toggle span:after {
  bottom: -10px;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.nav-toggle.active span {
  background-color: transparent;
}

.nav-toggle.active span:before,
.nav-toggle.active span:after {
  top: 0;
}

.nav-toggle.active span:before {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-toggle.active span:after {
  top: 10px;
  -ms-transform: translatey(-10px) rotate(-45deg);
  -webkit-transform: translatey(-10px) rotate(-45deg);
  transform: translatey(-10px) rotate(-45deg);
}

.navicon {
  position: absolute;
  height: 26px;
  right: 10px;
  top: 35px;
  visibility: hidden;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.logo {
  margin: 40px;
}

.logo img {
  width: 100%;
}

/* ==========================================================================
Main Content
========================================================================== */

.main {
  margin-left: 250px;
}

.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 20;
  background-image: url("../img/iStock-941055744.jpg");
  background-position: center;
  background-size: cover;
}

.tagline {
  color: white;
  margin-left: 20%;
  width: 50%;
}

.tagline h1 {
  font-size: 4rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.tagline p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.button {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  background-color: white;
  color: #525650;
  padding: 1rem 2rem;
  min-width: 9.375rem;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  box-shadow: 5px 5px 0px 1px #6898e3;
  transition: box-shadow 0.2s ease-in-out;
  border-radius: 0px;
}

.button:hover:not(.active) {
  box-shadow: 3px 3px 0px 1px #6898e3;
}

.content {
  padding: 40px;
}

.phylosophy {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.history {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/iStock-1151361649.jpg");
  background-position: center;
  background-size: cover;
  color: white;
  text-shadow: 0px 0px 10px #000, 0px 0px 10px #000;
}

.history p {
  background-color: rgba(0, 0, 0, 0.4);
  outline: thick solid rgba(0, 0, 0, 0.4);
  outline-width: 20px;
}

.products {
  color: white;
  min-height: 100vh;
  background-color: #6898e3;
  display: flex;
  align-items: center;
}

.products .row {
  margin-bottom: 2rem;
}

.products ::selection {
  color: #30ceb6;
  background: transparent;
}

.products ::-moz-selection {
  color: #30ceb6;
  background: transparent;
}

.products h3::after {
  content: " ";
  width: 1.5625rem;
  display: block;
  height: 0.3125rem;
  background-color: #30ceb6;
  position: relative;
  top: 10px;
}

.solutions {
  color: white;
  min-height: 100vh;
  background-color: #313b79;
  display: flex;
  align-items: center;
}

.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.counter {
  border: hidden;
  background-color: transparent;
}

/* ==========================================================================
Footer
========================================================================== */

footer {
  text-align: left;
  background-color: lightgrey;
}

.footer-last-line {
  font-weight: 300;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 20px 40px;
  background-color: white;
}

.footer-menu a {
  color: black;
}
