@import url("https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Agdasima", sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: rgb(30, 30, 30);
  display: flex;
  align-items: center;
  justify-content: center;
}

#my_form {
  width: 400px;
  background-color: black;
  border: 3px solid wheat;
  border-radius: 30px;
  padding: 30px;
  color: wheat;
}

h1 {
  text-align: center;
  font-size: 40px;
}

.input_group {
  margin: 30px 0 0 0;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

label,
input {
  font-size: 20px;
}

label {
  min-width: 115px;
}

input {
  flex: 1;
  background-color: transparent;
  color: wheat;
  padding: 3px;
}

#submit_btn{
    width: 100%;
    font-size: 30px;
    background-color: wheat;
    transition: 0.5s;
    border-radius: 6px;
}

#submit_btn:hover {
    font-weight: bold;
    letter-spacing: 5px;
    background-color: gold;
}

input.success,
input.success:focus-visible,
input.success:active {
  border-color: green;
  outline: none;
  box-shadow:
    0 0 2px rgba(0, 255, 0, 0.5),
    0 0 5px rgb(0, 128, 0, 0.3),
    0 0 10px rgb(0, 128, 0, 0.849);
}

input.error,
input.error:focus-visible,
input.error:active {
  border-color: red;
  outline: none;
  box-shadow:
    0 0 2px rgba(169, 1, 1, 0.5),
    0 0 5px rgba(215, 0, 0, 0.3),
    0 0 10px rgba(255, 0, 0, 0.849);
}

.error_message {
  position: absolute;
  color: red;
  top: 37px;
  left: 131px;
  width: 203px;
  background-color: black;
  z-index: 1;
}

.cross_out {
  text-decoration-line: line-through;
  opacity: 0.4;
}

#stud_num_cont {
  display: flex;
  gap: 4px;
  align-items: center;
}

.stud_num_input {
  width: 28px;
  text-align: center;
}

#stud_num_cont span {
  font-size: 24px;
}
