.carousel {
    height: calc(100vh - 70px);
    width: 100%;
    min-width: 300px;
    position: relative;
}

.carousel button {
    position: absolute;
    background: none;
    border: none;
    outline: none;
    font-size: 2.6rem;
    z-index: 2;
    cursor: pointer;
    color: rgb(111, 0, 255);
    transform: translateY(-50%);
    top: 50%;
}

.carousel button:hover {
    color: rgb(134, 41, 255);
}

#prev {
    left: 5px;
}

#next {
    right: 5px;
}

.carousel ul {
    padding: 0;
    margin: 0;
}

.carousel li {
    list-style: none;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.6s ease-in-out;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slide p {
    padding: 0;
    margin: 0;
    font-size: 45px;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    text-align: center;
    position: absolute;
    transform: translateY(-50%) translateX(50%);
    text-shadow: rgba(0, 0, 0) 8px 0 4px;
    top: 50%;
    right: 50%;
}

.slide button {
    margin: 0;
    font-size: 45px;
    color: white;
    font-weight: bold;
    text-align: center;
    position: absolute;
    transform: translateY(-50%) translateX(50%);
    text-shadow: rgba(0, 0, 0) 8px 0 4px;
    top: 50%;
    right: 50%;
    border-radius: 6px;
    padding: 10px;
    text-decoration: none;
}

.slide button:hover {
    text-shadow: rgba(0, 0, 0) 10px 0 6px;
}

.slide button:active {
    text-shadow: rgba(0, 0, 0) 12px 0 8px;
}

.slide a {
    padding: 10px;
    margin: 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
}