@import url(fonts/font-roboto.css);

body {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  background-color: #252525;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 2rem;
}

header {
  border-bottom: 1px solid #222;
  margin-bottom: 1rem;
}

footer {
  border-top: 1px solid #222;
  margin-top: 1rem;
}

a {
  color: #55bab5;
  text-decoration: none;
}

.logo-custom {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(122deg) brightness(105%) contrast(103%);
}

.nav-bigger-text {
  font-size: 45px;
}

/* Responsive Navigation */
.navbar-responsive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.navbar-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
  font-size: 1.5rem;
  z-index: 1000;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-item {
  padding: 0 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.nav-link:hover {
  color: #55bab5;
}

.navbar-lang-switcher {
  display: flex;
  gap: 1rem;
}

/* Mobile/Tablet: Hamburger Menu */
@media (max-width: 1070px) {
  .navbar-responsive {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-menu {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .navbar-menu.active {
    max-height: 500px;
    overflow-y: auto;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    border-bottom: 1px solid #333;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #333;
  }

  .navbar-lang-switcher {
    flex-direction: row;
    width: 100%;
    padding: 1rem;
    border-top: 1px solid #333;
  }
}

/* Medium Screens: 665px */
@media (max-width: 665px) {
  .nav-bigger-text {
    font-size: 30px;
  }
}

/* Smaller Screens */
@media (max-width: 576px) {
  .navbar-responsive {
    padding: 0.5rem 0.75rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .nav-bigger-text {
    font-size: 20px;
  }

  .navbar-brand img {
    width: 50px !important;
    height: 50px !important;
  }
}


.main-container {
  min-height: 65dvh !important;
}

.icon-boxes-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin: 1rem 0;
}

/* Tablet: 2 Spalten */
@media (max-width: 992px) {
  .icon-boxes-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 Spalte */
@media (max-width: 576px) {
  .icon-boxes-wrapper {
    grid-template-columns: 1fr;
    max-width: 85%;
    margin: 1rem auto;
  }

  h1, h2, h3, h4, h5, h6 {
    text-align: center;
  }
}

/* Gap Utilities */
.icon-boxes-wrapper.gap-1 {
  gap: 0.5rem;
}

.icon-boxes-wrapper.gap-2 {
  gap: 1rem;
}

.icon-boxes-wrapper.gap-3 {
  gap: 1.5rem;
}

.icon-boxes-wrapper.gap-4 {
  gap: 2rem;
}

.icon-boxes-wrapper.gap-5 {
  gap: 2.5rem;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #343a40;
  color: #fff;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.portfolio-image {
  margin: 1rem;
}