.banner {
    position: relative;
    margin: 0 auto;

    height: calc(100vh - 170px);
    min-height: 600px;
    margin-top: 20px;

    display: grid;
    grid-template-rows: 3fr 2fr;

    transition: 0.6s;
}

.banner > img,
.banner > .color-filter {
    position: absolute;
    border-radius: var(--border-radius);

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner > img {
    z-index: 1;
    object-fit: cover;
}

.banner > .color-filter {
    z-index: 2;
    background: linear-gradient(29deg, rgba(0, 0, 0, 0.60) 20.81%, rgba(0, 0, 0, 0.00) 100%);
}

.bannercontent {
    z-index: 3;

    margin: 0 auto 100px auto;
    grid-row: 2;
    height: fit-content;
    max-width: 900px;

}

.bannercontent > p {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.bannercontent > p > span {
    color: var(--white);
    margin: 0 10px;
}

.bannercontent h1 {
    color: var(--white);
    max-width: 590px;
    font-size: 2.8rem;
    transition: 0.6s;
}

.bannercontent > a >button {
    margin-top: 1.8rem;
    padding: 1rem  6rem;
}

.bottomArrow {
    z-index: 3;

    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);

    height: 52px;
    width: 52px;
    border-radius: 100%;

    background-color: var(--white);
}

@keyframes arrowAnimation {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    30% {
        transform: translate(-50%, -70%);
    }
    70% {
        transform: translate(-50%, -30%);
    }
}

.bottomArrow > img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: arrowAnimation 3s infinite;
    animation-delay: 3s;
}

.lastarticles {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 160px auto;
}

.lastarticles .content {
    width: 100% !important;
}

.lastarticles h2 {
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
}

.lastarticles h2, a.article{
    padding: 20px 0;
    border-bottom: 1px solid var(--black);
}

a.article {
    display: flex;
    max-height: 150px;
    overflow: hidden;
    align-items: center;
}

a.article img {
    flex-grow: 1;
    object-fit: cover;
    border-radius: var(--border-radius);
}

a.article h3, a.article img {
    width: 100%;
    height: 150px;
    transition: 0.6s
}

a.article h3 {
    text-transform: uppercase;
    box-sizing: border-box;
    padding-right: 50px;
    height: fit-content;
    font-size: 1.6rem;
}

a.article:hover h3 {
    padding-right: 20px;
    width: 90%;
}

.button {
    width: fit-content;
    margin-top: 40px;
}
.button span {
    font-size: 14px;
}



.read {
    width: 100%;
    background-color: #E3EFF3;
}

.contentRead {
    max-width: 900px;
    margin: 0 auto;
    padding: 110px 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.title {
    display: flex;
    justify-content: space-between;

    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--black);
}

.title h2 {
    text-transform: uppercase;
    width: 100%;
    max-width: 600px;
    color: #3087ED;
    font-size: 1.6rem;
}

.title p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-end;
}

.title p * {
    text-align: right;
    color: #3087ED;
}

.title p *:before, .title p *:after {
    color: #3087ED;
    background-color: #3087ED;
}

.contentArticle {
    display: flex;
    gap: 20px;
    max-height: 480px;
}

.contentArticle > img {
    width: 280px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.articleBtn {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article {
    overflow: hidden;
    height: calc(100% - 45px);
}

.hover {
    width: fit-content;
}

.article * {
    line-height: 140%;
    margin-bottom: 25px;
}

.article h2 {
    font-size: 1.25rem;
}

.aArticle2 {
    display: none;
}


@media (max-width: 800px) {
    .banner {
        min-height: unset;
        height:  500px;
        max-height: calc(100vh - 170px);
    }

    .content {
        width: 100%;
    }

    .lastarticles {
        margin: 100px auto;
    }

    .bannercontent h1 {
        font-size: 2rem;
    }

    .bannercontent > a >button {
        padding: 1rem 3rem;
    }

    a.article {
        align-items: flex-start;
        box-sizing: border-box;
        flex-direction: column;
        min-height: 350px;
        max-height: 350px;
    }
    a.article img {
        max-height: inherit;
    }

    a.article h3 {
        max-width: 500px;
        padding-right: 0;
        padding-bottom: 20px;
    }

    a.article:hover h3 {
        padding-right: 0;
        width: 100%;
    }

    a.article{
        padding: 50px 0;
        border-bottom: 1px solid var(--black);
    }

    .contentArticle {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contentArticle > img {
        width: 100%;
        height: 150px;
    }
    .title {
        flex-direction: column;
        gap: 10px;
    }

    .title p * {
        text-align: left;
    }

    .contentArticle {
        max-height: 500px;
    }

    .articleBtn {
        max-height: 320px;
    }
    .aArticle2 {
        display: block;
    }
    .aArticle {
        display: none;
    }
}

@media (max-width: 450px) {
    a.article h3 {
        font-size: 1.4rem;
    }
    .bannercontent h1 {
        font-size: 1.8rem;
    }
}