/* Fundo e aparência geral */
body {
    font-family: Arial, sans-serif;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5); /* Fundo branco semi-transparente para melhorar a legibilidade */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Fundo semi-transparente para legibilidade */
    z-index: -1;
}

/* Logos */
.logo-left, .logo-right1, .logo-right2 {
    position: fixed;
    opacity: 0.7; /* Torna os logos levemente transparentes */
}

.logo-left {
    bottom: 0;
    left: 10px;
    width: 500px;
}

.logo-right1 {
    bottom: 20px;
    right: 10px;
    width: 300px;
}

.logo-right2 {
    bottom: 20px;
    right: 315px;
    width: 210px;
}

/* Cabeçalho */
h1 {
    text-align: center;
    margin: 20px 0;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

/* Layout para Configuração e Gráfico */
#container {
    display: flex;
    justify-content: space-between; /* Espaço uniforme entre os itens */
    align-items: flex-start; /* Alinha ao topo */
    gap: 20px;
    margin: 20px auto;
    width: 100%;
    max-width: 1300px;
}

/* Zona de Configuração */
#configuration-form {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Zona do Gráfico */
#chart-container {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#powerCurveChart {
    width: 100%;
    height: auto;
}

/* Botões centralizados */
#button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

#button-container button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
}

#button-container button:hover {
    background-color: #0056b3;
}

/* Responsividade */
@media (max-width: 768px) {
    #container {
        flex-direction: column;
    }

    #chart-container {
        width: 100%;
    }

    #configuration-form {
        width: 100%;
    }
}
