
/* 1. Open Sans Regular (Peso 400) */
@font-face {
    font-family: 'Open sans';
    src: url('../fonts/OpenSans.woff2') format('woff2'),
         url('../fonts/OpenSans.woff') format('woff');
    font-weight: 400; /* Define o peso normal/regular */
    font-style: normal;
}

/* 2. Open Sans Bold (Peso 700) */
@font-face {
    font-family: 'Open sans';
    src: url('../fonts/OpenSans_Bold.woff2') format('woff2'),
         url('../fonts/OpenSans_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* 3. Open Sans Italic (Estilo Itálico) */
@font-face {
    font-family: 'Open sans';
    src: url('../fonts/OpenSans-Italic.woff2') format('woff2'),
        url('../fonts/OpenSans-Italic.woff') format('woff');
    font-weight: 400; 
    font-style: italic;
}
/*4. Inconsolata Normal*/
@font-face{
    font-family: Inconsolata;
    src: url('../fonts/Inconsolata.woff2') format('woff2'),
        url('../fonts/Inconsolata.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
/*5. Inconsolada Bold*/
@font-face{
    font-family: Inconsolata;
    src: url('../fonts/Inconsolatanconsolata_Bold.woff2') format('woff2'),
        url('../fonts/Inconsolatanconsolata_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body{
    background-color: rgb(226, 226, 220);
    color: rgb(64, 64, 77);
    font-family: 'Open sans', sans-serif;
    font-size: 16px;
}
.no-bold{
    font-weight: normal;
}
main{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto; 
    align-items: center;
}
.sup-main-header{
    display: flex;
    justify-content: space-around;
    border-bottom: solid 2px rgb(64, 64, 77);
}
.main-header{
    display: flex;
    justify-content: space-between;
    height: auto;
    border-bottom: solid 2px rgb(64, 64, 77);
    align-items: center;
    background-color: rgb(213,213,186);
    position: sticky; 
    top: 0;           
    z-index: 50;
}
/*LENGUAGE SELECTOR*/
.language{
    background-color: rgb(160, 160, 140); 
    border: none;
    cursor: pointer;
}
.sup-main-header-language {
    display: flex;
    align-items: center;
    gap: 8px;
}
.language-flag {
    width: 24px;
    height: auto;
}
/*MAIN MENU*/
.main-header-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-header-nav-menu > li {
    padding: 0;
    position: relative;
}
.main-header-nav-menu a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 15px 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.main-header-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: black;
    transition: width 0.3s ease-out;
    z-index: 2;
}

.main-header-nav-menu li:hover > a::after {
    width: 100%;
}
.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid black;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}
.main-header-nav-menu li.has-submenu:hover > a .arrow {
    transform: rotate(180deg);
}
.submenu {
    position: absolute;
    top: 100%;
    left: 50%; 
    transform: translateX(-50%);
    min-width: 280px;
    z-index: 10;
    display: none;
    flex-direction: column; 
    background-color: rgb(160, 160, 140);
}
.main-header-nav-menu li:hover > .submenu {
    display: flex;
}
.submenu a {
    padding: 10px 15px;
    font-weight: normal;
    background-color: transparent;
}
.submenu a::after {
    height: 2px;
    background-color: black;
}

.submenu li:hover > a {
    background-color: #f1f1f1;
}
.submenu li:hover > a::after {
    width: 100%;
}
.final-text{
    text-align: center;
}
/*FOOTER*/
footer{
    position: relative;
    bottom: 0;
    margin-top: 50px;
    padding: 0;
}
.footer-copy{
    display: flex;
    justify-content: center;
    border-top: solid 2px rgb(64, 64, 77);
    font-style: italic;
    font-size: .8em;
    text-align: center;
}