body {
    font-family: Open Sans, Arial, sans-serif;
}

h1 {
    font-weight: bold;
    margin-top:20px !important;
    font-size: 21px !important;
}

h2 {
    margin-top:20px !important;
    font-size: 21px !important;
}

h3 { 
    font-size: 18px !important; 
   }

p, li { 
    font-size: 14px !important; 
   }

.container {
    max-width: 1000px !important;
    padding:10px;
    border-radius:8px;
}

.container-logo {
    background:#e9ecef;
    padding:20px;
}

.dropzone {
    background: #fafafa;
    border:2px dashed #aaa;
    padding:40px;
    text-align:center;
    cursor:pointer;
    margin-bottom:20px;
}

.dropzone.dragover {
    background:#eef;
}
#dropzone.flash {
    animation: dzFlash 0.6s ease;
}

@keyframes dzFlash {
    0%   { box-shadow: 0 0 0 0 rgba(217,48,37,0); }
    50%  { box-shadow: 0 0 0 6px rgba(217,48,37,0.35); }
    100% { box-shadow: 0 0 0 0 rgba(217,48,37,0); }
}

#dropzone {
    position: relative;
}

.dz-error {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #d93025;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    pointer-events: none;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

input[type=range] {
    width:100%;
}

.previewItem {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:20px;
    padding:15px;
    border:1px solid #ddd;
    background:#fafafa;
    border-radius:6px;
}

.previewItem img {
    width:100%;
    max-height:280px;
    object-fit:contain;
    background:#fff;
    border:1px solid #ccc;
}

.info {
    grid-column:span 2;
    font-size:14px;
}

.download {
    grid-column:span 2;
    background:#4CAF50;
    color:white;
    text-align:center;
    padding:10px;
    border-radius:5px;
    text-decoration:none;
}

.tabs {
    padding: 0;
    display:  flex;
    justify-content: center;
    background: #271d34;
    color: white;
    font-size: 18px;
}

.tab {
    padding:15px 15px;
    cursor:pointer;
    border-bottom:3px solid transparent;
    text-decoration:none;
    color:inherit;
}
.tab:hover {
    background:#f5f5f5;
    color:#271d34;
}

.tab.active {
    font-weight:bold;
}

.label {
    margin-top:30px;
}

#zipBtn {
    background:#4CAF50;
    color:white;
    width:100%;
    padding:10px;
    border:none;
}
#breadcrumbs a {
    text-decoration:none;
    font-size: 10px;
    color:grey;
}

#breadcrumbs a:hover {
    text-decoration:underline;
}

#menu-toggle {
    display:none;
}

.burger {
    display:none;
    font-size:26px;
    color:white;
    background:#271d34;
    padding:10px;
    cursor:pointer;
    text-align:center;
}

.subnav-link {
    font-size: 10pt;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 2px;
    border-radius: 10px;
    background-color: #271d34;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid transparent;
}

.subnav-grid-wrapper {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        margin: 1rem 0 2rem;
        justify-content: center;
    }


    .subnav-grid-container {
        display: block;
        text-align: center;
    }

.dropdown {
padding: 15px 0px;
  position: relative;
}

/* Submenu Basis */
.dropdown-content {
  border-radius: 8px;
}

@media (max-width:430px){
    nav {
        position:relative;
    }

    .burger {
        display:block;
        position:absolute;
        color:black;
        right:15px;
        top:-150px;   /* 100px nach oben */
        font-size:26px;
        cursor:pointer;
        z-index:1001;
        background:#e9ecef !important;
    }

    .tabs {
        position:fixed;
        top:0;
        right:0;
        height:100vh;
        width:250px;
        background:#e9ecef !important;
        color: black !important;
        flex-direction:column;
        align-items:flex-start;
        padding-top:80px;
        padding-left:20px;

        transform:translateX(100%);
        transition:transform 0.3s ease;
        z-index:1000;
        opacity: 0.9;
    }

    .tab {
        font-color: black;
        width:100%;
        padding:15px 0;
        border:none;
    }

    .tab:hover {
    background: #e9ecef;
    color: black;
    font-weight: bold;
}

    #menu-toggle:checked + .burger + .tabs {
        transform:translateX(0);
    }

.language {
        padding:30px 0 0 0 ;
}
}

@media (max-width: 432px) {
          .dropdown-content {
    display: block; 
    position: static;
    margin-left: 10px;
    margin-top: 5px;
  }
  .dropdown-content a {
    font-size: 0.9em;
    opacity: 0.9;
  }
}

@media (min-width:431px){
    .banner {
        display: none;
    }
    
    #nav {
        display: none;
    }
    .language {
        padding:18px 15px 15px 50px ;
    background: #271d34;
    color: white;
    font-size: 10pt;
}
  .dropdown-content {
    font-size: 12pt;
    line-height: 1.8em;
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    padding: 10px 10px;
    min-width: 220px;
    background: white; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 9999;

  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}
