@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Criando varávies globais de cor */
:root {
    --norte-color: #046796;
    --sudeste-color: #008000;
    --sul-color: #8C8CC3;
    --nordeste-color: #ffa600;
    --centro-oeste-color: #BC9B1A;
  }

body{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Poppins;
    background-image: url(../imagens/background.png);
    background-repeat: repeat;
    overflow-x: hidden;
}

header{
    width: 100%;
    height: 20vh;
    background-color: #2b344a;
    display: flex;
    padding: 2vw;
    box-sizing: border-box;
    margin-bottom: 2vh;
}

.norte{
    fill: var(--norte-color);
}

.nordeste{
    fill: var(--nordeste-color);
}

.centro-oeste{
    fill: var(--centro-oeste-color);
}

.sul{
    fill: var(--sul-color);
}

.sudeste{
    fill: var(--sudeste-color);
}

.trf6{
    fill: #6e10c7;
}

.container-logo{
    width: 8%;
    align-items: center;
    display: flex;
}

.logo{
    width: 100%;
}

.logo-mdr{
    width: 100%;
    height: 100%;
}

nav{
    width: 50%;
    height: 100%;
}

nav ul{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

nav li{
    cursor: pointer;
    color: white;
}

main{
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.separacao-por-regiao{
    width: 70%;
    height: 30%;
    display: none;
    justify-content: space-around;
    
}

.regiao{
    width: 18%;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}


.regiao-btn{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%;
    height: 20%;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.regiao-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
    background-color: #3e4a63;
}
.lista-de-estados-por-regiao{
    width: 100%;
    height: 80%;
    display: none;
    flex-direction: column;
    color: white;
    justify-content: space-evenly;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.lista-de-estados-por-regiao li{
    cursor: pointer;
}

.estados-row{
    display: flex;
}

.estados-row div{
    width: 50%;
}

#lista-norte{
    background-color: var(--norte-color);
}

#lista-nordeste{
    background-color: var(--nordeste-color);
}

#lista-centro-oeste{
    background-color: var(--centro-oeste-color);
}

#lista-sudeste{
    background-color: var(--sudeste-color);
}
#lista-trf6{
    background-color: #6e10c7;
}
#lista-sul{
    background-color: var(--sul-color);
}

.lista-de-estados-aberta{
    display: flex;
}

.lista-de-estados-item{
    text-align: center;
}

.lista-de-estados-item:hover{
    color: darkgoldenrod;
}

.mapa-container{
    width: 100%;
    height: 70%;
    position: relative;
    display: flex;
    justify-content: center;
}

.mapa-img{
    width: 100%;
    height: 100%;
}


.modal-portais-norte{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-portais-nordeste{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-portais-sudeste{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-portais-centro-oeste{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-portais-sul{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
}

.portais-container{
    width: 30%;
    height: 80%;
    background-color: rgba(43, 52, 74, 0.9);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 2vw;
    
}

.portais-container h1{
    font-size: 2vw;
}

.portal-item{
    width: 80%;
    height: 20%;
    margin-top: 2vh;
}

.fechar-modal{
    align-self: end;
    background: none;
    border: none;
    color: white;
    font-size: 1vw;
    cursor: pointer;
    transition: transform 0.3s ease
}

.fechar-modal:hover{
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
    color: #ff0000;
}

.portal-item button{
    width: 100%;
    height: 100%;
    border: 1px solid white;
    color: #2b344a;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease
}
.portal-item button:hover{
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); 
    background-color: #c1c7d4;
}

.botoes-opcao-visualizacao{
    margin-bottom: 2vh;
}

.botoes-opcao-visualizacao button{
    background-color: #2B344A;
    color: white;
    border: none;
    padding: 1vw;
    border-radius: 5px;
    transition: transform 0.3s ease
}


.page-footer{
    width: 100%;
    height: 10vh;
    background-color: #2b344a;
    display: grid;
    justify-content: center;
    align-items: center;
    color: white;
    margin: 0 10px;
}

.social-media{
    display: flex;
    justify-content: space-evenly;
    margin: 0 10px;
}

.p-footer{
    font: montserrat;
    font-style: italic;
    font-size: small;
    text-decoration: none;
    color: white;

}

.a-header{
    text-decoration: none;
    color: white;
    background-color: #2b344a;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
}

.a-header:hover{
    background-color: #3e4a63;
}

.icon-social-media{
    width: 30px;
    height: 30px;
    margin: 0 10px;
}
.icon-social-media:hover{
    background-color: #3e4a63;
}

.menu-button{
    background-color: #2b344a;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.menu-button:hover{
    background-color: #3e4a63;
}

.dropdown{
    display: none;
    position: absolute;
    background-color: #2b344a;
    min-width: 150px;
    box-shadow:0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown a{
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover{
    background-color: #3e4a63;

}

.menu:hover .dropdown{
    display: block;
}

.norte{
    fill: #046796;
    stroke: white;
    stroke-width: 0.5;
}

.nordeste {
    fill:orange;
    stroke:white;
    stroke-width: 0.5;
}

.sudeste {
    fill: green;
    stroke: white;
    stroke-width: 0.5;
}

.sul {
    fill: #8C8CC3;
    stroke: white;
    stroke-width: 0.5;
}

.trf6{
    fill: #6e10c7;
    stroke: white;
    stroke-width: 0.5;
}
.centro-oeste {
    fill: #BC9B1A;
    stroke: white;
    stroke-width: 0.5;
}

.norte.hover{
    fill: lightblue
}

.nordeste.hover{
    fill: rgb(250, 218, 160)
}

.sudeste.hover{
    fill: rgb(161, 255, 161);
}

.centro-oeste.hover{
    fill: rgb(255, 255, 161);
}

.sul.hover{
    fill: rgb(255, 255, 255);
}

.trf6.hover{
    fill: rgb(215, 121, 252);
}

#trfs {
    background-color: #4a4a4a; /* Cor de fundo diferente */
    color: white; /* Cor do texto */
    padding: 10px; /* Espaçamento interno */
    border-radius: 5px; /* Bordas arredondadas */
    font-weight: bold; /* Texto em negrito */
}