/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
}

a {
    color: #4caf50;
    text-decoration: none;
}

/* Container */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
}

/* Header */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #1f1f1f;
}

.logo-section h1 {
    font-size: 24px;
    margin: 0;
    color: #4caf50;
}

.profile-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* Welcome Section */
.welcome-section h2 {
    margin-top: 20px;
    font-size: 20px;
}

/* Slideshow Container */
.slideshow {
    margin-top: 20px;
    width: 80%;
    max-width: 600px;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background-color: #000; /* Black background for visuals */
}

/* Slideshow Wrapper */
.slideshow-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
    height: 100%;
}

/* Slide Images */
.slide {
    flex-shrink: 0;
    width: 100%; /* Fit to container width */
    height: 100%; /* Fit to container height */
    object-fit: contain; /* Ensure images are not cropped or zoomed */
    background-color: #000; /* Fallback color for empty space */
}


/* Buttons Section */
.action-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.action-item:hover {
    transform: scale(1.1);
    background-color: #333;
}

.action-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.action-item span {
    font-size: 16px;
    color: #fff;
    text-align: center;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 10px;
    text-align: center;
    background-color: #1f1f1f;
    color: #aaa;
}

/* Slideshow Animation */
@keyframes slide {
    0%, 25% {
        transform: translateX(0%);
    }
    30%, 50% {
        transform: translateX(-100%);
    }
    55%, 75% {
        transform: translateX(-200%);
    }
    80%, 100% {
        transform: translateX(-300%);
    }
}
