body {
    background-color: #1a1a1a;
    color: #eee;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.unit-info {
    padding: 2rem 1rem;
    background-color: #2b2b2b;
    color: #eee;
    text-align: center;
    margin: 10.5rem 0;
    margin: 5%;
}

.center-container {
    display: grid;
    grid-template-columns:  80% 20%;
    margin-left: 8%;
    column-gap: 20px; /* Adjust as needed */
    max-width: 95vw;
}

.ts3viewer-section {
    margin: 20px auto;
    margin-right: 20px auto;
    background-color: #3f3f3f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: auto;
    max-width: 13vw;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-slide-container {
    position: relative;
    width: 70%;
    z-index: 1;
}

.prev-slide-container,
.next-slide-container {
    position: absolute;
    top: 70%;
    width: 20%;
    transform: translateY(-50%);
    z-index: 0;
}

.prev-slide-container {
    left: 0;
}

.next-slide-container {
    right: 0;
}

.prev-slide,
.next-slide {
    display: none;
    filter: brightness(50%);
    transition: filter 0.5s ease;
}

.slides {
    display: none;
    position: relative;
}

.slides img,
.prev-slide img,
.next-slide img {
    width: 100%;
    display: block;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.unit-info-container {
    display: grid;
    grid-template-columns: 15% 70% 15%;
    column-gap: 20px;
}

.section {
    margin: 20px auto;
    background-color: #3f3f3f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: auto;
    width: calc(100% - 500px);
    max-width: calc(100vw - 500px);
}

.upcoming-event {
    margin: 20px auto;
    background-color: #3f3f3f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: auto;
    width: 100%;
    max-width:  100;
}

.event-card {
    background-color: #2f2f2f;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    color: inherit;
}

.event-date {
    background-color: #98662e;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-right: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date p {
    margin: 0;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    margin: 0;
    font-size: 20px;
    color: #98662e;
}

.event-info p {
    margin: 5px 0;
    font-size: 16px;
}