
/* Title Area Styles */
.title-area {
    text-align: center;
    padding: 20px;
}

.title-area div {
    display: flex;
}

.title-area img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    max-height: 5%;
}

/* Image Carousel Styles */
.image-carousel {
    margin-top: 30px;
    overflow: hidden;
    height: 300px; /* Set a fixed height for the container */
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Ensure the container takes the full height of the .image-carousel */
}

.carousel-slide {
    flex: 0 0 100%; /* Set each slide to take 100% of the container width */
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack image and caption vertically */
    align-items: center; /* Center the content horizontally */
    text-align: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 93%;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.caption {
    color: var(--text);
    font-size: .75em;
}

/* About Me Section Styles */
.about-me {
    /* display: flex; */
    padding: 10px;
}

.scroll-item {
    background: var(--accent);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    padding: 20px;
    margin-top: 20px;
    margin-left: 10%;
    margin-right: 10%;
    opacity: 0; /* Initially hidden */
    transition: .25s all ease-in-out;
}



.about-me h2 {
    /* padding: 10px; */
    background: var(--accent);
    text-align: center;
}

.about-me p {
    background: var(--accent);
}

.about-me a {
    color: var(--text);
    position: relative;
}

.about-me a::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease-in-out;
}

.about-me a:hover::before {
    width: 100%;
}


