.newsbig{
    background-color: lightgray;
    grid-column-end: span 2;
    grid-row-end: span 2;
    display: flex;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}
.newssmall{
    background-color: lightgray;
    display: flex;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    aspect-ratio: 16 / 9;
}
.newsbig:hover{
    transform: scale(1.05);
}
.newssmall:hover{
    transform: scale(1.05);
}
.newsbox{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
    padding: 1rem;
    width: 80%;
}
.newscarousel a{
    text-decoration: none;
}
.newscarousel{
    border-bottom: 1px;
    border-bottom-style: solid;
    padding-bottom: 1rem;
}
.newstitle{
    background-color: #0000008b;
    color: white;
    display: flex;
    padding-left: 1rem;
    margin-top: auto;
    width: 100%;
}
.newslist{
    display: flex;
    flex-direction: column;
    width: 80%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.newslistelement{
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
    padding: 1rem;
}
.newslistelement:last-child{
    border-bottom-style: none;
}
.newslistelement .newssmall{
    height: 10rem;
}
.newslistcontent{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.newslistcontent h3{
    margin: 0;
    color: var(--nav-color);
}
.newslistcontent a{
    text-decoration: none;
}
.article{
    max-width: 80%;
    font-size: large;
    width: 100%;
}
.article-segment{
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: justify;
}
.article-segment .destacado{
    color: red;
}
.article-segment video{
    width: 50%;
}
.article-pages{
    width: 100%;
    display: flex;
}
.article-next{
    background-color: var(--nav-color);
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-weight: bold;
    margin-left: auto;
    margin-right: 5rem;
}
.newslistcontent .article-next{
    margin-right: 0;
    padding: 0.5rem;
    margin-top: auto;
}
.article-back{
    background-color: var(--nav-color);
    text-decoration: none;
    color: white;
    padding: 1rem;
    font-weight: bold;
    margin-right: auto;
    margin-left: 5rem;
}
.article-next:hover{
    background-color: var(--nav-color-secundary);
}
.article-back:hover{
    background-color: var(--nav-color-secundary);
}
@media screen and (max-width: 950px) {
    .newsbox h2{
        font-size: 1rem;
    }
}
@media screen and (max-width: 950px) {
    .newslistelement .newssmall{
        height: 5rem;
    }
    .article-segment video{
        width: 80%;
    }
}
@media screen and (max-width: 500px) {
    .article-segment video{
        width: 90%;
    }
}