
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.sidebar .nav-link {
    color: #ffffff;
}
.sidebar .nav-link:hover {
    background-color: rgba(47, 60, 90, 0.61);
}
.content {
    margin-left: 250px;
    padding: 2rem;
    flex: 1;
}
header, footer {
    margin-left: 250px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.menu{
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.menu:hover {
    transform: scale(1.1);
}
.mainDiv{
    padding-bottom: 50px;
}
/* layout padrão com sidebar visível */
.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background-color: rgb(30, 39, 59);
    padding-top: 60px;
    transition: transform 0.3s ease-in-out, opacity 0.4s ease-in-out;
    transform: translateX(0);
    z-index: 1000;

}
.sidebar.hidden {
    transform: translateX(-100%);
}

/* quando sidebar está visível */
header, footer, .content {
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out;
}

/* quando sidebar está oculta */
body.sidebar-hidden header,
body.sidebar-hidden footer,
body.sidebar-hidden .content {
    margin-left: 0;
}

.div-menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.cadastro{
    padding: 8px;
    background-color: rgb(54, 70, 105);
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: ease-in .3s;
    border: 0;
}
.cadastro:hover{
    transition: ease-in .3s;
    background-color: rgba(42, 54, 82, 0.651);
}
.form-label, .form-control{
    z-index: 1;
}