/* Background Section Styles */
.text-background-image-teacher {
    text-align: left;
    color: #42372D;
    padding: 20px 40px;
    border-radius: 10px;
}

.text-header-teacher {
    font-family: 'Lora', Times New Roman, serif;
    font-size: 64px;
    margin-bottom: 10px;
}

.text-header-below-teacher {
    font-family: Roboto, Helvetica, Arial;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .nav-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-right a {
        margin: 10px 0;
    }

    .background-container {
        padding: 20px;
    }

    .text-header {
        font-size: 32px;
    }

    .text-header-below {
        font-size: 18px;
    }
}

/* About Section Styles */
.about-sec {
    padding: 40px 40px;
    background-color: #f8f8f8;
}

.about-sec-title {
    font-family: 'Lora', Times New Roman, serif;
    font-size: 64px;
    color: #42372D; /* Title color */
    margin-bottom: 20px;
    text-align: center;
}

.about-sec-desc {
    font-size: 22px;
    font-family: Roboto, Helvetica, Arial;
    color: #000000;
    line-height: 1.6;
    max-width: 800px; /* Limit the width for better readability */
    margin: 0 auto; /* Center align the description */
    text-align: left;
}

.about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 140px;
    text-align: center;
}

.about-img img {
    width: 115%;
    height: auto;
    margin-right: 30px;
    margin-bottom: 20px;
}

.about-img span{
    position: absolute;
    text-align: center;
    font-size: 24px;
    font-family: Lora, Times New Roman, serif;
    color: #F8F8F8;
    padding: 100px 100px;
}

/* Journey Section Styles */
.journey-sec {
    padding: 40px 40px;
    background-color: #f8f8f8;
}

.journey-sec-title {
    font-family: 'Lora', Times New Roman, serif;
    font-size: 40px;
    color: #42372D; /* Title color */
    margin-bottom: 60px;
    text-align: center;
}

.journey-sec-desc {
    font-family: Roboto, Helvetica, Arial;
    font-size: 22px;
    text-align: left;
    line-height: 1.5;
    max-width: 800px; /* Limit the width for better readability */
    margin: 0 auto 50px auto; /* Center align the description and add bottom margin */
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto; /* Center the slideshow */
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Fade animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}



