/* Reset some default styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Header Styles */
.header {
    background-color: #303030;
    color: #3a3a3a;
    padding: 10px 0;
}


/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 85vh; /* Adjust height as needed */
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
}

/* Slides Wrapper */
.slides {
    display: flex;
    width: 100%; 
    height: 100%;
    animation: slide 10s infinite; 
}

/* Individual Slides */
.slide {
    flex: 1 0 100%;
    height: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keyframes for Sliding Animation */
@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(-300%); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav ul li a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
.main-content {
    padding: 20px 0;
}

.section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.why{
    font-weight: 800;
    text-align: center;
    color: #187abf;
    font-size: 32px;
}

.codeninjas{
    font-weight: 800;
    text-align: center;
    font-size: 32px;
}
.section p {
    font-size: 16px;
}

.paragraph{
    text-align: center;
    color: #506690;
    font-size: 16px;
}
/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav ul {
        flex-direction: column;
        padding: 0;
    }

    .nav ul li {
        margin: 10px 0;
    }

    .nav ul li a {
        font-size: 18px;
    }
}
