main {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 65vh;
    width: 55vw;
    /*background-color: #ffffff;*/
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    margin: auto;
    
}

.homepage-title {
    font-size: 5em;
    color: white;
    font-weight: bold;
    margin: auto;
    padding: 5px;
    padding-top: 50px;
    text-align: center;
    font-family: 'Allura', cursive;
}

.homepage-main-content {

    font-size: 1.2em;
    color: white;
    text-align: center;
    margin: auto;
    padding: 5px;
}

.search-bar {

    position: relative;
    display: block;
    margin: 0 auto;
    background-color: white;
    text-indent: 10px;
    border-radius: 5px;
    width: 350px;
    height: 50px;
    field-sizing: content;
}

.search-button {
    position: relative;
    display: block;
    margin: 0 auto;
    /*height: 50px;*/
    padding: 10px;
    width: 350px;
    text-align: center;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}

.search-button:hover {
    background-color: orange;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #3a2e2a;
    margin: 40px;
    background-color: #f6f0ea; /* softened from #fdf9f6 */
    font-size: 19px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;

}

.text-content {
    flex: 1 1 60%;
    padding-right: 30px;
}

.text-content p {
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.image-container {
    flex: 1 1 35%;
    max-width: 350px;
    margin: 5px;

}


.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.image-containerbottom {
    flex: 1 1 35%;
    max-width: 350px;
    margin: 5px;
    /* adds space between image and text */
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.top-section {
    background: linear-gradient(to bottom, #f2e9e4 0%, #eaddd5 100%);
}

.bottom-section {
    background-color: #eaddd5;
    /* same end color of the gradient */
}

.section-divider {
    border: none;
    height: 2px;
    background-color: #dcb;
    width: 60%;
    margin: 60px auto;
    opacity: 0.4;
    border-radius: 1px;
}

.third-section {
    background-color: #e4d3cb;
    /* Soft pastel background, tweak as needed */
    padding-top: 60px;
    padding-bottom: 60px;
}

.image-containerbottom img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2s ease, transform 2s ease;
    transition-delay: 0.3s;
  }
  
  .fade-section.visible {
    opacity: 1;
    transform: translateY(0);
  }


/* Responsive */
@media (max-width: 768px) {
    main{
        width: 90vw;
        height: auto;
        padding: 20px;
    }

    .container,
    .container.reverse {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        max-width: 100%;
    }

    .text-content {
        padding: 0;
    }
}