@import url("global-styles.css");
@import url("header.css");
@import url("callout.css");
@import url("footer.css");
@import url("card.css");
@import url("article.css");

.main-carrousel {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.main-carrousel__container,
.main-carrousel__item {
    width: 100%;
    height: 100%;
}

.main-carrousel__item {
    position: relative;
    display: flex;
    align-items: center;
}

.main-carrousel__container {
    position: relative;
    display: grid;
}

.carrousel-item__text {
    position: relative;
    left: 8%;
    color: white;
}

.carrousel-item__text h3 {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1em;
}

.carrousel-item__text span {
    position: relative;
    left: 5px;
    top: 5px;
    font-size: 1.1rem;
}

.carrousel-item__image {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-article {
    padding: 50px 25px;
}

.carrousel-circle {
    position: absolute;
    display: flex;
    gap: 5px;
    z-index: 10;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.carrousel-circle__item {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 2px;
}

.main-feed__content {
    color: #949598;
}

.main-donation {
    padding: 50px 0;
    width: 100%;
    text-align: center;
}

.home-callout__image {
    width: 500px;
}

.main-donation__title {
    font-family: var(--font-primary);
}

.main-donation__paragraph {
    padding: 0 100px;
    margin-left: auto;
    margin-right: auto;
}

.main-coreValues {
    width: calc(100% - 20px);
    margin: auto;
    text-align: center;
    padding: 50px 10px;
}

.main-coreValues__text {
    font-size: 0.9rem;
    color: var(--font-color-secondar);
}

.coreValues-item {
    width: 210px;
}

.coreValues-container,
.coreValues-item__icon {
    display: flex;
    align-items: center;
}
.coreValues-container {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin-top: 30px;
}

.coreValues-item__icon {
    justify-content: center;
    border-radius: 50%;
    padding: 20px;
    width: 25px;
    height: 25px;
    background-color: var(--font-color-primary);
    margin: 20px auto;
}

.coreValues-container img {
    width: 35px;
}

.coreValues-item__title {
    font-weight: bold;
    font-size: 0.9rem;
}

.coreValues-item__text {
    margin: 7px auto;
    color: black;
    font-size: 13px;
}

.btn-home__donation {
    margin-top: 10px;
}

.circle-active {
    transition: all 0.2s ease;
    background-color: var(--color-secondary);
}

.lazy-item {
    display: none;
}

@media screen and (min-width: 1800px) {
    .main-carrousel {
        height: 720px;
    }

    .carrousel-item__text h3 {
        font-size: 5rem;
        line-height: 1.1em;
    }

    .carrousel-item__text span {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1800px) {
    .main-carrousel {
        height: 555px;
    }
}

@media screen and (max-width: 1350px) {
    .main-carrousel {
        height: 470px;
    }
}

@media screen and (max-width: 1100px) {
    .main-carrousel {
        height: 400px;
    }

    .carrousel-item__text h3 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 940px) {
    .main-carrousel {
        height: 330px;
    }
}

@media screen and (max-width: 780px) {
    .main-carrousel {
        height: 270px;
    }

    .carrousel-item__text {
        left: 11%;
    }

    .carrousel-item__text h3 {
        font-size: 2rem;
    }

    .carrousel-item__text span {
        left: 0;
    }

    .main-donation__paragraph {
        padding: 0 70px;
    }
}

@media screen and (max-width: 580px) {
    .carrousel-item__text h3 {
        font-size: 2rem;
    }

    .main-donation__paragraph {
        padding: 0 40px;
    }
}

@media screen and (max-width: 500px) {
    .main-carrousel {
        height: 200px;
    }

    .carrousel-item__text {
        left: 12%;
    }

    .carrousel-item__text h3 {
        font-size: 1.7rem;
    }

    .carrousel-item__text span {
        font-size: 0.9rem;
    }
    .home-callout__image {
        height: 150px;
    }

    .main-callout__author {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .main-donation__paragraph {
        padding: 0 8px;
    }
}

@media screen and (max-width: 380px) {
    .main-carrousel {
        height: 160px;
    }

    .carrousel-item__text {
        left: 13%;
    }

    .carrousel-item__text h3 {
        font-size: 1.4rem;
    }

    .carrousel-item__text span {
        font-size: 0.85rem;
        width: 95%;
        display: block;
    }
}
