html {
  /* Keyword values */
  scroll-behavior: auto;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  /* background-color: #dadada; */
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* background-color: #f2f4f4; */
}

.dev-banner-top,
.dev-banner-bottom {
  z-index: 200;
  width: 200px;
  background: #e43;
  position: fixed;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #ffffff;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.dev-banner-top {
  top: 25px;
  left: -50px;
}
.dev-banner-bottom {
  bottom: 25px;
  right: -50px;
}

.fill-page {
  min-height: 95%; /* Fallback for browsers do NOT support vh unit */
  min-height: 95vh; /* These two lines are counted as one :-)       */
}

.fill-page-quarter {
  min-height: 65%; /* Fallback for browsers do NOT support vh unit */
  min-height: 65vh; /* These two lines are counted as one :-)       */
}

/* General spacing for divs */
.pt-pb-spacing,
.pt-pb-spacing-div > div {
  padding-top: 7vw;
  padding-bottom: 7vw;
}

.color-variation {
  background-color: #f7f7f7;
}

.color-variation-2 {
  background-color: #ebf0f6;
}

.zoom {
  transition: transform 0.2s ease-in-out;
}

.alert-warning {
  color: #3d3d3d;
}

/* IE11 image stretch issue */
.img-fluid {
  width: 100%;
}

.preserve-width {
  width: auto !important;
}

/* ========================================================== */
/* HEADER */
/* ========================================================== */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 110;

  /* overflow: hidden; */

  -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}

.nav-color {
  background-color: #316dca;
}

.dropdown-menu {
  background-color: #467cce;
}

.nav-item {
  padding: 2px 7px;
}

.dropdown-item {
  padding: 7px 20px;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus,
.dropdown-item:hover,
.dropdown-item:focus {
  color: rgba(255, 255, 255, 0.671);
  text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #819eca;
}

.navbar-dark .navbar-nav .nav-link,
.dropdown-item {
  color: rgb(255, 255, 255);
}

.navbar-brand {
  color: white !important;
  font-weight: 400;
}

.navbar .navbar-collapse,
.dropdown-item {
  text-align: center;
}

.navbar-custom-ham {
  color: #fff;
  font-size: 25px;
}

.line {
  border-radius: 10px;
  background-color: white;
  margin-top: 1px;
  height: 2px;
  width: 100%;
  cursor: pointer;
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.line.open {
  opacity: 1;
}

/* ========================================================== */
/* CONTENTS */
/* ========================================================== */

/* 
  hide elements when loaded (animate afterwards using ScrollReveal 
  (Else, there's a flikering issue)
*/
#banner-left,
#banner-right,
#btn-products,
#software-left,
#hardware-left,
#software-right,
#hardware-right,
.why div,
#testimonials div {
  visibility: hidden;
}

.contents {
  margin-top: 50px;
}

/* left-right spacing for container:mobile view */
.container {
  padding-left: 30px;
  padding-right: 30px;
}

/* Spacing for the custom navigation-bar (Not main nav-bar) */
.mini-navbar {
  padding-top: 40px;
}

/* BANNER */

.banner {
  /* remove either side margins in the Bootstrap row */
  margin: 0;
  /* width: 100%; */

  min-height: 95%; /* Fallback for browsers do NOT support vh unit */
  min-height: 95vh; /* These two lines are counted as one :-)       */

  display: flex;
  align-items: center;

  background-image: linear-gradient(60deg, transparent 40%, lightblue 60%);
  background-repeat: no-repeat;
  /* background-size: 100vw 100vh; */
  background-size: 100vw 100%;

  /*   margin-top: 60px; */
}

.banner h3,
h5 {
  font-weight: lighter;
}

.banner .eye-logo {
  width: 70px;
}

.banner h4 {
  font-weight: 400;
}

.banner table img {
  height: 20px;
}

.new-badge,
.new-badge-tag {
  position: absolute;

  background: red;
  text-align: center;

  border-radius: 3px;
  box-shadow: 0 0.3rem 0.4rem 0 rgba(0, 0, 0, 0.2);

  color: white;
  padding: 3px 10px;
  font-size: 1rem;

  clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
}

.new-badge {
  top: 55px;
  right: 18%;
}

/* WHY */

.why hr {
  margin-top: 0;
}

/* SOLUTIONS */

.solutions .row > div {
  margin-top: 20px;
}

/* TESTIMONIALS */

.user {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  padding: 25px 15px;
  display: flex;
  height: 270px;
  border-radius: 5px;
  background-color: whitesmoke;
  display: inline-block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  top: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-transition: height 1s, background-color 1s; /* For Safari 3.1 to 6.0 */
  transition: height 0.4s ease-in-out, background-color 1s ease-in-out;
}

.user a {
  text-decoration: none;
  color: black;
}

.user-img {
  width: 100px;
  border: 1px solid white;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.user-name {
  margin: 10px 10px;
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-align: center;
  top: 5px;
}

.user-nominal {
  margin: 15px 15px 15px 15px;
  font-size: 16px;
  /* font-style: italic; */
  color: rgb(194, 107, 0);
  text-align: center;
  position: relative;
  top: -10px;
}

.user-text {
  text-decoration: none;
  font-size: 18px;
  color: darkslategrey;
  margin-left: 20px;
  margin-right: 15px;

  text-align: center;
  font-style: italic;
}

.read-more {
  text-align: center;
  width: 90%;
  opacity: 0;
  position: absolute;
  bottom: 5px;
  transition: all 0.4s ease-in-out;
}

/* ========================================================== */
/* FOOTER */
/* ========================================================== */

#footer {
  margin-bottom: 0px;
  background-color: #255298;
  color: #fff;
}

#footer a,
.brand-desc,
.copyright {
  color: #d3d3d3;
}

#footer .row {
  margin-top: 15px;
}

#footer .row > :nth-child(3) {
  margin-bottom: 15px;
}

#footer h5 {
  font-weight: 450;
}

.list-unstyled li {
  padding-top: 7px;
}

.copyright {
  margin-top: 40px;
  padding: 10px;
  background-color: #193765;
  text-align: center;
  font-size: 0.8rem;
  padding-bottom: 10px;
}

/* ========================================================== */
/* MEDIA */
/* ========================================================== */

@media (min-width: 1366px) {
  .banner > div {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .banner h1 {
    font-size: 3.2vw;
  }
  .banner h3 {
    font-size: 1.8vw;
  }

  .banner .eye-logo {
    width: 4vw;
  }

  .banner button {
    font-size: 1vw;
  }

  .banner h4,
  .banner h5 {
    font-size: 1.5vw;
  }

  .banner table {
    font-size: 1vw;
  }

  .banner table img {
    height: 1.2vw;
  }

  .new-badge {
    right: 22%;
  }
}

@media (min-width: 992px) {
  /* General spacing for divs */
  .pt-pb-spacing,
  .pt-pb-spacing-div > div {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .new-badge {
    top: 3.5vw;
  }

  .nav-seperator {
    border-radius: 10px;
    height: 60%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 10px 2px;
  }

  .zoom:hover {
    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Safari 3-8 */
    transform: scale(1.2);
  }

  .user:hover {
    /* height: 350px; */
    height: 340px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    /* background-color: white; */
  }

  .user:hover .read-more {
    opacity: 1;
  }
}

@media only screen and (max-width: 991px) {
  .new-badge {
    top: 5.5vw;
  }

  .user {
    height: 90%;
  }

  .read-more {
    opacity: 1;
  }
}

@media only screen and (max-width: 698px) {
  .new-badge {
    top: 5.7vw;
  }

  .pt-pb-spacing,
  .pt-pb-spacing-div > div {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media only screen and (max-width: 327px) {
  .contents {
    margin-top: 100px;
  }
}
