﻿.containerNews {
    margin-top: 20px;
    margin-left: 0;
}

.boxNews {
    position: relative;
    width: 80%;
    margin: 40px auto;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0,0,0,0.8);
}

.Titulo {
    font-size: 24px;
    font-weight: bold;
    color: #292292;
    margin-left: 55px;
    margin-bottom: 15px;
    background-image: linear-gradient(to bottom, #fff78b, rgb(204, 144, 33));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* para compatibilidade com alguns navegadores */
    background-clip: text;
    color: transparent;
}

.NewsRow {
    position: relative;
    width: 90%;
    margin: 2px auto 0;
    padding: 5px;
    box-sizing: border-box;
    background: #1e245f;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .2);
    border-radius: 5px;
    transition: .5s;
    color: yellow;
}

.NewsRow a {
    color: aqua;
}

.NewsRow2 {
    position: relative;
    width: 90%;
    margin: 2px auto 0;
    padding: 5px;
    box-sizing: border-box;
    background: #000135;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .2);
    border-radius: 5px;
    transition: .5s;
    color: gold;
}

.NewsRow:hover {
    transform: scale(1.03);
    background: rgba(0,0,0,0.3);
}

.NewsRow2:hover {
    transform: scale(1.03);
    background: rgba(0,0,0,0.3);
}

.containerDetNews {
    margin-top: 20px;
    margin-left: 40px;
}

.containerDetNews a {
    position: relative;
    padding: 10px 30px;
    margin: 0 15px;
    color: #BA4A00;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.5s;
}

.containerDetNews a:hover {
    background: #BA4A00;
    color: #111;
    box-shadow: 0 0 50px #BA4A00;
    transition-delay: 0.2s;
}

.containerDetNews a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid #BA4A00;
    border-left: 2px solid #BA4A00;
    transition: 0.5s;
}

.containerDetNews a:hover:before {
    width: 100%;
    height: 100%;
}

.containerDetNews a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #BA4A00;
    border-right: 2px solid #BA4A00;
    transition: 0.5s;
}

.containerDetNews a:hover::after {
    width: 100%;
    height: 100%;
}