body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 70px 20px;
    background-size: cover;
    background-image: url('/static/imagens/fundo.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.vilao-card {
    background-color: rgba(235, 213, 255, 0.63);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 10px;
    max-width: 100%;
}

img {
    max-width: 200px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.vilao-card img {
    transition: transform 0.6s ease;
}

.vilao-card img:hover {
    transform: scale(1.1);
}

.form-group {
    margin: 5px auto;
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    max-width: 1000px;
    gap: 5px;
}

.form-group label {
    margin-top: 5px;
    text-align: right;
    padding-right: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

input {
    width: 300px;
    max-width: 100%;
    margin: 2px 0;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.2);
}

select {
    width: 300px;
    max-width: 100%;
    margin: 2px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.2);
}

.btn-salvar {
    margin-top: 10px;
    height: 30px;
    width: 150px;
    transition: background-color 0.5s ease;
}

.btn-salvar:hover {
    background-color: white;
    color: #28001a;
}

button {
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    background-color: #28001a;
    color: white;
}

h1 {
    color: white;
}

.indextit {
    font-weight: bold;
    font-size: 20px;
}

a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
}

a:hover {
    color: #28001a;
}

label {
    font-weight: bold;
    color: #28001a;
}

.jac{
    color: #ffffffec;
}

.mensagem {
    display: flex;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    width: 100%;
    margin: 20px auto;
    z-index: 900;
}

.deslog-card {
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.deslog-card img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}

.deslog-card img:hover {
    transform: scale(1.2);
}

.form-group2 {
    margin: 2px;
    display: flex;
    max-width: 1000px;
}

.form-group2 label {
    display: flex;
    margin-top: 5px;
    text-align: right;
    padding-right: 20px;
    width: 50px;
}

.form-group2 input,
.form-group2 select {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.item {
    border: 1px solid #28001a;
    border-radius: 10px;
    margin: 10px;
    background-color: rgba(33,0,22,0.65);
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.5s ease;
}

.item a {
    color: white;
}

.item:hover {
    transform: scale(1.1);
    color: #fffdfe;
    background-color: #28001a;
}

.mexer-dados {
    display: flex;
}

@media(max-width:700px) {

    body {
        padding: 30px 10px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-group label {
        text-align: center;
        padding-right: 0;
    }

    .form-group2 {
        flex-direction: column;
        align-items: center;
    }

    .form-group2 label {
        width: auto;
        padding-right: 0;
    }

    .deslog-card {
        top: 10px;
        right: 10px;
    }

    .deslog-card img {
        width: 40px;
        height: 40px;
    }

    .mensagem {
        top: 70px;
        font-size: 16px;
    }

    .item {
        margin: 10px auto;
    }

    .mexer-dados {
        justify-content: center;
        flex-wrap: wrap;
    }

}