/***************************/
/****** Media queries ******/
/***************************/

/***************************/
/* Up to 800px */
/***************************/

@media (max-width: 800px) {
  .section-results {
    padding: 3.2rem 0 3.2rem 0;
  }
  .trophy {
    height: 3.2rem;
    width: 3.2rem;
    margin-bottom: 1.6rem;
  }

  .heading-primary {
    font-size: 2rem;
    padding-bottom: 1.2rem;
    letter-spacing: 0.1rem;
  }

  .heading-secondary {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
  }

  .heading-tertiary {
    font-size: 1rem;
    padding-bottom: 2.4rem;
  }

  table {
    font-size: 0.8rem;
  }

  .table-icon {
    height: 1.2rem;
    width: 1.2rem;
    margin-right: 0.3rem;
  }

  .table-numbers {
    margin-left: 1.5rem;
  }

  .fieldset-login {
    padding: 1rem;
  }

  .submit-login {
    margin-bottom: 1rem;
    margin-right: 1rem;
  }
}

/***************************/
/* Up to 400px */
/***************************/

@media (max-width: 553px) {
  body {
    min-height: 50vh;
  }

  .section-results {
    padding: 2.4rem 0 2.4rem 0;
  }

  .trophy {
    height: 2rem;
    width: 2rem;
    margin-bottom: 1rem;
  }

  .heading-primary {
    font-size: 1.4rem;
    padding-bottom: 1rem;
  }

  .heading-secondary {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .heading-tertiary {
    font-size: 0.9rem;
    padding-bottom: 1.4rem;
  }

  table {
    font-size: 0.7rem;
  }

  .table-icon {
    height: 0.9rem;
    width: 0.9rem;
    margin-right: 0.3rem;
  }

  .table-numbers {
    margin-left: 1.2rem;
  }

  .form {
    width: 20rem;
    padding: 2rem;
    box-shadow: 5px 5px 5px 5px #999;
    border-radius: 9px;
  }

  .fields {
    /* display: flex; */
    flex-direction: column;
    row-gap: 0.5rem;
    /* justify-content: space-between;
    align-items: center;
    padding: 1rem 0; */
  }

  .fields-last {
    flex-direction: column;
    row-gap: 0.5rem;
    /* display: flex;
    
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 2rem 0; */
  }

  .login-fields {
    /* display: flex; */
    flex-direction: column;
    row-gap: 0.5rem;
    /* justify-content: space-between;
    align-items: center;
    padding: 1rem 0; */
  }

  .login-fields-last {
    flex-direction: column;
    row-gap: 0.5rem;
    /* display: flex;
    
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 2rem 0; */
  }
  /* .login-fields {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }

  .login-fields-last {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 2rem 0;
  } */

  .submit-login {
    margin-bottom: 1rem;
    margin-right: 1rem;
  }

  td,
  th {
    padding: 0.2rem 0.5rem;
  }

  #logout a {
    font-size: 1rem;
  }
}
