body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0d1117;
    color: #1a1a1a;
    overflow-x: hidden;
}


header {
    background-color: #0d1117;
    color: white;
    padding: 20px;
}

.status-bar {
    color: #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    background: #29343e;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.status-indicator .circlegreen {
    width: 30px;
    height: 30px;
    background: #2ecc71;
    border-radius: 50%;
}

.status-indicator .circleorange {
    width: 30px;
    height: 30px;
    background: #f39c12;
    border-radius: 50%;
}

.status-indicator h2 {
    color: #e8e8e8;
}

.status-indicator .green {
    color: #2ecc71;
}

.status-indicator .orange {
    color: #f39c12;
}

main {
    padding: 30px;
    max-width: 800px;

}

h3 {
    margin-bottom: 20px;
    color: white;
    margin-top: 0px;
}

.service {
    background: #29343e;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service .name {
    color: #e8e8e8;
    font-weight: bold;
    margin-bottom: 10px;
}

.service .bar {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 10px;
}

.segment {
    position: relative;
    width: 6px;
    height: 22px;
    border-radius: 10px;
    cursor: pointer;
}

.bar {
    overflow: visible;
}

.bar-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    overflow: hidden;
}

.service .bar {
    display: block;
    margin-bottom: 10px;
}

.segment {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: 6px;
    height: 22px;
}

.segment::after {
    content: attr(data-date) " – " attr(data-uptime);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 3px 6px;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 99999;
}

.segment:hover::after {
    opacity: 1;
}

.segment.grey {
    background-color: #e8e8e8;
}

.segment.grey:hover {
    background-color: #bdbdbd;
}

.segment.green {
    background-color: #2ecc71;
}

.segment.green:hover {
    background-color: #54f49b;
}

.segment.red {
    background-color: #e74c3c;
}

.segment.red:hover {
    background-color: #fd6d61;
}

.segment.orange {
    background-color: #f39c12;
}

.segment.orange:hover {
    background-color: #fbb73c;
}

.status {
    font-weight: bold;
}

.status.green {
    color: #2ecc71;
}

.status.yellow {
    color: #fbd90d;
}

.percent {
    color: #2ecc71;
}


.status.orange {
    color: #f39c12;
}

.status.red {
    color: #e74c3c;
}

a {
    color: #e8e8e8;
    text-decoration: none;
}

.main-container {
    display: flex;
    gap: 20px;
    padding: 30px;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    align-items: flex-start !important;
    padding-top: 0.1px; 
}

.main-column h3 {
    margin-top: 0;
}

.main-column {
    flex: 1;
    max-width: 33.33%;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 1400px) {
    .bar-inner {
        gap: 4px;
    }
}

@media (max-width: 1400px) {
    .main-container {
        display: flex !important;
        flex-direction: column;
    }

    .main-column {
        max-width: 75% !important;
        padding: 0 !important;
    }
}

@media (max-width: 1100px) {
    .main-column {
        max-width: 100% !important;
        padding: 0 !important;
    }
}


.toggle-arrow {
    cursor: pointer;
    user-select: none;
    margin-right: 8px;
    transition: transform 0.3s ease; /* Stellt sicher, dass die Drehung eine flüssige Transition hat */
    display: inline-block; /* Wichtig, damit die Transformation funktioniert */
}

.toggle-arrow.open {
    transform: rotate(90deg);  /* Drehung des Pfeils */
}

.subdomain-wrapper {
    display: none;
    margin-left: 25px;
}
