* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


body
{
   background-color: #FFFFFF;
}

/* MENU - INICIO */


.navbar-admin {
    background-color: #1740a9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    
}



.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo Styles */
.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    cursor: pointer;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 2.5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #87ceeb;
}

/* Dropdown Arrow */
.dropdown-arrow {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    margin: 4px 8px;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Menu Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.container p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1740a9;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 20px;
        justify-content: space-between;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #2850c7;
        border-radius: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .dropdown-menu {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-link {
        padding: 15px 40px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #87ceeb;
    }
    
    .dropdown-link:last-child {
        border-bottom: none;
    }
    
    /* Adjust main content for mobile */
    .container h1 {
        font-size: 2rem;
    }
    
    .container p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        height: 60px;
        padding: 0 10px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .main-content {
        margin-top: 60px;
        padding: 0px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .container h1 {
        font-size: 1.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.dropdown-link:focus {
    outline: 2px solid #87ceeb;
    outline-offset: 2px;
}

/* Hover effects for better UX */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent dropdown from closing on hover in desktop */
@media screen and (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* MENU - FIM */

/* PADRÃO CONTEÚDO - INÍCIO */

.content-container {
    width: 80%;
    margin: 40px auto;
    margin-top: 90px;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #1740a9;
    border-radius: 15px;
    
}

.content-container h2 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    color: #1740a9;
}

.imagem-centralizada {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    display: block;
}

.content-container p {
    margin: 0 auto; /* centraliza horizontalmente */
    text-align: justify;
    white-space: normal;/* Ajusta o texto para linhas mais equilibradas */
    margin-top: 20px;
    color: #1740a9;
    max-width: 800px;
    white-space: pre-wrap; /* preserva as quebras de linha */
  display: block; /* define o display como block */
  margin-bottom: 1em; /* adiciona espaço entre os parágrafos */
}

/* Responsividade */
@media (max-width: 768px) {
    .content-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .content-container {
        width: 100%;
        padding: 10px;
    }
    .imagem-centralizada {
        width: 100%;
    }
}



/* PADRÃO CONTEÚDO - FIM */