@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

body{
    background-color: black;
}

.slideshow {
    position: relative;
    margin-top: 8%;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background-color:rgb(0, 0, 0);
    margin: 0, auto;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    margin: auto;
    display: block;
}

.slide-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 52%;
    margin-right: 30%;
}

.slide-text h1, .slide-text h2{
    margin: 0;
    padding: 0;
}

.slide-text h1{
    font-size: clamp(30px, 5vw, 100px);
    font-weight: 900;
    color: black;
    background-color: rgb(255, 245, 54);
}

.slide-text h2{
    font-size: clamp(5px, 3vw, 30px);
    background-color: black;
}

.slide-text h2 a{
    text-decoration: none;
    font-weight: 300;
    color: rgb(255, 245, 54);
    z-index: 10;
}

.slide-text h2 a:hover{
    color: rgb(255, 0, 0);
}

.prev-button, .next-button {
    position: absolute;
    height: 100px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: rgb(255, 245, 54);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    border-radius: 10%;
    pointer-events: fill;
}

.prev-button {
    left: 1%;
}

.next-button {
    right: 1%;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(255, 251, 0);
    color: black;
}