/* Configurações básicas */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-top: 80px;
    background: url(background.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #333;
    overflow-x: hidden;
}


#translate-buttons {
    margin: 20px;
}
.translate-button {
    margin-right: 10px;
    padding: 10px 15px;
    border: none;
    background-color: #000000;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
.translate-button:hover {
    background-color: #0056b3;
}

/* Barra superior */
.top-bar {
    background-color: #fe5d00da;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    color: white;
    padding: 10px 10px;
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.918);
    z-index: 1000;
    font-weight: bold;
    max-height: 40px;
}

.top-bar h1 {
    font-size: 1em;
    margin: 0;
    font-weight: bold;
}

.logo {
    height: 150px;
    margin-right: 10px;
}

.title {
    margin-right: auto;
}

.clock-container {
    display: flex;
    gap: 20px;
    margin-right: 100px;
}

.clock {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
    font-weight: bold;
}

.clock i {
    font-size: 1.3em;
    font-weight: bold;
    color:#000000
}

/* Layout principal */
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.6);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: right;
    transition: transform 0.5s;
    border: 3px solid #FE5E00;
}

.card:hover {
    transform: translateY(-5px);
}

/* Estatísticas */
.card.stats-card {
    display: flex;
    flex-direction: column;  /* Empilha os itens verticalmente */
    align-items: row;  /* Centraliza os itens horizontalmente */
    padding: 20px;
    background-image: url('stats.png');  /* Define a imagem de fundo */
    background-size: cover;  /* Faz a imagem cobrir todo o contêiner */
    background-position: center;  /* Centraliza a imagem */
    background-repeat: no-repeat;  /* Impede que a imagem se repita */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s;
    border: 3px solid #FE5E00;
   
}

.logostats {
    height: 70px;
    padding-top: 10px;
    margin-right: 100px;
    opacity: 60%;

}

#stats {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f980;
    border-radius: 10px;
    max-height: 500px;
    height: 100%;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
}

.icon-large {
    font-size: 65px;
    color: #000000;
    margin-bottom: 5px;
}

.stats-value {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stats-description {
    font-size: 18px;
    color: #3a2828;
    margin: 0;
    width: 100px;
}

/* Voos recentes */
.recent-flights-card {
    display: flex;
    width: 100%;
    max-width: 60%;
}
.recelogo{
    height: 80px;
    width: 250px;
    opacity: 80%;

}
.recentepilot-name {
    font-size: 15pt;
}

.flight-item {
    
    background-color: #35343483;
    padding: 10px;
    margin: 2px 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: start;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.815);
    font-size: 1.1em;
    color:rgb(0, 0, 0)
}

/* Mapa */
.map-card {
    width: 57%;
    height: 620px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid #FE5E00;
    margin-bottom: 60px;
  
}

/* Estilo da lista de pilotos */

.logoteam {
    height: 70px;
    width: 500px;
    padding-top: 10px;
    margin-right: 100px;
    opacity: 80%;
}

.pilot-position {
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
    text-align: center;
    width: 30px;
}

.pilot-position i {
    font-size: 24px;
    color: #FFD700;
}

.pilot-position .gold {
 
    color: #FFD700;
}

.pilot-position .silver {
    color: #C0C0C0;
}

.pilot-position .bronze {
    color: #CD7F32;
}

.avatar {
    border-radius: 50%;
    border: 3px solid #FE5E00;
    width: 60px;
    height: 60px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.651);
}

/* Estilo para o layout dos pilotos */
.pilot-card {
    width: 57%;
    margin: 0 auto;
    font-size: 12pt;
}

.iconpil {
    color: #FE5E00;
    margin-right: 5px;
    font-size: 25px;
}

/* Estilo para o layout dos pilotos */
.pilot-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #f9f9f99c;
    border-radius: 10px;
    flex-wrap: wrap;
}

.pilot-row img {
    margin-right: 10px;
}

.pilot-row div {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

/* Estilo específico para o nome do piloto */
.pilot-name {
    width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pilot-rating {
    width: 60px;
}

.pilot-fl {
    width: 60px;
}

.pilot-time {
    width: 80px;
}

.pilot-dist {
    width: 140px;
}

.pilot-ivao {
    width: 150px;
}

.pilot-vat {
    width: 150px;
}

/* Ícones antes dos dados */
.icon {
    margin-right: 5px;
}


.maplogo {
    width: 200px;
    opacity: 80%;
}



/* Barra inferior */

.bottom-bar {
    background-color: #fe5d00d0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px; /* Ajuste o tamanho conforme necessário */
    color: white;
    padding: 10px 20px;
    position: fixed;
    bottom: 0; /* Coloca a barra na parte inferior da tela */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Centraliza o conteúdo horizontalmente */
    align-items: center; /* Centraliza o conteúdo verticalmente */
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.918);
    z-index: 1000;
    font-weight: bold;
    max-height: 40px;
    text-align: center; /* Centraliza o texto dentro dos elementos */
}

/* Estilo do texto da barra */
.bar-text {
    font-size: 12px;
    margin: 0 5px; /* Adiciona um pequeno espaçamento entre o texto e o ícone */
}

/* Ícone do avião */
.icon {
    font-size: 12px; /* Ajuste o tamanho do ícone conforme necessário */
    margin-left: 10px; /* Adiciona um espaço entre o texto e o ícone */
    color: #000000;

}


/* Estilos para a caixa de diálogo de cookies */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ocupa a tela inteira */
    background-color: rgba(0, 0, 0, 0.76); /* Fundo semitransparente */
    display: flex; /* Ativa o flex para centralização */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    z-index: 1000;
}




/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        display: flex;
        flex-direction: column;

    }
   
        
    
    /* Layout dos pilotos em colunas */
    .pilot-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
.container{
flex-direction:row

}
    .pilot-row img {
        margin-bottom: 10px;
    }

    .pilot-position,
    .pilot-name,
    .pilot-rating,
    .pilot-fl,
    .pilot-time,
    .pilot-dist,
    .pilot-ivao,
    .pilot-vat {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Ajuste das colunas */
    .pilot-row div {
        margin-right: 0;
        width: 100%;
    }

    /* Estilo da posição no ranking */
    .pilot-position {
        font-size: 20px;
    }

    .recelogo{
        height: 35px;
}
.logoteam {
    height: 40px;
    width: 280px;
}

card.stats-card {
    display: flex;
    flex-direction: row;  /* Empilha os itens verticalmente */
   


    
}
}