/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Corpo da página */
body {
    background-color: #f4f4f4;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    background-image: url('./assets/img/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Cabeçalho */
header {
    width: 100%;
    background-color: #0077b6;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

/* Menu de navegação */
.menu {
    display: flex;
    justify-content: space-between; /* Espaço entre os elementos */
    align-items: center;
    max-width: 1100px;
    width: 90%;
    margin: auto;
}

/* Seção esquerda: hambúrguer + logo */
.left-section {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre o menu hambúrguer e o logo */
}

/* Ícone do menu hambúrguer */
.hamburger {
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Nome/logo do site */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Menu principal */
.menu-list {
    list-style: none;
    display: flex;
}

.menu-list li {
    margin: 0 15px;
}

.menu-list li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.menu-list li a:hover {
    font-weight: bold;
}

/* Estilização do menu lateral (sidebar) */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Escondido por padrão */
    width: 250px;
    height: 100%;
    background: #005f8d;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    padding-top: 60px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
}

.sidebar ul li a:hover {
    background: #003f5c;
}

/* Botão de fechar do menu lateral */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* Quando o menu estiver aberto */
.sidebar.active {
    left: 0;
}

/* Estilos do container */
.container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Título */
.cardTitle h1 {
    font-size: 26px;
    color: #0077b6;
}

/* Botões lado a lado */
.options {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.options ol {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.options li {
    flex: 1;
}

/* Botões grandes */
button {
    background-color: #0077b6;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
}

button:hover {
    background-color: #005f8d;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-active {
        display: flex;
    }

    /* Ajuste para botões em telas pequenas */
    .options {
        flex-direction: column;
    }

    .options ol {
        flex-direction: column;
    }

    .options li {
        width: 100%;
    }
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

label {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
    width: 100%;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

button {
    background-color: #0077b6;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    flex: 1;
    margin: 5px;
}

button:hover {
    background-color: #005f8d;
}

.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Botão de Fechar */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: red;
}

/* Estilização da Tabela */
.result-table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

.result-table th {
    background: #0077b6;
    color: white;
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

.result-table td {
    padding: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

/* Card do IET */
.iet-card {
    background: #ecb81d;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    font-size: 18px;
}

/* Imagem do Estado Trófico */
.iet-img {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin-top: 10px;
}




