/* Importando fontes personalizadas */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Lato:wght@400;700&family=Open+Sans:wght@400;700&display=swap');

/* Estilos gerais com nova paleta de cores */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    background-image: url('/img/background/onegus_backgroun11.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    color: #ffffff;
    text-align: center;
}
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    background: linear-gradient(to bottom, #717070, #000000);
    margin: 0;
    color: white;
    text-align: center;
}


.login-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: 100%;
    min-width: 280px;
    height: auto; 
    max-height: 80vh; 
    overflow-y: auto; 
}
 

.login-container .logo img {
    width: 120px;
    margin-bottom: 20px;
}

.login-container h1 {
    font-size: 22px;
    color: #000000;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    background: #696868;
    color: #ffffff;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    background:linear-gradient(to right, #232323, #6e6d6d);
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background: linear-gradient(to right, #6d6d6d, #232323);
}
.developer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.developer-info p {
    font-size: 12px;
    color: black;
    text-align: center;
}

.developer-info img {
    width: 80px;
    margin-top: -10px;
}
#error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

#logoutBtn {
    text-decoration: none;
    color: red;
    font-weight: bold;
    padding: 10px;
    display: block;
    text-align: center;
    border-top: 1px solid #ddd;
}

#logoutBtn:hover {
    background: rgba(255, 0, 0, 0.1);
    color: darkred;
}

.legendanot {
    display: inline;
    margin-bottom: 0px;
    }

.legenda{
    text-align: center;
    color: #ffffff;
}

.logo-body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.logo-body img {
    max-width: 150px;
    height: auto;

}
.container {
    padding: 20px;
    padding-bottom: 200px;
}
/* Para tablets */
@media screen and (max-width: 1024px) {
    .container {
        padding-bottom: 90px; /* Ajuste menor para tablets */
    }
}

/* Para smartphones */
@media screen and (max-width: 768px) {
    .contain {
        padding-bottom: 80px; /* Ajuste menor para celulares */
    }
}

/* Para celulares menores */
@media screen and (max-width: 480px) {
    .container {
        padding-bottom: 70px; /* Ajuste menor para telas pequenas */
    }
}

.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(to top, #232323, #6e6d6d, #232323);
    color: white;
    border: none;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.3s, box-shadow 0.2s;
}

.menu-btn.aberto {
    transform: rotate(180deg);
}

.menu {
    position: fixed;
    top: 80px;
    left: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.menu a {
   text-decoration: none;
    color: #ffffff;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    transition: background 0.3s;
}

.menu a:last-child {
    border-bottom: none;
}

.menu a:hover {
    background: linear-gradient(to right, #000000, #3a3838);
    transform: scale(1.06);
    color: white;
}

.noticias {
    position:relative;
    width: 90%;
    max-width: 400px;
    margin: 0px auto;
    margin-top: -50px;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    background-image: url('../img/background/mural_aviso.jpg');
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255);
    font-family: 'Schoolbell', cursive;
    text-align: center;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3); 
    border: 5px solid #ffffffc7; 
    min-height: 50px; 
    overflow: hidden;
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
}

.options{
    display: block;
    max-width: 400px;
    margin: 0px auto;
}

.item-list {
    list-style: none;
    padding: 0;
} 

.item {
    display: inline-block;
    align-items: center;
    margin: 10px 0;
} 

.item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 4px;
} 

.item p {
    margin: 0;
    font-size: 14px;
}

.noticia {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.noticia.ativa {
    opacity: 1;
    position: relative;
}

.noticias h2{
   color: #ffffff;
   text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.iscas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; 
}

/* Estilo dos Cards */
.isca-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
    color: #ffffff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.isca-item:nth-child(1) {
    background: url('/img/background/achadoseperdidos.webp') center/cover;
}

.isca-item:nth-child(2) {
    background: url('/img/background/Material_Escolar.jpg') center/cover;
}

.isca-item:nth-child(3) {
    background: url('/img/background/menu.jpg') center/cover;
}

.isca-item:hover {
    transform: scale(1.02);
}
.isca-content {
    bottom: 10px;
    left: 0;
    width: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.isca-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.isca-content p {
    margin: 5px 0 0;
    font-size: 14px;
}
.section {
    display: none;
}

.section.active {
    display: block;
}

.btn {
    display: block;
    margin: 10px 0;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    background: linear-gradient(to right, #2d2b2b, #5a5959,#2d2b2b);
    color: rgb(233, 232, 232);
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px); 
    box-shadow: 0 6px 8px rgba(255, 255, 255, 0.5);
}

.btn:active {
    transform: translateY(0); 
    box-shadow: 0 3px 4px rgb(255, 255, 255, 0.5);
}

.close-btn {
    display: inline-block;
    margin: 10px 0;
    background-color: #535353;
    color: rgb(240, 240, 248);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
    transition: transform 0.2s, box-shadow 0.2s;
}

.close-btn:hover {
    transform: translateY(-2px); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.35);
}

.close-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(65, 65, 65, 0.5);
    box-shadow: 0px 4px 12px rgba(185, 183, 183, 0.506);
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(185, 183, 183, 0.506);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
    z-index: 5;  
}

#closeModal {
    display: block;
    margin: 20px auto 0;
    background: linear-gradient(to left, #000000, #3a3838);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

#closeModal:hover {
    background: linear-gradient(to right, #000000, #3a3838);
    box-shadow: 0px 4px 12px rgba(185, 183, 183, 0.506);
    transform: scale(1.06);
}
.banner-anuncio {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(15px);
    text-align: center;
    color: white;
    border: 1px rgba(255, 255, 255, 0.488);
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
}
.banner-anuncio img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

.atualizacao {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}
  
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
@media screen and (max-width: 768px) {
    #avisoSaude {
        padding: 20px;
        max-width: 90%;
    }

    #formSaude label, #formSaude input, #formSaude textarea, #formSaude button {
        width: 100%;
    }

    .banner-anuncio {
        margin-top: 30px;
    }

    .logo img {
        max-width: 150px;
    }
}
  
  

