@import url('https://fonts.googleapis.com/css2?family=Sansation:wght@400;700&display=swap');

* {
  font-family: 'Sansation', sans-serif;
}

.text-exposim {
  color: #00aabb;
}

.btn-primary {
  --bs-btn-bg: #00aabb !important;
  --bs-btn-border-color: #00aabb !important;
  --bs-btn-hover-bg: #008693 !important;
  --bs-btn-hover-border-color: #008693 !important;
  --bs-btn-focus-shadow-rgb: 0, 170, 187 !important;
  --bs-btn-active-bg: #00aabb !important;
  --bs-btn-active-border-color: #00aabb !important;
}

.btn-outline-primary {
  --bs-btn-color: #00aabb !important;
  --bs-btn-border-color: #00aabb !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #00aabb !important;
}

.exposim-background {
  background-image: url(img/exposim-bg-gray.png);
  background-repeat: repeat;
  background-size: 200px 200px;
  background-attachment: fixed;
}

.exposim-background-dark {
  background-color: #222222;
  background-image: url(img/exposim-bg-dark.png);
  background-repeat: repeat;
  background-size: 100px 100px;
  background-attachment: fixed;
  background-position: center top;
}

.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 2rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
}

.nav div.logo a:hover {
  color: #00aabb;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 1rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 1.4rem;
}

.nav div.main_list ul li a:hover {
  color: #00aabb;
}

/* Home section */
.home {
  width: 100%;
  height: 100vh;
  background-image: url(img/slide/3.jpg);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
}

.home-title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #77f4ff;
  font-size: 3rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.75);
  /* Adds a semi-transparent black overlay */
  padding: 2rem;
  /* Adds padding for better visibility */
  border-radius: 10px;
  /* Adds rounded corners */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Adds a shadow effect to the text */
  transition: all 0.3s ease-in-out;
  /* Adds a smooth transition effect */
  -webkit-transition: all 0.3s ease-in-out;
  /* Adds a smooth transition effect for Safari */
  font-family: 'Quicksand', sans-serif;
  /* Sets the font family to Quicksand */
  font-weight: 700;
  /* Sets the font weight to bold */
  text-transform: uppercase;
}

#logo-hero {
  background-image: url(img/EXPOSIM-Messbau-mit-Erfahrung-Messebau-Heidelberg-7.jpg);
  background-position: center top;
  background-repeat: no-repeat;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}


/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width:768px) {
  .navTrigger {
    display: block;
  }

  .nav div.logo {
    margin-left: 15px;
  }

  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .nav div.show_list {
    height: auto;
    display: none;
  }

  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #111;
    /*same background color of navbar*/
    background-position: center top;
  }

  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }

  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 3rem;
    padding: 20px;
  }

  .nav div.media_button {
    display: block;
  }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(9px) rotate(0deg);
  }

  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }

  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }

  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(0deg);
  }

  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 0;
  background-color: #111;
}