*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}


.container{
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.content {
  width: 100%;
  height: auto;
  background: #fff;
}
.content-heading { 
  font-size: 30px;
  color: #333;
  text-align: center;
  margin-top: 40px;
}

.content-teams{
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}
 
.content-teams-grid{
  text-align: center;
  display: grid;
  grid-gap: 1rem;
  margin-top: 20px;
}

.content-teams-item span {
  font-size: 20px;
  padding: 1rem;
  text-align: center;
}

.content-teams-item label  {
  font-size: 20px;
  padding: 1rem;
  text-align: start;
}

/* Full-width inputs */
input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 10px;
}

/* Set a style for all buttons */
.btn-all{
  color: white;
  background: #E26620;
  border: 1px #E26620 solid;
  box-shadow: inset 0 1px 0 #E26620;
  height: 50px;
  width: 300px;
  border-radius: 10px;
  font-size: 18px;
  margin-top: 30px;
  justify-self: center;
}

.btn-all:hover {
opacity: 0.8;
}

.btn-all:active {
  box-shadow: inset 0 2px 5px #E26620;  
}




/* Add padding to containers */
.container {
  padding: 16px;
}

/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}


.btn-4{
  color: white;
  background: #252525;
  border: 1px #000000 solid;
  box-shadow: inset 0 1px 0 #1b2433;
  height: 50px;
  width: 300px;
  border-radius: 10px;
  font-size: 18px;
  /* margin-top: 500px; */
  justify-self: center;
}

.btn-4:hover {
opacity: 0.8;
}

.btn-4:active {
  box-shadow: inset 0 2px 5px #010205;  
}
/* ************************** โทรศัพท์ *************************** */
@media only screen and (max-width:480px){
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }

  .content-teams-items  {
      width: 15%;
  }
  .content-teams-item span {
      font-size: 20px;
      padding: 1rem;
  }
  .content-teams-items h2 {
      font-size: 25px;
      margin: 1rem;
  }
  .content-heading{
      font-size: 20px;
      text-align: center;
      margin: 1.5rem;
  }
  .content-teams-grid{
      justify-items: center;
  }


}