/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    vertical-align: baseline;
    text-decoration: none;
    box-sizing: border-box;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Variáveis CSS */
:root {
    --black_absolute: #000000;
    --black: #23201e;
    --gray_dark: #636363;
    --gray_footer: #403b37;
    --gray: #878787;
    --gray_light: #9d9d9d;
    --creme: #e1dacc;
    --white: #f1f1f1;
    --white_absolute: #ffffff;
}

/* Configurações Base */
html {
    font-size: 62.5%;
}

body, button, input, textarea {
    font-size: clamp(14px, 1.6rem, 2vw);
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: var(--black);
    font-family: "Montserrat", sans-serif;
    color: var(--white);
}

/* Layout Principal */
.content {
    width: 100vw;
    height: 100vh;
}

@media (min-width: 535px) and (max-height: 920px) {
    .content {
        overflow: hidden;
    }
}

.main_global {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 58% auto;
    grid-template-areas: 
        "header header header"
        "main main main"
        "footer footer footer";
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_global {
        grid-template-rows: auto 58% auto;
    }
}

@media (max-width: 535px) {
    .main_global {
        width: 100vw;
        grid-template-rows: 10% 58% auto;
    }
}

/* Header */
header {
    grid-area: header;
}

header .container_menu {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

@media (max-width: 535px) {
    header .container_menu {
        gap: 1rem;
    }
}

header .logo {
    width: 25rem;
    margin: 4rem;
}

@media (max-width: 535px) {
    header .logo {
        width: 15rem;
        margin: 1.5rem;
    }
}

@media (min-width: 535px) and (max-height: 920px) {
    header .logo {
        width: 15rem;
        margin: 2.5rem;
    }
}

/* Menu */
.menu {
    margin-top: 4rem;
    opacity: .5;
}

.menu ul li {
    display: inline-block;
    margin-right: 3.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

.menu ul li a {
    color: var(--gray);
}

.menu ul li a:hover {
    color: var(--white);
}

@media (max-width: 535px) {
    .menu {
        margin-top: 1.5rem;
    }
    
    .menu ul li {
        margin-right: .8rem;
        font-size: 1rem;
    }
}

.page_selected {
    color: var(--white) !important;
}

/* Main Body */
.main_body {
    width: 100vw;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-area: main;
    grid-template-columns: auto auto;
    grid-template-areas: "conteudo";
}

@media (max-width: 535px) {
    .main_body {
        justify-content: center;
    }
}

.main_body article {
    height: 37.8rem;
    border-left: 8px solid var(--white);
    padding-left: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: conteudo;
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_body article {
        height: 25.5rem;
    }
}

@media (max-width: 535px) {
    .main_body article {
        height: 20rem;
        border-left: 5px solid var(--white);
        padding-left: 2rem;
        justify-items: center;
    }
}

.main_body article h2 {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 5.7rem;
    text-transform: uppercase;
    margin-top: 2.5rem;
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_body article h2 {
        font-size: 3.2rem;
        line-height: 3.9rem;
        margin-top: 1.7rem;
    }
}

@media (max-width: 535px) {
    .main_body article h2 {
        font-size: 2.6rem;
        line-height: 2.8rem;
        margin-top: .3rem;
    }
}

.main_body article p {
    width: 47.6rem;
    font-size: 2.8rem;
    font-weight: 500;
    font-style: italic;
    line-height: 3.6rem;
    margin-top: 3.3rem;
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_body article p {
        font-size: 1.8rem;
        line-height: 2.2rem;
        margin-top: 2.2rem;
        width: 30rem;
    }
}

@media (max-width: 535px) {
    .main_body article p {
        width: 28rem;
        font-size: 1.4rem;
        line-height: 1.6rem;
        margin-top: 1.6rem;
    }
}

.main_body figure {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    margin-top: 2.8rem;
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_body figure {
        gap: 3.3rem;
        margin-top: 1.8rem;
    }
}

@media (max-width: 535px) {
    .main_body figure {
        gap: 2rem;
        margin-top: 1.6rem;
    }
}

.main_body figure img {
    height: 4.5rem;
    transition: .5s;
}

@media (min-width: 535px) and (max-height: 920px) {
    .main_body figure img {
        height: 3rem;
    }
}

@media (max-width: 535px) {
    .main_body figure img {
        height: 2.5rem;
    }
}

.main_body figure img:hover {
    transform: scale(1.3);
}

@media (max-width: 535px) {
    .main_body figure img:hover {
        transform: none;
    }
}

/* Footer */
footer {
    grid-area: footer;
    display: grid;
    display: -ms-grid;
    grid-template-rows: auto auto;
    grid-template-areas:
        "dados_footer dados_footer"
        "direitos_footer direitos_footer";
}

.dados_footer {
    grid-area: dados_footer;
    display: flex;
    gap: 3rem;
    width: 100%;
    padding-left: 4rem;
    margin-bottom: 4rem;
    opacity: .5;
}

.dados_footer header {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
}

.dados_footer h2 {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}

.dados_footer hr {
    width: 6.5rem;
    height: .2rem;
    margin-right: .8rem;
    background-color: var(--white);
}

.dados_footer p {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.dados_footer span {
    display: block;
    margin-top: 1.5rem;
}

@media (min-width: 535px) and (max-height: 920px) {
    .dados_footer {
        padding-left: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .dados_footer header {
        margin-bottom: .8rem;
    }
    
    .dados_footer h2 {
        font-size: 1.4rem;
    }
    
    .dados_footer hr {
        width: 3.5rem;
        height: .1rem;
        margin-right: .6rem;
    }
    
    .dados_footer span {
        margin-top: .8rem;
    }
}

@media (max-width: 535px) {
    .dados_footer {
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .dados_footer header {
        margin-bottom: .9rem;
    }
    
    .dados_footer h2 {
        font-size: 1.4rem;
    }
    
    .dados_footer hr {
        width: 2.5rem;
        height: .1rem;
        margin-right: .4rem;
    }
    
    .dados_footer p {
        font-size: 1rem;
        line-height: 1.2rem;
    }
    
    .dados_footer span {
        margin-top: .7rem;
    }
}

.direitos_footer {
    grid-area: direitos_footer;
    display: flex;
    color: var(--white);
    font-weight: 400;
    font-size: 1.6rem;
    padding-right: 4rem;
    justify-content: center;
    opacity: .3;
}

@media (min-width: 535px) and (max-height: 920px) {
    .direitos_footer {
        font-size: 1.2rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 535px) {
    .direitos_footer {
        position: static;
        font-size: 1.2rem;
        margin-right: .8rem;
        opacity: .5;
        padding: 1rem;
        text-align: center;
    }
}