@font-face {
  font-family: DaxOff;
  src: url('/fonts/DaxOffc.ttf')
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;

  font-family: 'DaxOffc', Arial, sans-serif;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.main-index-container {
  display: flex;
  justify-content: center;
}

.index-container {
  margin: 5rem 2rem;
  max-width: 80ch;
  line-height: 1.8;
  border: 2px solid #e1007a;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #991355;
  padding: 1rem;
}

.index-container h1 {
  font-size: 18px;
}

.check {
  display: flex;
  justify-content: end;
  flex-direction: row;
  align-items: center;
  color: #e1007a;
  font-size: larger;
  font-weight: 400;
}

#einverstanden {
  cursor: pointer;
  height: 25px;
  width: 25px;
}

header {
  letter-spacing: .6rem;
  border: white .5rem solid;
}

#headline {
  background-color: #991355;
  color: white;
  font-size: 3rem;
  text-align: center;
  text-shadow: #c0c0c0 3px 3px 5px;
  max-height: 5rem;
}

#search-container {
  margin: 0 auto 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

#search {
  height: 2.5rem;
  font-size: 20px;
  border-radius: 12px;
  padding: 10px 15px;
  border: 2px solid #e1007a;
}
.search_btn34 {
  background: #991355;
  border-radius: 999px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
}
.search_btn34:hover{
  background-color: #e1007a;
}

#auftrag {
  height: 2.5rem;
  font-size: 20px;
  border-radius: 12px;
  padding: 10px 15px;
  border: 2px solid #e1007a;
}


.btn {
  background-color: #991355;
  border-radius: 12px;
  border: 0;
  color: white;
  padding: 4px 8px;
  font-size: 14px;
  margin-left: .5rem;
  margin-top: .5rem;
}
.btn:hover{
  background-color: #e1007a;
}


#search:focus {
  border: 3px solid #e1007a;
  outline: none;
}


.container-informationen {
  display: flex;
  justify-content: center;
}

.kosten-container {
  border: #991355 2px solid;
  box-shadow: 10px 5px 5px #991355;
  border-radius: 1rem;
  max-width: 80ch;
  padding: 1rem;
  margin: 2rem 1rem 1rem 1rem;

}

#auftrag-search-container {
  margin: 2rem 1rem 3rem 6rem;
  display: none;
}

.keinAuftrag {
  display: none;
  font-size: 20px;
  color: #e1007a;
  margin: 1rem;
  text-align: left;
}

.auftragGeladen {
  display: none;
  font-size: 20px;
  color: #e1007a;
  margin: 1rem;
  text-align: left;
}

.datenabruf-auftrags-container {
  margin: 3rem 3rem 0 0;
  display: flex;
  justify-content: center;

}

.shopping-cart-container {
  margin: 2rem 2rem 0 0;
  height: auto;
  scale: 1.8;
}

.nav-header {
  display: flex;
}
.igel_table tr:hover{
  background-color:#f7f7f7;
}

.category {
  background-color: #991355;
  color: white;
}

.category:hover{
  background-color: #e1007a;
}
.az{
  background-color: #e1007a;
  color: white;
  font-weight: bold;
}


.logo {
  position: absolute;
  top: 6.5rem;
  left: 2rem;
  max-width: 20%;
}

main {
  width: 100%;
  margin-left: 2rem;
}

thead tr th {
  color: white;
  background-color: #991355;
  padding: 7px 12px;
}

table {
  border-collapse: collapse;
  
  width: calc(100% - 2rem);
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th:first-child, td:first-child {
  width: 60.67%;
}

th:nth-child(2), td:nth-child(2) {
  width: 22.22%;
}

th:nth-child(3), td:nth-child(3) {
  width: 17.11%;
}

th:nth-child(4), td:nth-child(4) {
  width: 10%;
}


.shopping-cart-container img {
  max-width: 24px;
  height: auto;
}

.cart {
  transition: transform 0.3s ease;
}

.cart img {
  max-width: 36px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cart:hover {
  transform: scale(1.2);
}

.main-container {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.main-container-cart {
  display: flex;
  margin-top: 8rem;
  margin-bottom: 5rem;
}

nav ul {
  list-style: none;
  cursor: grab;
  margin-left: 1rem;
  padding: 0;
}

.main-li {
  text-align: center;
}

nav li {
  margin-top: 2px;
  padding: 4px 7px;
  border-radius: 8px;
}

.back {
  color: #e1007a;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-left: auto;
  font-size: 25px;
}

#div-back {
  position: fixed;
  padding: 5px 8px;
  border-radius: 6px 0 0 6px;
  bottom: 30px;
  right: 0px;
  align-self: flex-end;
  background-color: rgba(192, 192, 192, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

.visible {
  opacity: 1;
  pointer-events: auto;
}

.summe {
  text-align: right;
  margin-right: 9rem;
  margin-top: 1rem;
  font-weight: bold;
}


.btnPdf a {
  text-decoration: none;
  color: white;
}
.btnPdf:hover{
  background-color: #e1007a;
}

.form-input-container {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.form-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: #991355 2px solid;
  box-shadow: 5px 5px 5px #991355;
  border-radius: 2rem;
  max-width: 45rem;
  padding: 3rem;
}
.button-34:hover{
  background-color: #e1007a;
}

#cartForm {
  width: 14rem;
}

.input-container {
  margin: 2rem 0 2rem 2rem;
  max-width: fit-content;
}

.input-container input {
  margin: .5rem;
}

#input-radio input {
  margin: .5rem;
}

.input-checkbox label {
  line-height: 1.5;
  font-size: 18px;
}

.input-checkbox {
  margin: 1.5rem 0 0 2rem;
}

.btnPdf-container{
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}


.button-34 {
  background: #991355;
  border-radius: 999px;
  box-shadow: #991355 0 10px 20px -10px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
}
.button-34 a{
  color: #FFFFFF;
}

a {
  text-decoration: none;
}

.fußnoten {
  align-self: center;
}

.container-fußnoten {
  display: flex;
  justify-content: center;
}

.fußnoten {
  max-width: 60ch;
  border: #991355 2px solid;
  box-shadow: 10px 5px 5px #991355;
  border-radius: 1rem;
  padding: 1rem;
  margin: 2rem 1rem 1rem 1rem;
}

.container-fußnoten-cart {
  display: flex;
  justify-content: center;
}


.fußnoten-cart {
  max-width: 60ch;
  border: #991355 2px solid;
  box-shadow: 10px 5px 5px #991355;
  border-radius: 1rem;
  padding: 1rem;
  margin: 2rem 1rem 1rem 1rem;
}

.activeLi {
  background-color: #e1007a;
  color: white;
}

.btn-legende {
  position: absolute;
  top: 9rem;
  margin-left: 2rem;
}

.margin1 {
  margin-top: 1rem;
}

div span {
  color: #e1007a;
  font-weight: bold;
}

.legende {
  color: #e1007a;
  font-weight: bold;
}

.lilegende {
  color: white;
  font-weight: bold;
}

.spanlegende {
  color: white;
  font-weight: bold;
}

.input-data-miss {
  background-color: #e1007a;
  color: white;
}

.cartCount {
  position: absolute;
  top: -.6rem;
  left: 1rem;
  color: #e1007a;
  font-size: 12px;
  font-weight: bolder;
}

.active {
  background-color: #e1007a;
  color: white;
}

.stern {
  position: absolute;
  left: 8rem;
  top: 10rem;
  display: none;
}

.auftrags_bestaetigung-container {
  display: none;
  justify-content: center;
  margin: 8rem 1rem;
}

.auftragsnummer {
  display: flex;
  font-size: 30px;
  border: #991355 2px solid;
  box-shadow: 10px 5px 5px #991355;
  border-radius: 1rem;
  max-width: 40rem;
  padding: 2rem 3rem;
  hyphens: auto;

}

.auftragAbschliessen{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 1rem;
}

.auftragAbschliessen button{
  margin-left: auto;
  margin-top: 1rem;

}
#auftrags_id {
  color: #e1007a;
  font-weight: 600;
}

#hinweis {
  font-size: 18px;
  color: black;
  font-weight: normal;
}

.bestaetigungs-container{
  display: flex;
  justify-content: space-between;
}
.bestaetigungs-container button{
  margin: 1rem 0 0 0 ;
}

@media only screen and (max-width: 830px) {
  #headline {
    font-size: 16px;
  }

  .index-body {
    font-size: 12px;
  }

  .check label {
    text-align: right;
  }

  #einverstanden {
    margin: 1.2rem .5rem;
  }

  .logo {
    max-width: 50%;
    top: 3.5rem;
  }

  #search-container {
    margin: 0 auto 0 auto;
    margin-top: 1rem;
  }

  #search {
    height: 1.5rem;
    font-size: 16px;
    border-radius: 12px;
    padding: 10px 15px;
    border: 2px solid #e1007a;
  }

  #auftrag {
    height: 1.5rem;
    font-size: 16px;
    border-radius: 12px;
    padding: 10px 15px;
    border: 2px solid #e1007a;
  }

  #search:focus {
    border: 3px solid #e1007a;
    outline: none;
  }

  
  .search_btn34{
    font-size: 12px;
    padding: 4px 9px;
  }

  .form-container{
    gap: .5rem;
    padding: 1rem;
  }

  .cart img {
    max-width: 24px;
  }

  .shopping-cart-container {
    position: absolute;
    right: 1rem;
    top: .5rem;
    scale: 1.2;
  }

  .cartCount {
    position: absolute;
    color: #e1007a;
    font-size: 10px;
    font-weight: bolder;
  }

  .kosten-container {
    margin-top: 6rem;
    font-size: 14px;
  }

  .kosten-container h1 {
    font-size: 20px;
  }

  .main-container {
    margin-top: 1rem;
  }

  nav {
    display: none;
  }
  .btnPdf-container .button-34 {
    font-size: 12px;
   }
   .bestaetigungs-container{
    flex-direction: column;
   }
  .container-fußnoten {
    margin-top: 3.5rem;
  }

  .container-fußnoten-cart {
    margin-top: 5rem;
  }

  #search-container {
    margin-top: 4.5rem;
  }

  .shopping-cart-container {
    margin-top: 9rem;
    margin-right: .5rem;
  }

  main {
    margin: auto;
  }

  table {
    font-size: 12px;
    margin: 0;
    width: 100%;
  }

  th:first-child, td:first-child {
    width: 60.67%;
  }

  th:nth-child(2), td:nth-child(2) {
    display: none;
  }

  th:nth-child(3), td:nth-child(3) {
    width: 23.11%;
  }

  th:nth-child(4), td:nth-child(4) {
    width: 7%;
  }

  .menu-icon {
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    margin: 1.3rem 0 0 .7rem;
  }

  .bar {
    width: 100%;
    height: 4px;
    background-color: black;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    transform: none;
  }

  .menu-icon.active2 .top {
    transform: rotate(45deg) translateY(15px);
  }

  .menu-icon.active2 .middle {
    opacity: 0;
  }

  .menu-icon.active2 .bottom {
    transform: rotate(-45deg) translateY(-14px);
  }

  nav ul {
    max-width: 320px;
  }

  .stern {
    display: block;
  }

  .summe {
    margin: .5rem 1rem 0 0;
  }

  .form-container {
    display: block;
    margin: 1rem 1rem 8rem 1rem;
  }

  .btn-legende {
    margin-left: .5rem;
    position: absolute;
    top: 6rem;
  }
  .auftragAbschliessen{
    top: 50%;
    left: 25%;
    transform: translate(-20%, -20%);
    font-size: 15px;
  }
  .auftragAbschliessen button{
    font-size: 15px;
  }

}

footer {
  background-color: #991355;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.footer-ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.footer-ul li {
  margin: 0 auto 0 auto;
  list-style: none;
  padding: 2px 0 2px;
  display: flex;
  justify-content: space-around;
}

.footer-ul li a {
  text-decoration: none;
  color: white;
}

.container-impressum {
  margin: 6rem 0;
  line-height: 1.4;
  padding: 1rem;
  background-color: white;
  max-width: 80ch;
}

.container-impressum p {
  margin: 20px 0;
}

.container-impressum h2 {
  color: #991355;
  font-weight: normal;
}

.container-impressum a {
  color: #991355;
  font-weight: normal;
}

.datenschutz-container {
  display: flex;
  justify-content: center;

}

.datenschutz {
  max-width: 80ch;
  margin: 5rem .5rem 5rem;
}

.datenschutz a {
  color: #991355;
}

.datenschutz p {
  margin: 0 0 1rem 0;
  line-height: 1.5;
  color: #58585a;
}

.datenschutz h2 {
  margin: 1rem 0;
  color: #991355;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.datenschutz h3 {
  margin: 2rem 0 .5rem 0;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.datenschutz ul {
  list-style-type: square;
}

.datenschutz li::marker {
  color: #991355;
}

.datenschutz li {
  color: #58585a;
  margin: .5rem;
}

#landLabel {
  margin: 0.5rem 0 0.5rem 0.5rem;
}

select {
  background-color: white;
  color: black;
  padding: 0.3rem;
  margin-top: 0.3rem;
}

.reset-container {
  display: flex;
  justify-content: end;
  margin: 0 2rem 2rem 0;
  padding-bottom: 3rem;
  
}

.btnReset {
  background-color: #991355;
  color: white;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: bold;
}
.regeln-container a{
  color: #e1007a;
  text-decoration: underline;
}
.auftragsnummer a{
  color: #e1007a;
  text-decoration: underline;
}
.abschluss{
  display: flex;
  flex-direction: column;
  align-items: end;
}
.abschluss button a{
  color: white;
  text-decoration: none;
}

.nvisible{
  color:#FFFFFF;
  visibility: hidden;
}