* {
  padding: 0;
  margin: 0;
}
.headline {
  text-align: center;
  font-family: "Roboto", sans-serif;
}
body {
  overflow: hidden;
}
section {
  margin: 1rem 30rem 0 30rem;
}
#teacher-form {
  padding: 2rem;
  margin: 2rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  background-color: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: auto;
  flex-wrap: nowrap;
}
form {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: nowrap;
}

input {
  margin: 0.5rem 0 0 0;
  width: 100%;
  height: 1.5rem;
  border: 0.1px solid rgb(114, 108, 238);
  border-radius: 4px;
}
.alert {
  text-align: center;
  padding: 5px;
  background-color: #79c879;
  color: #fff;
  font-family: "Roboto", sans-serif;
  margin-bottom: 10px;
  display: none;
}
select {
  border: 0.1px solid rgb(114, 108, 238);
  border-radius: 4px;
  margin: 0.5rem 0 0 0;
  width: 100%;
  height: 1.5rem;
}
label {
  margin: 0.5rem 0 0 0;
}
#techbuttons {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
#techbtn {
  width: 5rem;
  height: 2rem;
  background-color: rgb(248, 224, 70);
  border: none;
  margin-top: 1rem;
  border-radius: 4px;
  cursor: pointer;
}
#techbtns {
  width: 5rem;
  height: 2rem;
  background-color: rgb(248, 224, 70);
  border: none;
  margin-top: 1rem;
  border-radius: 4px;
  cursor: pointer;
}
/* tab */
@media (max-width: 64rem) {
  body {
    overflow: auto;
  }
  .headline {
    text-align: center;
    font-family: "Roboto", sans-serif;
  }
  body {
    overflow: hidden;
  }
  section {
    margin: 1rem 8rem 0 8rem;
  }
  #teacher-form {
    padding: 2rem;
    margin: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: auto;
    flex-wrap: nowrap;
  }
  form {
    font-family: "Roboto", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  
  input {
    margin: 0.5rem 0 0 0;
    width: 100%;
    height: 1.5rem;
    border: 0.1px solid rgb(114, 108, 238);
    border-radius: 4px;
  }
  .alert {
    text-align: center;
    padding: 5px;
    background-color: #79c879;
    color: #fff;
    font-family: "Roboto", sans-serif;
    margin-bottom: 10px;
    display: none;
  }
  select {
    border: 0.1px solid rgb(114, 108, 238);
    border-radius: 4px;
    margin: 0.5rem 0 0 0;
    width: 100%;
    height: 1.5rem;
  }
  label {
    margin: 0.5rem 0 0 0;
  }
  #techbuttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  #techbtn {
    width: 5rem;
    height: 2rem;
    background-color: rgb(248, 224, 70);
    border: none;
    margin-top: 1rem;
    border-radius: 4px;
    cursor: pointer;
  }
  #techbtns {
    width: 5rem;
    height: 2rem;
    background-color: rgb(248, 224, 70);
    border: none;
    margin-top: 1rem;
    border-radius: 4px;
    cursor: pointer;
  }
}
/* phone */
@media (max-width: 30rem) {
    .headline {
        text-align: center;
        font-family: "Roboto", sans-serif;
      }
      body {
        overflow: hidden;
      }
      section {
        margin: 1rem 1rem 0 1rem;
      }
      #teacher-form {
        padding: 2rem;
        margin: 2rem;
        border-radius: 5px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: rgba(255, 255, 255, 0.15);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        width: auto;
        flex-wrap: nowrap;
      }
      form {
        font-family: "Roboto", sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: nowrap;
      }
      
      input {
        margin: 0.5rem 0 0 0;
        width: 100%;
        height: 1.5rem;
        border: 0.1px solid rgb(114, 108, 238);
        border-radius: 4px;
      }
      .alert {
        text-align: center;
        padding: 5px;
        background-color: #79c879;
        color: #fff;
        font-family: "Roboto", sans-serif;
        margin-bottom: 10px;
        display: none;
      }
      select {
        border: 0.1px solid rgb(114, 108, 238);
        border-radius: 4px;
        margin: 0.5rem 0 0 0;
        width: 100%;
        height: 1.5rem;
      }
      label {
        margin: 0.5rem 0 0 0;
      }
      #techbuttons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      }
      #techbtn {
        font-size: 50%;
        width: 2rem;
        height: 1.5rem;
        background-color: rgb(248, 224, 70);
        border: none;
        margin-top: 1rem;
        border-radius: 4px;
        cursor: pointer;
      }
      #techbtns {
        font-size: 50%;
        width: 2rem;
        height: 1.5rem;
        background-color: rgb(248, 224, 70);
        border: none;
        margin-top: 1rem;
        border-radius: 4px;
        cursor: pointer;
      }
      
}
