@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.history {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5em;
    transition: all 0.5s ease; /* Smooth transition */
}

.fi-fihistory {
    max-width: 70%;
    transition: all 0.5s ease; /* Smooth transition */
}

.fi-history {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease; /* Smooth transition */
}

.fi-history h3 {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 3em;
    color: #00a6eb;
    transition: all 0.5s ease; /* Smooth transition */
}

.fi-history p {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 1em;
    transition: all 0.5s ease; /* Smooth transition */
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .history {
        padding: 2em;
    }

    .fi-fihistory {
        max-width: 90%;
    }

    .fi-history h3 {
        font-size: 2.5em;
        text-align: center;
    }

    .fi-history p {
        font-size: 1.2em;
        line-height: 1.4;
    }
}

@media only screen and (max-width: 480px) {
    .history {
        padding: 1em;
    }

    .fi-fihistory {
        max-width: 100%;
    }

    .fi-history h3 {
        font-size: 2em;
        text-align: center;
    }

    .fi-history p {
        font-size: 1em;
        line-height: 1.3;
    }
}
