@font-face {
  font-family: "NotoSans";
  src: url("../assets/fonts/NotoSans.ttf");
}

* {
  font-family: "NotoSans";
  font-display: swap;
  line-height: 27px;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 1.02em;
}

li {
  font-size: 1.03em;
}

footer p {
  font-size: 1em;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header#headerWithHero {
  position: relative;
}

header#headerWithHero::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 80%;
  background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
  background: linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
}

footer {
  max-width: 100%;
  margin-top: auto;
}

div#heroSection {
  background-image: url("../assets/images/truck_blurred.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
}

div#heroSectionInfo {
    position: absolute;
    bottom: 50px; 
    right: 50px;
    color: white;
    z-index: 5;
}

div#heroSectionInfo h2, h1 {
    width: fit-content;
    padding: 5px 10px;
}

div#heroSectionInfo h2 {
    font-size: 2em;
}

div#heroSectionInfo h2 {
    font-size: 1.2em;
    font-weight: 400;
    font-style: italic;
}

ul.list-checks {
  list-style-type: none;
}

li.list-check::before {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  content: "";
  background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check' viewBox='0 0 16 16'> <path d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

ul.contact-info-list {
  list-style-type: none;
}

footer a.nav-link::before {
  content: '>';
}

/* Scroll down span */

header#headerWithHero a {
  padding-top: 80px;
}
header#headerWithHero a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
header#headerWithHero a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

header#headerWithHero a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
header#headerWithHero a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
header#headerWithHero a {
  position: absolute;
  bottom: 100px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  /* font : normal 400 20px/1 'Josefin Sans', sans-serif; */
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
header#headerWithHero a:hover {
  opacity: .5;
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

button#buttonUp {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;

  font-size: 3em;
  font-weight: 600;
}

button#buttonUp:hover {
  background-color: gray;
  color: white;
  transform: translateY(-10px);
  transition: all 0.2s ease-in-out;
}

div#map {
  text-align: center;
}

@media (max-width: 450px) {
  p, li {
    font-size: initial;
  }
  div#map iframe {
    width: fit-content;
  }
}
/* Seperator */

.wave-container {  
  height: fit-content;
  background-color: transparent;
  position: relative;
}

.wave-container::before {   
  content: "";
  width: 100%;
  height: 68px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 22vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200  108' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 79L50 74C100 69 200 60 300 40C400 21 500 -8 600 1C700 11 800 60 900 79C1000 99 1100 89 1150 84L1200 79V108H1150C1100 108 1000 108 900 108C800 108 700 108 600 108C500 108 400 108 300 108C200 108 100 108 50 108H0V79Z' fill='%23ffffff'/></svg>");
}

@media(max-width:850px) {
  .wave-container::before {    
    height: 34px
  }  
}

div.modal-body {
  height: 80vh;
}