* {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.tablica {
    display: flex;
    justify-content: center;
    align-items:flex-start;
    height: 100vh;
    color: black;
  }
  @media only screen and (max-width: 600px) {
    .tablica {
      flex-direction: column;
      align-items: center;
      height: auto;
    }

    h1, h2 {
      margin-top: 1rem;
    }

    .container {
        margin: 2%;
        grid-template-columns: 1fr; /* Adjust grid layout for mobile */
        gap: 5px;
    }

    .row_header {
      grid-template-columns: 1fr; /* Stack elements vertically */
    }
  }
h1 {
  text-align: center;
  align-items: center;
font-weight: 300;
margin-top: 3rem;
margin-bottom: 0.3rem;
}

h2 {
  text-align: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}

  .team1 {
    display: block;
    text-align: center;
  }
  .team2 {
    text-align: center;
    }

  .container {
    display: grid;
    gap: 10px;
  }

.row_header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
}

  .row {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .input-cell.column2 {
    background-color: rgb(71, 105, 255);
  }
  
  .input-cell {
    background-color: rgb(42, 164, 221);
    border: 0;
    color: whitesmoke;
    font-size: larger;
    width: 25%;
    height: 10%;
    padding: 1.15rem;
    margin: 0 4%;
    text-align: center;
    border-radius: 3rem;
    }

    .input-cell:focus {
      outline: 2px solid rgb(42, 164, 221);
    }

    .input-cell.column2:focus {
      outline: 2px solid rgb(71, 105, 255);
    }
    
    .input-cell:not(:empty) {
      box-shadow: 0px 0px 10px 0px rgba(200, 40, 40, 0.2);
      border-radius: 5px;
    }
  
  
  .flip-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(156, 123, 156);
    border-radius: 50%; /* This will make it a perfect circle */
    border: 0 solid #ccc;
    color: whitesmoke;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 230;
    height: 3rem;
    padding: 0;
    width: 3rem;        /* Ensure the width and height are equal */
  }
  