/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    background: linear-gradient(90deg, #000 50%, rgb(6, 20, 35) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #bbb;
    line-height: 1.6;
}

a {
    color: #69c;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #96c;
    text-shadow: 2px 2px 2px rgba(125, 190, 255, 0.5);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER ===== */
.container--header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    border-bottom: 2px solid #555151;
}

.container--div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container--div h1 {
    color: #8a8a8a;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
    text-align: center;
}

.subNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.subNav li a {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #fff;
    padding: 0.5rem;
    display: block;
}

/* ===== MAIN CONTENT ===== */
.artigo {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.artigos--assuntos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assuntos--div, .assuntos-div {
    background: linear-gradient(110deg, #000 50%, rgb(49, 89, 98) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    box-shadow: -1px 0 0 #bbb;
}

.assuntos-div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div--imagem img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    /* border-radius: 50%; */
}

h4, h5 {
    color: #99c;
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 0.5rem;
}

strong {
    color: #cfcbcb;
    font-weight: bold;
}

p {
    color: #747171;
    margin-bottom: 0.5rem;
}

span {
    color: #bbb;
}

/* ===== ASIDE ===== */
#main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.div--sites--dominion {
    background: linear-gradient(110deg, #000 50%, rgb(49, 89, 98) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    transition: all 0.35s ease;
}

.div--sites--dominion:hover {
    box-shadow: 2px 8px 10px 2px rgba(48, 165, 255, 0.2);
    transform: translateY(-5px);
}

.div--icons-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.div--icons-items img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.div--icons-items img:hover {
    transform: scale(1.1);
}

/* ===== FOOTER ===== */
.container-footer {
    width: 100%;
    margin-top: auto;
}

.div-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(15, 32, 42, 0.8));
    border-radius: 30px 30px 0 0;
    padding: 1rem;
}

.div-footer p {
    font-family: "Geist Mono", monospace;
    font-weight: bold;
    color: #bbb;
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    text-align: center;
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 768px) {
    .container--div {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
    }
    
    .container--div h1 {
        margin-bottom: 0;
    }
    
    .artigo {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .artigos--assuntos {
        flex: 2;
    }
    
    #main {
        flex: 1;
        position: sticky;
        top: 1rem;
    }
    
    .assuntos-div {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .assuntos--div, .assuntos-div {
        max-width: 700px;
    }
    
    .div--sites--dominion {
        max-width: 400px;
    }
}