

.slideshow {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    display: flex;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
}

.text-box {
    flex: 1;
    color: white;
    padding: 20px;
}

.image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box img {
    max-width: 100%;
    height: auto;
}






.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.slide-control.left {
    left: 10px;
}

.slide-control.right {
    right: 10px;
}

.slide-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.text-box h2 {
	font-size: 4rem;
	font-weight: bold;
}
.text-box p {
	font-size: 2rem;
	font-weight: bold;
}





@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-box, .image-box {
        flex: none;
        width: 100%;
        padding: 10px;
    }

    .text-box {
        order: 2;
    }

    .image-box {
        order: 1;
    }
}
