/* Regular */
@font-face {
  font-family: 'htw-regular';
  src: url('assets/fonts/HTWBerlinOffice-Regular.ttf') format('truetype');
}

/* Bold */
@font-face {
  font-family: 'htw-bold';
  src: url('assets/fonts/HTWBerlinOffice-Bold.ttf') format('truetype');
}

/* Italic */
@font-face {
  font-family: 'htw-italic';
  src: url('assets/fonts/HTWBerlinOffice-Italic.ttf') format('truetype');
}

/* Bold-Italic */
@font-face {
  font-family: 'htw-bold-italic';
  src: url('assets/fonts/HTWBerlinOffice-BoldItalic.ttf') format('truetype');
}

html {
  scroll-padding-top: 150px;
}
h1 {
  font-family: 'htw-bold', sans-serif;
  margin-left: 50px;
  font-size: 50px;
}

h2 {
   font-family: 'htw-bold', sans-serif;
  margin-left: 50px;
  font-size: 30px;
}

nav a {
  text-decoration: none;
  color: black;
  font-family: 'htw-regular', sans-serif;
  font-size: 30px;
  padding: 25px;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
nav a:hover {
  color: #76B900;
  transform: scale(1.08);
}

nav p {
  font-size: 50px;
  font-family: 'htw-bold', sans-serif;
  font-weight: bold;
  margin: 20px;
  margin-right: auto;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

nav {
  background-color: white;
  border-radius: 50px;
  padding: 5px 20px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  position: fixed;
  top: 15px;
  left: 20px;
  width: calc(100% - 40px);
  z-index: 1000;
  box-sizing: border-box;
}

.hamburger-menu {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-block;
}

body {
  background-image: url("assets/images/Gradient Start.svg");
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 100%;
  padding-top: 170px;
  margin: 0;
  border: 0;
}

footer {
  border-top: 2px groove #b1b1b1;
  min-height: 120px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 50px;
  margin-left: 50px;;
}

.sprechblase {
  background-image: url("assets/images/sprechblase.svg");
  background-size: cover;
  display: inline-block;
  max-width: 100%; 
  padding-top: 6%;
  padding-bottom: 2%;
  padding-inline: 2%;

}

.sprechblase-wähler, .sprechblase-kandidat {
  font-family: 'htw-regular', sans-serif;
  background-image: url("assets/images/sprechblase.svg");
  background-size: 100% 100%;
  max-width: 900px;
  background-repeat: no-repeat;
  display: block;
  margin: 15px auto;
  padding: 60px 50px;
  min-height: 280px;
  word-wrap: break-word;
  overflow: hidden;
  margin: 30px auto !important;
  
  
}

.sprechblase-text, .sprechblase-text1 {
  font-family: 'htw-regular', sans-serif;
  font-size: 22px;
  margin-top: 60px;
  padding-left: 50px;
  padding-right: 50px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.kreuz {
  width: 50px;
  height: auto;
  margin-bottom: -7px;
}

.slogan {
  font-family: 'htw-bold', sans-serif;
  font-size: 50px;
  text-align: center;
  animation: fade-in 1s ease-out forwards;
  margin-bottom: 10px;
}
/* Animation für Slogan */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vision {
  font-family: 'htw-regular', sans-serif;
  text-align: center;
  font-size: 25px;
  opacity: 0;
  animation: fade-in 1s ease-out forwards;
  animation-delay: 0.4s;
}
.mehr-erfahren {
  font-family: 'htw-regular', sans-serif;
  display: inline-block;
  align-items: center;
  margin: 20px auto 0;
  border-radius: 50px;
  padding: 10px 20px;
  background-color: white;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
  border: none;
  font-size: 20px;
  text-decoration: none;
  color: black;
}
.mehr-erfahren:hover {
  background-color: #76B900;
  color: white;
   transform: scale(1.08);
}
 
#home > div {
  text-align: center;
}

.macbook, .mobil {
  display: block;
  margin: 20px auto 0;
  max-width: 80%;
  height: auto;
  padding: 20px;
  margin-top: 50px;
}

.card {
  background-color: white;
  border-radius: 20px;
  padding: 40px 0;
  margin: 40px auto;
  max-width: 1200px;
  filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.25));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 120px;
}

.card-kreuz {
  width: 300px;
  height: auto;
  margin-left: 20%;
}

.card-content {
  text-align: left;
  padding-right: 40px;
}

.card-title {
  font-family: 'htw-bold', sans-serif;
  font-size: 50px;
  margin-bottom: 20px;
}

.card-text {
  font-family: 'htw-regular', sans-serif;
  font-size: 30px;
  line-height: 1.6;
}

.macbook:hover {
  transform: scale(1.05);
  transition: transform 1s ease;
}

.card-platzhalter-wähler, .card-platzhalter-kandidat {
  max-width: 1000px;
  min-height: 460px;
  margin: 15px auto;
  padding: 30px;
  background-color: white;
  border-radius: 25px;
  border: 2px dashed #76B900;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(5px 10px 10px rgba(0, 0, 0, 0.25));
}

.swagger {
  font-family: 'htw-bold', sans-serif;
  font-size: 50px;
}

.swagger a {
  text-decoration: none;
  color: black;
}

.swagger a:hover {
  color: #76B900;
}

.logo, .teambild {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 100% 100%;
}

.logo-verkleinert, .teambild-verkleinert {
  width: 100%;
  height: 100%; 
  object-fit: contain;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.logo-springboot, .logo-postgresql {
  width: 70%;
  height: 70%;
  object-fit: contain;
  margin-left: 0;
  margin-top: 0;
  object-position: center;
}

.logo-figma, .logo-trello, .logo-pgadmin {
  width: 60% !important;
  height: 60% !important;
  object-fit: contain;
  margin-left: 18px;
  margin-top: 0;
  object-position: center;
}

.logo-rand .logo-figma {
  width: 50% !important;
  height: 50% !important;
}

.logo-rand, .teambild-rand {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center; 
  
}

.technologien {
  background-color: #bedc91;
  background-size: contain;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 500px; 
  object-fit: contain;
}

.technologien-zeile, .teambilder-zeile {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.technologien-box, .teambild-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}

.logo-schrift, .teambild-schrift {
  font-family: "htw-bold", sans-serif;
}

.text {
  font-family: 'htw-regular', sans-serif;
}

.uberschriften {
  margin-left: 80px;
}

.footer-logo {
  margin-left: 10px;
  margin-top: 30px;
}

.footer-logo-div {
  height: 10px;
  align-self: flex-start;
}

.footer-links {
  font-family: 'htw-regular', sans-serif;
  color: black;
  text-decoration: none;
  font-size: 20px;
  margin: 0 20px;
}
.footer-links:hover {
  color: black;
  transform: scale(1.0);
  font-weight: bold;
}

.footer-links-div {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 20px;

}

.teambild-rand-gefuellt {
  width: 140px;
  height: 140px;
  border: 1px groove #b1b1b1;
  border-radius: 50%;
  overflow: hidden;
  background-color: #bedc91;;
}

.team {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teambild-schrift {
  font-size: 26px;
  margin-bottom: 20px;
  text-align: center;
}

.team-job {
  font-family: 'htw-regular', sans-serif;
  font-size: 20px;
  margin-top: -5px;
}
.mobile-geraete {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  height: 600px;
}

.footer-div {
  display: flex;
  justify-content: center;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
  }

  .hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: 0.3s;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  nav ul {
    flex-wrap: wrap;
    position: relative;
  }

  nav li {
    display: none;
    width: 100%;
  }

  nav li.active {
    display: block;
  }

  nav a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
  }

  .card {
    margin: 30px auto;
    margin-top: 60px;
    padding: 30px 0;
    max-width: 90%;
    grid-template-columns: 1fr;
    position: relative;
  }

  .card-content {
    padding: 0 20px;
  }

  .card-title {
    margin-top: 10px;
    margin-left: 20px;
  }

  .card-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin-left: 20px;
  }

  .card-text br {
    display: none;
  }

  .card-kreuz {
    display: block;
    width: 100px;
    height: auto;
    margin-left: 0;
    position: absolute;
    top: 30px;
    right: 60px;
  }

  .card-platzhalter-wähler, .card-platzhalter-kandidat {
    width: 80%;
    min-height: 300px;
  }

  .sprechblase-wähler, .sprechblase-kandidat {
    width: 80%;
    padding: 40px 30px !important;
  }

  .sprechblase-text, .sprechblase-text1 {
    font-size: 20px;
    margin-top: 50px;
    padding-left: 30px;
    padding-right: 20px;
  }
}

/* Responsive Handy */
@media (max-width: 768px) {
  nav p {
    font-size: 35px;
  }

  .kreuz {
    width: 30px;
    height: auto;
    margin-bottom: -5px;
  }
.vision {
  font-size: 20px !important;
  padding: 5px;
}
  .vision br {
    display: none;
    
  }
  .slogan {
    margin-top: 0 !important;
  }

  .card {
    position: relative;
    grid-template-columns: 1fr;
  }

  .card-kreuz {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 60px;
    height: auto;
  }

  .card-title {
    font-size: 30px;
  }

  .card-text {
    font-size: 20px;
  }

  .card-platzhalter-wähler, .card-platzhalter-kandidat {
    width: 80%;
    min-height: 180px;
  }
  .sprechblase-wähler, .sprechblase-kandidat {
    width: 100% !important;   
    margin-bottom: 30px auto !important; 
    padding: 0 !important;       
    min-height: 250px !important; 
    height: auto !important;      
    background-size: 100% 100% !important;
    
   
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sprechblase-text {
    font-size: 10px;
    margin-top: 30px;
    max-height: 250px;
    overflow-y: auto;
    white-space: normal;
    padding: 20px;
    
  }
  .sprechblase-text1 {
    font-size: 10px;
    margin-left: 10px;
    margin-top: 30px;
    max-height: 250px;
    overflow-y: auto;
    white-space: normal;
  }

  .sprechblase-text br {
    display: none;
  }

  .mobile-geraete {
    overflow: hidden;
  }

  .mobil {
    flex-shrink: 0;
    width: 100%;
    transition: transform 0.3s ease;
  }

  .mobile-geraete.swipe .mobil {
    transform: translateX(0);
  }

  .mobile-geraete.swipe .mobil.hidden {
    transform: translateX(-100%);
  }

  .mobile-geraete.swipe .mobil.next {
    transform: translateX(100%);
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    animation: slideInLeft 0.5s ease-out forwards;
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c0c0c0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #76B900;
  }

  .dot:hover {
    background-color: #90d800;
  }

  .technologien {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 30px 10px;
  }

  .technologien-zeile {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .technologien-box {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-sizing: border-box;
  }

  .logo-rand {
    width: 80px;
    height: 80px;
  }

  .logo-schrift {
    font-size: 14px;
  }

  .logo-figma, .logo-trello, .logo-pgadmin {
    width: 70%;
    height: 70%;
    object-fit: contain;
  }

  .teambilder-zeile {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .teambild-rand-gefuellt {
    width: 100px;
    height: 100px;
  }

  .teambilder-zeile .teambild-box {
    grid-column: span 2;
    width: auto;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
  }

  #team .teambild-box:nth-child(n+4) {
    grid-column: span 3;
    margin-left: -6px;
    margin-right: -6px;
  }

  h1 {
    font-size: 35px;
    margin-left: 15px;
  }

  h2 {
    font-size: 25px;
    margin-top: 5px;
    margin-left: 15px;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 50px;
  }

  .footer-logo-div {
    margin-bottom: 10px;
    height: auto;
    align-self: flex-start;
  }

  .footer-div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
  }

  .footer-links-div {
    flex-direction: column;
    width: auto;
    align-items: flex-start;
    margin-bottom: 5px;
    padding: 0;
    justify-content: flex-start;
  }

  .footer-links {
    font-size: 14px;
    margin: 0;
    display: block;
    padding: 0;
    text-align: left;
  }

  .footer-logo {
    width: 80px;
    height: auto;    
    margin-top: 20px;
  }
  @media (max-width: 450px) {
    .vision {
      margin: 5px;
      font-size: 18px;
    }
    .slogan {
      font-size: 25px;
    }
    .text {
      font-size: 25px;

    }
    
    footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
    
    .footer-logo-div {
      align-self: flex-start;
      margin-top: 15px;
    }
    
    .footer-div {
      flex-direction: column;
      align-items: flex-end;
      gap: 15px;
      display: flex !important;
      margin-top: 15px;
    }
    
    .footer-links-div {
      display: none !important;
    }
    
    .footer-links {
      text-align: right;
      margin: 0;
      display: block !important;
      width: 100%;
    }
  }

}
