@font-face {
  font-family: allerWebFont;
  src: url('../font/aller.woff') format('woff');
}

.logo-white {
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(329deg) brightness(109%) contrast(101%);
}

body {
  font-family: allerWebFont, verdana, sans-serif;
  font-size: 12pt;
  color: black;
  background: url('../img/bg.gif') repeat;
}

header {
  padding: 30px 0 50px;
  color: white;
  min-height: 106px;
  width: 100%;
  top: 0;
}

#headerTitle {
  font-size: 20pt;
  vertical-align: top;
  padding-top: 25px;
  position: relative;
  z-index: 10;
  padding-bottom: 1rem !important;
}

.bg-simplution-blue {
  background-color: #00529E;
}

.text-simplution-blue {
  color: #00529E;
}

.fill-simplution-blue {
  fill: #00529E;
}

footer a,
nav a {
  color: white;
  text-decoration: none;
}

.nav ul {
  width: 90%;
  list-style: none;
}

/* Logo */
.logo {
  display: inline-block;
  color: white;
  font-size: 60px;
  align-self: center;
}

#headerLogo {
  width: 200px;
  vertical-align: unset;
  margin-right: 2vw;
  position: relative;
}

footer {
  width: 100%;
  color: #ffffff;
}

#footer {
  position: absolute;
  bottom: 0;
}

#title {
  font-size: 13pt;
  font-weight: bold;
  line-height: 1.7;
  padding-bottom: 20px;
}

p {
  padding-top: 10px;
  padding-bottom: 10px;
}

h2 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 100%;
}

ul {
  list-style: disc url('../img/bluedot.gif');
}

li {
  position: relative;
}


#homeLinks {
  padding-top: 25px;
  margin: 0;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 25px;
}

#homeLinks .card {
  border-radius: 5%;
  border: none;
}

#homeLinks img {
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#homeLinks a:hover {
  text-decoration: none;
}

.homeLink .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-bottom: 0;
  padding: 5%;
  text-align: center;
  clip-path: ellipse(84% 100% at 50% 100%);
  background-color: #00000090;
}

.homeLink .last-child {
  margin-right: 0 !important;
}

.homeLink {
  min-width: 50px;
  height: auto;
}

.container {
  max-width: 960px;
  padding-right: 0;
  padding-left: 0;
  -moz-box-shadow: 0px 0px 70px 10px #D1D1D1;
  -webkit-box-shadow: 0px 0px 70px 10px #D1D1D1;
  box-shadow: 0px 0px 70px 10px #111111;
  background: white;
  min-height: 100vh;
  position: relative;
}

.menuItem {
  font-size: 14pt;
}

.menuItem:hover {
  color: #D1D1D1 !important;
}

.selected {
  font-weight: bold;
  font-size: 16pt;
  padding-top: 5px !important;
}

.bold {
  font-weight: bold;
}

.paddingLeft {
  margin-left: 80px;
}

address {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 10pt;
  row-gap: 5px;
  flex-direction: row;
  align-items: center;
  height: 100%;
  margin-bottom: 0px;
}

address div {
  padding: 0 !important;
  text-align: center;
}

.content {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 80px;
  padding-right: 80px;
}

main {
  padding-top: 60px;
  padding-bottom: 120px;
  background: white;
}

.grid {
  row-gap: 25px;
}

.grid img {
  border-radius: 50%;
}

.image-caption {
  text-align: center;
  font-size: 0.9em;
}

.column-gap {
  column-gap: 20px;
}

.left-aligned-image {
  flex-direction: row;
  align-self: flex-end;
}

.right-aligned-image {
  flex-direction: row-reverse;
}

/* Burgermenu */
/* Nav menu */
.nav {
  width: 100%;
  height: fit-content;
  padding-left: 40px;
  overflow: hidden;
  max-height: 0px;
  z-index: 10;
  right: 0;
}

.nav::after {
  background: white url('../img/bluetop.gif') no-repeat;

}

.menu {
  padding-left: 0px;
  margin-bottom: 0px;
}

.menu a {
  display: block;
  padding: 10px 0px;
  color: white;
}

.menu a:hover {
  text-decoration: none;
}

/* Menu Icon */
.hamb {
  cursor: pointer;
  float: right;
  padding: 40px 0px;
  width: 40px;
  padding-left: 20px;
}

/* Style label tag */

.hamb-line {
  background: white;
  display: block;
  height: 2px;
  position: relative;
  width: 24px;

}

/* Style span tag */

.hamb-line::before,
.hamb-line::after {
  background: white;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .1s ease-out;
  width: 100%;
}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}

.side-menu {
  display: none;
}

/* Hide checkbox */
/* Toggle menu icon */
.side-menu:checked~nav {
  max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
  background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

#curvedTop {
  width: 100%;
  position: static;
  margin-top: -30px;
}

#curvedBottom {
  width: 100%;
  position: absolute;
  bottom: 15px;
}

#icon-address {
  display: none !important;
}

#plain-address {
  display: flex !important;
}

.custom-tooltip {
  position: relative;
}

.custom-tooltip:hover:after {
  content: attr(data-tooltip);
  background: #00529E;
  padding: 5px;
  border-radius: 3px;
  display: inline-block;
  position: absolute;
  transform: translate(-50%, -100%);
  margin: 0 auto;
  color: #fff;
  min-width: 150px;
  top: -5px;
  left: 50%;
  text-align: center;
  font-size: 0.7em;
  white-space: pre;
  max-width: none;
  box-shadow: 0 0 15px rgba(0, 0, 0, .6);
}

.zickzack .card,
#references .card {
  border-radius: 20px;
}

#references .logo {
  border-radius: 0px !important;
  top: 10px;
  right: 10px;
  height: auto;
}

.profile-card {
  min-width: fit-content !important;
  max-width: 200px;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.profile-card~span {
  width: 100% !important;
}

.profile-card img,
#references .card-header {
  border-radius: 0;
  border-top-right-radius: 20px !important;
  border-top-left-radius: 20px !important;
}

#references .card-header {
  padding: 0px !important;
  padding-right: 20px !important;
  border: none !important;
}

#references .card-title {
  padding: 20px 20px 15px;
  margin-bottom: 0px !important;
  border-top-left-radius: inherit !important;
  transition: clip-path 0.2s linear;
}

#references .card-header-link {
  height: 100%;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

@keyframes fillFromLeft {
  0% {
    clip-path: ellipse(0% 200% at 0% 50%);
  }

  100% {
    clip-path: ellipse(80% 200% at 0% 50%);
  }
}

.left-aligned-image .profile-card {
  margin-left: -100px;
}

.right-aligned-image .profile-card {
  margin-right: -100px;
}

.blockquote {
  font-size: unset !important;
  font-style: italic;
}

i.fa-quote-left {
  margin-right: 2px;
}
i.fa-quote-right {
  margin-left: 2px;
}

.zickzack .card {
  width: 90%;
}

#references p {
  margin-bottom: 0px !important;
}

#references section {
  padding-top: 0px;
  padding-bottom: 0px;
  width: 100%;
}

#references .card {
  width: 90%;
}

#references div.card:nth-of-type(2n) {
  align-self: end;
}

#plain-address a:hover {
  text-decoration: none !important;
  color: white !important;
}

.business-card {
  aspect-ratio: 85/55;
  margin-left: 6vw;
  height: auto;
  width: 450px;
}

.business-card #slogan {
  padding-top: 2%;
}

.business-card a {
  color: unset;
  text-decoration: none !important;
}

.business-card .address,
.business-card #slogan {
  padding-top: 5%;
}

.business-card #name {
  padding-top: 10%;
}

.business-card .curve {
  height: 100%;
}

.business-card .address .icon {
  font-size: 1.2em;
}

.business-card.front .card-body {
  margin-left: 5%;
  margin-right: 5%;
}

.business-card.front .logo {
  rotate: 90deg;
  transform: scale(2);
  padding-bottom: 10%;
}

#what-we-do {
  justify-content: space-between;
}

#what-we-do>div {
  width: 49%;
}

#what-we-do .card-body {
  padding-bottom: 0px !important;
}

#languages ul,
#technologies ul {
  columns: 2;
}

#quality ul li::before {
  font-family: 'FontAwesome';
  content: '\f00c';
  margin: 0 5px 0 -15px;
  color: #00529E;
}

#quality ul {
  list-style: none !important;
}

#goto-references,
#goto-contact {
  background-repeat: no-repeat;
  color: #ffffff;
  background-size: cover;
  height: 100px;
  transform: scaleX(1.04);
}

#convinced a {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #00000090;
  text-decoration: none;
  color: white;
}

#convinced .card-header {
  border-bottom: none !important;
}

#convinced-separator {
  width: 10px;
  height: 100px;
  transform: rotate(15deg) translateX(50%);
  position: absolute;
  bottom: 0;
  left: 50%;
}

#goto-contact {
  background-image: url('../img/contact.png');
  background-size: 220px;
  background-position: center;
  background-position-y: -10px;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  transform-origin: bottom right;
}

#goto-references {
  background-image: url('../img/projects.png');
  background-size: 250px;
  background-position: center;
  background-position-y: -10px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  transform-origin: bottom left;
}
@media (hover:hover) {
  #references>div:hover .card-title {
    background-color: #00529E !important;
    color: white !important;
    clip-path: ellipse(80% 200% at 0% 50%);
    animation: fillFromLeft 0.2s linear;
    /* Add animation on hover */
  }
}

@media (max-width: 992px) {
  header {
    padding-bottom: 0px;
  }

  #icon-address {
    display: flex !important;
  }

  #icon-address a {
    transform: scale(1.7);
  }

  #icon-address a:hover {
    color: #D1D1D1 !important;
  }

  #plain-address {
    display: none !important;
  }

  #footer {
    background: linear-gradient(180deg, transparent 0%, transparent 64%, rgba(0, 82, 158, 1) 65%);
  }
}

@media (min-width: 850px) {
  header {
    padding-bottom: 0px;
  }

  .navbar-brand {
    padding-bottom: 1.5rem !important;
  }


  li {
    margin-bottom: 10px;
  }

  #headerTitle {
    float: right;
  }


  #curvedTop {
    margin-top: 30px;
  }

  .nav {
    max-height: none;
    position: absolute;
    padding: 0px;
  }

  .menu {
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    padding-left: 80px;
    padding-right: 80px;
  }

  .menu li {
    float: left;
  }

  .hamb {
    display: none;
  }

  .homeLink:hover .card-title {
    padding: 28%;
    transition: all 0.2s linear;
    font-size: 1.3em;
    background-color: #000000af;
    clip-path: ellipse(100% 120% at 50% 100%);
    font-weight: bold;
    border-top-right-radius: 10%;
    border-top-left-radius: 10%;
  }

  #goto-references:hover {
    background-size: 140%;
    transition: all 2s;
  }

  #goto-contact:hover {
    background-size: 130%;
    transition: all 2s;
  }
}

@media (max-width: 843px) {
  #headerTitle {
    order: 1;
    flex: 0 0 100% !important;
    padding-top: 0px;
  }
}

@media (max-width: 768px) {

  #headerTitle {
    width: 85%;
  }

  /* sm and md */
  .content,
  .nav {
    padding-left: 40px;
    padding-right: 40px;
  }

  .grid {
    row-gap: 45px;
  }

  .left-aligned-image,
  .right-aligned-image {
    flex-direction: column;
    margin-top: 120px;
  }

  #curvedBottom {
    bottom: 30px;
  }

  #footer {
    background-color: #00529E;
  }

  #icon-address a {
    transform: scale(2);
  }

  .custom-tooltip:hover:after {
    display: none;
  }

  .profile-card {
    margin: -150px auto 15px auto !important;
  }

  .zickzack .card {
    width: unset;
  }

  #references .card {
    width: 100% !important;
  }

  #what-we-do {
    flex-wrap: wrap;
    gap: 20px;
  }

  #what-we-do>div {
    width: 100%;
  }

  ul {
    columns: 1 !important;
  }

  #convinced .link-container {
    flex-wrap: wrap;
    height: auto;
    justify-content: space-evenly !important;
  }

  #goto-references,
  #goto-contact {
    transform: unset;
    clip-path: unset;
    height: 50%;
    width: 250px !important;
    border-radius: 10px;
    background-size: 100px;
    background-position-y: 5px;
    margin-bottom: 10px;
    height: 50px;
  }

  #goto-references *,
  #goto-contact * {
    border-radius: inherit;
  }
}

@media (max-width: 576px) {
  main {
    padding-top: 20px;
  }

  #headerTitle {
    font-size: 1.3em !important;
  }

  .hamb {
    width: unset;
    padding-left: unset;
  }

  #curvedBottom {
    bottom: 50px;
  }

  #icon-address {
    padding-bottom: 6vw;
  }

  .business-card {
    width: 100%;
    margin-left: 0px;
  }

  .business-card #name {
    padding-top: 0px !important;
  }

  #convinced .link-container {
    flex-direction: row;
  }


  #goto-references,
  #goto-contact {
    width: 90% !important;
  }
}

@media (max-width: 422px) {
  .paddingLeft {
    margin-left: 0px;
  }

  #references .logo {
    display: none !important;
  }

  #references .card-title {
    clip-path: unset;
    width: 100% !important;
    animation: none !important;
  }

  #references .card-header {
    padding-right: 0px !important;
    background-color: #00529E !important;
    color: #fff !important;
  }
}