@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');



.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
   
}

.main-content h2 {
    font-size: 2.8em;
    width: 80%;
    font-weight: 400;
    color: #F9ECB4;
    font-family: 'Cinzel', serif;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.5;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
}

.image-container img {
    width: 500px;
    height: auto;
    border-radius: 8px;
}

.main-content p {
    color: #F9ECB4;
    line-height: 1.5;   
    margin-bottom: 15px;
    font-family: 'Garamond', serif;
    font-weight: 400;
    font-size: 18px;
}

.main-content h3 {
    width: 65%;
    font-size: 23px;
    font-weight: 400;
    color: #F9ECB4;
    font-family: 'Garamond', serif;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}
.main-content span {
    font-size: 1.3em;
    font-family: 'Garamond', serif;
    font-weight: 400;

}
.main-content svg {
    width: 77%;
}
.span-text {
    margin-left: 20%;
}
.main-text-content{
    width: 55%;
    height: 50%;
    margin-left: 25%;
}
.learn-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.learn-more button {
    margin: 0;
    color: #F9ECB4;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    border:  1px solid #F9ECB4;
    transition: background-color 0.3s ease;
}

.learn-more button:hover {
    background-color: #F9ECB4;
    color: #2A3B4C;
}

@media only screen and (max-width: 768px) {
    .main-content h2 {
        font-size: 2em;
    }

    .main-content h3 {
        width: 90%;
        font-size: 1.2em;
    }

    .main-text-content {
        display: flex;
        flex-direction: column;
        margin-left: -0;
        text-align: left;
        width: 90%;
    }

    .main-content p {
        align-items: center;
        
        text-align: left;
        font-size: 16px;
    }

    .main-content svg {
        width: 90%;
    }

    .learn-more button {
        width: 100%;
        font-size: 1em;
    }
    .image-container {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .image-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

@media only screen and (max-width: 480px) {
    .main-content h2 {
        font-size: 1.4em;
    }

    .main-content h3 {
        width: 95%;
        font-size: 1em;
    }

    .main-text-content {
        width: 95%;
    }

    .main-content p span {        
        font-size: 14px;
    }

    .learn-more button {
        width: 100%;
        font-size: 0.9em;
    }
    .image-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
    .learn-more img {
        width: 50%;
    }
}
