
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    transition: background-color 0.3s ease;
  }
  
  header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  main {
    padding: 20px;
  }
  
  section {
    margin-bottom: 20px;
  }
  
  button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #174e8a;
  }

  header:hover {
    background-color: #36577a; /* Muda a cor de fundo do cabeçalho quando o mouse passa sobre ele */
  }
  
  header h1 {
    transition: font-size 0.3s ease; /* Adiciona uma transição suave ao tamanho da fonte */
  }
  
  header:hover h1 {
    font-size: 36px; /* Aumenta o tamanho da fonte do cabeçalho quando o mouse passa sobre ele */
  }
    
  .image {
    flex: 0 0 50%;
    padding: 10px;
  }

  .image img {
    width: 50%;
    height: auto;
    transition: transform 0.3s ease; /* Adiciona transição suave */
  }
  
  .image img:hover {
    transform: scale(1.1); /* Aumenta o tamanho da imagem em 10% quando o mouse está sobre ela */
  }
  

  body {
    font-family: Arial, sans-serif;
  }
  
  header {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  
  main {
    padding: 20px;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  header {
    text-align: center;
  }
  
  h1 {
    font-size: 24px;
    margin: 20px 0;
  }
  body {
    font-family: Arial, sans-serif;
  }
  
  header {
    text-align: center;
  }
  
  h1 {
    font-size: 24px;
    margin: 20px 0;
  }
  
  #game {
    display: grid;
    grid-template-columns: repeat(7, 50px);
  }
  
  .row {
    display: flex;
  }
  
  .cell {
    width: 50px;
    height: 50px;
    border: 1px solid #000;
  }
  
  .player {
    background-color: #ff0000; /* Cor do jogador (urso polar) */
  }
  
  .iceberg {
    background-color: #00ffff; /* Cor do iceberg */
  }
  