.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

main {
    display: flex;
    justify-content: start;
    align-items: start;
    height: calc(100vh - 300px);
    background-image: url('../public/index-main-image.jpg');
    background-size: cover;
    background-position: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: red;
    align-items: start;
    max-width: 800px;
    height: auto;
    padding: 40px;
    margin: 60px 0px 0px 60px;
    background-color: #0e0c0ce1;
    border-radius: 20px;
}

.main-content h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: var(--font-family);
    font-weight: bold;
}

.main-content p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: times new roman;
    font-style: italic;
    margin: 20px 0px;
}

/* section */

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 40px 100px;
}

section h2 {
    color: #000;
    font-size: 2.5rem;
    font-family: var(--font-family);
    font-weight: 500;
    margin-bottom: 5px;
    border-left: 3px solid var(--blue-color);
    padding-left: 10px;
}

section h3 {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    font-family: var(--font-family);
    font-weight: 500;
}

.box-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: start;
}

.box-image {
    width: 40%;
    height: 100%;
    margin-left: 20px;
}

.box-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

/* testimonies-section */

.box-testimonies {
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: space-between;
}

.box-testimonies div {
    background-color: rgba(230, 230, 230, 0.88);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.box-testimonies h4 {
    color: var(--blue-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: var(--font-family);
    font-weight: bold;
}

.box-testimonies p {
    font-size: 1.2rem;
    font-weight: 300;
    font-family: times new roman;
    font-style: italic;
}

/* donate-section */

.box-donate {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.box-donate h4 {
    color: var(--blue-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--font-family);
    font-weight: bold;
}

.box-donate p {
    color: #000;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: times new roman;
    font-style: italic;
    margin-bottom: 20px;
}

.box-content a {
    color: var(--blue-color);
    font-weight: 500;
    text-decoration: none;
}

/* tithe-section */

.box-tithe {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.box-tithe h4 {
    color: var(--blue-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--font-family);
    font-weight: bold;
}

.box-tithe p {
    color: #000;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: times new roman;
    font-style: italic;
    margin-bottom: 20px;
}

/* schedule-section */

.box-schedule {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.box-schedule p {
    color: #000;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: var(--font-family);
    margin-bottom: 20px;
}

.box-content p strong {
    color: var(--blue-color);
    font-weight: 500;
}

/* Responsividade */

@media (max-width: 1024px) {
    main {
        height: 40vh;
        padding: 40px;
    }

    .main-content {
        margin: 0px;
    }

    .main-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .main-content p {
        font-size: 1rem;
        margin: 10px 0px;
    }

    section {
        padding: 40px;
    }

    section h2 {
        font-size: 2rem;
    }

    section h3 {
        font-size: 1.3rem;
    }

    .box-image img {
        width: 100%;
        height: 300px;
    }

    .box-content {
        flex-direction: column;
    }

    .box-image {
        width: 100%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .box-testimonies {
        width: 100%;
    }

    .box-donate {
        width: 100%;
    }

    .box-tithe {
        width: 100%;
    }

    .box-schedule {
        width: 100%;
    }
}


@media (max-width: 768px) {
    main {
        padding: 20px;
    }

    .main-content {
        padding: 20px;
    }

    section {
        padding: 20px;
    }

    .box-image img {
        margin: 20px 0px;
    }

    .box-content {
        flex-direction: column;
    }

    .box-image {
        width: 100%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .box-testimonies {
        width: 100%;
    }

    .box-donate {
        width: 100%;
    }

    .box-tithe {
        width: 100%;
    }

    .box-schedule {
        width: 100%;
    }
}


@media (max-width: 425px) {
    main {
        padding: 20px;
    }

    .main-content {
        padding: 20px;
    }

    section {
        padding: 20px;
    }

    .box-content {
        flex-direction: column;
    }

    .box-image {
        width: 100%;
        margin-left: 0px;
        margin-top: 20px;
    }

    .box-testimonies {
        width: 100%;
    }

    .box-donate {
        width: 100%;
    }

    .box-tithe {
        width: 100%;
    }

    .box-schedule {
        width: 100%;
    }
}