* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: lightblue;
    height: 100vh;
    display: flex; /* Flexbox para layout */
    flex-direction: column;
    font-family: Arial, sans-serif;
}

/* O menu permanece no topo e ocupa toda a largura */
.menu {
    width: 100%;
    list-style-type: none;
    background: #f7f7f7;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around; /* Distribui os itens uniformemente */
    padding: 10px 0;
}

.menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #6e6fa7;
    text-decoration: none;
    transition: background 0.1s ease-in-out;
    padding: 10px;
    border-radius: 10px;
}

.menu li a:before {
    font-family: FontAwesome;
    font-size: 1.4em;
    margin-bottom: 5px;
}

.menu li a.Portal:before { content: "\f017"; }
.menu li a.RH:before { content: "\f2c2"; }
.menu li a.VT:before { content: "\f207"; }

.menu li a:hover {
    background: #267fdd;
    color: #fff;
}

.texto {
    font-size: 13px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Container principal para o conteúdo (iframe e anotações) */
.content-container {
    flex-grow: 1; /* Ocupa o espaço restante */
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Garante que o conteúdo não vaze */
    display: flex;
    flex-direction: column;
}

/* Esconde e mostra as views */
.view {
    display: none;
    flex-grow: 1;
    height: 100%;
}

.view.active {
    display: flex;
    flex-direction: column;
}

/* Estilo do Iframe */
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilo da área de anotações */
#notes-view {
    padding: 20px;
}

#notes-view h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

#notes-area {
    width: 100%;
    height: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    resize: none; /* Impede o redimensionamento manual */
}

/* Remoção de estilos não utilizados */
.animation, .divButton, button, .menu-bar {
    display: none;
}

/* Ajustes responsivos */
@media all and (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .menu {
        flex-wrap: wrap; /* Permite que os itens quebrem a linha */
        justify-content: space-between;
    }
    .menu li a {
        padding: 5px;
    }
    .content-container {
        margin: 10px;
    }
}
