/* General Styles */
body {
    font-family: 'Geneva', sans-serif;
    width: 90%; /* Adjusts dynamically based on screen size */
    margin: auto;
    background-color: #fdf5e6;
    color: #333;
    text-align: center;
}


header h1 {
    font-family: 'Geneva', sans-serif;
    color: #cd853f;
    font-size: 3rem; 
    width: 90%; /* Adjusts dynamically based on screen size */
    margin: auto;
    margin-bottom: 200px;
}

.about {
    width: 90%; /* Adjusts dynamically based on screen size */
    margin: auto;

}

.project-title {
    font-family: 'Geneva', sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin-top: 200px;
    margin-bottom: 45px;
    text-align: center;
}

.project-text{
    margin-bottom: 50px;
}

.projects{
    font-family: 'Geneva', sans-serif;
    width: 90%; /* Adjusts dynamically based on screen size */
    margin: auto;
    padding: 10;
    color: #333;
    text-align: center;
}

footer {
    font-family: 'Geneva', sans-serif;
    color: #cd853f;
    padding: 20px;
    text-align: center;  /* Centers the text horizontally */
    font-size: 1rem;
  }
  

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    padding-top: 20px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-images img {
    width: 100%;
    /* Make images fill the container width */
    height: 600px;
    /* Set a fixed height for all images */
    object-fit: contain;
    /* Ensure the whole image is visible without cropping */
    flex-shrink: 0;
    /* Prevent images from shrinking */
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 2;
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-btn:hover {
    opacity: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Dots */
.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .active {
    background-color: #333;
}


/* Dots */
.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .active {
    background-color: #333;
}