@font-face {
    font-family: 'Baskervville';
    src: url('../../Baskervville-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#loginForm {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 
               Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", 
               Arial, sans-serif !important;
}

body.swal2-height-auto {
    height: 100% !important; /* ou unset */
}
div.swal2-container{
    z-index: 99999;
}

html, body {
    font-family: 'Baskervville', Arial, sans-serif;
    height: 100%;
    margin: 0;
}
.full-height {
    height: 100%;
    background-image: url('../../img/arvore.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
}
.block {
    min-width: 140px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 10px;
    color: white !important;
    text-decoration: none !important;
}
.block i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.block-arvore {
    background-color: #28a745;
}
.block-arvore:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.block-lista {
    background-color: #007bff;
}
.block-lista:hover {
    background-color: #0069d9;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
/* Espaçamento flexível entre blocos para Bootstrap 4 */
.blocks-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@media(min-width: 768px) {
    .blocks-container {
        flex-direction: row;
    }
}
a{
    text-decoration: none;
}

/* animação de espera na tela */
.zoom-in-out-box {
    animation: zoom-in-zoom-out 1s ease infinite;
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.5, 1.5);
    }
    100% {
        transform: scale(1, 1);
    }
}
.carregandoPAI{
    width: 100%;
    height: 100%;
    /*background: #ffffff8c url("../../img/arvore.jpg") no-repeat scroll center center;
    background-size: 150px;*/
    background: #ffffff8c;
    position: fixed;
    left: 0px;
    top: 0;
    z-index: 99999;
    overflow: hidden;
}
.carregandoPAI::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;   /* tamanho do círculo da imagem */
    height: 150px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff8c url('../../img/arvore.jpg') no-repeat scroll center center;
    background-size: cover;
    opacity: .9;
}
.mantido {
    display: block;
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 15px;
    border-radius: 50px;
    font-weight: 800;
}
.mantido img{
    max-height: 35px;
    background-color: #fff;
    padding: 6px;
    border-radius: 10px;
}
.mantido > span{
    background: #fff;
    padding: 4px 6px 4px 6px;
    border-radius: 6px 6px 0px 0px;
    color: #353535;
}

/* Estilo do botão flutuante */
.login-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50; /* verde bonito */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9999;
}

.login-btn:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

/* Esconde em telas menores que 850px */
@media (max-width: 850px) {
    .login-btn {
        display: none;
    }
}

.Sair-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #007bff; /* verde bonito */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9999;
}

.Sair-btn:hover {
    background-color: #0069d9;
    transform: scale(1.1);
}

/* Esconde em telas menores que 850px */
@media (max-width: 850px) {
    .Sair-btn {
        display: none;
    }
}