.slideshow {
    background-color: var(--primary-dark);
    color: white;
    box-sizing: border-box;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slideshow .view {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    inset: 0;
}

.slidetrack {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow .sliderholder {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 10;
    pointer-events: none;
}


.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(44, 14, 68);
}

.slide a{
    color: cyan;
}

.slide .limitcard {
    width: 100%;
    max-width: 1000px;
}

.slide .applecard {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 1000px;
}

.slide .applecard .top {
    flex: 1;
}

.slide .applecard .bottom {
    display: flex;
    padding: 20px;
}

.slide .applecard .bottom .left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
}

.slide .applecard .bottom .left h1 {
    font-size: clamp(2rem, 10vw, 4rem);
    margin-left: -0.05em;
    margin-bottom: -3px;
    margin-top: -5px;
    color: var(--primary);
}

.slide .applecard .bottom .left h1.mini{
    color: var(--minimeet);
}

.slide .applecard .bottom .left p {
    margin-left: 0.01em;
}


.slide .applecard .bottom .right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.applechip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--background);
    padding: 7px 15px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    white-space: nowrap;
}

.applechip a{
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.applechip>div {
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    padding: 0px 5px;
    margin-left: -2px;
}


.applechip .button {
    margin: 0;
}

.slideshow .titlecard {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slideshow .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    opacity: 0.5;
}

.slideshow .bglogo {
    max-width: 1000px;
    margin: 0;
}

.slideshow .bgicon {
    margin: 0;
    font-size: 200px;
    margin-top: -80px;
}


.slideshow .slider {
    background-color: var(--background);
    width: max-content;
    height: 22px;
    position: absolute;
    bottom: -11px;
    margin: 0px 30px;
    box-sizing: border-box;
    right: 0;
    border-radius: 100px;
    display: flex;
    padding: 5px;
    pointer-events: auto;
}


.slideshow .slider .holder {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 3px;
}

.slideshow .slider .holder .dot {
    width: 7px;
    height: 7px;
    background-color: var(--primary-dark);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.4s ease;
}

.slideshow .slider .holder .dot.active {
    width: 30px;
    background-color: var(--primary-light);
}

.slideshow .slider .holder .dot.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: var(--primary-dark);
    border-radius: 100px;
}

.slideshow .slider .holder .dot.active.filling::before {
    animation: filler 5s linear forwards;
}

.slideshow .slider .holder .dot.active.paused::before {
    width: 100%;
}

@keyframes filler {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.slideshow .titlecard h1 {
    font-size: clamp(2rem, 10vw, 7rem);
}

.slideshow .videocredit{
    position: absolute;
    bottom: 10px;
    color: white;
    opacity: 0.7;
    mix-blend-mode: lighten;
    padding: 4px 8px;
    font-size: 13px;
    margin: 0;
}

.slideshow video{
    width: 100vw;
    height: 100%;
    object-fit: cover;
}