* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1c1a29;
    color: rgb(217, 176, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    background: #292135;
    border: 2px solid rgb(100, 61, 136);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 15px rgb(217, 176, 255);
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 10px 20px;
    color: rgb(217, 176, 255);
    background-color: rgb(100, 61, 136);
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 50%;
    user-select: none;
    border: none;
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

.prev:hover, .next:hover {
    background-color: rgb(217, 176, 255);
    color: rgb(100, 61, 136);
    transform: scale(1.1);
}

.text {
    color: rgb(217, 176, 255);
    font-size: 18px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background: rgba(100, 61, 136, 0.7);
    border-top: 1px solid rgb(217, 176, 255);
}

.numbertext {
    color: rgb(217, 176, 255);
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    top: 8px;
    background: rgba(100, 61, 136, 0.7);
    border-bottom: 1px solid rgb(217, 176, 255);
}

.dots-container {
    text-align: center;
    margin-top: 10px;
}

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

.active, .dot:hover {
    background-color: rgb(217, 176, 255);
    transform: scale(1.2);
}

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

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

.redirect-container {
    text-align: center;
    margin-top: 20px;
}

.redirect-container button {
    background-color: rgb(100, 61, 136);
    color: rgb(217, 176, 255);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 0 0.5em rgb(217, 176, 255);
}

.redirect-container button:hover {
    transform: scale(1.1);
    background-color: rgb(217, 176, 255);
    color: rgb(100, 61, 136);
}
