body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    color: #140f07;
    background-color: #140f07;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInParagraph {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#page {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#history {
    position: relative;
    overflow: hidden;
    background-image: url(../../Img/Img.Index/Principal/Fazenda\(1\).jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #00000088;
    background-blend-mode: darken;
    min-height: 100vh;
    height: auto;
    color: snow;
    border-bottom: 1px solid snow;
    padding: 0 20px;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

#history h1 {
    margin-top: 140px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
    font-family: 'Amatic SC', cursive;
    animation: fadeInText 1.5s ease-out forwards;
}

#history p {
    font-weight: bold;
    font-size: 1.2em;
    text-align: justify;
    text-indent: 2em;
    word-wrap: break-word;
    hyphens: auto;
    animation: fadeInParagraph 2s ease-out forwards;
}

#history p span {
    display: block;
    text-indent: 2em;
}

#history p:last-child {
    margin-bottom: 1em;
}

@media screen and (max-width: 1024px) {
    #history {
        background-color: #552d24;
        background-image: none;
        position: relative;
        overflow: hidden;
        height: auto;
        padding: 20px;
        color: snow;
        border-bottom: 1px solid snow;
        
    }    


    #history h1 {
        font-size: 2em;
        margin-bottom: 30px;
        margin-top: 140px;
    }

    #history p {
        font-size: 1.2em;
        line-height: 1.5;
        margin-bottom: 15px;
        font-weight: lighter;
    }
}