section.results {
  width: 100%;
  padding: 4vw;
}

section.results h1 {
  line-height: 1;
  font-size: 1.8vw;
  font-weight: 600;
  text-align: center;
}

section.results>p {
  font-size: 1vw;
  padding: 1vw 0;
  text-align: center;
}

section.results .result-container {
  gap: 1vw;
  width: 100%;
  padding: 2vw 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

section.results .result-container input {
  width: 40%;
  padding: 1vw;
  border: none;
  border-radius: 5px;
  text-align: center;
  background-color: #efefff;
}

section.results .result-container button {
  width: 20%;
  padding: .8vw;
  font-size: 1vw;
  font-weight: 500;
  border: none;
  color: white;
  border-radius: 5px;
  transition: all ease .2s;
  background-color: royalblue;
}

section.results .result-container button:hover {
  background-color: #3a57bd;
}

section.results .result-data {
  width: 100%;
  display: none;
}

section.results .result-data h1 {
  padding: 1vw;
  line-height: 1;
}

section.results .result-data p {
  font-size: 1vw;
  padding: .2vw 0;
  text-align: center;
}

section.results .result-data table {
  width: 100%;
  padding: 0 10vw;
  margin-top: 1vw;
  border-collapse: collapse;
}

section.results .result-data table th {
  font-weight: 600;
  background-color: #f2f2f2;
}

section.results .result-data table th,
td {
  width: 30%;
  font-size: 1vw;
  padding: 1vw 2vw;
  text-align: center;
  border: 1px solid #dddddd;
}

section.results .result-data table .result-info {
  font-weight: 600;
}

section.results .result-data .test-result {
  padding: .5vw 0;
}

.student-result-data td {
  font-weight: 600;
}

.student-name,
.student-class {
  font-weight: 600;
}

@media (max-width:600px) {
  section.results {
    padding: 8vw 4vw;
  }

  section.results>h1 {
    font-size: 5vw;
    font-weight: 500;
  }

  section.results p {
    padding: 2vw 0;
    font-size: 3.2vw;
  }

  section.results .result-container {
    gap: 3vw;
    padding: 4vw;
  }

  section.results .result-container input {
    width: 80%;
    padding: 2vw;
  }

  section.results .result-container button {
    width: 40%;
    padding: 2vw;
    font-size: 3.2vw;
  }

  section.results .result-data h1 {
    padding: 2vw 0;
    font-size: 5vw;
    font-weight: 500;
  }

  section.results .result-data p {
    padding: .5vw 0;
    font-size: 3.2vw;
  }

  section.results .result-data table {
    margin-top: 2vw;
  }
  
  section.results .result-data table th,
  td {
    padding: 3vw 2vw;
    font-size: 3.2vw;
  }

  section.results .result-data .test-result {
    padding: 1vw 0;
  }
}