/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
}

/* Layout principal */
.container {
    display: flex;
    height: 100%;
}

.sidebar {
    width: 250px;
    background-color: #800000; /* Cor de fundo do menu lateral */
    color: #fff;
    padding: 20px;
}

.logo img {
    width: 100%;
    margin-bottom: 20px;
}

.menu-item {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    margin: 10px 0;
    border-left: 5px solid transparent;
}

.menu-item.active, .menu-item:hover {
    border-left-color: #ffd700; /* Cor de destaque para o item ativo ou hover */
}

.content {
    flex: 1;
    padding: 20px;
    background: #fff;
    overflow-y: auto;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Botões e links */
button {
    padding: 10px 20px;
    background-color: #800000; /* Cor do botão */
    color: #fff; /* Cor do texto */
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s; /* Transição suave para hover */
    margin: 20px auto 0 auto; /* Ajuste para centralizar o botão e adicionar espaço acima */
    display: block; /* Adiciona esta linha */
    width: 80%; /* Ajuste a largura do botão conforme necessário */
}

button:hover {
    background-color: #a00000; /* Cor do botão ao passar o mouse */
}

/* Estilo das avaliações */
.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.rating-group {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.rating-label {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 5px;
    background-color: #ccc;
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
    font-size: 18px;
}

.rating-input {
    display: none;
}

.rating-input:checked + .rating-label {
    background-color: #ffd700; /* Cor quando selecionado */
}

.comment-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.comment-box textarea {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px; /* Adiciona esta linha para aumentar o espaço entre a caixa de texto e o botão */
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .content {
        padding: 10px;
    }

    .comment-box textarea {
        width: 100%;
    }
}

/* Estilização para a página de login */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f4f4f4;
}

.login-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: auto; /* Centraliza a caixa de login */
}

.login-box h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; /* Ajusta o tamanho da fonte */
}

.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #800000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px; /* Espaçamento superior para separar do campo de senha */
}

.login-box button:hover {
    background-color: #a00000;
}







/* Menu Off-Canvas */
.off-canvas {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #800000; /* Use a mesma cor do seu layout */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.off-canvas a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.off-canvas a:hover {
    color: #f1f1f1;
}

.off-canvas .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Open/Close Hamburger */
.hamburger {
    font-size: 30px;
    cursor: pointer;
}

.hamburger:hover {
    color: #f1f1f1;
}

/* Slideshow */
.banner-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
    width: 100%;
}


/* Carousel */
.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel .slide {
    display: none;
    width: 100%;
}

.carousel .slide img {
    width: 100%;
}